diff --git a/GoogleAPIClientForREST.podspec b/GoogleAPIClientForREST.podspec index 10263aea4..623897281 100644 --- a/GoogleAPIClientForREST.podspec +++ b/GoogleAPIClientForREST.podspec @@ -674,6 +674,11 @@ Pod::Spec.new do |s| sp.source_files = 'Sources/GeneratedServices/DeploymentManager/**/*.{h,m}' sp.public_header_files = 'Sources/GeneratedServices/DeploymentManager/Public/GoogleAPIClientForREST/*.h' end + s.subspec 'DeveloperConnect' do |sp| + sp.dependency 'GoogleAPIClientForREST/Core' + sp.source_files = 'Sources/GeneratedServices/DeveloperConnect/**/*.{h,m}' + sp.public_header_files = 'Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/*.h' + end s.subspec 'Dfareporting' do |sp| sp.dependency 'GoogleAPIClientForREST/Core' sp.source_files = 'Sources/GeneratedServices/Dfareporting/**/*.{h,m}' diff --git a/Package.swift b/Package.swift index da28d563b..7b145113a 100644 --- a/Package.swift +++ b/Package.swift @@ -509,6 +509,10 @@ let package = Package( name: "GoogleAPIClientForREST_DeploymentManager", targets: ["GoogleAPIClientForREST_DeploymentManager"] ), + .library( + name: "GoogleAPIClientForREST_DeveloperConnect", + targets: ["GoogleAPIClientForREST_DeveloperConnect"] + ), .library( name: "GoogleAPIClientForREST_Dfareporting", targets: ["GoogleAPIClientForREST_Dfareporting"] @@ -1909,6 +1913,12 @@ let package = Package( path: "Sources/GeneratedServices/DeploymentManager", publicHeadersPath: "Public" ), + .target( + name: "GoogleAPIClientForREST_DeveloperConnect", + dependencies: ["GoogleAPIClientForRESTCore"], + path: "Sources/GeneratedServices/DeveloperConnect", + publicHeadersPath: "Public" + ), .target( name: "GoogleAPIClientForREST_Dfareporting", dependencies: ["GoogleAPIClientForRESTCore"], diff --git a/Sources/GeneratedServices/AdMob/Public/GoogleAPIClientForREST/GTLRAdMobObjects.h b/Sources/GeneratedServices/AdMob/Public/GoogleAPIClientForREST/GTLRAdMobObjects.h index 23d562c19..b9e486683 100644 --- a/Sources/GeneratedServices/AdMob/Public/GoogleAPIClientForREST/GTLRAdMobObjects.h +++ b/Sources/GeneratedServices/AdMob/Public/GoogleAPIClientForREST/GTLRAdMobObjects.h @@ -1318,7 +1318,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAdMob_ReportWarning_Type_TypeUnspecified /** - * Request to generate an AdMob mediation report. + * Request to generate an AdMob Mediation report. */ @interface GTLRAdMob_GenerateMediationReportRequest : GTLRObject @@ -1329,7 +1329,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAdMob_ReportWarning_Type_TypeUnspecified /** - * The streaming response for the AdMob mediation report where the first + * The streaming response for the AdMob Mediation report where the first * response contains the report header, then a stream of row responses, and * finally a footer as the last response message. For example: [{ "header": { * "date_range": { "start_date": {"year": 2018, "month": 9, "day": 1}, diff --git a/Sources/GeneratedServices/AdMob/Public/GoogleAPIClientForREST/GTLRAdMobQuery.h b/Sources/GeneratedServices/AdMob/Public/GoogleAPIClientForREST/GTLRAdMobQuery.h index 296a6414b..f74d2d59e 100644 --- a/Sources/GeneratedServices/AdMob/Public/GoogleAPIClientForREST/GTLRAdMobQuery.h +++ b/Sources/GeneratedServices/AdMob/Public/GoogleAPIClientForREST/GTLRAdMobQuery.h @@ -202,7 +202,7 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Generates an AdMob mediation report based on the provided report + * Generates an AdMob Mediation report based on the provided report * specification. Returns result of a server-side streaming RPC. The result is * returned in a sequence of responses. * @@ -223,7 +223,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRAdMob_GenerateMediationReportResponse. * - * Generates an AdMob mediation report based on the provided report + * Generates an AdMob Mediation report based on the provided report * specification. Returns result of a server-side streaming RPC. The result is * returned in a sequence of responses. * diff --git a/Sources/GeneratedServices/Adsense/Public/GoogleAPIClientForREST/GTLRAdsenseQuery.h b/Sources/GeneratedServices/Adsense/Public/GoogleAPIClientForREST/GTLRAdsenseQuery.h index 2c5b024a6..890b18e1a 100644 --- a/Sources/GeneratedServices/Adsense/Public/GoogleAPIClientForREST/GTLRAdsenseQuery.h +++ b/Sources/GeneratedServices/Adsense/Public/GoogleAPIClientForREST/GTLRAdsenseQuery.h @@ -1670,7 +1670,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAdsenseReportingTimeZoneReportingTimeZon @end /** - * Lists all the policy issues for the specified account. + * Lists all the policy issues where the specified account is involved, both + * directly and through any AFP child accounts. * * Method: adsense.accounts.policyIssues.list * @@ -1704,7 +1705,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAdsenseReportingTimeZoneReportingTimeZon /** * Fetches a @c GTLRAdsense_ListPolicyIssuesResponse. * - * Lists all the policy issues for the specified account. + * Lists all the policy issues where the specified account is involved, both + * directly and through any AFP child accounts. * * @param parent Required. The account for which policy issues are being * retrieved. Format: accounts/{account} diff --git a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m index 503b983ba..780a42c6a 100644 --- a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m +++ b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m @@ -14,49 +14,32 @@ // ---------------------------------------------------------------------------- // Constants -// GTLRAiplatform_CloudAiLargeModelsVisionFilteredText.category -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Celebrity = @"CELEBRITY"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_CelebrityImg = @"CELEBRITY_IMG"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ChildImg = @"CHILD_IMG"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ChildText = @"CHILD_TEXT"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Csai = @"CSAI"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_CsaiImg = @"CSAI_IMG"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_DangerousContent = @"DANGEROUS_CONTENT"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_DeathHarmTragedy = @"DEATH_HARM_TRAGEDY"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_FaceImg = @"FACE_IMG"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_FirearmsWeapons = @"FIREARMS_WEAPONS"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_HateSymbolImg = @"HATE_SYMBOL_IMG"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Health = @"HEALTH"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_IcaImg = @"ICA_IMG"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_IdentityAttack = @"IDENTITY_ATTACK"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_IllicitDrugs = @"ILLICIT_DRUGS"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_IuImg = @"IU_IMG"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_MemorizationImg = @"MEMORIZATION_IMG"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Obscene = @"OBSCENE"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_PedoImg = @"PEDO_IMG"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_PersonImg = @"PERSON_IMG"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Politics = @"POLITICS"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_PornImg = @"PORN_IMG"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_RacyImg = @"RACY_IMG"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_RaiCategoryUnspecified = @"RAI_CATEGORY_UNSPECIFIED"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_RecitationText = @"RECITATION_TEXT"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ReligiousBelief = @"RELIGIOUS_BELIEF"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_SensitiveWord = @"SENSITIVE_WORD"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_SexualImg = @"SEXUAL_IMG"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_SexuallyExplicit = @"SEXUALLY_EXPLICIT"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Spii = @"SPII"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Toxic = @"TOXIC"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ViolenceAbuse = @"VIOLENCE_ABUSE"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ViolenceImg = @"VIOLENCE_IMG"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_WarConflict = @"WAR_CONFLICT"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_WatermarkImg = @"WATERMARK_IMG"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_WatermarkImgRemoval = @"WATERMARK_IMG_REMOVAL"; - -// GTLRAiplatform_CloudAiLargeModelsVisionFilteredText.confidence -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Confidence_ConfidenceHigh = @"CONFIDENCE_HIGH"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Confidence_ConfidenceLow = @"CONFIDENCE_LOW"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Confidence_ConfidenceMedium = @"CONFIDENCE_MEDIUM"; -NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Confidence_ConfidenceUnspecified = @"CONFIDENCE_UNSPECIFIED"; +// GTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail.errorCause +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_CloudApiNotEnabled = @"CLOUD_API_NOT_ENABLED"; +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_ErrorCauseUnspecified = @"ERROR_CAUSE_UNSPECIFIED"; +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InsufficientQuota = @"INSUFFICIENT_QUOTA"; +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_Internal = @"INTERNAL"; +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidComponentSpec = @"INVALID_COMPONENT_SPEC"; +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidContainerSpec = @"INVALID_CONTAINER_SPEC"; +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidCustomJob = @"INVALID_CUSTOM_JOB"; +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidDagOutputsSpec = @"INVALID_DAG_OUTPUTS_SPEC"; +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidDagSpec = @"INVALID_DAG_SPEC"; +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidDeploymentConfig = @"INVALID_DEPLOYMENT_CONFIG"; +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidDeploymentSpec = @"INVALID_DEPLOYMENT_SPEC"; +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidGcsInputUri = @"INVALID_GCS_INPUT_URI"; +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidGcsOutputUri = @"INVALID_GCS_OUTPUT_URI"; +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidImporterSpec = @"INVALID_IMPORTER_SPEC"; +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidInstanceSchema = @"INVALID_INSTANCE_SCHEMA"; +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidKmsSetup = @"INVALID_KMS_SETUP"; +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidNetworkSetup = @"INVALID_NETWORK_SETUP"; +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidNotificationEmailSetup = @"INVALID_NOTIFICATION_EMAIL_SETUP"; +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidPipelineSpec = @"INVALID_PIPELINE_SPEC"; +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidPipelineSpecFormat = @"INVALID_PIPELINE_SPEC_FORMAT"; +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidPipelineTaskArtifact = @"INVALID_PIPELINE_TASK_ARTIFACT"; +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidPipelineTaskSpec = @"INVALID_PIPELINE_TASK_SPEC"; +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidResolverSpec = @"INVALID_RESOLVER_SPEC"; +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidRuntimeParameters = @"INVALID_RUNTIME_PARAMETERS"; +NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidServiceAccountSetup = @"INVALID_SERVICE_ACCOUNT_SETUP"; // GTLRAiplatform_GoogleCloudAiplatformV1Artifact.state NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Artifact_State_Live = @"LIVE"; @@ -201,6 +184,7 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Feature_ValueType_Int64Array = @"INT64_ARRAY"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Feature_ValueType_String = @"STRING"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Feature_ValueType_StringArray = @"STRING_ARRAY"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Feature_ValueType_Struct = @"STRUCT"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Feature_ValueType_ValueTypeUnspecified = @"VALUE_TYPE_UNSPECIFIED"; // GTLRAiplatform_GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly.objective @@ -241,6 +225,12 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesRequest_DataFormat_KeyValue = @"KEY_VALUE"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesRequest_DataFormat_ProtoStruct = @"PROTO_STRUCT"; +// GTLRAiplatform_GoogleCloudAiplatformV1FunctionCallingConfig.mode +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FunctionCallingConfig_Mode_Any = @"ANY"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FunctionCallingConfig_Mode_Auto = @"AUTO"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FunctionCallingConfig_Mode_ModeUnspecified = @"MODE_UNSPECIFIED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FunctionCallingConfig_Mode_None = @"NONE"; + // GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback.blockReason NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_BlockedReasonUnspecified = @"BLOCKED_REASON_UNSPECIFIED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Blocklist = @"BLOCKLIST"; @@ -248,12 +238,6 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_ProhibitedContent = @"PROHIBITED_CONTENT"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Safety = @"SAFETY"; -// GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig.responseStyle -NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_ResponseStyle_ResponseStyleBalanced = @"RESPONSE_STYLE_BALANCED"; -NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_ResponseStyle_ResponseStyleCreative = @"RESPONSE_STYLE_CREATIVE"; -NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_ResponseStyle_ResponseStylePrecise = @"RESPONSE_STYLE_PRECISE"; -NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_ResponseStyle_ResponseStyleUnspecified = @"RESPONSE_STYLE_UNSPECIFIED"; - // GTLRAiplatform_GoogleCloudAiplatformV1HyperparameterTuningJob.state NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1HyperparameterTuningJob_State_JobStateCancelled = @"JOB_STATE_CANCELLED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1HyperparameterTuningJob_State_JobStateCancelling = @"JOB_STATE_CANCELLING"; @@ -406,6 +390,7 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_ErrorTypeUnspecified = @"ERROR_TYPE_UNSPECIFIED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_InvalidAvroSyntax = @"INVALID_AVRO_SYNTAX"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_InvalidCsvSyntax = @"INVALID_CSV_SYNTAX"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_InvalidEmbedding = @"INVALID_EMBEDDING"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_InvalidEmbeddingId = @"INVALID_EMBEDDING_ID"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_InvalidEncoding = @"INVALID_ENCODING"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_InvalidJsonSyntax = @"INVALID_JSON_SYNTAX"; @@ -418,12 +403,6 @@ 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"; -NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity_ConsumeReservationType_ReservationAny = @"RESERVATION_ANY"; -NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity_ConsumeReservationType_ReservationNone = @"RESERVATION_NONE"; -NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity_ConsumeReservationType_ReservationSpecific = @"RESERVATION_SPECIFIC"; - // GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntime.healthState NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntime_HealthState_HealthStateUnspecified = @"HEALTH_STATE_UNSPECIFIED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntime_HealthState_Healthy = @"HEALTHY"; @@ -801,24 +780,13 @@ #pragma clang diagnostic ignored "-Wdeprecated-declarations" #pragma clang diagnostic ignored "-Wdeprecated-implementations" -// ---------------------------------------------------------------------------- -// -// GTLRAiplatform_CloudAiLargeModelsVisionFilteredText -// - -@implementation GTLRAiplatform_CloudAiLargeModelsVisionFilteredText -@dynamic category, confidence, prompt, score; -@end - - // ---------------------------------------------------------------------------- // // GTLRAiplatform_CloudAiLargeModelsVisionGenerateVideoResponse // @implementation GTLRAiplatform_CloudAiLargeModelsVisionGenerateVideoResponse -@dynamic generatedSamples, raiErrorMessage, raiMediaFilteredCount, - raiMediaFilteredReasons, raiTextFilteredReason; +@dynamic generatedSamples, raiMediaFilteredCount, raiMediaFilteredReasons; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -888,10 +856,11 @@ @implementation GTLRAiplatform_CloudAiLargeModelsVisionNamedBoundingBox // @implementation GTLRAiplatform_CloudAiLargeModelsVisionRaiInfo -@dynamic raiCategories, scores; +@dynamic detectedLabels, raiCategories, scores; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"detectedLabels" : [GTLRAiplatform_CloudAiLargeModelsVisionRaiInfoDetectedLabels class], @"raiCategories" : [NSString class], @"scores" : [NSNumber class] }; @@ -901,6 +870,49 @@ @implementation GTLRAiplatform_CloudAiLargeModelsVisionRaiInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiLargeModelsVisionRaiInfoDetectedLabels +// + +@implementation GTLRAiplatform_CloudAiLargeModelsVisionRaiInfoDetectedLabels +@dynamic entities, raiCategory; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"entities" : [GTLRAiplatform_CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox +// + +@implementation GTLRAiplatform_CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox +@dynamic x1, x2, y1, y2; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity +// + +@implementation GTLRAiplatform_CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity +@dynamic boundingBox, descriptionProperty, iouScore, mid, score; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_CloudAiLargeModelsVisionSemanticFilterResponse @@ -929,6 +941,16 @@ @implementation GTLRAiplatform_CloudAiLargeModelsVisionVideo @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail +// + +@implementation GTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail +@dynamic errorCause, publicMessage; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleApiHttpBody @@ -2565,6 +2587,55 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1DatasetDistribution +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1DatasetDistribution +@dynamic buckets, max, mean, median, min, p5, p95, sum; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"buckets" : [GTLRAiplatform_GoogleCloudAiplatformV1DatasetDistributionDistributionBucket class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1DatasetDistributionDistributionBucket +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1DatasetDistributionDistributionBucket +@dynamic count, left, right; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1DatasetStats +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1DatasetStats +@dynamic totalBillableCharacterCount, totalTuningCharacterCount, + tuningDatasetExampleCount, tuningStepCount, userDatasetExamples, + userInputTokenDistribution, userMessagePerExampleDistribution, + userOutputTokenDistribution; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"userDatasetExamples" : [GTLRAiplatform_GoogleCloudAiplatformV1Content class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1DatasetVersion @@ -2818,7 +2889,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1DeployIndexResponse // @implementation GTLRAiplatform_GoogleCloudAiplatformV1DeploymentResourcePool -@dynamic createTime, dedicatedResources, name; +@dynamic createTime, dedicatedResources, disableContainerLogging, + encryptionSpec, name, serviceAccount; @end @@ -2942,6 +3014,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1DiskSpec @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1DistillationDataStats +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1DistillationDataStats +@dynamic trainingDatasetStats; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1DoubleArray @@ -3845,8 +3927,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureNoiseSigmaNoiseSigm // @implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStore -@dynamic bigtable, createTime, dedicatedServingEndpoint, ETag, labels, name, - optimized, state, updateTime; +@dynamic bigtable, createTime, dedicatedServingEndpoint, encryptionSpec, ETag, + labels, name, optimized, state, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; @@ -4027,7 +4109,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1FeaturestoreOnlineServingC @implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureValue @dynamic boolArrayValue, boolValue, bytesValue, doubleArrayValue, doubleValue, - int64ArrayValue, int64Value, metadata, stringArrayValue, stringValue; + int64ArrayValue, int64Value, metadata, stringArrayValue, stringValue, + structValue; @end @@ -4454,6 +4537,24 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FunctionCallingConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FunctionCallingConfig +@dynamic allowedFunctionNames, mode; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"allowedFunctionNames" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1FunctionDeclaration @@ -4527,7 +4628,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1GcsSource // @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest -@dynamic contents, generationConfig, safetySettings, systemInstruction, tools; +@dynamic contents, generationConfig, safetySettings, systemInstruction, + toolConfig, tools; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -4594,7 +4696,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponseUsa @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig @dynamic candidateCount, frequencyPenalty, maxOutputTokens, presencePenalty, - responseMimeType, responseStyle, stopSequences, temperature, topK, + responseMimeType, responseSchema, stopSequences, temperature, topK, topP; + (NSDictionary *)arrayPropertyToClassMap { @@ -4635,6 +4737,15 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenieSource @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1GoogleSearchRetrieval +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1GoogleSearchRetrieval +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1GroundingMetadata @@ -6265,8 +6376,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1MetadataSchema // @implementation GTLRAiplatform_GoogleCloudAiplatformV1MetadataStore -@dynamic createTime, descriptionProperty, encryptionSpec, name, state, - updateTime; +@dynamic createTime, dataplexConfig, descriptionProperty, encryptionSpec, name, + state, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -6275,6 +6386,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1MetadataStore @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1MetadataStoreDataplexConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1MetadataStoreDataplexConfig +@dynamic enabledPipelinesLineage; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1MetadataStoreMetadataStoreState @@ -7356,35 +7477,17 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1NotebookIdleShutdownConfig @end -// ---------------------------------------------------------------------------- -// -// GTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity -// - -@implementation GTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity -@dynamic consumeReservationType, key, values; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"values" : [NSString class] - }; - return map; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntime // @implementation GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntime -@dynamic createTime, descriptionProperty, displayName, expirationTime, - healthState, isUpgradable, labels, name, networkTags, - notebookRuntimeTemplateRef, notebookRuntimeType, proxyUri, - reservationAffinity, runtimeState, runtimeUser, satisfiesPzi, - satisfiesPzs, serviceAccount, updateTime, version; +@dynamic createTime, descriptionProperty, displayName, encryptionSpec, + expirationTime, healthState, idleShutdownConfig, isUpgradable, labels, + name, networkTags, notebookRuntimeTemplateRef, notebookRuntimeType, + proxyUri, runtimeState, runtimeUser, satisfiesPzi, satisfiesPzs, + serviceAccount, updateTime, version; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -7421,9 +7524,9 @@ + (Class)classForAdditionalProperties { @implementation GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntimeTemplate @dynamic createTime, dataPersistentDiskSpec, descriptionProperty, displayName, - ETag, eucConfig, idleShutdownConfig, isDefault, labels, machineSpec, - name, networkSpec, networkTags, notebookRuntimeType, - reservationAffinity, serviceAccount, shieldedVmConfig, updateTime; + encryptionSpec, ETag, eucConfig, idleShutdownConfig, isDefault, labels, + machineSpec, name, networkSpec, networkTags, notebookRuntimeType, + serviceAccount, shieldedVmConfig, updateTime; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -8285,12 +8388,37 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1RawPredictRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1RayMetricSpec +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1RayMetricSpec +@dynamic disabled; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1RaySpec // @implementation GTLRAiplatform_GoogleCloudAiplatformV1RaySpec +@dynamic headNodeResourcePoolId, imageUri, rayMetricSpec, resourcePoolImages; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1RaySpec_ResourcePoolImages +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1RaySpec_ResourcePoolImages + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + @end @@ -8520,6 +8648,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1RebootPersistentResourceRe @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ReinforcementLearningDataStats +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ReinforcementLearningDataStats +@dynamic preferenceDatasetStats, promptDatasetStats; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1RemoveContextChildrenRequest @@ -8606,6 +8744,21 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ResourcePoolAutoscalingSpe // @implementation GTLRAiplatform_GoogleCloudAiplatformV1ResourceRuntime +@dynamic accessUris; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ResourceRuntime_AccessUris +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ResourceRuntime_AccessUris + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + @end @@ -9852,9 +10005,9 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1SchemaTextExtractionAnnota // @implementation GTLRAiplatform_GoogleCloudAiplatformV1SchemaTextPromptDatasetMetadata -@dynamic candidateCount, gcsUri, groundingConfig, maxOutputTokens, note, - promptType, stopSequences, systemInstructionGcsUri, temperature, text, - topK, topP; +@dynamic candidateCount, gcsUri, groundingConfig, hasPromptVariable, + maxOutputTokens, note, promptType, stopSequences, systemInstruction, + systemInstructionGcsUri, temperature, text, topK, topP; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -11216,6 +11369,34 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1StringArray @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1StructFieldValue +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1StructFieldValue +@dynamic name, value; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1StructValue +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1StructValue +@dynamic values; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"values" : [GTLRAiplatform_GoogleCloudAiplatformV1StructFieldValue class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1Study @@ -11895,7 +12076,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1TokensInfo // @implementation GTLRAiplatform_GoogleCloudAiplatformV1Tool -@dynamic functionDeclarations, retrieval; +@dynamic functionDeclarations, googleSearchRetrieval, retrieval; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -11907,6 +12088,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1Tool @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ToolConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ToolConfig +@dynamic functionCallingConfig; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1TrainingConfig @@ -12031,7 +12222,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1TunedModel // @implementation GTLRAiplatform_GoogleCloudAiplatformV1TuningDataStats -@dynamic supervisedTuningDataStats; +@dynamic distillationDataStats, reinforcementLearningDataStats, + supervisedTuningDataStats; @end diff --git a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m index bfa4de744..11ff67691 100644 --- a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m +++ b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m @@ -7559,6 +7559,33 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRAiplatformQuery_ProjectsLocationsNotebookRuntimeTemplatesPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntimeTemplate *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsNotebookRuntimeTemplatesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntimeTemplate class]; + query.loggingName = @"aiplatform.projects.locations.notebookRuntimeTemplates.patch"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_ProjectsLocationsNotebookRuntimeTemplatesSetIamPolicy @dynamic resource; diff --git a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h index 7d34487a9..460936c44 100644 --- a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h +++ b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h @@ -15,12 +15,14 @@ #error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. #endif -@class GTLRAiplatform_CloudAiLargeModelsVisionFilteredText; @class GTLRAiplatform_CloudAiLargeModelsVisionImage; @class GTLRAiplatform_CloudAiLargeModelsVisionImageRAIScores; @class GTLRAiplatform_CloudAiLargeModelsVisionMedia; @class GTLRAiplatform_CloudAiLargeModelsVisionNamedBoundingBox; @class GTLRAiplatform_CloudAiLargeModelsVisionRaiInfo; +@class GTLRAiplatform_CloudAiLargeModelsVisionRaiInfoDetectedLabels; +@class GTLRAiplatform_CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox; +@class GTLRAiplatform_CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity; @class GTLRAiplatform_CloudAiLargeModelsVisionSemanticFilterResponse; @class GTLRAiplatform_CloudAiLargeModelsVisionVideo; @class GTLRAiplatform_GoogleApiHttpBody; @@ -78,6 +80,9 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1DataLabelingJob_Labels; @class GTLRAiplatform_GoogleCloudAiplatformV1Dataset; @class GTLRAiplatform_GoogleCloudAiplatformV1Dataset_Labels; +@class GTLRAiplatform_GoogleCloudAiplatformV1DatasetDistribution; +@class GTLRAiplatform_GoogleCloudAiplatformV1DatasetDistributionDistributionBucket; +@class GTLRAiplatform_GoogleCloudAiplatformV1DatasetStats; @class GTLRAiplatform_GoogleCloudAiplatformV1DatasetVersion; @class GTLRAiplatform_GoogleCloudAiplatformV1DedicatedResources; @class GTLRAiplatform_GoogleCloudAiplatformV1DeleteFeatureValuesRequestSelectEntity; @@ -94,6 +99,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1DeployModelRequest_TrafficSplit; @class GTLRAiplatform_GoogleCloudAiplatformV1DestinationFeatureSetting; @class GTLRAiplatform_GoogleCloudAiplatformV1DiskSpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1DistillationDataStats; @class GTLRAiplatform_GoogleCloudAiplatformV1DoubleArray; @class GTLRAiplatform_GoogleCloudAiplatformV1EncryptionSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1Endpoint; @@ -191,6 +197,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1FractionSplit; @class GTLRAiplatform_GoogleCloudAiplatformV1FunctionCall; @class GTLRAiplatform_GoogleCloudAiplatformV1FunctionCall_Args; +@class GTLRAiplatform_GoogleCloudAiplatformV1FunctionCallingConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1FunctionDeclaration; @class GTLRAiplatform_GoogleCloudAiplatformV1FunctionResponse; @class GTLRAiplatform_GoogleCloudAiplatformV1FunctionResponse_Response; @@ -201,6 +208,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1GenericOperationMetadata; @class GTLRAiplatform_GoogleCloudAiplatformV1GenieSource; +@class GTLRAiplatform_GoogleCloudAiplatformV1GoogleSearchRetrieval; @class GTLRAiplatform_GoogleCloudAiplatformV1GroundingMetadata; @class GTLRAiplatform_GoogleCloudAiplatformV1HyperparameterTuningJob; @class GTLRAiplatform_GoogleCloudAiplatformV1HyperparameterTuningJob_Labels; @@ -230,6 +238,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1MeasurementMetric; @class GTLRAiplatform_GoogleCloudAiplatformV1MetadataSchema; @class GTLRAiplatform_GoogleCloudAiplatformV1MetadataStore; +@class GTLRAiplatform_GoogleCloudAiplatformV1MetadataStoreDataplexConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1MetadataStoreMetadataStoreState; @class GTLRAiplatform_GoogleCloudAiplatformV1MigratableResource; @class GTLRAiplatform_GoogleCloudAiplatformV1MigratableResourceAutomlDataset; @@ -308,7 +317,6 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1NfsMount; @class GTLRAiplatform_GoogleCloudAiplatformV1NotebookEucConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1NotebookIdleShutdownConfig; -@class GTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity; @class GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntime; @class GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntime_Labels; @class GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntimeTemplate; @@ -357,7 +365,9 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelDocumentation; @class GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelResourceReference; @class GTLRAiplatform_GoogleCloudAiplatformV1PythonPackageSpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1RayMetricSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1RaySpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1RaySpec_ResourcePoolImages; @class GTLRAiplatform_GoogleCloudAiplatformV1ReadFeatureValuesResponseEntityView; @class GTLRAiplatform_GoogleCloudAiplatformV1ReadFeatureValuesResponseEntityViewData; @class GTLRAiplatform_GoogleCloudAiplatformV1ReadFeatureValuesResponseFeatureDescriptor; @@ -365,9 +375,11 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1ReadTensorboardUsageResponse_MonthlyUsageData; @class GTLRAiplatform_GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData; @class GTLRAiplatform_GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData; +@class GTLRAiplatform_GoogleCloudAiplatformV1ReinforcementLearningDataStats; @class GTLRAiplatform_GoogleCloudAiplatformV1ResourcePool; @class GTLRAiplatform_GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1ResourceRuntime; +@class GTLRAiplatform_GoogleCloudAiplatformV1ResourceRuntime_AccessUris; @class GTLRAiplatform_GoogleCloudAiplatformV1ResourceRuntimeSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1ResourcesConsumed; @class GTLRAiplatform_GoogleCloudAiplatformV1Retrieval; @@ -482,6 +494,8 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1SpecialistPool; @class GTLRAiplatform_GoogleCloudAiplatformV1StratifiedSplit; @class GTLRAiplatform_GoogleCloudAiplatformV1StringArray; +@class GTLRAiplatform_GoogleCloudAiplatformV1StructFieldValue; +@class GTLRAiplatform_GoogleCloudAiplatformV1StructValue; @class GTLRAiplatform_GoogleCloudAiplatformV1Study; @class GTLRAiplatform_GoogleCloudAiplatformV1StudySpec; @class GTLRAiplatform_GoogleCloudAiplatformV1StudySpecConvexAutomatedStoppingSpec; @@ -525,6 +539,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1TimestampSplit; @class GTLRAiplatform_GoogleCloudAiplatformV1TokensInfo; @class GTLRAiplatform_GoogleCloudAiplatformV1Tool; +@class GTLRAiplatform_GoogleCloudAiplatformV1ToolConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1TrainingConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline; @class GTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline_Labels; @@ -575,116 +590,158 @@ NS_ASSUME_NONNULL_BEGIN // Constants - For some of the classes' properties below. // ---------------------------------------------------------------------------- -// GTLRAiplatform_CloudAiLargeModelsVisionFilteredText.category - -/** Value: "CELEBRITY" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Celebrity; -/** Value: "CELEBRITY_IMG" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_CelebrityImg; -/** Value: "CHILD_IMG" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ChildImg; -/** Value: "CHILD_TEXT" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ChildText; -/** Value: "CSAI" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Csai; -/** Value: "CSAI_IMG" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_CsaiImg; -/** - * Text category from SafetyCat v3 - * - * Value: "DANGEROUS_CONTENT" - */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_DangerousContent; -/** - * SafetyAttributes returned but not filtered on - * - * Value: "DEATH_HARM_TRAGEDY" - */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_DeathHarmTragedy; -/** Value: "FACE_IMG" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_FaceImg; -/** Value: "FIREARMS_WEAPONS" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_FirearmsWeapons; -/** - * End of list - * - * Value: "HATE_SYMBOL_IMG" - */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_HateSymbolImg; -/** Value: "HEALTH" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Health; -/** Value: "ICA_IMG" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_IcaImg; -/** - * Hate - * - * Value: "IDENTITY_ATTACK" - */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_IdentityAttack; -/** Value: "ILLICIT_DRUGS" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_IllicitDrugs; -/** Value: "IU_IMG" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_IuImg; -/** Value: "MEMORIZATION_IMG" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_MemorizationImg; -/** Value: "OBSCENE" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Obscene; -/** Value: "PEDO_IMG" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_PedoImg; -/** Value: "PERSON_IMG" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_PersonImg; -/** Value: "POLITICS" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Politics; -/** Value: "PORN_IMG" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_PornImg; -/** Value: "RACY_IMG" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_RacyImg; -/** Value: "RAI_CATEGORY_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_RaiCategoryUnspecified; -/** Value: "RECITATION_TEXT" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_RecitationText; -/** Value: "RELIGIOUS_BELIEF" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ReligiousBelief; -/** Value: "SENSITIVE_WORD" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_SensitiveWord; -/** Value: "SEXUAL_IMG" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_SexualImg; -/** - * Porn - * - * Value: "SEXUALLY_EXPLICIT" - */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_SexuallyExplicit; -/** Value: "SPII" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Spii; -/** Value: "TOXIC" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Toxic; -/** Value: "VIOLENCE_ABUSE" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ViolenceAbuse; -/** Value: "VIOLENCE_IMG" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ViolenceImg; -/** Value: "WAR_CONFLICT" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_WarConflict; -/** Value: "WATERMARK_IMG" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_WatermarkImg; -/** - * Error message when user attempts to remove watermark from editing image - * - * Value: "WATERMARK_IMG_REMOVAL" - */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_WatermarkImgRemoval; +// GTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail.errorCause -// ---------------------------------------------------------------------------- -// GTLRAiplatform_CloudAiLargeModelsVisionFilteredText.confidence - -/** Value: "CONFIDENCE_HIGH" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Confidence_ConfidenceHigh; -/** Value: "CONFIDENCE_LOW" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Confidence_ConfidenceLow; -/** Value: "CONFIDENCE_MEDIUM" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Confidence_ConfidenceMedium; -/** Value: "CONFIDENCE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Confidence_ConfidenceUnspecified; +/** + * Cloud API not enabled. + * + * Value: "CLOUD_API_NOT_ENABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_CloudApiNotEnabled; +/** + * Should never be used. + * + * Value: "ERROR_CAUSE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_ErrorCauseUnspecified; +/** + * Project does not have enough quota. + * + * Value: "INSUFFICIENT_QUOTA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InsufficientQuota; +/** + * An internal error with unknown cause. + * + * Value: "INTERNAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_Internal; +/** + * Component spec of pipeline is invalid. + * + * Value: "INVALID_COMPONENT_SPEC" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidComponentSpec; +/** + * A container spec is invalid. + * + * Value: "INVALID_CONTAINER_SPEC" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidContainerSpec; +/** + * A custom job is invalid. + * + * Value: "INVALID_CUSTOM_JOB" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidCustomJob; +/** + * DagOutputsSpec is invalid. + * + * Value: "INVALID_DAG_OUTPUTS_SPEC" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidDagOutputsSpec; +/** + * DagSpec is invalid. + * + * Value: "INVALID_DAG_SPEC" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidDagSpec; +/** + * A deployment config is invalid. + * + * Value: "INVALID_DEPLOYMENT_CONFIG" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidDeploymentConfig; +/** + * A deployment spec is invalid. + * + * Value: "INVALID_DEPLOYMENT_SPEC" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidDeploymentSpec; +/** + * Invalid GCS input uri + * + * Value: "INVALID_GCS_INPUT_URI" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidGcsInputUri; +/** + * Invalid GCS output uri + * + * Value: "INVALID_GCS_OUTPUT_URI" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidGcsOutputUri; +/** + * Importer spec is invalid. + * + * Value: "INVALID_IMPORTER_SPEC" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidImporterSpec; +/** + * An instance schema is invalid. + * + * Value: "INVALID_INSTANCE_SCHEMA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidInstanceSchema; +/** + * KMS setup is invalid. + * + * Value: "INVALID_KMS_SETUP" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidKmsSetup; +/** + * Network setup is invalid. + * + * Value: "INVALID_NETWORK_SETUP" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidNetworkSetup; +/** + * Notification email setup is invalid. + * + * Value: "INVALID_NOTIFICATION_EMAIL_SETUP" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidNotificationEmailSetup; +/** + * A pipeline spec is invalid. + * + * Value: "INVALID_PIPELINE_SPEC" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidPipelineSpec; +/** + * IR Pipeline Spec can not been parsed to yaml or json format. + * + * Value: "INVALID_PIPELINE_SPEC_FORMAT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidPipelineSpecFormat; +/** + * Task artifact is invalid. + * + * Value: "INVALID_PIPELINE_TASK_ARTIFACT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidPipelineTaskArtifact; +/** + * Task spec is invalid. + * + * Value: "INVALID_PIPELINE_TASK_SPEC" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidPipelineTaskSpec; +/** + * Resolver spec is invalid. + * + * Value: "INVALID_RESOLVER_SPEC" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidResolverSpec; +/** + * Runtime Parameters are invalid. + * + * Value: "INVALID_RUNTIME_PARAMETERS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidRuntimeParameters; +/** + * Service account setup is invalid. + * + * Value: "INVALID_SERVICE_ACCOUNT_SETUP" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidServiceAccountSetup; // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1Artifact.state @@ -1448,6 +1505,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Featur * Value: "STRING_ARRAY" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Feature_ValueType_StringArray; +/** + * Used for Feature that is struct. + * + * Value: "STRUCT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Feature_ValueType_Struct; /** * The value type is unspecified. * @@ -1657,6 +1720,39 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FetchF */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FetchFeatureValuesRequest_DataFormat_ProtoStruct; +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1FunctionCallingConfig.mode + +/** + * Model is constrained to always predicting a function call only. If + * "allowed_function_names" are set, the predicted function call will be + * limited to any one of "allowed_function_names", else the predicted function + * call will be any one of the provided "function_declarations". + * + * Value: "ANY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FunctionCallingConfig_Mode_Any; +/** + * Default model behavior, model decides to predict either a function call or a + * natural language repspose. + * + * Value: "AUTO" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FunctionCallingConfig_Mode_Auto; +/** + * Unspecified function calling mode. This value should not be used. + * + * Value: "MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FunctionCallingConfig_Mode_ModeUnspecified; +/** + * Model will not predict any function call. Model behavior is same as when not + * passing any function declarations. + * + * Value: "NONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1FunctionCallingConfig_Mode_None; + // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback.blockReason @@ -1692,34 +1788,6 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Genera */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Safety; -// ---------------------------------------------------------------------------- -// GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig.responseStyle - -/** - * Default response style. - * - * Value: "RESPONSE_STYLE_BALANCED" - */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_ResponseStyle_ResponseStyleBalanced; -/** - * Creative response style. - * - * Value: "RESPONSE_STYLE_CREATIVE" - */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_ResponseStyle_ResponseStyleCreative; -/** - * Precise response. - * - * Value: "RESPONSE_STYLE_PRECISE" - */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_ResponseStyle_ResponseStylePrecise; -/** - * response style unspecified. - * - * Value: "RESPONSE_STYLE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_ResponseStyle_ResponseStyleUnspecified; - // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1HyperparameterTuningJob.state @@ -2510,6 +2578,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Neares * Value: "INVALID_CSV_SYNTAX" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_InvalidCsvSyntax; +/** + * Invalid embedding. + * + * Value: "INVALID_EMBEDDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_InvalidEmbedding; /** * The embedding id is not valid. * @@ -2578,35 +2652,6 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Neares */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_ParsingError; -// ---------------------------------------------------------------------------- -// GTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity.consumeReservationType - -/** - * Default type. - * - * Value: "RESERVATION_AFFINITY_TYPE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity_ConsumeReservationType_ReservationAffinityTypeUnspecified; -/** - * Consume any reservation available. - * - * Value: "RESERVATION_ANY" - */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity_ConsumeReservationType_ReservationAny; -/** - * Do not consume from any allocated capacity. - * - * Value: "RESERVATION_NONE" - */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity_ConsumeReservationType_ReservationNone; -/** - * Must consume from a specific reservation. Must specify key value fields for - * specifying the reservations. - * - * Value: "RESERVATION_SPECIFIC" - */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity_ConsumeReservationType_ReservationSpecific; - // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntime.healthState @@ -4566,120 +4611,6 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TuningJob_State_JobStateUpdating; -/** - * Details for filtered input text. - */ -@interface GTLRAiplatform_CloudAiLargeModelsVisionFilteredText : GTLRObject - -/** - * Confidence level - * - * Likely values: - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Celebrity - * Value "CELEBRITY" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_CelebrityImg - * Value "CELEBRITY_IMG" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ChildImg - * Value "CHILD_IMG" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ChildText - * Value "CHILD_TEXT" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Csai - * Value "CSAI" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_CsaiImg - * Value "CSAI_IMG" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_DangerousContent - * Text category from SafetyCat v3 (Value: "DANGEROUS_CONTENT") - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_DeathHarmTragedy - * SafetyAttributes returned but not filtered on (Value: - * "DEATH_HARM_TRAGEDY") - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_FaceImg - * Value "FACE_IMG" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_FirearmsWeapons - * Value "FIREARMS_WEAPONS" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_HateSymbolImg - * End of list (Value: "HATE_SYMBOL_IMG") - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Health - * Value "HEALTH" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_IcaImg - * Value "ICA_IMG" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_IdentityAttack - * Hate (Value: "IDENTITY_ATTACK") - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_IllicitDrugs - * Value "ILLICIT_DRUGS" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_IuImg - * Value "IU_IMG" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_MemorizationImg - * Value "MEMORIZATION_IMG" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Obscene - * Value "OBSCENE" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_PedoImg - * Value "PEDO_IMG" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_PersonImg - * Value "PERSON_IMG" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Politics - * Value "POLITICS" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_PornImg - * Value "PORN_IMG" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_RacyImg - * Value "RACY_IMG" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_RaiCategoryUnspecified - * Value "RAI_CATEGORY_UNSPECIFIED" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_RecitationText - * Value "RECITATION_TEXT" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ReligiousBelief - * Value "RELIGIOUS_BELIEF" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_SensitiveWord - * Value "SENSITIVE_WORD" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_SexualImg - * Value "SEXUAL_IMG" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_SexuallyExplicit - * Porn (Value: "SEXUALLY_EXPLICIT") - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Spii - * Value "SPII" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_Toxic - * Value "TOXIC" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ViolenceAbuse - * Value "VIOLENCE_ABUSE" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_ViolenceImg - * Value "VIOLENCE_IMG" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_WarConflict - * Value "WAR_CONFLICT" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_WatermarkImg - * Value "WATERMARK_IMG" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Category_WatermarkImgRemoval - * Error message when user attempts to remove watermark from editing - * image (Value: "WATERMARK_IMG_REMOVAL") - */ -@property(nonatomic, copy, nullable) NSString *category; - -/** - * Filtered category - * - * Likely values: - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Confidence_ConfidenceHigh - * Value "CONFIDENCE_HIGH" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Confidence_ConfidenceLow - * Value "CONFIDENCE_LOW" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Confidence_ConfidenceMedium - * Value "CONFIDENCE_MEDIUM" - * @arg @c kGTLRAiplatform_CloudAiLargeModelsVisionFilteredText_Confidence_ConfidenceUnspecified - * Value "CONFIDENCE_UNSPECIFIED" - */ -@property(nonatomic, copy, nullable) NSString *confidence; - -/** Input prompt */ -@property(nonatomic, copy, nullable) NSString *prompt; - -/** - * Score for category - * - * Uses NSNumber of doubleValue. - */ -@property(nonatomic, strong, nullable) NSNumber *score; - -@end - - /** * Generate video response. */ @@ -4688,9 +4619,6 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning /** The generates samples. */ @property(nonatomic, strong, nullable) NSArray *generatedSamples; -/** Returns rai error message for filtered videos. */ -@property(nonatomic, copy, nullable) NSString *raiErrorMessage; - /** * Returns if any videos were filtered due to RAI policies. * @@ -4701,9 +4629,6 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning /** Returns rai failure reasons if any. */ @property(nonatomic, strong, nullable) NSArray *raiMediaFilteredReasons; -/** Returns filtered text rai info. */ -@property(nonatomic, strong, nullable) GTLRAiplatform_CloudAiLargeModelsVisionFilteredText *raiTextFilteredReason; - @end @@ -4821,6 +4746,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @interface GTLRAiplatform_CloudAiLargeModelsVisionRaiInfo : GTLRObject +/** The list of detected labels for different rai categories. */ +@property(nonatomic, strong, nullable) NSArray *detectedLabels; + /** List of rai categories' information to return */ @property(nonatomic, strong, nullable) NSArray *raiCategories; @@ -4835,6 +4763,92 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning @end +/** + * Filters returning list of deteceted labels, scores, and bounding boxes. + */ +@interface GTLRAiplatform_CloudAiLargeModelsVisionRaiInfoDetectedLabels : GTLRObject + +/** The list of detected entities for the rai signal. */ +@property(nonatomic, strong, nullable) NSArray *entities; + +/** The RAI category for the deteceted labels. */ +@property(nonatomic, copy, nullable) NSString *raiCategory; + +@end + + +/** + * An integer bounding box of original pixels of the image for the detected + * labels. + */ +@interface GTLRAiplatform_CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox : GTLRObject + +/** + * The X coordinate of the top-left corner, in pixels. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *x1; + +/** + * The X coordinate of the bottom-right corner, in pixels. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *x2; + +/** + * The Y coordinate of the top-left corner, in pixels. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *y1; + +/** + * The Y coordinate of the bottom-right corner, in pixels. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *y2; + +@end + + +/** + * The properties for a detected entity from the rai signal. + */ +@interface GTLRAiplatform_CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity : GTLRObject + +/** Bounding box of the label */ +@property(nonatomic, strong, nullable) GTLRAiplatform_CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox *boundingBox; + +/** + * Description of the label + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * The intersection ratio between the detection bounding box and the mask. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *iouScore; + +/** MID of the label */ +@property(nonatomic, copy, nullable) NSString *mid; + +/** + * Confidence score of the label + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +@end + + /** * GTLRAiplatform_CloudAiLargeModelsVisionSemanticFilterResponse */ @@ -4878,6 +4892,78 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning @end +/** + * Create API error message for Vertex Pipeline. Next Id: 3. + */ +@interface GTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail : GTLRObject + +/** + * The error root cause returned by CreatePipelineJob API. + * + * Likely values: + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_CloudApiNotEnabled + * Cloud API not enabled. (Value: "CLOUD_API_NOT_ENABLED") + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_ErrorCauseUnspecified + * Should never be used. (Value: "ERROR_CAUSE_UNSPECIFIED") + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InsufficientQuota + * Project does not have enough quota. (Value: "INSUFFICIENT_QUOTA") + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_Internal + * An internal error with unknown cause. (Value: "INTERNAL") + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidComponentSpec + * Component spec of pipeline is invalid. (Value: + * "INVALID_COMPONENT_SPEC") + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidContainerSpec + * A container spec is invalid. (Value: "INVALID_CONTAINER_SPEC") + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidCustomJob + * A custom job is invalid. (Value: "INVALID_CUSTOM_JOB") + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidDagOutputsSpec + * DagOutputsSpec is invalid. (Value: "INVALID_DAG_OUTPUTS_SPEC") + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidDagSpec + * DagSpec is invalid. (Value: "INVALID_DAG_SPEC") + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidDeploymentConfig + * A deployment config is invalid. (Value: "INVALID_DEPLOYMENT_CONFIG") + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidDeploymentSpec + * A deployment spec is invalid. (Value: "INVALID_DEPLOYMENT_SPEC") + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidGcsInputUri + * Invalid GCS input uri (Value: "INVALID_GCS_INPUT_URI") + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidGcsOutputUri + * Invalid GCS output uri (Value: "INVALID_GCS_OUTPUT_URI") + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidImporterSpec + * Importer spec is invalid. (Value: "INVALID_IMPORTER_SPEC") + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidInstanceSchema + * An instance schema is invalid. (Value: "INVALID_INSTANCE_SCHEMA") + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidKmsSetup + * KMS setup is invalid. (Value: "INVALID_KMS_SETUP") + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidNetworkSetup + * Network setup is invalid. (Value: "INVALID_NETWORK_SETUP") + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidNotificationEmailSetup + * Notification email setup is invalid. (Value: + * "INVALID_NOTIFICATION_EMAIL_SETUP") + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidPipelineSpec + * A pipeline spec is invalid. (Value: "INVALID_PIPELINE_SPEC") + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidPipelineSpecFormat + * IR Pipeline Spec can not been parsed to yaml or json format. (Value: + * "INVALID_PIPELINE_SPEC_FORMAT") + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidPipelineTaskArtifact + * Task artifact is invalid. (Value: "INVALID_PIPELINE_TASK_ARTIFACT") + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidPipelineTaskSpec + * Task spec is invalid. (Value: "INVALID_PIPELINE_TASK_SPEC") + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidResolverSpec + * Resolver spec is invalid. (Value: "INVALID_RESOLVER_SPEC") + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidRuntimeParameters + * Runtime Parameters are invalid. (Value: "INVALID_RUNTIME_PARAMETERS") + * @arg @c kGTLRAiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail_ErrorCause_InvalidServiceAccountSetup + * Service account setup is invalid. (Value: + * "INVALID_SERVICE_ACCOUNT_SETUP") + */ +@property(nonatomic, copy, nullable) NSString *errorCause; + +/** Public messages contains actionable items for the error cause. */ +@property(nonatomic, copy, nullable) NSString *publicMessage; + +@end + + /** * Message that represents an arbitrary HTTP body. It should only be used for * payload formats that can't be represented as JSON, such as raw binary or an @@ -7966,64 +8052,202 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning @property(nonatomic, strong, nullable) id metadata; /** - * Output only. The resource name of the Artifact that was created in - * MetadataStore when creating the Dataset. The Artifact resource name pattern - * is - * `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`. + * Output only. The resource name of the Artifact that was created in + * MetadataStore when creating the Dataset. The Artifact resource name pattern + * is + * `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`. + */ +@property(nonatomic, copy, nullable) NSString *metadataArtifact; + +/** + * Required. Points to a YAML file stored on Google Cloud Storage describing + * additional information about the Dataset. The schema is defined as an + * OpenAPI 3.0.2 Schema Object. The schema files that can be used here are + * found in gs://google-cloud-aiplatform/schema/dataset/metadata/. + */ +@property(nonatomic, copy, nullable) NSString *metadataSchemaUri; + +/** + * Optional. Reference to the public base model last used by the dataset. Only + * set for prompt datasets. + */ +@property(nonatomic, copy, nullable) NSString *modelReference; + +/** Output only. The resource name of the Dataset. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * All SavedQueries belong to the Dataset will be returned in List/Get Dataset + * response. The annotation_specs field will not be populated except for UI + * cases which will only use annotation_spec_count. In CreateDataset request, a + * SavedQuery is created together if this field is set, up to one SavedQuery + * can be set in CreateDatasetRequest. The SavedQuery should not contain any + * AnnotationSpec. + */ +@property(nonatomic, strong, nullable) NSArray *savedQueries; + +/** Output only. Timestamp when this Dataset was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * The labels with user-defined metadata to organize your Datasets. Label keys + * and values can be no longer than 64 characters (Unicode codepoints), can + * only contain lowercase letters, numeric characters, underscores and dashes. + * International characters are allowed. No more than 64 user labels can be + * associated with one Dataset (System labels are excluded). See + * https://goo.gl/xmQnxf for more information and examples of labels. System + * reserved label keys are prefixed with "aiplatform.googleapis.com/" and are + * immutable. Following system labels exist for each Dataset: * + * "aiplatform.googleapis.com/dataset_metadata_schema": output only, its value + * is the metadata_schema's title. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1Dataset_Labels : GTLRObject +@end + + +/** + * Distribution computed over a tuning dataset. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1DatasetDistribution : GTLRObject + +/** Output only. Defines the histogram bucket. */ +@property(nonatomic, strong, nullable) NSArray *buckets; + +/** + * Output only. The maximum of the population values. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *max; + +/** + * Output only. The arithmetic mean of the values in the population. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *mean; + +/** + * Output only. The median of the values in the population. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *median; + +/** + * Output only. The minimum of the population values. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *min; + +/** + * Output only. The 5th percentile of the values in the population. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *p5; + +/** + * Output only. The 95th percentile of the values in the population. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *p95; + +/** + * Output only. Sum of a given population of values. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *sum; + +@end + + +/** + * Dataset bucket used to create a histogram for the distribution given a + * population of values. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1DatasetDistributionDistributionBucket : GTLRObject + +/** + * Output only. Number of values in the bucket. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *count; + +/** + * Output only. Left bound of the bucket. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *left; + +/** + * Output only. Right bound of the bucket. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *right; + +@end + + +/** + * Statistics computed over a tuning dataset. */ -@property(nonatomic, copy, nullable) NSString *metadataArtifact; +@interface GTLRAiplatform_GoogleCloudAiplatformV1DatasetStats : GTLRObject /** - * Required. Points to a YAML file stored on Google Cloud Storage describing - * additional information about the Dataset. The schema is defined as an - * OpenAPI 3.0.2 Schema Object. The schema files that can be used here are - * found in gs://google-cloud-aiplatform/schema/dataset/metadata/. + * Output only. Number of billable characters in the tuning dataset. + * + * Uses NSNumber of longLongValue. */ -@property(nonatomic, copy, nullable) NSString *metadataSchemaUri; +@property(nonatomic, strong, nullable) NSNumber *totalBillableCharacterCount; /** - * Optional. Reference to the public base model last used by the dataset. Only - * set for prompt datasets. + * Output only. Number of tuning characters in the tuning dataset. + * + * Uses NSNumber of longLongValue. */ -@property(nonatomic, copy, nullable) NSString *modelReference; +@property(nonatomic, strong, nullable) NSNumber *totalTuningCharacterCount; -/** Output only. The resource name of the Dataset. */ -@property(nonatomic, copy, nullable) NSString *name; +/** + * Output only. Number of examples in the tuning dataset. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *tuningDatasetExampleCount; /** - * All SavedQueries belong to the Dataset will be returned in List/Get Dataset - * response. The annotation_specs field will not be populated except for UI - * cases which will only use annotation_spec_count. In CreateDataset request, a - * SavedQuery is created together if this field is set, up to one SavedQuery - * can be set in CreateDatasetRequest. The SavedQuery should not contain any - * AnnotationSpec. + * Output only. Number of tuning steps for this Tuning Job. + * + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSArray *savedQueries; +@property(nonatomic, strong, nullable) NSNumber *tuningStepCount; -/** Output only. Timestamp when this Dataset was last updated. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +/** Output only. Sample user messages in the training dataset uri. */ +@property(nonatomic, strong, nullable) NSArray *userDatasetExamples; -@end +/** Output only. Dataset distributions for the user input tokens. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1DatasetDistribution *userInputTokenDistribution; +/** Output only. Dataset distributions for the messages per example. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1DatasetDistribution *userMessagePerExampleDistribution; + +/** Output only. Dataset distributions for the user output tokens. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1DatasetDistribution *userOutputTokenDistribution; -/** - * The labels with user-defined metadata to organize your Datasets. Label keys - * and values can be no longer than 64 characters (Unicode codepoints), can - * only contain lowercase letters, numeric characters, underscores and dashes. - * International characters are allowed. No more than 64 user labels can be - * associated with one Dataset (System labels are excluded). See - * https://goo.gl/xmQnxf for more information and examples of labels. System - * reserved label keys are prefixed with "aiplatform.googleapis.com/" and are - * immutable. Following system labels exist for each Dataset: * - * "aiplatform.googleapis.com/dataset_metadata_schema": output only, its value - * is the metadata_schema's title. - * - * @note This class is documented as having more properties of NSString. Use @c - * -additionalJSONKeys and @c -additionalPropertyForName: to get the list - * of properties and then fetch them; or @c -additionalProperties to - * fetch them all at once. - */ -@interface GTLRAiplatform_GoogleCloudAiplatformV1Dataset_Labels : GTLRObject @end @@ -8663,12 +8887,41 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1DedicatedResources *dedicatedResources; +/** + * If the DeploymentResourcePool is deployed with custom-trained Models or + * AutoML Tabular Models, the container(s) of the DeploymentResourcePool will + * send `stderr` and `stdout` streams to Cloud Logging by default. Please note + * that the logs incur cost, which are subject to [Cloud Logging + * pricing](https://cloud.google.com/logging/pricing). User can disable + * container logging by setting this flag to true. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disableContainerLogging; + +/** + * Customer-managed encryption key spec for a DeploymentResourcePool. If set, + * this DeploymentResourcePool will be secured by this key. Endpoints and the + * DeploymentResourcePool they deploy in need to have the same EncryptionSpec. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EncryptionSpec *encryptionSpec; + /** * Immutable. The resource name of the DeploymentResourcePool. Format: * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` */ @property(nonatomic, copy, nullable) NSString *name; +/** + * The service account that the DeploymentResourcePool's container(s) run as. + * Specify the email address of the service account. If this service account is + * not specified, the container(s) run as a service account that doesn't have + * access to the resource project. Users deploying the Models to this + * DeploymentResourcePool must have the `iam.serviceAccounts.actAs` permission + * on this service account. + */ +@property(nonatomic, copy, nullable) NSString *serviceAccount; + @end @@ -8845,6 +9098,17 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning @end +/** + * Statistics computed for datasets used for distillation. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1DistillationDataStats : GTLRObject + +/** Output only. Statistics computed for the training dataset. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1DatasetStats *trainingDatasetStats; + +@end + + /** * A list of double values. */ @@ -10848,6 +11112,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning * Used for Feature that is string. (Value: "STRING") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Feature_ValueType_StringArray * Used for Feature that is a list of String. (Value: "STRING_ARRAY") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Feature_ValueType_Struct + * Used for Feature that is struct. (Value: "STRUCT") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Feature_ValueType_ValueTypeUnspecified * The value type is unspecified. (Value: "VALUE_TYPE_UNSPECIFIED") */ @@ -11062,6 +11328,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint *dedicatedServingEndpoint; +/** + * Optional. Customer-managed encryption key spec for data storage. If set, + * online store will be secured by this key. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EncryptionSpec *encryptionSpec; + /** * Optional. Used to perform consistent read-modify-write updates. If not set, * a blind "overwrite" update happens. @@ -11669,6 +11941,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning /** String feature value. */ @property(nonatomic, copy, nullable) NSString *stringValue; +/** A struct type feature value. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1StructValue *structValue; + @end @@ -12435,6 +12710,43 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning @end +/** + * Function calling config. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FunctionCallingConfig : GTLRObject + +/** + * Optional. Function names to call. Only set when the Mode is ANY. Function + * names should match [FunctionDeclaration.name]. With mode set to ANY, model + * will predict a function call from the set of function names provided. + */ +@property(nonatomic, strong, nullable) NSArray *allowedFunctionNames; + +/** + * Optional. Function calling mode. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1FunctionCallingConfig_Mode_Any + * Model is constrained to always predicting a function call only. If + * "allowed_function_names" are set, the predicted function call will be + * limited to any one of "allowed_function_names", else the predicted + * function call will be any one of the provided "function_declarations". + * (Value: "ANY") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1FunctionCallingConfig_Mode_Auto + * Default model behavior, model decides to predict either a function + * call or a natural language repspose. (Value: "AUTO") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1FunctionCallingConfig_Mode_ModeUnspecified + * Unspecified function calling mode. This value should not be used. + * (Value: "MODE_UNSPECIFIED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1FunctionCallingConfig_Mode_None + * Model will not predict any function call. Model behavior is same as + * when not passing any function declarations. (Value: "NONE") + */ +@property(nonatomic, copy, nullable) NSString *mode; + +@end + + /** * Structured representation of a function declaration as defined by the * [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included @@ -12565,6 +12877,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Content *systemInstruction; +/** + * Optional. Tool config. This config is shared for all tools provided in the + * request. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ToolConfig *toolConfig; + /** * Optional. A list of `Tools` the model may use to generate the next response. * A `Tool` is a piece of code that enables the system to interact with @@ -12702,20 +13020,14 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning @property(nonatomic, copy, nullable) NSString *responseMimeType; /** - * Optional. Control Three levels of creativity in the model output. Default: - * RESPONSE_STYLE_BALANCED - * - * Likely values: - * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_ResponseStyle_ResponseStyleBalanced - * Default response style. (Value: "RESPONSE_STYLE_BALANCED") - * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_ResponseStyle_ResponseStyleCreative - * Creative response style. (Value: "RESPONSE_STYLE_CREATIVE") - * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_ResponseStyle_ResponseStylePrecise - * Precise response. (Value: "RESPONSE_STYLE_PRECISE") - * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_ResponseStyle_ResponseStyleUnspecified - * response style unspecified. (Value: "RESPONSE_STYLE_UNSPECIFIED") + * Optional. The `Schema` object allows the definition of input and output data + * types. These types can be objects, but also primitives and arrays. + * Represents a select subset of an [OpenAPI 3.0 schema + * object](https://spec.openapis.org/oas/v3.0.3#schema). If set, a compatible + * response_mime_type must also be set. Compatible mimetypes: + * `application/json`: Schema for JSON response. */ -@property(nonatomic, copy, nullable) NSString *responseStyle; +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Schema *responseSchema; /** Optional. Stop sequences. */ @property(nonatomic, strong, nullable) NSArray *stopSequences; @@ -12780,6 +13092,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning @end +/** + * Tool to retrieve public web data for grounding, powered by Google. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1GoogleSearchRetrieval : GTLRObject +@end + + /** * Metadata returned to client when grounding is enabled. */ @@ -15430,6 +15749,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning /** Output only. Timestamp when this MetadataStore was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** Optional. Dataplex integration settings. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1MetadataStoreDataplexConfig *dataplexConfig; + /** * Description of the MetadataStore. * @@ -15456,6 +15778,22 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning @end +/** + * Represents Dataplex integration settings. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1MetadataStoreDataplexConfig : GTLRObject + +/** + * Optional. Whether or not Data Lineage synchronization is enabled for Vertex + * Pipelines. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enabledPipelinesLineage; + +@end + + /** * Represents state information for a MetadataStore. */ @@ -18027,6 +18365,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning * Invalid avro format. (Value: "INVALID_AVRO_SYNTAX") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_InvalidCsvSyntax * Invalid csv format. (Value: "INVALID_CSV_SYNTAX") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_InvalidEmbedding + * Invalid embedding. (Value: "INVALID_EMBEDDING") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_InvalidEmbeddingId * The embedding id is not valid. (Value: "INVALID_EMBEDDING_ID") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1NearestNeighborSearchOperationMetadataRecordError_ErrorType_InvalidEncoding @@ -18214,47 +18554,6 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning @end -/** - * Notebook Reservation Affinity for consuming Zonal reservation. - */ -@interface GTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity : GTLRObject - -/** - * Required. Specifies the type of reservation from which this instance can - * consume resources: RESERVATION_ANY (default), RESERVATION_SPECIFIC, or - * RESERVATION_NONE. See Consuming reserved instances for examples. - * - * Likely values: - * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity_ConsumeReservationType_ReservationAffinityTypeUnspecified - * Default type. (Value: "RESERVATION_AFFINITY_TYPE_UNSPECIFIED") - * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity_ConsumeReservationType_ReservationAny - * Consume any reservation available. (Value: "RESERVATION_ANY") - * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity_ConsumeReservationType_ReservationNone - * Do not consume from any allocated capacity. (Value: - * "RESERVATION_NONE") - * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity_ConsumeReservationType_ReservationSpecific - * Must consume from a specific reservation. Must specify key value - * fields for specifying the reservations. (Value: - * "RESERVATION_SPECIFIC") - */ -@property(nonatomic, copy, nullable) NSString *consumeReservationType; - -/** - * Optional. Corresponds to the label key of a reservation resource. To target - * a RESERVATION_SPECIFIC by name, use compute.googleapis.com/reservation-name - * as the key and specify the name of your reservation as its value. - */ -@property(nonatomic, copy, nullable) NSString *key; - -/** - * Optional. Corresponds to the label values of a reservation resource. This - * must be the full path name of Reservation. - */ -@property(nonatomic, strong, nullable) NSArray *values; - -@end - - /** * A runtime is a virtual machine allocated to a particular user for a * particular Notebook file on temporary basis with lifetime limited to 24 @@ -18278,6 +18577,11 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, copy, nullable) NSString *displayName; +/** + * Output only. Customer-managed encryption key spec for the notebook runtime. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EncryptionSpec *encryptionSpec; + /** * Output only. Timestamp when this NotebookRuntime will be expired: 1. System * Predefined NotebookRuntime: 24 hours after creation. After expiration, @@ -18302,6 +18606,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, copy, nullable) NSString *healthState; +/** Output only. The idle shutdown configuration of the notebook runtime. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1NotebookIdleShutdownConfig *idleShutdownConfig; + /** * Output only. Whether NotebookRuntime is upgradable. * @@ -18361,9 +18668,6 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning /** Output only. The proxy endpoint used to access the NotebookRuntime. */ @property(nonatomic, copy, nullable) NSString *proxyUri; -/** Output only. Reservation Affinity of the notebook runtime. */ -@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity *reservationAffinity; - /** * Output only. The runtime (instance) state of the NotebookRuntime. * @@ -18476,6 +18780,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, copy, nullable) NSString *displayName; +/** Customer-managed encryption key spec for the notebook runtime. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EncryptionSpec *encryptionSpec; + /** * Used to perform consistent read-modify-write updates. If not set, a blind * "overwrite" update happens. @@ -18540,9 +18847,6 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, copy, nullable) NSString *notebookRuntimeType; -/** Optional. Reservation Affinity of the notebook runtime template. */ -@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1NotebookReservationAffinity *reservationAffinity; - /** * The service account that the runtime workload runs as. You can use any * service account within the same project, but you must have the service @@ -19680,7 +19984,7 @@ GTLR_DEPRECATED */ @interface GTLRAiplatform_GoogleCloudAiplatformV1Probe : GTLRObject -/** Exec specifies the action to take. */ +/** ExecAction probes the health of a container by executing a command. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ProbeExecAction *exec; /** @@ -20352,12 +20656,74 @@ GTLR_DEPRECATED @end +/** + * Configuration for the Ray metrics. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1RayMetricSpec : GTLRObject + +/** + * Optional. Flag to disable the Ray metrics collection. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disabled; + +@end + + /** * Configuration information for the Ray cluster. For experimental launch, Ray * cluster creation and Persistent cluster creation are 1:1 mapping: We will * provision all the nodes within the Persistent cluster as Ray nodes. */ @interface GTLRAiplatform_GoogleCloudAiplatformV1RaySpec : GTLRObject + +/** + * Optional. This will be used to indicate which resource pool will serve as + * the Ray head node(the first node within that pool). Will use the machine + * from the first workerpool as the head node by default if this field isn't + * set. + */ +@property(nonatomic, copy, nullable) NSString *headNodeResourcePoolId; + +/** + * Optional. Default image for user to choose a preferred ML framework (for + * example, TensorFlow or Pytorch) by choosing from [Vertex prebuilt + * images](https://cloud.google.com/vertex-ai/docs/training/pre-built-containers). + * Either this or the resource_pool_images is required. Use this field if you + * need all the resource pools to have the same Ray image. Otherwise, use the + * {\@code resource_pool_images} field. + */ +@property(nonatomic, copy, nullable) NSString *imageUri; + +/** Optional. Ray metrics configurations. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1RayMetricSpec *rayMetricSpec; + +/** + * Optional. Required if image_uri isn't set. A map of resource_pool_id to + * prebuild Ray image if user need to use different images for different + * head/worker pools. This map needs to cover all the resource pool ids. + * Example: { "ray_head_node_pool": "head image" "ray_worker_node_pool1": + * "worker image" "ray_worker_node_pool2": "another worker image" } + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1RaySpec_ResourcePoolImages *resourcePoolImages; + +@end + + +/** + * Optional. Required if image_uri isn't set. A map of resource_pool_id to + * prebuild Ray image if user need to use different images for different + * head/worker pools. This map needs to cover all the resource pool ids. + * Example: { "ray_head_node_pool": "head image" "ray_worker_node_pool1": + * "worker image" "ray_worker_node_pool2": "another worker image" } + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1RaySpec_ResourcePoolImages : GTLRObject @end @@ -20607,6 +20973,27 @@ GTLR_DEPRECATED @end +/** + * Statistics computed for datasets used for reinforcement learning. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ReinforcementLearningDataStats : GTLRObject + +/** + * Output only. Statistics computed for the preference dataset. This can be + * either a human preference dataset or a preference dataset generated from AI + * feedback. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1DatasetStats *preferenceDatasetStats; + +/** + * Output only. Statistics computed for the prompt dataset used during + * reinforcement learning. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1DatasetStats *promptDatasetStats; + +@end + + /** * Request message for MetadataService.DeleteContextChildrenRequest. */ @@ -20713,6 +21100,28 @@ GTLR_DEPRECATED * Persistent Cluster runtime information as output */ @interface GTLRAiplatform_GoogleCloudAiplatformV1ResourceRuntime : GTLRObject + +/** + * Output only. URIs for user to connect to the Cluster. Example: { + * "RAY_HEAD_NODE_INTERNAL_IP": "head-node-IP:10001" "RAY_DASHBOARD_URI": + * "ray-dashboard-address:8888" } + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ResourceRuntime_AccessUris *accessUris; + +@end + + +/** + * Output only. URIs for user to connect to the Cluster. Example: { + * "RAY_HEAD_NODE_INTERNAL_IP": "head-node-IP:10001" "RAY_DASHBOARD_URI": + * "ray-dashboard-address:8888" } + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ResourceRuntime_AccessUris : GTLRObject @end @@ -24021,6 +24430,13 @@ GTLR_DEPRECATED /** Grounding checking configuration. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig *groundingConfig; +/** + * Whether the prompt dataset has prompt variable. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hasPromptVariable; + /** * Value of the maximum number of tokens generated set when the dataset was * saved. @@ -24038,6 +24454,9 @@ GTLR_DEPRECATED /** Customized stop sequences. */ @property(nonatomic, strong, nullable) NSArray *stopSequences; +/** The content of the prompt dataset system instruction. */ +@property(nonatomic, copy, nullable) NSString *systemInstruction; + /** * The Google Cloud Storage URI that stores the system instruction, starting * with gs://. @@ -27174,6 +27593,31 @@ GTLR_DEPRECATED @end +/** + * One field of a Struct (or object) type feature value. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1StructFieldValue : GTLRObject + +/** Name of the field in the struct feature. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The value for this field. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FeatureValue *value; + +@end + + +/** + * Struct (or object) type feature value. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1StructValue : GTLRObject + +/** A list of field values. */ +@property(nonatomic, strong, nullable) NSArray *values; + +@end + + /** * A message representing a Study. */ @@ -28891,6 +29335,12 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSArray *functionDeclarations; +/** + * Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that + * is powered by Google search. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GoogleSearchRetrieval *googleSearchRetrieval; + /** * Optional. Retrieval tool type. System will always execute the provided * retrieval tool(s) to get external knowledge to answer the prompt. Retrieval @@ -28901,6 +29351,17 @@ GTLR_DEPRECATED @end +/** + * Tool config. This config is shared for all tools provided in the request. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ToolConfig : GTLRObject + +/** Optional. Function calling config. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FunctionCallingConfig *functionCallingConfig; + +@end + + /** * CMLE training config. For every active learning labeling iteration, system * will train a machine learning model on CMLE. The trained model will be used @@ -29298,6 +29759,12 @@ GTLR_DEPRECATED */ @interface GTLRAiplatform_GoogleCloudAiplatformV1TuningDataStats : GTLRObject +/** Statistics for distillation. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1DistillationDataStats *distillationDataStats; + +/** Statistics for reinforcement learning. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ReinforcementLearningDataStats *reinforcementLearningDataStats; + /** The SFT Tuning data stats. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1SupervisedTuningDataStats *supervisedTuningDataStats; diff --git a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h index 24c5a0627..3cbda03b0 100644 --- a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h +++ b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h @@ -3477,6 +3477,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * * Authorization scope(s): * @c kGTLRAuthScopeAiplatformCloudPlatform + * @c kGTLRAuthScopeAiplatformCloudPlatformReadOnly */ @interface GTLRAiplatformQuery_ProjectsLocationsEndpointsDirectPredict : GTLRAiplatformQuery @@ -3514,6 +3515,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * * Authorization scope(s): * @c kGTLRAuthScopeAiplatformCloudPlatform + * @c kGTLRAuthScopeAiplatformCloudPlatformReadOnly */ @interface GTLRAiplatformQuery_ProjectsLocationsEndpointsDirectRawPredict : GTLRAiplatformQuery @@ -3553,6 +3555,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * * Authorization scope(s): * @c kGTLRAuthScopeAiplatformCloudPlatform + * @c kGTLRAuthScopeAiplatformCloudPlatformReadOnly */ @interface GTLRAiplatformQuery_ProjectsLocationsEndpointsExplain : GTLRAiplatformQuery @@ -3590,6 +3593,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * * Authorization scope(s): * @c kGTLRAuthScopeAiplatformCloudPlatform + * @c kGTLRAuthScopeAiplatformCloudPlatformReadOnly */ @interface GTLRAiplatformQuery_ProjectsLocationsEndpointsGenerateContent : GTLRAiplatformQuery @@ -3999,6 +4003,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * * Authorization scope(s): * @c kGTLRAuthScopeAiplatformCloudPlatform + * @c kGTLRAuthScopeAiplatformCloudPlatformReadOnly */ @interface GTLRAiplatformQuery_ProjectsLocationsEndpointsPredict : GTLRAiplatformQuery @@ -4036,6 +4041,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * * Authorization scope(s): * @c kGTLRAuthScopeAiplatformCloudPlatform + * @c kGTLRAuthScopeAiplatformCloudPlatformReadOnly */ @interface GTLRAiplatformQuery_ProjectsLocationsEndpointsRawPredict : GTLRAiplatformQuery @@ -4074,6 +4080,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * * Authorization scope(s): * @c kGTLRAuthScopeAiplatformCloudPlatform + * @c kGTLRAuthScopeAiplatformCloudPlatformReadOnly */ @interface GTLRAiplatformQuery_ProjectsLocationsEndpointsServerStreamingPredict : GTLRAiplatformQuery @@ -4110,6 +4117,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * * Authorization scope(s): * @c kGTLRAuthScopeAiplatformCloudPlatform + * @c kGTLRAuthScopeAiplatformCloudPlatformReadOnly */ @interface GTLRAiplatformQuery_ProjectsLocationsEndpointsStreamGenerateContent : GTLRAiplatformQuery @@ -4145,6 +4153,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * * Authorization scope(s): * @c kGTLRAuthScopeAiplatformCloudPlatform + * @c kGTLRAuthScopeAiplatformCloudPlatformReadOnly */ @interface GTLRAiplatformQuery_ProjectsLocationsEndpointsStreamRawPredict : GTLRAiplatformQuery @@ -14518,6 +14527,45 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * Updates a NotebookRuntimeTemplate. + * + * Method: aiplatform.projects.locations.notebookRuntimeTemplates.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsNotebookRuntimeTemplatesPatch : GTLRAiplatformQuery + +/** The resource name of the NotebookRuntimeTemplate. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. The update mask applies to the resource. For the `FieldMask` + * definition, see google.protobuf.FieldMask. Input format: `{paths: + * "${updated_filed}"}` Updatable fields: * `encryption_spec.kms_key_name` + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntimeTemplate. + * + * Updates a NotebookRuntimeTemplate. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntimeTemplate to include + * in the query. + * @param name The resource name of the NotebookRuntimeTemplate. + * + * @return GTLRAiplatformQuery_ProjectsLocationsNotebookRuntimeTemplatesPatch + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntimeTemplate *)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 @@ -15803,6 +15851,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * * Authorization scope(s): * @c kGTLRAuthScopeAiplatformCloudPlatform + * @c kGTLRAuthScopeAiplatformCloudPlatformReadOnly */ @interface GTLRAiplatformQuery_ProjectsLocationsPublishersModelsGenerateContent : GTLRAiplatformQuery @@ -15838,6 +15887,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * * Authorization scope(s): * @c kGTLRAuthScopeAiplatformCloudPlatform + * @c kGTLRAuthScopeAiplatformCloudPlatformReadOnly */ @interface GTLRAiplatformQuery_ProjectsLocationsPublishersModelsPredict : GTLRAiplatformQuery @@ -15875,6 +15925,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * * Authorization scope(s): * @c kGTLRAuthScopeAiplatformCloudPlatform + * @c kGTLRAuthScopeAiplatformCloudPlatformReadOnly */ @interface GTLRAiplatformQuery_ProjectsLocationsPublishersModelsRawPredict : GTLRAiplatformQuery @@ -15913,6 +15964,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * * Authorization scope(s): * @c kGTLRAuthScopeAiplatformCloudPlatform + * @c kGTLRAuthScopeAiplatformCloudPlatformReadOnly */ @interface GTLRAiplatformQuery_ProjectsLocationsPublishersModelsServerStreamingPredict : GTLRAiplatformQuery @@ -15949,6 +16001,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * * Authorization scope(s): * @c kGTLRAuthScopeAiplatformCloudPlatform + * @c kGTLRAuthScopeAiplatformCloudPlatformReadOnly */ @interface GTLRAiplatformQuery_ProjectsLocationsPublishersModelsStreamGenerateContent : GTLRAiplatformQuery @@ -15984,6 +16037,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * * Authorization scope(s): * @c kGTLRAuthScopeAiplatformCloudPlatform + * @c kGTLRAuthScopeAiplatformCloudPlatformReadOnly */ @interface GTLRAiplatformQuery_ProjectsLocationsPublishersModelsStreamRawPredict : GTLRAiplatformQuery diff --git a/Sources/GeneratedServices/AnalyticsData/GTLRAnalyticsDataObjects.m b/Sources/GeneratedServices/AnalyticsData/GTLRAnalyticsDataObjects.m index c44658dd8..832d901fd 100644 --- a/Sources/GeneratedServices/AnalyticsData/GTLRAnalyticsDataObjects.m +++ b/Sources/GeneratedServices/AnalyticsData/GTLRAnalyticsDataObjects.m @@ -368,6 +368,31 @@ @implementation GTLRAnalyticsData_CohortsRange @end +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsData_Comparison +// + +@implementation GTLRAnalyticsData_Comparison +@dynamic comparison, dimensionFilter, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsData_ComparisonMetadata +// + +@implementation GTLRAnalyticsData_ComparisonMetadata +@dynamic apiName, descriptionProperty, uiName; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAnalyticsData_ConcatenateExpression @@ -563,10 +588,11 @@ + (NSString *)collectionItemsKey { // @implementation GTLRAnalyticsData_Metadata -@dynamic dimensions, metrics, name; +@dynamic comparisons, dimensions, metrics, name; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"comparisons" : [GTLRAnalyticsData_ComparisonMetadata class], @"dimensions" : [GTLRAnalyticsData_DimensionMetadata class], @"metrics" : [GTLRAnalyticsData_MetricMetadata class] }; @@ -906,12 +932,13 @@ @implementation GTLRAnalyticsData_Row // @implementation GTLRAnalyticsData_RunPivotReportRequest -@dynamic cohortSpec, currencyCode, dateRanges, dimensionFilter, dimensions, - keepEmptyRows, metricFilter, metrics, pivots, property, +@dynamic cohortSpec, comparisons, currencyCode, dateRanges, dimensionFilter, + dimensions, keepEmptyRows, metricFilter, metrics, pivots, property, returnPropertyQuota; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"comparisons" : [GTLRAnalyticsData_Comparison class], @"dateRanges" : [GTLRAnalyticsData_DateRange class], @"dimensions" : [GTLRAnalyticsData_Dimension class], @"metrics" : [GTLRAnalyticsData_Metric class], @@ -1011,12 +1038,13 @@ + (BOOL)isKindValidForClassRegistry { // @implementation GTLRAnalyticsData_RunReportRequest -@dynamic cohortSpec, currencyCode, dateRanges, dimensionFilter, dimensions, - keepEmptyRows, limit, metricAggregations, metricFilter, metrics, - offset, orderBys, property, returnPropertyQuota; +@dynamic cohortSpec, comparisons, currencyCode, dateRanges, dimensionFilter, + dimensions, keepEmptyRows, limit, metricAggregations, metricFilter, + metrics, offset, orderBys, property, returnPropertyQuota; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"comparisons" : [GTLRAnalyticsData_Comparison class], @"dateRanges" : [GTLRAnalyticsData_DateRange class], @"dimensions" : [GTLRAnalyticsData_Dimension class], @"metricAggregations" : [NSString class], diff --git a/Sources/GeneratedServices/AnalyticsData/Public/GoogleAPIClientForREST/GTLRAnalyticsDataObjects.h b/Sources/GeneratedServices/AnalyticsData/Public/GoogleAPIClientForREST/GTLRAnalyticsDataObjects.h index 45258dc6c..804136aa8 100644 --- a/Sources/GeneratedServices/AnalyticsData/Public/GoogleAPIClientForREST/GTLRAnalyticsDataObjects.h +++ b/Sources/GeneratedServices/AnalyticsData/Public/GoogleAPIClientForREST/GTLRAnalyticsDataObjects.h @@ -28,6 +28,8 @@ @class GTLRAnalyticsData_CohortReportSettings; @class GTLRAnalyticsData_CohortSpec; @class GTLRAnalyticsData_CohortsRange; +@class GTLRAnalyticsData_Comparison; +@class GTLRAnalyticsData_ComparisonMetadata; @class GTLRAnalyticsData_ConcatenateExpression; @class GTLRAnalyticsData_DateRange; @class GTLRAnalyticsData_Dimension; @@ -1076,6 +1078,55 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsData_StringFilter_MatchType_Par @end +/** + * Defines an individual comparison. Most requests will include multiple + * comparisons so that the report compares between the comparisons. + */ +@interface GTLRAnalyticsData_Comparison : GTLRObject + +/** + * A saved comparison identified by the comparison's resource name. For + * example, 'comparisons/1234'. + */ +@property(nonatomic, copy, nullable) NSString *comparison; + +/** A basic comparison. */ +@property(nonatomic, strong, nullable) GTLRAnalyticsData_FilterExpression *dimensionFilter; + +/** + * Each comparison produces separate rows in the response. In the response, + * this comparison is identified by this name. If name is unspecified, we will + * use the saved comparisons display name. + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * The metadata for a single comparison. + */ +@interface GTLRAnalyticsData_ComparisonMetadata : GTLRObject + +/** + * This comparison's resource name. Useable in [Comparison](#Comparison)'s + * `comparison` field. For example, 'comparisons/1234'. + */ +@property(nonatomic, copy, nullable) NSString *apiName; + +/** + * This comparison's description. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** This comparison's name within the Google Analytics user interface. */ +@property(nonatomic, copy, nullable) NSString *uiName; + +@end + + /** * Used to combine dimension values to a single dimension. */ @@ -1444,6 +1495,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsData_StringFilter_MatchType_Par */ @interface GTLRAnalyticsData_Metadata : GTLRObject +/** The comparison descriptions. */ +@property(nonatomic, strong, nullable) NSArray *comparisons; + /** The dimension descriptions. */ @property(nonatomic, strong, nullable) NSArray *dimensions; @@ -2291,6 +2345,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsData_StringFilter_MatchType_Par */ @property(nonatomic, strong, nullable) GTLRAnalyticsData_CohortSpec *cohortSpec; +/** + * Optional. The configuration of comparisons requested and displayed. The + * request requires both a comparisons field and a comparisons dimension to + * receive a comparison column in the response. + */ +@property(nonatomic, strong, nullable) NSArray *comparisons; + /** * A currency code in ISO4217 format, such as "AED", "USD", "JPY". If the field * is empty, the report uses the property's default currency. @@ -2557,6 +2618,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsData_StringFilter_MatchType_Par */ @property(nonatomic, strong, nullable) GTLRAnalyticsData_CohortSpec *cohortSpec; +/** + * Optional. The configuration of comparisons requested and displayed. The + * request only requires a comparisons field in order to receive a comparison + * column in the response. + */ +@property(nonatomic, strong, nullable) NSArray *comparisons; + /** * A currency code in ISO4217 format, such as "AED", "USD", "JPY". If the field * is empty, the report uses the property's default currency. diff --git a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m index c0f310362..a79509bf9 100644 --- a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m +++ b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m @@ -123,6 +123,11 @@ NSString * const kGTLRAndroidManagement_ApplicationPolicy_InstallType_Preinstalled = @"PREINSTALLED"; NSString * const kGTLRAndroidManagement_ApplicationPolicy_InstallType_RequiredForSetup = @"REQUIRED_FOR_SETUP"; +// GTLRAndroidManagement_ApplicationPolicy.userControlSettings +NSString * const kGTLRAndroidManagement_ApplicationPolicy_UserControlSettings_UserControlAllowed = @"USER_CONTROL_ALLOWED"; +NSString * const kGTLRAndroidManagement_ApplicationPolicy_UserControlSettings_UserControlDisallowed = @"USER_CONTROL_DISALLOWED"; +NSString * const kGTLRAndroidManagement_ApplicationPolicy_UserControlSettings_UserControlSettingsUnspecified = @"USER_CONTROL_SETTINGS_UNSPECIFIED"; + // GTLRAndroidManagement_ApplicationPolicy.workProfileWidgets NSString * const kGTLRAndroidManagement_ApplicationPolicy_WorkProfileWidgets_WorkProfileWidgetsAllowed = @"WORK_PROFILE_WIDGETS_ALLOWED"; NSString * const kGTLRAndroidManagement_ApplicationPolicy_WorkProfileWidgets_WorkProfileWidgetsDisallowed = @"WORK_PROFILE_WIDGETS_DISALLOWED"; @@ -202,6 +207,7 @@ // GTLRAndroidManagement_Device.appliedState NSString * const kGTLRAndroidManagement_Device_AppliedState_Active = @"ACTIVE"; +NSString * const kGTLRAndroidManagement_Device_AppliedState_DeactivatedByDeviceFinance = @"DEACTIVATED_BY_DEVICE_FINANCE"; NSString * const kGTLRAndroidManagement_Device_AppliedState_Deleted = @"DELETED"; NSString * const kGTLRAndroidManagement_Device_AppliedState_DeviceStateUnspecified = @"DEVICE_STATE_UNSPECIFIED"; NSString * const kGTLRAndroidManagement_Device_AppliedState_Disabled = @"DISABLED"; @@ -221,6 +227,7 @@ // GTLRAndroidManagement_Device.state NSString * const kGTLRAndroidManagement_Device_State_Active = @"ACTIVE"; +NSString * const kGTLRAndroidManagement_Device_State_DeactivatedByDeviceFinance = @"DEACTIVATED_BY_DEVICE_FINANCE"; NSString * const kGTLRAndroidManagement_Device_State_Deleted = @"DELETED"; NSString * const kGTLRAndroidManagement_Device_State_DeviceStateUnspecified = @"DEVICE_STATE_UNSPECIFIED"; NSString * const kGTLRAndroidManagement_Device_State_Disabled = @"DISABLED"; @@ -299,6 +306,7 @@ NSString * const kGTLRAndroidManagement_EnrollmentToken_AllowPersonalUsage_AllowPersonalUsageUnspecified = @"ALLOW_PERSONAL_USAGE_UNSPECIFIED"; NSString * const kGTLRAndroidManagement_EnrollmentToken_AllowPersonalUsage_PersonalUsageAllowed = @"PERSONAL_USAGE_ALLOWED"; NSString * const kGTLRAndroidManagement_EnrollmentToken_AllowPersonalUsage_PersonalUsageDisallowed = @"PERSONAL_USAGE_DISALLOWED"; +NSString * const kGTLRAndroidManagement_EnrollmentToken_AllowPersonalUsage_PersonalUsageDisallowedUserless = @"PERSONAL_USAGE_DISALLOWED_USERLESS"; // GTLRAndroidManagement_Enterprise.enabledNotificationTypes NSString * const kGTLRAndroidManagement_Enterprise_EnabledNotificationTypes_Command = @"COMMAND"; @@ -308,6 +316,11 @@ NSString * const kGTLRAndroidManagement_Enterprise_EnabledNotificationTypes_StatusReport = @"STATUS_REPORT"; NSString * const kGTLRAndroidManagement_Enterprise_EnabledNotificationTypes_UsageLogs = @"USAGE_LOGS"; +// GTLRAndroidManagement_GoogleAuthenticationSettings.googleAuthenticationRequired +NSString * const kGTLRAndroidManagement_GoogleAuthenticationSettings_GoogleAuthenticationRequired_GoogleAuthenticationRequiredUnspecified = @"GOOGLE_AUTHENTICATION_REQUIRED_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_GoogleAuthenticationSettings_GoogleAuthenticationRequired_NotRequired = @"NOT_REQUIRED"; +NSString * const kGTLRAndroidManagement_GoogleAuthenticationSettings_GoogleAuthenticationRequired_Required = @"REQUIRED"; + // GTLRAndroidManagement_InstallConstraint.chargingConstraint NSString * const kGTLRAndroidManagement_InstallConstraint_ChargingConstraint_ChargingConstraintUnspecified = @"CHARGING_CONSTRAINT_UNSPECIFIED"; NSString * const kGTLRAndroidManagement_InstallConstraint_ChargingConstraint_ChargingNotRequired = @"CHARGING_NOT_REQUIRED"; @@ -629,6 +642,7 @@ NSString * const kGTLRAndroidManagement_SigninDetail_AllowPersonalUsage_AllowPersonalUsageUnspecified = @"ALLOW_PERSONAL_USAGE_UNSPECIFIED"; NSString * const kGTLRAndroidManagement_SigninDetail_AllowPersonalUsage_PersonalUsageAllowed = @"PERSONAL_USAGE_ALLOWED"; NSString * const kGTLRAndroidManagement_SigninDetail_AllowPersonalUsage_PersonalUsageDisallowed = @"PERSONAL_USAGE_DISALLOWED"; +NSString * const kGTLRAndroidManagement_SigninDetail_AllowPersonalUsage_PersonalUsageDisallowedUserless = @"PERSONAL_USAGE_DISALLOWED_USERLESS"; // GTLRAndroidManagement_StartLostModeStatus.status NSString * const kGTLRAndroidManagement_StartLostModeStatus_Status_AlreadyInLostMode = @"ALREADY_IN_LOST_MODE"; @@ -859,7 +873,7 @@ @implementation GTLRAndroidManagement_ApplicationPolicy defaultPermissionPolicy, delegatedScopes, disabled, extensionConfig, installConstraint, installPriority, installType, lockTaskAllowed, managedConfiguration, managedConfigurationTemplate, minimumVersionCode, - packageName, permissionGrants, workProfileWidgets; + packageName, permissionGrants, userControlSettings, workProfileWidgets; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1372,8 +1386,8 @@ @implementation GTLRAndroidManagement_EnrollmentToken @implementation GTLRAndroidManagement_Enterprise @dynamic appAutoApprovalEnabled, contactInfo, enabledNotificationTypes, - enterpriseDisplayName, logo, name, primaryColor, pubsubTopic, - signinDetails, termsAndConditions; + enterpriseDisplayName, googleAuthenticationSettings, logo, name, + primaryColor, pubsubTopic, signinDetails, termsAndConditions; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1445,6 +1459,16 @@ @implementation GTLRAndroidManagement_FreezePeriod @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_GoogleAuthenticationSettings +// + +@implementation GTLRAndroidManagement_GoogleAuthenticationSettings +@dynamic googleAuthenticationRequired; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidManagement_HardwareInfo diff --git a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementQuery.m b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementQuery.m index 715104fae..c30b7c7d8 100644 --- a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementQuery.m +++ b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementQuery.m @@ -725,7 +725,7 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRAndroidManagementQuery_SignupUrlsCreate -@dynamic callbackUrl, projectId; +@dynamic adminEmail, callbackUrl, projectId; + (instancetype)query { NSString *pathURITemplate = @"v1/signupUrls"; diff --git a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h index e6ef420ec..726d500e7 100644 --- a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h +++ b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h @@ -62,6 +62,7 @@ @class GTLRAndroidManagement_FilePulledEvent; @class GTLRAndroidManagement_FilePushedEvent; @class GTLRAndroidManagement_FreezePeriod; +@class GTLRAndroidManagement_GoogleAuthenticationSettings; @class GTLRAndroidManagement_HardwareInfo; @class GTLRAndroidManagement_HardwareStatus; @class GTLRAndroidManagement_InstallConstraint; @@ -762,6 +763,34 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_Inst */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_InstallType_RequiredForSetup; +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_ApplicationPolicy.userControlSettings + +/** + * User control is allowed for the app. Kiosk apps can use this to allow user + * control. + * + * Value: "USER_CONTROL_ALLOWED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_UserControlSettings_UserControlAllowed; +/** + * User control is disallowed for the app. API_LEVEL is reported if the Android + * version is less than 11. + * + * Value: "USER_CONTROL_DISALLOWED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_UserControlSettings_UserControlDisallowed; +/** + * Uses the default behaviour of the app to determine if user control is + * allowed or disallowed. For most apps, user control is allowed by default, + * but for some critical apps such as companion apps (extensionConfig set to + * true), kiosk apps and other critical system apps, user control is + * disallowed. + * + * Value: "USER_CONTROL_SETTINGS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_UserControlSettings_UserControlSettingsUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidManagement_ApplicationPolicy.workProfileWidgets @@ -1177,6 +1206,17 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_CrossProfilePolicies_W * Value: "ACTIVE" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Device_AppliedState_Active; +/** + * This is a financed device that has been "locked" by the financing agent. + * This means certain policy settings have been applied which limit device + * functionality until the device has been "unlocked" by the financing agent. + * The device will continue to apply policy settings excluding those overridden + * by the financing agent. When the device is "locked", the state is reported + * in appliedState as DEACTIVATED_BY_DEVICE_FINANCE. + * + * Value: "DEACTIVATED_BY_DEVICE_FINANCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Device_AppliedState_DeactivatedByDeviceFinance; /** * The device was deleted. This state is never returned by an API call, but is * used in the final status report when the device acknowledges the deletion. @@ -1275,6 +1315,17 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Device_Ownership_Perso * Value: "ACTIVE" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Device_State_Active; +/** + * This is a financed device that has been "locked" by the financing agent. + * This means certain policy settings have been applied which limit device + * functionality until the device has been "unlocked" by the financing agent. + * The device will continue to apply policy settings excluding those overridden + * by the financing agent. When the device is "locked", the state is reported + * in appliedState as DEACTIVATED_BY_DEVICE_FINANCE. + * + * Value: "DEACTIVATED_BY_DEVICE_FINANCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Device_State_DeactivatedByDeviceFinance; /** * The device was deleted. This state is never returned by an API call, but is * used in the final status report when the device acknowledges the deletion. @@ -1710,6 +1761,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_EnrollmentToken_AllowP * Value: "PERSONAL_USAGE_DISALLOWED" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_EnrollmentToken_AllowPersonalUsage_PersonalUsageDisallowed; +/** + * Device is not associated with a single user, and thus both personal usage + * and corporate identity authentication are not expected. + * + * Value: "PERSONAL_USAGE_DISALLOWED_USERLESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_EnrollmentToken_AllowPersonalUsage_PersonalUsageDisallowedUserless; // ---------------------------------------------------------------------------- // GTLRAndroidManagement_Enterprise.enabledNotificationTypes @@ -1751,6 +1809,28 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Enterprise_EnabledNoti */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Enterprise_EnabledNotificationTypes_UsageLogs; +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_GoogleAuthenticationSettings.googleAuthenticationRequired + +/** + * This value is not used. + * + * Value: "GOOGLE_AUTHENTICATION_REQUIRED_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_GoogleAuthenticationSettings_GoogleAuthenticationRequired_GoogleAuthenticationRequiredUnspecified; +/** + * Google authentication is not required. + * + * Value: "NOT_REQUIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_GoogleAuthenticationSettings_GoogleAuthenticationRequired_NotRequired; +/** + * User is required to be successfully authenticated by Google. + * + * Value: "REQUIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_GoogleAuthenticationSettings_GoogleAuthenticationRequired_Required; + // ---------------------------------------------------------------------------- // GTLRAndroidManagement_InstallConstraint.chargingConstraint @@ -3498,6 +3578,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_SigninDetail_AllowPers * Value: "PERSONAL_USAGE_DISALLOWED" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_SigninDetail_AllowPersonalUsage_PersonalUsageDisallowed; +/** + * Device is not associated with a single user, and thus both personal usage + * and corporate identity authentication are not expected. + * + * Value: "PERSONAL_USAGE_DISALLOWED_USERLESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_SigninDetail_AllowPersonalUsage_PersonalUsageDisallowedUserless; // ---------------------------------------------------------------------------- // GTLRAndroidManagement_StartLostModeStatus.status @@ -4697,6 +4784,28 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSArray *permissionGrants; +/** + * Optional. Specifies whether user control is permitted for the app. User + * control includes user actions like force-stopping and clearing app data. + * Supported on Android 11 and above. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_ApplicationPolicy_UserControlSettings_UserControlAllowed + * User control is allowed for the app. Kiosk apps can use this to allow + * user control. (Value: "USER_CONTROL_ALLOWED") + * @arg @c kGTLRAndroidManagement_ApplicationPolicy_UserControlSettings_UserControlDisallowed + * User control is disallowed for the app. API_LEVEL is reported if the + * Android version is less than 11. (Value: "USER_CONTROL_DISALLOWED") + * @arg @c kGTLRAndroidManagement_ApplicationPolicy_UserControlSettings_UserControlSettingsUnspecified + * Uses the default behaviour of the app to determine if user control is + * allowed or disallowed. For most apps, user control is allowed by + * default, but for some critical apps such as companion apps + * (extensionConfig set to true), kiosk apps and other critical system + * apps, user control is disallowed. (Value: + * "USER_CONTROL_SETTINGS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *userControlSettings; + /** * Specifies whether the app installed in the work profile is allowed to add * widgets to the home screen. @@ -4963,7 +5072,7 @@ GTLR_DEPRECATED @interface GTLRAndroidManagement_BatchUsageLogEvents : GTLRObject /** - * The name of the device in the form + * If present, the name of the device in the form * ‘enterprises/{enterpriseId}/devices/{deviceId}’ */ @property(nonatomic, copy, nullable) NSString *device; @@ -4981,7 +5090,7 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) NSArray *usageLogEvents; /** - * The resource name of the user that owns this device in the form + * If present, the resource name of the user that owns this device in the form * ‘enterprises/{enterpriseId}/users/{userId}’. */ @property(nonatomic, copy, nullable) NSString *user; @@ -5711,6 +5820,15 @@ GTLR_DEPRECATED * Likely values: * @arg @c kGTLRAndroidManagement_Device_AppliedState_Active The device is * active. (Value: "ACTIVE") + * @arg @c kGTLRAndroidManagement_Device_AppliedState_DeactivatedByDeviceFinance + * This is a financed device that has been "locked" by the financing + * agent. This means certain policy settings have been applied which + * limit device functionality until the device has been "unlocked" by the + * financing agent. The device will continue to apply policy settings + * excluding those overridden by the financing agent. When the device is + * "locked", the state is reported in appliedState as + * DEACTIVATED_BY_DEVICE_FINANCE. (Value: + * "DEACTIVATED_BY_DEVICE_FINANCE") * @arg @c kGTLRAndroidManagement_Device_AppliedState_Deleted The device was * deleted. This state is never returned by an API call, but is used in * the final status report when the device acknowledges the deletion. If @@ -5908,6 +6026,15 @@ GTLR_DEPRECATED * Likely values: * @arg @c kGTLRAndroidManagement_Device_State_Active The device is active. * (Value: "ACTIVE") + * @arg @c kGTLRAndroidManagement_Device_State_DeactivatedByDeviceFinance + * This is a financed device that has been "locked" by the financing + * agent. This means certain policy settings have been applied which + * limit device functionality until the device has been "unlocked" by the + * financing agent. The device will continue to apply policy settings + * excluding those overridden by the financing agent. When the device is + * "locked", the state is reported in appliedState as + * DEACTIVATED_BY_DEVICE_FINANCE. (Value: + * "DEACTIVATED_BY_DEVICE_FINANCE") * @arg @c kGTLRAndroidManagement_Device_State_Deleted The device was * deleted. This state is never returned by an API call, but is used in * the final status report when the device acknowledges the deletion. If @@ -6446,6 +6573,10 @@ GTLR_DEPRECATED * Personal usage is allowed (Value: "PERSONAL_USAGE_ALLOWED") * @arg @c kGTLRAndroidManagement_EnrollmentToken_AllowPersonalUsage_PersonalUsageDisallowed * Personal usage is disallowed (Value: "PERSONAL_USAGE_DISALLOWED") + * @arg @c kGTLRAndroidManagement_EnrollmentToken_AllowPersonalUsage_PersonalUsageDisallowedUserless + * Device is not associated with a single user, and thus both personal + * usage and corporate identity authentication are not expected. (Value: + * "PERSONAL_USAGE_DISALLOWED_USERLESS") */ @property(nonatomic, copy, nullable) NSString *allowPersonalUsage; @@ -6537,6 +6668,9 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *enterpriseDisplayName; +/** Settings for Google-provided user authentication. */ +@property(nonatomic, strong, nullable) GTLRAndroidManagement_GoogleAuthenticationSettings *googleAuthenticationSettings; + /** * An image displayed as a logo during device provisioning. Supported types * are: image/bmp, image/gif, image/x-ico, image/jpeg, image/png, image/webp, @@ -6693,6 +6827,35 @@ GTLR_DEPRECATED @end +/** + * Contains settings for Google-provided user authentication. + */ +@interface GTLRAndroidManagement_GoogleAuthenticationSettings : GTLRObject + +/** + * Output only. Whether users need to be authenticated by Google during the + * enrollment process. IT admin can specify if Google authentication is enabled + * for the enterprise for knowledge worker devices. This value can be set only + * via the Google Admin Console. Google authentication can be used with + * signin_url In the case where Google authentication is required and a + * signin_url is specified, Google authentication will be launched before + * signin_url. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_GoogleAuthenticationSettings_GoogleAuthenticationRequired_GoogleAuthenticationRequiredUnspecified + * This value is not used. (Value: + * "GOOGLE_AUTHENTICATION_REQUIRED_UNSPECIFIED") + * @arg @c kGTLRAndroidManagement_GoogleAuthenticationSettings_GoogleAuthenticationRequired_NotRequired + * Google authentication is not required. (Value: "NOT_REQUIRED") + * @arg @c kGTLRAndroidManagement_GoogleAuthenticationSettings_GoogleAuthenticationRequired_Required + * User is required to be successfully authenticated by Google. (Value: + * "REQUIRED") + */ +@property(nonatomic, copy, nullable) NSString *googleAuthenticationRequired; + +@end + + /** * Information about device hardware. The fields related to temperature * thresholds are only available if hardwareStatusEnabled is true in the @@ -9661,7 +9824,10 @@ GTLR_DEPRECATED /** The name of the enterprise in the form enterprises/{enterprise}. */ @property(nonatomic, copy, nullable) NSString *enterprise; -/** IMEI number of the GSM device. For example, A1000031212. */ +/** + * For corporate-owned devices, IMEI number of the GSM device. For example, + * A1000031212. + */ @property(nonatomic, copy, nullable) NSString *imei; /** @@ -9679,7 +9845,10 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *managementMode; -/** MEID number of the CDMA device. For example, A00000292788E1. */ +/** + * For corporate-owned devices, MEID number of the CDMA device. For example, + * A00000292788E1. + */ @property(nonatomic, copy, nullable) NSString *meid; /** The model of the device. For example, Asus Nexus 7. */ @@ -9703,7 +9872,7 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *ownership; -/** The device serial number. */ +/** For corporate-owned devices, The device serial number. */ @property(nonatomic, copy, nullable) NSString *serialNumber; @end @@ -9860,6 +10029,10 @@ GTLR_DEPRECATED * Personal usage is allowed (Value: "PERSONAL_USAGE_ALLOWED") * @arg @c kGTLRAndroidManagement_SigninDetail_AllowPersonalUsage_PersonalUsageDisallowed * Personal usage is disallowed (Value: "PERSONAL_USAGE_DISALLOWED") + * @arg @c kGTLRAndroidManagement_SigninDetail_AllowPersonalUsage_PersonalUsageDisallowedUserless + * Device is not associated with a single user, and thus both personal + * usage and corporate identity authentication are not expected. (Value: + * "PERSONAL_USAGE_DISALLOWED_USERLESS") */ @property(nonatomic, copy, nullable) NSString *allowPersonalUsage; diff --git a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h index 36536182a..4a1cbb846 100644 --- a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h +++ b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h @@ -1311,6 +1311,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagementWipeDataFlagsWipeExtern */ @interface GTLRAndroidManagementQuery_SignupUrlsCreate : GTLRAndroidManagementQuery +/** + * Optional. Email address used to prefill the admin field of the enterprise + * signup form. This value is a hint only and can be altered by the user. + */ +@property(nonatomic, copy, nullable) NSString *adminEmail; + /** * The callback URL that the admin will be redirected to after successfully * creating an enterprise. Before redirecting there the system will add a query diff --git a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m index 30ee49bf4..889192c6b 100644 --- a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m +++ b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m @@ -142,6 +142,21 @@ NSString * const kGTLRAndroidPublisher_InappproductsUpdateRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; NSString * const kGTLRAndroidPublisher_InappproductsUpdateRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED"; +// GTLRAndroidPublisher_InstallmentsBasePlanType.prorationMode +NSString * const kGTLRAndroidPublisher_InstallmentsBasePlanType_ProrationMode_SubscriptionProrationModeChargeFullPriceImmediately = @"SUBSCRIPTION_PRORATION_MODE_CHARGE_FULL_PRICE_IMMEDIATELY"; +NSString * const kGTLRAndroidPublisher_InstallmentsBasePlanType_ProrationMode_SubscriptionProrationModeChargeOnNextBillingDate = @"SUBSCRIPTION_PRORATION_MODE_CHARGE_ON_NEXT_BILLING_DATE"; +NSString * const kGTLRAndroidPublisher_InstallmentsBasePlanType_ProrationMode_SubscriptionProrationModeUnspecified = @"SUBSCRIPTION_PRORATION_MODE_UNSPECIFIED"; + +// GTLRAndroidPublisher_InstallmentsBasePlanType.renewalType +NSString * const kGTLRAndroidPublisher_InstallmentsBasePlanType_RenewalType_RenewalTypeRenewsWithCommitment = @"RENEWAL_TYPE_RENEWS_WITH_COMMITMENT"; +NSString * const kGTLRAndroidPublisher_InstallmentsBasePlanType_RenewalType_RenewalTypeRenewsWithoutCommitment = @"RENEWAL_TYPE_RENEWS_WITHOUT_COMMITMENT"; +NSString * const kGTLRAndroidPublisher_InstallmentsBasePlanType_RenewalType_RenewalTypeUnspecified = @"RENEWAL_TYPE_UNSPECIFIED"; + +// GTLRAndroidPublisher_InstallmentsBasePlanType.resubscribeState +NSString * const kGTLRAndroidPublisher_InstallmentsBasePlanType_ResubscribeState_ResubscribeStateActive = @"RESUBSCRIBE_STATE_ACTIVE"; +NSString * const kGTLRAndroidPublisher_InstallmentsBasePlanType_ResubscribeState_ResubscribeStateInactive = @"RESUBSCRIBE_STATE_INACTIVE"; +NSString * const kGTLRAndroidPublisher_InstallmentsBasePlanType_ResubscribeState_ResubscribeStateUnspecified = @"RESUBSCRIBE_STATE_UNSPECIFIED"; + // GTLRAndroidPublisher_ManagedProductTaxAndComplianceSettings.eeaWithdrawalRightType NSString * const kGTLRAndroidPublisher_ManagedProductTaxAndComplianceSettings_EeaWithdrawalRightType_WithdrawalRightDigitalContent = @"WITHDRAWAL_RIGHT_DIGITAL_CONTENT"; NSString * const kGTLRAndroidPublisher_ManagedProductTaxAndComplianceSettings_EeaWithdrawalRightType_WithdrawalRightService = @"WITHDRAWAL_RIGHT_SERVICE"; @@ -236,6 +251,7 @@ NSString * const kGTLRAndroidPublisher_SubscriptionPurchaseV2_SubscriptionState_SubscriptionStateOnHold = @"SUBSCRIPTION_STATE_ON_HOLD"; NSString * const kGTLRAndroidPublisher_SubscriptionPurchaseV2_SubscriptionState_SubscriptionStatePaused = @"SUBSCRIPTION_STATE_PAUSED"; NSString * const kGTLRAndroidPublisher_SubscriptionPurchaseV2_SubscriptionState_SubscriptionStatePending = @"SUBSCRIPTION_STATE_PENDING"; +NSString * const kGTLRAndroidPublisher_SubscriptionPurchaseV2_SubscriptionState_SubscriptionStatePendingPurchaseCanceled = @"SUBSCRIPTION_STATE_PENDING_PURCHASE_CANCELED"; NSString * const kGTLRAndroidPublisher_SubscriptionPurchaseV2_SubscriptionState_SubscriptionStateUnspecified = @"SUBSCRIPTION_STATE_UNSPECIFIED"; // GTLRAndroidPublisher_SubscriptionTaxAndComplianceSettings.eeaWithdrawalRightType @@ -645,7 +661,7 @@ @implementation GTLRAndroidPublisher_AutoRenewingBasePlanType // @implementation GTLRAndroidPublisher_AutoRenewingPlan -@dynamic autoRenewEnabled, priceChangeDetails; +@dynamic autoRenewEnabled, installmentDetails, priceChangeDetails; @end @@ -655,8 +671,9 @@ @implementation GTLRAndroidPublisher_AutoRenewingPlan // @implementation GTLRAndroidPublisher_BasePlan -@dynamic autoRenewingBasePlanType, basePlanId, offerTags, otherRegionsConfig, - prepaidBasePlanType, regionalConfigs, state; +@dynamic autoRenewingBasePlanType, basePlanId, installmentsBasePlanType, + offerTags, otherRegionsConfig, prepaidBasePlanType, regionalConfigs, + state; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1787,6 +1804,28 @@ @implementation GTLRAndroidPublisher_InappproductsUpdateRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_InstallmentPlan +// + +@implementation GTLRAndroidPublisher_InstallmentPlan +@dynamic initialCommittedPaymentsCount, pendingCancellation, + remainingCommittedPaymentsCount, subsequentCommittedPaymentsCount; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_InstallmentsBasePlanType +// + +@implementation GTLRAndroidPublisher_InstallmentsBasePlanType +@dynamic accountHoldDuration, billingPeriodDuration, committedPaymentsCount, + gracePeriodDuration, prorationMode, renewalType, resubscribeState; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_InternalAppSharingArtifact @@ -2239,6 +2278,15 @@ @implementation GTLRAndroidPublisher_PausedStateContext @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_PendingCancellation +// + +@implementation GTLRAndroidPublisher_PendingCancellation +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_PrepaidBasePlanType @@ -2455,6 +2503,24 @@ @implementation GTLRAndroidPublisher_ReplacementCancellation @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_RestrictedPaymentCountries +// + +@implementation GTLRAndroidPublisher_RestrictedPaymentCountries +@dynamic regionCodes; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"regionCodes" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_Review @@ -2699,7 +2765,7 @@ @implementation GTLRAndroidPublisher_SubscribeWithGoogleInfo @implementation GTLRAndroidPublisher_Subscription @dynamic archived, basePlans, listings, packageName, productId, - taxAndComplianceSettings; + restrictedPaymentCountries, taxAndComplianceSettings; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h index 6720870eb..5d6943fe8 100644 --- a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h +++ b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h @@ -83,6 +83,8 @@ @class GTLRAndroidPublisher_InAppProductListing; @class GTLRAndroidPublisher_InappproductsDeleteRequest; @class GTLRAndroidPublisher_InappproductsUpdateRequest; +@class GTLRAndroidPublisher_InstallmentPlan; +@class GTLRAndroidPublisher_InstallmentsBasePlanType; @class GTLRAndroidPublisher_IntroductoryPriceInfo; @class GTLRAndroidPublisher_LanguageTargeting; @class GTLRAndroidPublisher_Listing; @@ -108,6 +110,7 @@ @class GTLRAndroidPublisher_PageInfo; @class GTLRAndroidPublisher_PartialRefund; @class GTLRAndroidPublisher_PausedStateContext; +@class GTLRAndroidPublisher_PendingCancellation; @class GTLRAndroidPublisher_PrepaidBasePlanType; @class GTLRAndroidPublisher_PrepaidPlan; @class GTLRAndroidPublisher_Price; @@ -124,6 +127,7 @@ @class GTLRAndroidPublisher_RemoteInAppUpdateData; @class GTLRAndroidPublisher_RemoteInAppUpdateDataPerBundle; @class GTLRAndroidPublisher_ReplacementCancellation; +@class GTLRAndroidPublisher_RestrictedPaymentCountries; @class GTLRAndroidPublisher_Review; @class GTLRAndroidPublisher_ReviewReplyResult; @class GTLRAndroidPublisher_RevocationContext; @@ -828,6 +832,75 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_InappproductsUpdateRequ */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_InappproductsUpdateRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_InstallmentsBasePlanType.prorationMode + +/** + * Users will be charged for their new base plan immediately and in full. Any + * remaining period of their existing subscription will be used to extend the + * duration of the new billing plan. + * + * Value: "SUBSCRIPTION_PRORATION_MODE_CHARGE_FULL_PRICE_IMMEDIATELY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_InstallmentsBasePlanType_ProrationMode_SubscriptionProrationModeChargeFullPriceImmediately; +/** + * Users will be charged for their new base plan at the end of their current + * billing period. + * + * Value: "SUBSCRIPTION_PRORATION_MODE_CHARGE_ON_NEXT_BILLING_DATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_InstallmentsBasePlanType_ProrationMode_SubscriptionProrationModeChargeOnNextBillingDate; +/** + * Unspecified mode. + * + * Value: "SUBSCRIPTION_PRORATION_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_InstallmentsBasePlanType_ProrationMode_SubscriptionProrationModeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_InstallmentsBasePlanType.renewalType + +/** + * Renews with the commitment of the same duration as the initial one. + * + * Value: "RENEWAL_TYPE_RENEWS_WITH_COMMITMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_InstallmentsBasePlanType_RenewalType_RenewalTypeRenewsWithCommitment; +/** + * Renews periodically for the billing period duration without commitment. + * + * Value: "RENEWAL_TYPE_RENEWS_WITHOUT_COMMITMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_InstallmentsBasePlanType_RenewalType_RenewalTypeRenewsWithoutCommitment; +/** + * Unspecified state. + * + * Value: "RENEWAL_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_InstallmentsBasePlanType_RenewalType_RenewalTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_InstallmentsBasePlanType.resubscribeState + +/** + * Resubscribe is active. + * + * Value: "RESUBSCRIBE_STATE_ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_InstallmentsBasePlanType_ResubscribeState_ResubscribeStateActive; +/** + * Resubscribe is inactive. + * + * Value: "RESUBSCRIBE_STATE_INACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_InstallmentsBasePlanType_ResubscribeState_ResubscribeStateInactive; +/** + * Unspecified state. + * + * Value: "RESUBSCRIBE_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_InstallmentsBasePlanType_ResubscribeState_ResubscribeStateUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidPublisher_ManagedProductTaxAndComplianceSettings.eeaWithdrawalRightType @@ -1269,6 +1342,14 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_SubscriptionPurchaseV2_ * Value: "SUBSCRIPTION_STATE_PENDING" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_SubscriptionPurchaseV2_SubscriptionState_SubscriptionStatePending; +/** + * Pending transaction for subscription is canceled. If this pending purchase + * was for an existing subscription, use linked_purchase_token to get the + * current state of that subscription. + * + * Value: "SUBSCRIPTION_STATE_PENDING_PURCHASE_CANCELED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_SubscriptionPurchaseV2_SubscriptionState_SubscriptionStatePendingPurchaseCanceled; /** * Unspecified subscription state. * @@ -2277,6 +2358,12 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *autoRenewEnabled; +/** + * The installment plan commitment and state related info for the auto renewing + * plan. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_InstallmentPlan *installmentDetails; + /** * The information of the last price change for the item since subscription * signup. @@ -2302,6 +2389,12 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *basePlanId; +/** + * Set for installments base plans where a user is committed to a specified + * number of payments. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_InstallmentsBasePlanType *installmentsBasePlanType; + /** * List of up to 20 custom tags specified for this base plan, and returned to * the app through the billing library. Subscription offers for this base plan @@ -4102,6 +4195,132 @@ GTLR_DEPRECATED @end +/** + * Information to a installment plan. + */ +@interface GTLRAndroidPublisher_InstallmentPlan : GTLRObject + +/** + * Total number of payments the user is initially committed for. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *initialCommittedPaymentsCount; + +/** + * If present, this installment plan is pending to be canceled. The + * cancellation will happen only after the user finished all committed + * payments. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_PendingCancellation *pendingCancellation; + +/** + * Total number of committed payments remaining to be paid for in this renewal + * cycle. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *remainingCommittedPaymentsCount; + +/** + * Total number of payments the user will be committed for after each + * commitment period. Empty means the installment plan will fall back to a + * normal auto-renew subscription after initial commitment. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *subsequentCommittedPaymentsCount; + +@end + + +/** + * Represents an installments base plan where a user commits to a specified + * number of payments. + */ +@interface GTLRAndroidPublisher_InstallmentsBasePlanType : GTLRObject + +/** + * Optional. Account hold period of the subscription, specified exclusively in + * days and in ISO 8601 format. Acceptable values are P0D (zero days) to P30D + * (30days). If not specified, the default value is P30D (30 days). + */ +@property(nonatomic, copy, nullable) NSString *accountHoldDuration; + +/** + * Required. Subscription period, specified in ISO 8601 format. For a list of + * acceptable billing periods, refer to the help center. + */ +@property(nonatomic, copy, nullable) NSString *billingPeriodDuration; + +/** + * Required. The number of payments the user is committed to. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *committedPaymentsCount; + +/** + * Grace period of the subscription, specified in ISO 8601 format. Acceptable + * values are P0D (zero days), P3D (3 days), P7D (7 days), P14D (14 days), and + * P30D (30 days). If not specified, a default value will be used based on the + * recurring period duration. + */ +@property(nonatomic, copy, nullable) NSString *gracePeriodDuration; + +/** + * The proration mode for the base plan determines what happens when a user + * switches to this plan from another base plan. If unspecified, defaults to + * CHARGE_ON_NEXT_BILLING_DATE. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_InstallmentsBasePlanType_ProrationMode_SubscriptionProrationModeChargeFullPriceImmediately + * Users will be charged for their new base plan immediately and in full. + * Any remaining period of their existing subscription will be used to + * extend the duration of the new billing plan. (Value: + * "SUBSCRIPTION_PRORATION_MODE_CHARGE_FULL_PRICE_IMMEDIATELY") + * @arg @c kGTLRAndroidPublisher_InstallmentsBasePlanType_ProrationMode_SubscriptionProrationModeChargeOnNextBillingDate + * Users will be charged for their new base plan at the end of their + * current billing period. (Value: + * "SUBSCRIPTION_PRORATION_MODE_CHARGE_ON_NEXT_BILLING_DATE") + * @arg @c kGTLRAndroidPublisher_InstallmentsBasePlanType_ProrationMode_SubscriptionProrationModeUnspecified + * Unspecified mode. (Value: "SUBSCRIPTION_PRORATION_MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *prorationMode; + +/** + * Required. Installments base plan renewal type. Determines the behavior at + * the end of the initial commitment. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_InstallmentsBasePlanType_RenewalType_RenewalTypeRenewsWithCommitment + * Renews with the commitment of the same duration as the initial one. + * (Value: "RENEWAL_TYPE_RENEWS_WITH_COMMITMENT") + * @arg @c kGTLRAndroidPublisher_InstallmentsBasePlanType_RenewalType_RenewalTypeRenewsWithoutCommitment + * Renews periodically for the billing period duration without + * commitment. (Value: "RENEWAL_TYPE_RENEWS_WITHOUT_COMMITMENT") + * @arg @c kGTLRAndroidPublisher_InstallmentsBasePlanType_RenewalType_RenewalTypeUnspecified + * Unspecified state. (Value: "RENEWAL_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *renewalType; + +/** + * Whether users should be able to resubscribe to this base plan in Google Play + * surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_InstallmentsBasePlanType_ResubscribeState_ResubscribeStateActive + * Resubscribe is active. (Value: "RESUBSCRIBE_STATE_ACTIVE") + * @arg @c kGTLRAndroidPublisher_InstallmentsBasePlanType_ResubscribeState_ResubscribeStateInactive + * Resubscribe is inactive. (Value: "RESUBSCRIBE_STATE_INACTIVE") + * @arg @c kGTLRAndroidPublisher_InstallmentsBasePlanType_ResubscribeState_ResubscribeStateUnspecified + * Unspecified state. (Value: "RESUBSCRIBE_STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *resubscribeState; + +@end + + /** * An artifact resource which gets created when uploading an APK or Android App * Bundle through internal app sharing. @@ -4828,6 +5047,15 @@ GTLR_DEPRECATED @end +/** + * This is an indicator of whether there is a pending cancellation on the + * virtual installment plan. The cancellation will happen only after the user + * finished all committed payments. + */ +@interface GTLRAndroidPublisher_PendingCancellation : GTLRObject +@end + + /** * Represents a base plan that does not automatically renew at the end of the * base plan, and must be manually renewed by the user. @@ -5405,6 +5633,22 @@ GTLR_DEPRECATED @end +/** + * Countries where the purchase of this product is restricted to payment + * methods registered in the same country. If empty, no payment location + * restrictions are imposed. + */ +@interface GTLRAndroidPublisher_RestrictedPaymentCountries : GTLRObject + +/** + * Required. Region codes to impose payment restrictions on, as defined by ISO + * 3166-2, e.g. "US". + */ +@property(nonatomic, strong, nullable) NSArray *regionCodes; + +@end + + /** * An Android app review. */ @@ -5742,6 +5986,13 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *productId; +/** + * Optional. Countries where the purchase of this subscription is restricted to + * payment methods registered in the same country. If empty, no payment + * location restrictions are imposed. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_RestrictedPaymentCountries *restrictedPaymentCountries; + /** Details about taxes and legal compliance. */ @property(nonatomic, strong, nullable) GTLRAndroidPublisher_SubscriptionTaxAndComplianceSettings *taxAndComplianceSettings; @@ -6464,6 +6715,11 @@ GTLR_DEPRECATED * Subscription was created but awaiting payment during signup. In this * state, all items are awaiting payment. (Value: * "SUBSCRIPTION_STATE_PENDING") + * @arg @c kGTLRAndroidPublisher_SubscriptionPurchaseV2_SubscriptionState_SubscriptionStatePendingPurchaseCanceled + * Pending transaction for subscription is canceled. If this pending + * purchase was for an existing subscription, use linked_purchase_token + * to get the current state of that subscription. (Value: + * "SUBSCRIPTION_STATE_PENDING_PURCHASE_CANCELED") * @arg @c kGTLRAndroidPublisher_SubscriptionPurchaseV2_SubscriptionState_SubscriptionStateUnspecified * Unspecified subscription state. (Value: * "SUBSCRIPTION_STATE_UNSPECIFIED") diff --git a/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryObjects.m b/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryObjects.m index 3060a7f2a..ce5572879 100644 --- a/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryObjects.m +++ b/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryObjects.m @@ -93,6 +93,7 @@ // GTLRArtifactRegistry_Repository.mode NSString * const kGTLRArtifactRegistry_Repository_Mode_AossRepository = @"AOSS_REPOSITORY"; +NSString * const kGTLRArtifactRegistry_Repository_Mode_AssuredOssRepository = @"ASSURED_OSS_REPOSITORY"; NSString * const kGTLRArtifactRegistry_Repository_Mode_ModeUnspecified = @"MODE_UNSPECIFIED"; NSString * const kGTLRArtifactRegistry_Repository_Mode_RemoteRepository = @"REMOTE_REPOSITORY"; NSString * const kGTLRArtifactRegistry_Repository_Mode_StandardRepository = @"STANDARD_REPOSITORY"; @@ -1315,7 +1316,7 @@ @implementation GTLRArtifactRegistry_UploadGenericArtifactMetadata // @implementation GTLRArtifactRegistry_UploadGenericArtifactRequest -@dynamic filename, name, packageId, versionId; +@dynamic filename, packageId, versionId; @end diff --git a/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryQuery.m b/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryQuery.m index cb152d243..db1df4b76 100644 --- a/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryQuery.m +++ b/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryQuery.m @@ -264,6 +264,25 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRArtifactRegistryQuery_ProjectsLocationsRepositoriesFilesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRArtifactRegistryQuery_ProjectsLocationsRepositoriesFilesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRArtifactRegistry_Operation class]; + query.loggingName = @"artifactregistry.projects.locations.repositories.files.delete"; + return query; +} + +@end + @implementation GTLRArtifactRegistryQuery_ProjectsLocationsRepositoriesFilesDownload @dynamic name; diff --git a/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h b/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h index 769535989..9b4f3659d 100644 --- a/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h +++ b/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h @@ -452,6 +452,12 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistry_Repository_Format_Yum; * Value: "AOSS_REPOSITORY" */ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistry_Repository_Mode_AossRepository; +/** + * Replacement of AOSS_REPOSITORY. + * + * Value: "ASSURED_OSS_REPOSITORY" + */ +FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistry_Repository_Mode_AssuredOssRepository; /** * Unspecified mode. * @@ -2326,9 +2332,8 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistry_YumArtifact_PackageType @property(nonatomic, copy, nullable) NSString *descriptionProperty; /** - * Optional. If this is true, aunspecified repo type will be treated as error. - * Is used for new repo types that don't have any specific fields. Right now is - * used by AOSS team when creating repos for customers. + * Optional. If this is true, an unspecified repo type will be treated as error + * rather than defaulting to standard. * * Uses NSNumber of boolValue. */ @@ -2398,6 +2403,8 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistry_YumArtifact_PackageType * @arg @c kGTLRArtifactRegistry_Repository_Mode_AossRepository An AOSS * repository provides artifacts from AOSS upstreams. (Value: * "AOSS_REPOSITORY") + * @arg @c kGTLRArtifactRegistry_Repository_Mode_AssuredOssRepository + * Replacement of AOSS_REPOSITORY. (Value: "ASSURED_OSS_REPOSITORY") * @arg @c kGTLRArtifactRegistry_Repository_Mode_ModeUnspecified Unspecified * mode. (Value: "MODE_UNSPECIFIED") * @arg @c kGTLRArtifactRegistry_Repository_Mode_RemoteRepository A remote @@ -2661,34 +2668,25 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistry_YumArtifact_PackageType /** * The name of the file of the generic artifact to be uploaded. E.g. - * "example-file.zip" The filename should only include letters, numbers, and - * url safe characters, i.e. [a-zA-Z0-9-_.~\@]. + * `example-file.zip` The filename is limited to letters, numbers, and url safe + * characters, i.e. [a-zA-Z0-9-_.~\@]. */ @property(nonatomic, copy, nullable) NSString *filename; -/** - * Deprecated. Use package_id, version_id and filename instead. The resource - * name of the generic artifact. E.g. - * "projects/math/locations/us/repositories/operations/genericArtifacts/addition/1.0.0/add.py" - */ -@property(nonatomic, copy, nullable) NSString *name GTLR_DEPRECATED; - /** * The ID of the package of the generic artifact. If the package does not - * exist, a new package will be created. E.g. "pkg-1" The package_id must start - * with a letter, end with a letter or number, only contain letters, numbers, - * hyphens and periods i.e. [a-z0-9-.], and cannot exceed 256 characters. + * exist, a new package will be created. The `package_id` must start with a + * letter, end with a letter or number, only contain letters, numbers, hyphens + * and periods i.e. [a-z0-9-.], and cannot exceed 256 characters. */ @property(nonatomic, copy, nullable) NSString *packageId; /** * The ID of the version of the generic artifact. If the version does not - * exist, a new version will be created. E.g."1.0.0" The version_id must start - * and end with a letter or number, can only contain lowercase letters, - * numbers, hyphens and periods, i.e. [a-z0-9-.] and cannot exceed a total of - * 128 characters. While "latest" is a well-known name for the latest version - * of a package, it is not yet supported and is reserved for future use. - * Creating a version called "latest" is not allowed. + * exist, a new version will be created. The version_id must start and end with + * a letter or number, can only contain lowercase letters, numbers, hyphens and + * periods, i.e. [a-z0-9-.] and cannot exceed a total of 128 characters. + * Creating a version called `latest` is not allowed. */ @property(nonatomic, copy, nullable) NSString *versionId; @@ -2945,7 +2943,7 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistry_YumArtifact_PackageType /** - * LINT.IfChange Virtual repository configuration. + * Virtual repository configuration. */ @interface GTLRArtifactRegistry_VirtualRepositoryConfig : GTLRObject diff --git a/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryQuery.h b/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryQuery.h index 282944c62..9bcc2a283 100644 --- a/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryQuery.h +++ b/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryQuery.h @@ -409,7 +409,7 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi /** The field to order the results by. */ @property(nonatomic, copy, nullable) NSString *orderBy; -/** The maximum number of artifacts to return. */ +/** The maximum number of artifacts to return. Maximum page size is 1,000. */ @property(nonatomic, assign) NSInteger pageSize; /** @@ -441,6 +441,36 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi @end +/** + * Deletes a file and all of its content. It is only allowed on generic + * repositories. The returned operation will complete once the file has been + * deleted. + * + * Method: artifactregistry.projects.locations.repositories.files.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeArtifactRegistryCloudPlatform + */ +@interface GTLRArtifactRegistryQuery_ProjectsLocationsRepositoriesFilesDelete : GTLRArtifactRegistryQuery + +/** Required. The name of the file to delete. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRArtifactRegistry_Operation. + * + * Deletes a file and all of its content. It is only allowed on generic + * repositories. The returned operation will complete once the file has been + * deleted. + * + * @param name Required. The name of the file to delete. + * + * @return GTLRArtifactRegistryQuery_ProjectsLocationsRepositoriesFilesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Download a file. * @@ -531,7 +561,7 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi /** The field to order the results by. */ @property(nonatomic, copy, nullable) NSString *orderBy; -/** The maximum number of files to return. */ +/** The maximum number of files to return. Maximum page size is 1,000. */ @property(nonatomic, assign) NSInteger pageSize; /** @@ -564,10 +594,10 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi @end /** - * Directly uploads a Generic artifact. The returned Operation will complete - * once the resources are uploaded. Package, Version, and File resources are + * Directly uploads a Generic artifact. The returned operation will complete + * once the resources are uploaded. Package, version, and file resources are * created based on the uploaded artifact. Uploaded artifacts that conflict - * with existing resources will raise an ALREADY_EXISTS error. + * with existing resources will raise an `ALREADY_EXISTS` error. * * Method: artifactregistry.projects.locations.repositories.genericArtifacts.upload * @@ -585,10 +615,10 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi /** * Fetches a @c GTLRArtifactRegistry_UploadGenericArtifactMediaResponse. * - * Directly uploads a Generic artifact. The returned Operation will complete - * once the resources are uploaded. Package, Version, and File resources are + * Directly uploads a Generic artifact. The returned operation will complete + * once the resources are uploaded. Package, version, and file resources are * created based on the uploaded artifact. Uploaded artifacts that conflict - * with existing resources will raise an ALREADY_EXISTS error. + * with existing resources will raise an `ALREADY_EXISTS` error. * * @param object The @c GTLRArtifactRegistry_UploadGenericArtifactRequest to * include in the query. @@ -917,7 +947,7 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi */ @interface GTLRArtifactRegistryQuery_ProjectsLocationsRepositoriesMavenArtifactsList : GTLRArtifactRegistryQuery -/** The maximum number of artifacts to return. */ +/** The maximum number of artifacts to return. Maximum page size is 1,000. */ @property(nonatomic, assign) NSInteger pageSize; /** @@ -987,7 +1017,7 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi */ @interface GTLRArtifactRegistryQuery_ProjectsLocationsRepositoriesNpmPackagesList : GTLRArtifactRegistryQuery -/** The maximum number of artifacts to return. */ +/** The maximum number of artifacts to return. Maximum page size is 1,000. */ @property(nonatomic, assign) NSInteger pageSize; /** @@ -1257,11 +1287,17 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi * case insensitive. The fields eligible for filtering are: * `version` An * example of using a filter: * * `version="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` - * --> Tags that are applied to the version `1.0` in package `pkg1`. + * --> Tags that are applied to the version `1.0` in package `pkg1`. * + * `name="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/a%2Fb%2F*"` + * --> tags with an ID starting with "a/b/". * + * `name="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/ + * *%2Fb%2Fc"` --> tags with an ID ending with "/b/c". * + * `name="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/ + * *%2Fb%2F*"` --> tags with an ID containing "/b/". */ @property(nonatomic, copy, nullable) NSString *filter; -/** The maximum number of tags to return. Maximum page size is 10,000. */ +/** The maximum number of tags to return. Maximum page size is 1,000. */ @property(nonatomic, assign) NSInteger pageSize; /** @@ -1581,7 +1617,7 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistryViewVersionViewUnspecifi */ @interface GTLRArtifactRegistryQuery_ProjectsLocationsRepositoriesPythonPackagesList : GTLRArtifactRegistryQuery -/** The maximum number of artifacts to return. */ +/** The maximum number of artifacts to return. Maximum page size is 1,000. */ @property(nonatomic, assign) NSInteger pageSize; /** diff --git a/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m b/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m index a1b911deb..d2b5bf69d 100644 --- a/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m +++ b/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m @@ -38,6 +38,12 @@ NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_JpRegionsAndSupport = @"JP_REGIONS_AND_SUPPORT"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_KsaRegionsAndSupportWithSovereigntyControls = @"KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControls = @"REGIONAL_CONTROLS"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControlsPremiumAu = @"REGIONAL_CONTROLS_PREMIUM_AU"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControlsPremiumCa = @"REGIONAL_CONTROLS_PREMIUM_CA"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControlsPremiumEu = @"REGIONAL_CONTROLS_PREMIUM_EU"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControlsPremiumIsr = @"REGIONAL_CONTROLS_PREMIUM_ISR"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControlsPremiumJp = @"REGIONAL_CONTROLS_PREMIUM_JP"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControlsPremiumUs = @"REGIONAL_CONTROLS_PREMIUM_US"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_UsRegionalAccess = @"US_REGIONAL_ACCESS"; // GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesRequest.restrictionType @@ -87,6 +93,12 @@ NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_JpRegionsAndSupport = @"JP_REGIONS_AND_SUPPORT"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_KsaRegionsAndSupportWithSovereigntyControls = @"KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControls = @"REGIONAL_CONTROLS"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControlsPremiumAu = @"REGIONAL_CONTROLS_PREMIUM_AU"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControlsPremiumCa = @"REGIONAL_CONTROLS_PREMIUM_CA"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControlsPremiumEu = @"REGIONAL_CONTROLS_PREMIUM_EU"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControlsPremiumIsr = @"REGIONAL_CONTROLS_PREMIUM_ISR"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControlsPremiumJp = @"REGIONAL_CONTROLS_PREMIUM_JP"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControlsPremiumUs = @"REGIONAL_CONTROLS_PREMIUM_US"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_UsRegionalAccess = @"US_REGIONAL_ACCESS"; // GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload.kajEnrollmentState diff --git a/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h b/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h index 60314898c..5af15cffa 100644 --- a/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h +++ b/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h @@ -165,7 +165,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_Il5; /** - * Assured Workloads for Israel + * Assured Workloads for Israel Regions * * Value: "ISR_REGIONS" */ @@ -200,6 +200,42 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Value: "REGIONAL_CONTROLS" */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControls; +/** + * Assured Workloads for Australia Regions and Support controls + * + * Value: "REGIONAL_CONTROLS_PREMIUM_AU" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControlsPremiumAu; +/** + * Assured Workloads For Canada Regions and Support controls + * + * Value: "REGIONAL_CONTROLS_PREMIUM_CA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControlsPremiumCa; +/** + * Assured Workloads For EU Regions and Support controls + * + * Value: "REGIONAL_CONTROLS_PREMIUM_EU" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControlsPremiumEu; +/** + * Assured Workloads for Israel + * + * Value: "REGIONAL_CONTROLS_PREMIUM_ISR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControlsPremiumIsr; +/** + * Assured Workloads for Japan Regions + * + * Value: "REGIONAL_CONTROLS_PREMIUM_JP" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControlsPremiumJp; +/** + * Assured Workloads For US Regions data protection controls + * + * Value: "REGIONAL_CONTROLS_PREMIUM_US" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControlsPremiumUs; /** * Assured Workloads For US Regions data protection controls * @@ -428,7 +464,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_Il5; /** - * Assured Workloads for Israel + * Assured Workloads for Israel Regions * * Value: "ISR_REGIONS" */ @@ -463,6 +499,42 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Value: "REGIONAL_CONTROLS" */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControls; +/** + * Assured Workloads for Australia Regions and Support controls + * + * Value: "REGIONAL_CONTROLS_PREMIUM_AU" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControlsPremiumAu; +/** + * Assured Workloads For Canada Regions and Support controls + * + * Value: "REGIONAL_CONTROLS_PREMIUM_CA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControlsPremiumCa; +/** + * Assured Workloads For EU Regions and Support controls + * + * Value: "REGIONAL_CONTROLS_PREMIUM_EU" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControlsPremiumEu; +/** + * Assured Workloads for Israel + * + * Value: "REGIONAL_CONTROLS_PREMIUM_ISR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControlsPremiumIsr; +/** + * Assured Workloads for Japan Regions + * + * Value: "REGIONAL_CONTROLS_PREMIUM_JP" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControlsPremiumJp; +/** + * Assured Workloads For US Regions data protection controls + * + * Value: "REGIONAL_CONTROLS_PREMIUM_US" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControlsPremiumUs; /** * Assured Workloads For US Regions data protection controls * @@ -888,7 +960,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_Il5 * Information protection as per DoD IL5 requirements. (Value: "IL5") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_IsrRegions - * Assured Workloads for Israel (Value: "ISR_REGIONS") + * Assured Workloads for Israel Regions (Value: "ISR_REGIONS") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_IsrRegionsAndSupport * Assured Workloads for Israel Regions (Value: * "ISR_REGIONS_AND_SUPPORT") @@ -902,6 +974,23 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControls * Assured Workloads for Regional Controls/Free Regions (Value: * "REGIONAL_CONTROLS") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControlsPremiumAu + * Assured Workloads for Australia Regions and Support controls (Value: + * "REGIONAL_CONTROLS_PREMIUM_AU") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControlsPremiumCa + * Assured Workloads For Canada Regions and Support controls (Value: + * "REGIONAL_CONTROLS_PREMIUM_CA") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControlsPremiumEu + * Assured Workloads For EU Regions and Support controls (Value: + * "REGIONAL_CONTROLS_PREMIUM_EU") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControlsPremiumIsr + * Assured Workloads for Israel (Value: "REGIONAL_CONTROLS_PREMIUM_ISR") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControlsPremiumJp + * Assured Workloads for Japan Regions (Value: + * "REGIONAL_CONTROLS_PREMIUM_JP") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControlsPremiumUs + * Assured Workloads For US Regions data protection controls (Value: + * "REGIONAL_CONTROLS_PREMIUM_US") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_UsRegionalAccess * Assured Workloads For US Regions data protection controls (Value: * "US_REGIONAL_ACCESS") @@ -1403,7 +1492,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_Il5 * Information protection as per DoD IL5 requirements. (Value: "IL5") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_IsrRegions - * Assured Workloads for Israel (Value: "ISR_REGIONS") + * Assured Workloads for Israel Regions (Value: "ISR_REGIONS") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_IsrRegionsAndSupport * Assured Workloads for Israel Regions (Value: * "ISR_REGIONS_AND_SUPPORT") @@ -1417,6 +1506,23 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControls * Assured Workloads for Regional Controls/Free Regions (Value: * "REGIONAL_CONTROLS") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControlsPremiumAu + * Assured Workloads for Australia Regions and Support controls (Value: + * "REGIONAL_CONTROLS_PREMIUM_AU") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControlsPremiumCa + * Assured Workloads For Canada Regions and Support controls (Value: + * "REGIONAL_CONTROLS_PREMIUM_CA") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControlsPremiumEu + * Assured Workloads For EU Regions and Support controls (Value: + * "REGIONAL_CONTROLS_PREMIUM_EU") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControlsPremiumIsr + * Assured Workloads for Israel (Value: "REGIONAL_CONTROLS_PREMIUM_ISR") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControlsPremiumJp + * Assured Workloads for Japan Regions (Value: + * "REGIONAL_CONTROLS_PREMIUM_JP") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControlsPremiumUs + * Assured Workloads For US Regions data protection controls (Value: + * "REGIONAL_CONTROLS_PREMIUM_US") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_UsRegionalAccess * Assured Workloads For US Regions data protection controls (Value: * "US_REGIONAL_ACCESS") diff --git a/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m b/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m index 00060632d..8ac385b15 100644 --- a/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m +++ b/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m @@ -234,7 +234,8 @@ + (Class)classForAdditionalProperties { @implementation GTLRBackupdr_ManagementServer @dynamic baProxyUri, createTime, descriptionProperty, ETag, labels, - managementUri, name, networks, oauth2ClientId, state, type, updateTime, + managementUri, name, networks, oauth2ClientId, satisfiesPzi, + satisfiesPzs, state, type, updateTime, workforceIdentityBasedManagementUri, workforceIdentityBasedOauth2ClientId; diff --git a/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m b/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m index a80858f4b..b47502528 100644 --- a/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m +++ b/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m @@ -14,33 +14,6 @@ @implementation GTLRBackupdrQuery @end -@implementation GTLRBackupdrQuery_ProjectsLocationsBackupVaultsTestIamPermissions - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRBackupdr_TestIamPermissionsRequest *)object - resource:(NSString *)resource { - if (object == nil) { -#if defined(DEBUG) && DEBUG - NSAssert(object != nil, @"Got a nil object"); -#endif - return nil; - } - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:testIamPermissions"; - GTLRBackupdrQuery_ProjectsLocationsBackupVaultsTestIamPermissions *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRBackupdr_TestIamPermissionsResponse class]; - query.loggingName = @"backupdr.projects.locations.backupVaults.testIamPermissions"; - return query; -} - -@end - @implementation GTLRBackupdrQuery_ProjectsLocationsGet @dynamic name; diff --git a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h index 068397e40..2ab2535a1 100644 --- a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h +++ b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h @@ -577,6 +577,20 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_NetworkConfig_PeeringMode_Priva */ @property(nonatomic, copy, nullable) NSString *oauth2ClientId; +/** + * Output only. Reserved for future use. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzi; + +/** + * Output only. Reserved for future use. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzs; + /** * Output only. The ManagementServer state. * diff --git a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h index e63355e5f..00b6f0994 100644 --- a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h +++ b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h @@ -31,50 +31,6 @@ NS_ASSUME_NONNULL_BEGIN @end -/** - * Returns permissions that a caller has on the specified resource. If the - * resource does not exist, this will return an empty set of permissions, not a - * `NOT_FOUND` error. Note: This operation is designed to be used for building - * permission-aware UIs and command-line tools, not for authorization checking. - * This operation may "fail open" without warning. - * - * Method: backupdr.projects.locations.backupVaults.testIamPermissions - * - * Authorization scope(s): - * @c kGTLRAuthScopeBackupdrCloudPlatform - */ -@interface GTLRBackupdrQuery_ProjectsLocationsBackupVaultsTestIamPermissions : GTLRBackupdrQuery - -/** - * REQUIRED: The resource for which the policy detail is being requested. See - * [Resource names](https://cloud.google.com/apis/design/resource_names) for - * the appropriate value for this field. - */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * Fetches a @c GTLRBackupdr_TestIamPermissionsResponse. - * - * Returns permissions that a caller has on the specified resource. If the - * resource does not exist, this will return an empty set of permissions, not a - * `NOT_FOUND` error. Note: This operation is designed to be used for building - * permission-aware UIs and command-line tools, not for authorization checking. - * This operation may "fail open" without warning. - * - * @param object The @c GTLRBackupdr_TestIamPermissionsRequest to include in - * the query. - * @param resource REQUIRED: The resource for which the policy detail is being - * requested. See [Resource - * names](https://cloud.google.com/apis/design/resource_names) for the - * appropriate value for this field. - * - * @return GTLRBackupdrQuery_ProjectsLocationsBackupVaultsTestIamPermissions - */ -+ (instancetype)queryWithObject:(GTLRBackupdr_TestIamPermissionsRequest *)object - resource:(NSString *)resource; - -@end - /** * Gets information about a location. * diff --git a/Sources/GeneratedServices/BackupforGKE/GTLRBackupforGKEObjects.m b/Sources/GeneratedServices/BackupforGKE/GTLRBackupforGKEObjects.m index 799518a60..e36cf93c0 100644 --- a/Sources/GeneratedServices/BackupforGKE/GTLRBackupforGKEObjects.m +++ b/Sources/GeneratedServices/BackupforGKE/GTLRBackupforGKEObjects.m @@ -63,6 +63,9 @@ // GTLRBackupforGKE_RestoreConfig.namespacedResourceRestoreMode NSString * const kGTLRBackupforGKE_RestoreConfig_NamespacedResourceRestoreMode_DeleteAndRestore = @"DELETE_AND_RESTORE"; NSString * const kGTLRBackupforGKE_RestoreConfig_NamespacedResourceRestoreMode_FailOnConflict = @"FAIL_ON_CONFLICT"; +NSString * const kGTLRBackupforGKE_RestoreConfig_NamespacedResourceRestoreMode_MergeReplaceOnConflict = @"MERGE_REPLACE_ON_CONFLICT"; +NSString * const kGTLRBackupforGKE_RestoreConfig_NamespacedResourceRestoreMode_MergeReplaceVolumeOnConflict = @"MERGE_REPLACE_VOLUME_ON_CONFLICT"; +NSString * const kGTLRBackupforGKE_RestoreConfig_NamespacedResourceRestoreMode_MergeSkipOnConflict = @"MERGE_SKIP_ON_CONFLICT"; NSString * const kGTLRBackupforGKE_RestoreConfig_NamespacedResourceRestoreMode_NamespacedResourceRestoreModeUnspecified = @"NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED"; // GTLRBackupforGKE_RestoreConfig.volumeDataRestorePolicy @@ -100,6 +103,22 @@ NSString * const kGTLRBackupforGKE_VolumeBackup_State_Succeeded = @"SUCCEEDED"; NSString * const kGTLRBackupforGKE_VolumeBackup_State_Uploading = @"UPLOADING"; +// GTLRBackupforGKE_VolumeDataRestorePolicyBinding.policy +NSString * const kGTLRBackupforGKE_VolumeDataRestorePolicyBinding_Policy_NoVolumeDataRestoration = @"NO_VOLUME_DATA_RESTORATION"; +NSString * const kGTLRBackupforGKE_VolumeDataRestorePolicyBinding_Policy_RestoreVolumeDataFromBackup = @"RESTORE_VOLUME_DATA_FROM_BACKUP"; +NSString * const kGTLRBackupforGKE_VolumeDataRestorePolicyBinding_Policy_ReuseVolumeHandleFromBackup = @"REUSE_VOLUME_HANDLE_FROM_BACKUP"; +NSString * const kGTLRBackupforGKE_VolumeDataRestorePolicyBinding_Policy_VolumeDataRestorePolicyUnspecified = @"VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED"; + +// GTLRBackupforGKE_VolumeDataRestorePolicyBinding.volumeType +NSString * const kGTLRBackupforGKE_VolumeDataRestorePolicyBinding_VolumeType_GcePersistentDisk = @"GCE_PERSISTENT_DISK"; +NSString * const kGTLRBackupforGKE_VolumeDataRestorePolicyBinding_VolumeType_VolumeTypeUnspecified = @"VOLUME_TYPE_UNSPECIFIED"; + +// GTLRBackupforGKE_VolumeDataRestorePolicyOverride.policy +NSString * const kGTLRBackupforGKE_VolumeDataRestorePolicyOverride_Policy_NoVolumeDataRestoration = @"NO_VOLUME_DATA_RESTORATION"; +NSString * const kGTLRBackupforGKE_VolumeDataRestorePolicyOverride_Policy_RestoreVolumeDataFromBackup = @"RESTORE_VOLUME_DATA_FROM_BACKUP"; +NSString * const kGTLRBackupforGKE_VolumeDataRestorePolicyOverride_Policy_ReuseVolumeHandleFromBackup = @"REUSE_VOLUME_HANDLE_FROM_BACKUP"; +NSString * const kGTLRBackupforGKE_VolumeDataRestorePolicyOverride_Policy_VolumeDataRestorePolicyUnspecified = @"VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED"; + // GTLRBackupforGKE_VolumeRestore.state NSString * const kGTLRBackupforGKE_VolumeRestore_State_Creating = @"CREATING"; NSString * const kGTLRBackupforGKE_VolumeRestore_State_Deleting = @"DELETING"; @@ -157,9 +176,9 @@ @implementation GTLRBackupforGKE_Backup @dynamic allNamespaces, clusterMetadata, completeTime, configBackupSizeBytes, containsSecrets, containsVolumeData, createTime, deleteLockDays, deleteLockExpireTime, descriptionProperty, encryptionKey, ETag, labels, - manual, name, podCount, resourceCount, retainDays, retainExpireTime, - selectedApplications, selectedNamespaces, sizeBytes, state, - stateReason, uid, updateTime, volumeCount; + manual, name, permissiveMode, podCount, resourceCount, retainDays, + retainExpireTime, selectedApplications, selectedNamespaces, sizeBytes, + state, stateReason, uid, updateTime, volumeCount; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -193,7 +212,7 @@ + (Class)classForAdditionalProperties { @implementation GTLRBackupforGKE_BackupConfig @dynamic allNamespaces, encryptionKey, includeSecrets, includeVolumeData, - selectedApplications, selectedNamespaces; + permissiveMode, selectedApplications, selectedNamespaces; @end @@ -366,6 +385,25 @@ @implementation GTLRBackupforGKE_Expr @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupforGKE_Filter +// + +@implementation GTLRBackupforGKE_Filter +@dynamic exclusionFilters, inclusionFilters; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"exclusionFilters" : [GTLRBackupforGKE_ResourceSelector class], + @"inclusionFilters" : [GTLRBackupforGKE_ResourceSelector class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupforGKE_GetBackupIndexDownloadUrlResponse @@ -487,6 +525,16 @@ @implementation GTLRBackupforGKE_GroupKind @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupforGKE_GroupKindDependency +// + +@implementation GTLRBackupforGKE_GroupKindDependency +@dynamic requiring, satisfying; +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupforGKE_ListBackupPlansResponse @@ -786,6 +834,35 @@ @implementation GTLRBackupforGKE_ResourceFilter @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupforGKE_ResourceSelector +// + +@implementation GTLRBackupforGKE_ResourceSelector +@dynamic groupKind, labels, name, namespaceProperty; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"namespaceProperty" : @"namespace" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBackupforGKE_ResourceSelector_Labels +// + +@implementation GTLRBackupforGKE_ResourceSelector_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupforGKE_Restore @@ -793,9 +870,9 @@ @implementation GTLRBackupforGKE_ResourceFilter @implementation GTLRBackupforGKE_Restore @dynamic backup, cluster, completeTime, createTime, descriptionProperty, ETag, - labels, name, resourcesExcludedCount, resourcesFailedCount, + filter, labels, name, resourcesExcludedCount, resourcesFailedCount, resourcesRestoredCount, restoreConfig, state, stateReason, uid, - updateTime, volumesRestoredCount; + updateTime, volumeDataRestorePolicyOverrides, volumesRestoredCount; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -805,6 +882,13 @@ @implementation GTLRBackupforGKE_Restore return map; } ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"volumeDataRestorePolicyOverrides" : [GTLRBackupforGKE_VolumeDataRestorePolicyOverride class] + }; + return map; +} + @end @@ -830,14 +914,34 @@ + (Class)classForAdditionalProperties { @implementation GTLRBackupforGKE_RestoreConfig @dynamic allNamespaces, clusterResourceConflictPolicy, clusterResourceRestoreScope, excludedNamespaces, - namespacedResourceRestoreMode, noNamespaces, selectedApplications, - selectedNamespaces, substitutionRules, transformationRules, - volumeDataRestorePolicy; + namespacedResourceRestoreMode, noNamespaces, restoreOrder, + selectedApplications, selectedNamespaces, substitutionRules, + transformationRules, volumeDataRestorePolicy, + volumeDataRestorePolicyBindings; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"substitutionRules" : [GTLRBackupforGKE_SubstitutionRule class], - @"transformationRules" : [GTLRBackupforGKE_TransformationRule class] + @"transformationRules" : [GTLRBackupforGKE_TransformationRule class], + @"volumeDataRestorePolicyBindings" : [GTLRBackupforGKE_VolumeDataRestorePolicyBinding class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBackupforGKE_RestoreOrder +// + +@implementation GTLRBackupforGKE_RestoreOrder +@dynamic groupKindDependencies; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"groupKindDependencies" : [GTLRBackupforGKE_GroupKindDependency class] }; return map; } @@ -1041,6 +1145,26 @@ @implementation GTLRBackupforGKE_VolumeBackup @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupforGKE_VolumeDataRestorePolicyBinding +// + +@implementation GTLRBackupforGKE_VolumeDataRestorePolicyBinding +@dynamic policy, volumeType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBackupforGKE_VolumeDataRestorePolicyOverride +// + +@implementation GTLRBackupforGKE_VolumeDataRestorePolicyOverride +@dynamic policy, selectedPvcs; +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupforGKE_VolumeRestore diff --git a/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEObjects.h b/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEObjects.h index 1a09fd1e3..4d69a5b51 100644 --- a/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEObjects.h +++ b/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEObjects.h @@ -31,12 +31,14 @@ @class GTLRBackupforGKE_EncryptionKey; @class GTLRBackupforGKE_ExclusionWindow; @class GTLRBackupforGKE_Expr; +@class GTLRBackupforGKE_Filter; @class GTLRBackupforGKE_GoogleLongrunningOperation; @class GTLRBackupforGKE_GoogleLongrunningOperation_Metadata; @class GTLRBackupforGKE_GoogleLongrunningOperation_Response; @class GTLRBackupforGKE_GoogleRpcStatus; @class GTLRBackupforGKE_GoogleRpcStatus_Details_Item; @class GTLRBackupforGKE_GroupKind; +@class GTLRBackupforGKE_GroupKindDependency; @class GTLRBackupforGKE_Location; @class GTLRBackupforGKE_Location_Labels; @class GTLRBackupforGKE_Location_Metadata; @@ -45,9 +47,12 @@ @class GTLRBackupforGKE_Namespaces; @class GTLRBackupforGKE_Policy; @class GTLRBackupforGKE_ResourceFilter; +@class GTLRBackupforGKE_ResourceSelector; +@class GTLRBackupforGKE_ResourceSelector_Labels; @class GTLRBackupforGKE_Restore; @class GTLRBackupforGKE_Restore_Labels; @class GTLRBackupforGKE_RestoreConfig; +@class GTLRBackupforGKE_RestoreOrder; @class GTLRBackupforGKE_RestorePlan; @class GTLRBackupforGKE_RestorePlan_Labels; @class GTLRBackupforGKE_RetentionPolicy; @@ -58,6 +63,8 @@ @class GTLRBackupforGKE_TransformationRule; @class GTLRBackupforGKE_TransformationRuleAction; @class GTLRBackupforGKE_VolumeBackup; +@class GTLRBackupforGKE_VolumeDataRestorePolicyBinding; +@class GTLRBackupforGKE_VolumeDataRestorePolicyOverride; @class GTLRBackupforGKE_VolumeRestore; // Generated comments include content from the discovery document; avoid them @@ -331,6 +338,44 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_RestoreConfig_NamespacedRes * Value: "FAIL_ON_CONFLICT" */ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_RestoreConfig_NamespacedResourceRestoreMode_FailOnConflict; +/** + * This mode merges the backup and the target cluster and replaces the + * conflicting resources with the ones in the backup. If a single resource to + * restore exists in the cluster before restoration, the resource will be + * replaced with the one from the backup. To replace an existing resource, the + * first attempt is to update the resource to match the one from the backup; if + * the update fails, the second attempt is to delete the resource and restore + * it from the backup. Note that this mode could cause data loss as it replaces + * the existing resources in the target cluster, and the original PV can be + * retained or deleted depending on its reclaim policy. + * + * Value: "MERGE_REPLACE_ON_CONFLICT" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_RestoreConfig_NamespacedResourceRestoreMode_MergeReplaceOnConflict; +/** + * This mode merges the backup and the target cluster and skips the conflicting + * resources except volume data. If a PVC to restore already exists, this mode + * will restore/reconnect the volume without overwriting the PVC. It is similar + * to MERGE_SKIP_ON_CONFLICT except that it will apply the volume data policy + * for the conflicting PVCs: - RESTORE_VOLUME_DATA_FROM_BACKUP: restore data + * only and respect the reclaim policy of the original PV; - + * REUSE_VOLUME_HANDLE_FROM_BACKUP: reconnect and respect the reclaim policy of + * the original PV; - NO_VOLUME_DATA_RESTORATION: new provision and respect the + * reclaim policy of the original PV. Note that this mode could cause data loss + * as the original PV can be retained or deleted depending on its reclaim + * policy. + * + * Value: "MERGE_REPLACE_VOLUME_ON_CONFLICT" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_RestoreConfig_NamespacedResourceRestoreMode_MergeReplaceVolumeOnConflict; +/** + * This mode merges the backup and the target cluster and skips the conflicting + * resources. If a single resource to restore exists in the cluster before + * restoration, the resource will be skipped, otherwise it will be restored. + * + * Value: "MERGE_SKIP_ON_CONFLICT" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_RestoreConfig_NamespacedResourceRestoreMode_MergeSkipOnConflict; /** * Unspecified (invalid). * @@ -529,6 +574,90 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeBackup_State_Succeede */ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeBackup_State_Uploading; +// ---------------------------------------------------------------------------- +// GTLRBackupforGKE_VolumeDataRestorePolicyBinding.policy + +/** + * For each PVC to be restored, create PVC without any particular action to + * restore data. In this case, the normal Kubernetes provisioning logic would + * kick in, and this would likely result in either dynamically provisioning + * blank PVs or binding to statically provisioned PVs. + * + * Value: "NO_VOLUME_DATA_RESTORATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeDataRestorePolicyBinding_Policy_NoVolumeDataRestoration; +/** + * For each PVC to be restored, create a new underlying volume and PV from the + * corresponding VolumeBackup contained within the Backup. + * + * Value: "RESTORE_VOLUME_DATA_FROM_BACKUP" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeDataRestorePolicyBinding_Policy_RestoreVolumeDataFromBackup; +/** + * For each PVC to be restored, attempt to reuse the original PV contained in + * the Backup (with its original underlying volume). This option is likely only + * usable when restoring a workload to its original cluster. + * + * Value: "REUSE_VOLUME_HANDLE_FROM_BACKUP" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeDataRestorePolicyBinding_Policy_ReuseVolumeHandleFromBackup; +/** + * Unspecified (illegal). + * + * Value: "VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeDataRestorePolicyBinding_Policy_VolumeDataRestorePolicyUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRBackupforGKE_VolumeDataRestorePolicyBinding.volumeType + +/** + * Compute Engine Persistent Disk volume + * + * Value: "GCE_PERSISTENT_DISK" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeDataRestorePolicyBinding_VolumeType_GcePersistentDisk; +/** + * Default + * + * Value: "VOLUME_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeDataRestorePolicyBinding_VolumeType_VolumeTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRBackupforGKE_VolumeDataRestorePolicyOverride.policy + +/** + * For each PVC to be restored, create PVC without any particular action to + * restore data. In this case, the normal Kubernetes provisioning logic would + * kick in, and this would likely result in either dynamically provisioning + * blank PVs or binding to statically provisioned PVs. + * + * Value: "NO_VOLUME_DATA_RESTORATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeDataRestorePolicyOverride_Policy_NoVolumeDataRestoration; +/** + * For each PVC to be restored, create a new underlying volume and PV from the + * corresponding VolumeBackup contained within the Backup. + * + * Value: "RESTORE_VOLUME_DATA_FROM_BACKUP" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeDataRestorePolicyOverride_Policy_RestoreVolumeDataFromBackup; +/** + * For each PVC to be restored, attempt to reuse the original PV contained in + * the Backup (with its original underlying volume). This option is likely only + * usable when restoring a workload to its original cluster. + * + * Value: "REUSE_VOLUME_HANDLE_FROM_BACKUP" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeDataRestorePolicyOverride_Policy_ReuseVolumeHandleFromBackup; +/** + * Unspecified (illegal). + * + * Value: "VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeDataRestorePolicyOverride_Policy_VolumeDataRestorePolicyUnspecified; + // ---------------------------------------------------------------------------- // GTLRBackupforGKE_VolumeRestore.state @@ -765,6 +894,15 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Output only. If false, Backup will fail when Backup for GKE detects + * Kubernetes configuration that is non-standard or requires additional setup + * to restore. Inherited from the parent BackupPlan's permissive_mode value. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *permissiveMode; + /** * Output only. The total number of Kubernetes Pods contained in the Backup. * @@ -914,6 +1052,15 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo */ @property(nonatomic, strong, nullable) NSNumber *includeVolumeData; +/** + * Optional. If false, Backups will fail when Backup for GKE detects Kubernetes + * configuration that is non-standard or requires additional setup to restore. + * Default: False + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *permissiveMode; + /** * If set, include just the resources referenced by the listed * ProtectedApplications. @@ -1419,6 +1566,33 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo @end +/** + * Defines the filter for `Restore`. This filter can be used to further refine + * the resource selection of the `Restore` beyond the coarse-grained scope + * defined in the `RestorePlan`. `exclusion_filters` take precedence over + * `inclusion_filters`. If a resource matches both `inclusion_filters` and + * `exclusion_filters`, it will not be restored. + */ +@interface GTLRBackupforGKE_Filter : GTLRObject + +/** + * Optional. Excludes resources from restoration. If specified, a resource will + * not be restored if it matches any `ResourceSelector` of the + * `exclusion_filters`. + */ +@property(nonatomic, strong, nullable) NSArray *exclusionFilters; + +/** + * Optional. Selects resources for restoration. If specified, only resources + * which match `inclusion_filters` will be selected for restoration. A resource + * will be selected if it matches any `ResourceSelector` of the + * `inclusion_filters`. + */ +@property(nonatomic, strong, nullable) NSArray *inclusionFilters; + +@end + + /** * Response message for GetBackupIndexDownloadUrl. */ @@ -1609,6 +1783,26 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo @end +/** + * Defines a dependency between two group kinds. + */ +@interface GTLRBackupforGKE_GroupKindDependency : GTLRObject + +/** + * Required. The requiring group kind requires that the other group kind be + * restored first. + */ +@property(nonatomic, strong, nullable) GTLRBackupforGKE_GroupKind *requiring; + +/** + * Required. The satisfying group kind must be restored first in order to + * satisfy the dependency. + */ +@property(nonatomic, strong, nullable) GTLRBackupforGKE_GroupKind *satisfying; + +@end + + /** * Response message for ListBackupPlans. * @@ -2076,6 +2270,67 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo @end +/** + * Defines a selector to identify a single or a group of resources. Conditions + * in the selector are optional, but at least one field should be set to a + * non-empty value. If a condition is not specified, no restrictions will be + * applied on that dimension. If more than one condition is specified, a + * resource will be selected if and only if all conditions are met. + */ +@interface GTLRBackupforGKE_ResourceSelector : GTLRObject + +/** + * Optional. Selects resources using their Kubernetes GroupKinds. If specified, + * only resources of provided GroupKind will be selected. + */ +@property(nonatomic, strong, nullable) GTLRBackupforGKE_GroupKind *groupKind; + +/** + * Optional. Selects resources using Kubernetes + * [labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/). + * If specified, a resource will be selected if and only if the resource has + * all of the provided labels and all the label values match. + */ +@property(nonatomic, strong, nullable) GTLRBackupforGKE_ResourceSelector_Labels *labels; + +/** + * Optional. Selects resources using their resource names. If specified, only + * resources with the provided name will be selected. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Selects resources using their namespaces. This only applies to + * namespace scoped resources and cannot be used for selecting cluster scoped + * resources. If specified, only resources in the provided namespace will be + * selected. If not specified, the filter will apply to both cluster scoped and + * namespace scoped resources (e.g. name or label). The + * [Namespace](https://pkg.go.dev/k8s.io/api/core/v1#Namespace) resource itself + * will be restored if and only if any resources within the namespace are + * restored. + * + * Remapped to 'namespaceProperty' to avoid language reserved word 'namespace'. + */ +@property(nonatomic, copy, nullable) NSString *namespaceProperty; + +@end + + +/** + * Optional. Selects resources using Kubernetes + * [labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/). + * If specified, a resource will be selected if and only if the resource has + * all of the provided labels and all the label values match. + * + * @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 GTLRBackupforGKE_ResourceSelector_Labels : GTLRObject +@end + + /** * Represents both a request to Restore some portion of a Backup into a target * GKE cluster and a record of the restore operation itself. @@ -2122,6 +2377,17 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo */ @property(nonatomic, copy, nullable) NSString *ETag; +/** + * Optional. Immutable. Filters resources for `Restore`. If not specified, the + * scope of the restore will remain the same as defined in the `RestorePlan`. + * If this is specified, and no resources are matched by the + * `inclusion_filters` or everyting is excluded by the `exclusion_filters`, + * nothing will be restored. This filter can only be specified if the value of + * namespaced_resource_restore_mode is set to `MERGE_SKIP_ON_CONFLICT`, + * `MERGE_REPLACE_VOLUME_ON_CONFLICT` or `MERGE_REPLACE_ON_CONFLICT`. + */ +@property(nonatomic, strong, nullable) GTLRBackupforGKE_Filter *filter; + /** A set of custom labels supplied by user. */ @property(nonatomic, strong, nullable) GTLRBackupforGKE_Restore_Labels *labels; @@ -2197,6 +2463,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo /** Output only. The timestamp when this Restore resource was last updated. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +/** + * Optional. Immutable. Overrides the volume data restore policies selected in + * the Restore Config for override-scoped resources. + */ +@property(nonatomic, strong, nullable) NSArray *volumeDataRestorePolicyOverrides; + /** * Output only. Number of volumes restored during the restore execution. * @@ -2290,6 +2562,35 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo * conflict occurs during the restore process itself (e.g., because an * out of band process creates conflicting resources), a conflict will be * reported. (Value: "FAIL_ON_CONFLICT") + * @arg @c kGTLRBackupforGKE_RestoreConfig_NamespacedResourceRestoreMode_MergeReplaceOnConflict + * This mode merges the backup and the target cluster and replaces the + * conflicting resources with the ones in the backup. If a single + * resource to restore exists in the cluster before restoration, the + * resource will be replaced with the one from the backup. To replace an + * existing resource, the first attempt is to update the resource to + * match the one from the backup; if the update fails, the second attempt + * is to delete the resource and restore it from the backup. Note that + * this mode could cause data loss as it replaces the existing resources + * in the target cluster, and the original PV can be retained or deleted + * depending on its reclaim policy. (Value: "MERGE_REPLACE_ON_CONFLICT") + * @arg @c kGTLRBackupforGKE_RestoreConfig_NamespacedResourceRestoreMode_MergeReplaceVolumeOnConflict + * This mode merges the backup and the target cluster and skips the + * conflicting resources except volume data. If a PVC to restore already + * exists, this mode will restore/reconnect the volume without + * overwriting the PVC. It is similar to MERGE_SKIP_ON_CONFLICT except + * that it will apply the volume data policy for the conflicting PVCs: - + * RESTORE_VOLUME_DATA_FROM_BACKUP: restore data only and respect the + * reclaim policy of the original PV; - REUSE_VOLUME_HANDLE_FROM_BACKUP: + * reconnect and respect the reclaim policy of the original PV; - + * NO_VOLUME_DATA_RESTORATION: new provision and respect the reclaim + * policy of the original PV. Note that this mode could cause data loss + * as the original PV can be retained or deleted depending on its reclaim + * policy. (Value: "MERGE_REPLACE_VOLUME_ON_CONFLICT") + * @arg @c kGTLRBackupforGKE_RestoreConfig_NamespacedResourceRestoreMode_MergeSkipOnConflict + * This mode merges the backup and the target cluster and skips the + * conflicting resources. If a single resource to restore exists in the + * cluster before restoration, the resource will be skipped, otherwise it + * will be restored. (Value: "MERGE_SKIP_ON_CONFLICT") * @arg @c kGTLRBackupforGKE_RestoreConfig_NamespacedResourceRestoreMode_NamespacedResourceRestoreModeUnspecified * Unspecified (invalid). (Value: * "NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED") @@ -2304,6 +2605,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo */ @property(nonatomic, strong, nullable) NSNumber *noNamespaces; +/** Optional. RestoreOrder contains custom ordering to use on a Restore. */ +@property(nonatomic, strong, nullable) GTLRBackupforGKE_RestoreOrder *restoreOrder; + /** * A list of selected ProtectedApplications to restore. The listed * ProtectedApplications and all the resources to which they refer will be @@ -2362,6 +2666,29 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo */ @property(nonatomic, copy, nullable) NSString *volumeDataRestorePolicy; +/** + * Optional. A table that binds volumes by their scope to a restore policy. + * Bindings must have a unique scope. Any volumes not scoped in the bindings + * are subject to the policy defined in volume_data_restore_policy. + */ +@property(nonatomic, strong, nullable) NSArray *volumeDataRestorePolicyBindings; + +@end + + +/** + * Allows customers to specify dependencies between resources that Backup for + * GKE can use to compute a resasonable restore order. + */ +@interface GTLRBackupforGKE_RestoreOrder : GTLRObject + +/** + * Optional. Contains a list of group kind dependency pairs provided by the + * customer, that is used by Backup for GKE to generate a group kind restore + * order. + */ +@property(nonatomic, strong, nullable) NSArray *groupKindDependencies; + @end @@ -2956,6 +3283,89 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo @end +/** + * Binds resources in the scope to the given VolumeDataRestorePolicy. + */ +@interface GTLRBackupforGKE_VolumeDataRestorePolicyBinding : GTLRObject + +/** + * Required. The VolumeDataRestorePolicy to apply when restoring volumes in + * scope. + * + * Likely values: + * @arg @c kGTLRBackupforGKE_VolumeDataRestorePolicyBinding_Policy_NoVolumeDataRestoration + * For each PVC to be restored, create PVC without any particular action + * to restore data. In this case, the normal Kubernetes provisioning + * logic would kick in, and this would likely result in either + * dynamically provisioning blank PVs or binding to statically + * provisioned PVs. (Value: "NO_VOLUME_DATA_RESTORATION") + * @arg @c kGTLRBackupforGKE_VolumeDataRestorePolicyBinding_Policy_RestoreVolumeDataFromBackup + * For each PVC to be restored, create a new underlying volume and PV + * from the corresponding VolumeBackup contained within the Backup. + * (Value: "RESTORE_VOLUME_DATA_FROM_BACKUP") + * @arg @c kGTLRBackupforGKE_VolumeDataRestorePolicyBinding_Policy_ReuseVolumeHandleFromBackup + * For each PVC to be restored, attempt to reuse the original PV + * contained in the Backup (with its original underlying volume). This + * option is likely only usable when restoring a workload to its original + * cluster. (Value: "REUSE_VOLUME_HANDLE_FROM_BACKUP") + * @arg @c kGTLRBackupforGKE_VolumeDataRestorePolicyBinding_Policy_VolumeDataRestorePolicyUnspecified + * Unspecified (illegal). (Value: + * "VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *policy; + +/** + * The volume type, as determined by the PVC's bound PV, to apply the policy + * to. + * + * Likely values: + * @arg @c kGTLRBackupforGKE_VolumeDataRestorePolicyBinding_VolumeType_GcePersistentDisk + * Compute Engine Persistent Disk volume (Value: "GCE_PERSISTENT_DISK") + * @arg @c kGTLRBackupforGKE_VolumeDataRestorePolicyBinding_VolumeType_VolumeTypeUnspecified + * Default (Value: "VOLUME_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *volumeType; + +@end + + +/** + * Defines an override to apply a VolumeDataRestorePolicy for scoped resources. + */ +@interface GTLRBackupforGKE_VolumeDataRestorePolicyOverride : GTLRObject + +/** + * Required. The VolumeDataRestorePolicy to apply when restoring volumes in + * scope. + * + * Likely values: + * @arg @c kGTLRBackupforGKE_VolumeDataRestorePolicyOverride_Policy_NoVolumeDataRestoration + * For each PVC to be restored, create PVC without any particular action + * to restore data. In this case, the normal Kubernetes provisioning + * logic would kick in, and this would likely result in either + * dynamically provisioning blank PVs or binding to statically + * provisioned PVs. (Value: "NO_VOLUME_DATA_RESTORATION") + * @arg @c kGTLRBackupforGKE_VolumeDataRestorePolicyOverride_Policy_RestoreVolumeDataFromBackup + * For each PVC to be restored, create a new underlying volume and PV + * from the corresponding VolumeBackup contained within the Backup. + * (Value: "RESTORE_VOLUME_DATA_FROM_BACKUP") + * @arg @c kGTLRBackupforGKE_VolumeDataRestorePolicyOverride_Policy_ReuseVolumeHandleFromBackup + * For each PVC to be restored, attempt to reuse the original PV + * contained in the Backup (with its original underlying volume). This + * option is likely only usable when restoring a workload to its original + * cluster. (Value: "REUSE_VOLUME_HANDLE_FROM_BACKUP") + * @arg @c kGTLRBackupforGKE_VolumeDataRestorePolicyOverride_Policy_VolumeDataRestorePolicyUnspecified + * Unspecified (illegal). (Value: + * "VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *policy; + +/** A list of PVCs to apply the policy override to. */ +@property(nonatomic, strong, nullable) GTLRBackupforGKE_NamespacedNames *selectedPvcs; + +@end + + /** * Represents the operation of restoring a volume from a VolumeBackup. */ diff --git a/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferQuery.h b/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferQuery.h index aaa536459..d7c05572a 100644 --- a/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferQuery.h +++ b/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferQuery.h @@ -556,7 +556,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateU * This is required only if `transferConfig.dataSourceId` is 'youtube_channel' * and new credentials are needed, as indicated by `CheckValidCreds`. In order * to obtain authorization_code, make a request to the following URL: - * https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes + * https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes * * The client_id is the OAuth client_id of the a data source as returned by * ListDataSources method. * data_source_scopes are the scopes returned by * ListDataSources method. Note that this should not be set when @@ -588,7 +588,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateU * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials * are needed, as indicated by `CheckValidCreds`. In order to obtain version * info, make a request to the following URL: - * https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes + * https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes * * The client_id is the OAuth client_id of the a data source as returned by * ListDataSources method. * data_source_scopes are the scopes returned by * ListDataSources method. Note that this should not be set when @@ -757,7 +757,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateU * This is required only if `transferConfig.dataSourceId` is 'youtube_channel' * and new credentials are needed, as indicated by `CheckValidCreds`. In order * to obtain authorization_code, make a request to the following URL: - * https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes + * https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes * * The client_id is the OAuth client_id of the a data source as returned by * ListDataSources method. * data_source_scopes are the scopes returned by * ListDataSources method. Note that this should not be set when @@ -798,7 +798,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateU * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials * are needed, as indicated by `CheckValidCreds`. In order to obtain version * info, make a request to the following URL: - * https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes + * https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes * * The client_id is the OAuth client_id of the a data source as returned by * ListDataSources method. * data_source_scopes are the scopes returned by * ListDataSources method. Note that this should not be set when @@ -1188,7 +1188,7 @@ GTLR_DEPRECATED * This is required only if `transferConfig.dataSourceId` is 'youtube_channel' * and new credentials are needed, as indicated by `CheckValidCreds`. In order * to obtain authorization_code, make a request to the following URL: - * https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes + * https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes * * The client_id is the OAuth client_id of the a data source as returned by * ListDataSources method. * data_source_scopes are the scopes returned by * ListDataSources method. Note that this should not be set when @@ -1220,7 +1220,7 @@ GTLR_DEPRECATED * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials * are needed, as indicated by `CheckValidCreds`. In order to obtain version * info, make a request to the following URL: - * https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes + * https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes * * The client_id is the OAuth client_id of the a data source as returned by * ListDataSources method. * data_source_scopes are the scopes returned by * ListDataSources method. Note that this should not be set when @@ -1389,7 +1389,7 @@ GTLR_DEPRECATED * This is required only if `transferConfig.dataSourceId` is 'youtube_channel' * and new credentials are needed, as indicated by `CheckValidCreds`. In order * to obtain authorization_code, make a request to the following URL: - * https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes + * https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes * * The client_id is the OAuth client_id of the a data source as returned by * ListDataSources method. * data_source_scopes are the scopes returned by * ListDataSources method. Note that this should not be set when @@ -1430,7 +1430,7 @@ GTLR_DEPRECATED * `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials * are needed, as indicated by `CheckValidCreds`. In order to obtain version * info, make a request to the following URL: - * https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes + * https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes * * The client_id is the OAuth client_id of the a data source as returned by * ListDataSources method. * data_source_scopes are the scopes returned by * ListDataSources method. Note that this should not be set when diff --git a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h index aa5a94630..56f9ff27a 100644 --- a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h +++ b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h @@ -13095,9 +13095,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) GTLRBigquery_ErrorProto *replicationError; /** - * Optional. Specifies the interval at which the source table is polled for - * updates. It's Optional. If not specified, default replication interval would - * be applied. + * Required. Specifies the interval at which the source table is polled for + * updates. * * Uses NSNumber of longLongValue. */ diff --git a/Sources/GeneratedServices/BinaryAuthorization/Public/GoogleAPIClientForREST/GTLRBinaryAuthorizationObjects.h b/Sources/GeneratedServices/BinaryAuthorization/Public/GoogleAPIClientForREST/GTLRBinaryAuthorizationObjects.h index 47e061f5f..1e92256c3 100644 --- a/Sources/GeneratedServices/BinaryAuthorization/Public/GoogleAPIClientForREST/GTLRBinaryAuthorizationObjects.h +++ b/Sources/GeneratedServices/BinaryAuthorization/Public/GoogleAPIClientForREST/GTLRBinaryAuthorizationObjects.h @@ -1955,11 +1955,11 @@ FOUNDATION_EXTERN NSString * const kGTLRBinaryAuthorization_VulnerabilityCheck_M * needs to successfully verify an image for this check to pass, so a single * verified attestation found in any of * `container_analysis_attestation_projects` is sufficient for the check to - * pass. When fetching Occurrences from Container Analysis, only - * `AttestationOccurrence` kinds are considered. In the future, additional - * Occurrence kinds may be added to the query. Maximum number of - * `container_analysis_attestation_projects` allowed in each - * `SimpleSigningAttestationCheck` is 10. + * pass. A project ID must be used, not a project number. When fetching + * Occurrences from Container Analysis, only `AttestationOccurrence` kinds are + * considered. In the future, additional Occurrence kinds may be added to the + * query. Maximum number of `container_analysis_attestation_projects` allowed + * in each `SimpleSigningAttestationCheck` is 10. */ @property(nonatomic, strong, nullable) NSArray *containerAnalysisAttestationProjects; @@ -2060,10 +2060,11 @@ FOUNDATION_EXTERN NSString * const kGTLRBinaryAuthorization_VulnerabilityCheck_M /** * Required. The Grafeas resource name of a Attestation.Authority Note, created - * by the user, in the format: `projects/ * /notes/ *`. This field may not be - * updated. An attestation by this attestor is stored as a Grafeas - * Attestation.Authority Occurrence that names a container image and that links - * to this Note. Grafeas is an external dependency. + * by the user, in the format: `projects/[PROJECT_ID]/notes/ *`. This field may + * not be updated. A project ID must be used, not a project number. An + * attestation by this attestor is stored as a Grafeas Attestation.Authority + * Occurrence that names a container image and that links to this Note. Grafeas + * is an external dependency. */ @property(nonatomic, copy, nullable) NSString *noteReference; diff --git a/Sources/GeneratedServices/CCAIPlatform/GTLRCCAIPlatformObjects.m b/Sources/GeneratedServices/CCAIPlatform/GTLRCCAIPlatformObjects.m index 5dc71d493..a7ab21ff3 100644 --- a/Sources/GeneratedServices/CCAIPlatform/GTLRCCAIPlatformObjects.m +++ b/Sources/GeneratedServices/CCAIPlatform/GTLRCCAIPlatformObjects.m @@ -12,10 +12,13 @@ // Constants // GTLRCCAIPlatform_ContactCenter.state +NSString * const kGTLRCCAIPlatform_ContactCenter_State_StateDegraded = @"STATE_DEGRADED"; NSString * const kGTLRCCAIPlatform_ContactCenter_State_StateDeployed = @"STATE_DEPLOYED"; NSString * const kGTLRCCAIPlatform_ContactCenter_State_StateDeploying = @"STATE_DEPLOYING"; NSString * const kGTLRCCAIPlatform_ContactCenter_State_StateFailed = @"STATE_FAILED"; +NSString * const kGTLRCCAIPlatform_ContactCenter_State_StateFailingOver = @"STATE_FAILING_OVER"; NSString * const kGTLRCCAIPlatform_ContactCenter_State_StateInGracePeriod = @"STATE_IN_GRACE_PERIOD"; +NSString * const kGTLRCCAIPlatform_ContactCenter_State_StateRepairing = @"STATE_REPAIRING"; NSString * const kGTLRCCAIPlatform_ContactCenter_State_StateTerminated = @"STATE_TERMINATED"; NSString * const kGTLRCCAIPlatform_ContactCenter_State_StateTerminating = @"STATE_TERMINATING"; NSString * const kGTLRCCAIPlatform_ContactCenter_State_StateTerminatingFailed = @"STATE_TERMINATING_FAILED"; @@ -53,6 +56,43 @@ NSString * const kGTLRCCAIPlatform_Quota_ContactCenterInstanceSize_StandardSmall = @"STANDARD_SMALL"; NSString * const kGTLRCCAIPlatform_Quota_ContactCenterInstanceSize_StandardXlarge = @"STANDARD_XLARGE"; +// GTLRCCAIPlatform_SAMLParams.authenticationContexts +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_AuthenticationContextUnspecified = @"AUTHENTICATION_CONTEXT_UNSPECIFIED"; +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_InternetProtocol = @"INTERNET_PROTOCOL"; +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_InternetProtocolPassword = @"INTERNET_PROTOCOL_PASSWORD"; +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_Kerberos = @"KERBEROS"; +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_MobileOneFactorContract = @"MOBILE_ONE_FACTOR_CONTRACT"; +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_MobileOneFactorUnregistered = @"MOBILE_ONE_FACTOR_UNREGISTERED"; +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_MobileTwoFactorContract = @"MOBILE_TWO_FACTOR_CONTRACT"; +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_MobileTwoFactorUnregistered = @"MOBILE_TWO_FACTOR_UNREGISTERED"; +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_Password = @"PASSWORD"; +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_PasswordProtectedTransport = @"PASSWORD_PROTECTED_TRANSPORT"; +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_PreviousSession = @"PREVIOUS_SESSION"; +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_PublicKeyPgp = @"PUBLIC_KEY_PGP"; +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_PublicKeySpki = @"PUBLIC_KEY_SPKI"; +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_PublicKeyX509 = @"PUBLIC_KEY_X509"; +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_PublicKeyXmlDigitalSignature = @"PUBLIC_KEY_XML_DIGITAL_SIGNATURE"; +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_SecureRemotePassword = @"SECURE_REMOTE_PASSWORD"; +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_Smartcard = @"SMARTCARD"; +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_SmartcardPki = @"SMARTCARD_PKI"; +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_SoftwarePki = @"SOFTWARE_PKI"; +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_SslTlsCertificateBased = @"SSL_TLS_CERTIFICATE_BASED"; +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_Telephony = @"TELEPHONY"; +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_TelephonyAuthenticated = @"TELEPHONY_AUTHENTICATED"; +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_TelephonyNomadic = @"TELEPHONY_NOMADIC"; +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_TelephonyPersonalized = @"TELEPHONY_PERSONALIZED"; +NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_TimeSyncToken = @"TIME_SYNC_TOKEN"; + +// GTLRCCAIPlatform_WeeklySchedule.days +NSString * const kGTLRCCAIPlatform_WeeklySchedule_Days_DayOfWeekUnspecified = @"DAY_OF_WEEK_UNSPECIFIED"; +NSString * const kGTLRCCAIPlatform_WeeklySchedule_Days_Friday = @"FRIDAY"; +NSString * const kGTLRCCAIPlatform_WeeklySchedule_Days_Monday = @"MONDAY"; +NSString * const kGTLRCCAIPlatform_WeeklySchedule_Days_Saturday = @"SATURDAY"; +NSString * const kGTLRCCAIPlatform_WeeklySchedule_Days_Sunday = @"SUNDAY"; +NSString * const kGTLRCCAIPlatform_WeeklySchedule_Days_Thursday = @"THURSDAY"; +NSString * const kGTLRCCAIPlatform_WeeklySchedule_Days_Tuesday = @"TUESDAY"; +NSString * const kGTLRCCAIPlatform_WeeklySchedule_Days_Wednesday = @"WEDNESDAY"; + // ---------------------------------------------------------------------------- // // GTLRCCAIPlatform_AdminUser @@ -72,15 +112,34 @@ @implementation GTLRCCAIPlatform_CancelOperationRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRCCAIPlatform_Component +// + +@implementation GTLRCCAIPlatform_Component +@dynamic name, serviceAttachments; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"serviceAttachments" : [GTLRCCAIPlatform_ServiceAttachment class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCCAIPlatform_ContactCenter // @implementation GTLRCCAIPlatform_ContactCenter -@dynamic adminUser, ccaipManagedUsers, createTime, customerDomainPrefix, - displayName, early, instanceConfig, kmsKey, labels, name, normal, - privateComponents, samlParams, state, updateTime, uris, userEmail; +@dynamic adminUser, ccaipManagedUsers, createTime, critical, + customerDomainPrefix, displayName, early, instanceConfig, kmsKey, + labels, name, normal, privateAccess, privateComponents, samlParams, + state, updateTime, uris, userEmail; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -124,6 +183,24 @@ @implementation GTLRCCAIPlatform_ContactCenterQuota @end +// ---------------------------------------------------------------------------- +// +// GTLRCCAIPlatform_Critical +// + +@implementation GTLRCCAIPlatform_Critical +@dynamic peakHours; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"peakHours" : [GTLRCCAIPlatform_WeeklySchedule class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCCAIPlatform_Early @@ -326,6 +403,25 @@ @implementation GTLRCCAIPlatform_OperationMetadata @end +// ---------------------------------------------------------------------------- +// +// GTLRCCAIPlatform_PrivateAccess +// + +@implementation GTLRCCAIPlatform_PrivateAccess +@dynamic egressSettings, ingressSettings; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"egressSettings" : [GTLRCCAIPlatform_Component class], + @"ingressSettings" : [GTLRCCAIPlatform_Component class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCCAIPlatform_Quota @@ -343,7 +439,34 @@ @implementation GTLRCCAIPlatform_Quota // @implementation GTLRCCAIPlatform_SAMLParams -@dynamic certificate, emailMapping, entityId, ssoUri, userEmail; +@dynamic authenticationContexts, certificate, emailMapping, entityId, ssoUri, + userEmail; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"authenticationContexts" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCCAIPlatform_ServiceAttachment +// + +@implementation GTLRCCAIPlatform_ServiceAttachment +@dynamic allowedProjectIds, name; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"allowedProjectIds" : [NSString class] + }; + return map; +} + @end @@ -379,6 +502,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCCAIPlatform_TimeOfDay +// + +@implementation GTLRCCAIPlatform_TimeOfDay +@dynamic hours, minutes, nanos, seconds; +@end + + // ---------------------------------------------------------------------------- // // GTLRCCAIPlatform_URIs @@ -387,3 +520,21 @@ + (Class)classForAdditionalProperties { @implementation GTLRCCAIPlatform_URIs @dynamic chatBotUri, mediaUri, rootUri, virtualAgentStreamingServiceUri; @end + + +// ---------------------------------------------------------------------------- +// +// GTLRCCAIPlatform_WeeklySchedule +// + +@implementation GTLRCCAIPlatform_WeeklySchedule +@dynamic days, duration, endTime, startTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"days" : [NSString class] + }; + return map; +} + +@end diff --git a/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformObjects.h b/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformObjects.h index f9fa7ea6e..71591e324 100644 --- a/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformObjects.h +++ b/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformObjects.h @@ -13,8 +13,10 @@ #endif @class GTLRCCAIPlatform_AdminUser; +@class GTLRCCAIPlatform_Component; @class GTLRCCAIPlatform_ContactCenter; @class GTLRCCAIPlatform_ContactCenter_Labels; +@class GTLRCCAIPlatform_Critical; @class GTLRCCAIPlatform_Early; @class GTLRCCAIPlatform_InstanceConfig; @class GTLRCCAIPlatform_Location; @@ -24,11 +26,15 @@ @class GTLRCCAIPlatform_Operation; @class GTLRCCAIPlatform_Operation_Metadata; @class GTLRCCAIPlatform_Operation_Response; +@class GTLRCCAIPlatform_PrivateAccess; @class GTLRCCAIPlatform_Quota; @class GTLRCCAIPlatform_SAMLParams; +@class GTLRCCAIPlatform_ServiceAttachment; @class GTLRCCAIPlatform_Status; @class GTLRCCAIPlatform_Status_Details_Item; +@class GTLRCCAIPlatform_TimeOfDay; @class GTLRCCAIPlatform_URIs; +@class GTLRCCAIPlatform_WeeklySchedule; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -43,6 +49,14 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // GTLRCCAIPlatform_ContactCenter.state +/** + * State DEGRADED. This State must ONLY be used by Multiregional Instances + * after a failover was executed successfully. Customers are not able to update + * instances in this state. + * + * Value: "STATE_DEGRADED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_ContactCenter_State_StateDegraded; /** * State DEPLOYED * @@ -61,12 +75,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_ContactCenter_State_StateDe * Value: "STATE_FAILED" */ FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_ContactCenter_State_StateFailed; +/** + * State in STATE_FAILING_OVER. This State must ONLY be used by Multiregional + * Instances when a failover was triggered. Customers are not able to update + * instances in this state. + * + * Value: "STATE_FAILING_OVER" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_ContactCenter_State_StateFailingOver; /** * State IN_GRACE_PERIOD * * Value: "STATE_IN_GRACE_PERIOD" */ FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_ContactCenter_State_StateInGracePeriod; +/** + * State REPAIRING. This State must ONLY be used by Multiregional Instances + * after a fallback was triggered. Customers are not able to update instancs in + * this state. + * + * Value: "STATE_REPAIRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_ContactCenter_State_StateRepairing; /** * State TERMINATED * @@ -268,6 +298,262 @@ FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_Quota_ContactCenterInstance */ FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_Quota_ContactCenterInstanceSize_StandardXlarge; +// ---------------------------------------------------------------------------- +// GTLRCCAIPlatform_SAMLParams.authenticationContexts + +/** + * The Unspecified class indicates that the authentication was performed by + * unspecified means. + * + * Value: "AUTHENTICATION_CONTEXT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_AuthenticationContextUnspecified; +/** + * The Internet Protocol class is applicable when a principal is authenticated + * through the use of a provided IP address. + * + * Value: "INTERNET_PROTOCOL" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_InternetProtocol; +/** + * The Internet Protocol Password class is applicable when a principal is + * authenticated through the use of a provided IP address, in addition to a + * username/password. + * + * Value: "INTERNET_PROTOCOL_PASSWORD" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_InternetProtocolPassword; +/** + * This class is applicable when the principal has authenticated using a + * password to a local authentication authority, in order to acquire a Kerberos + * ticket. That Kerberos ticket is then used for subsequent network + * authentication. + * + * Value: "KERBEROS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_Kerberos; +/** + * Reflects mobile contract customer registration procedures and a single + * factor authentication. For example, a digital signing device with tamper + * resistant memory for key storage, such as the mobile MSISDN, but no required + * PIN or biometric for real-time user authentication. + * + * Value: "MOBILE_ONE_FACTOR_CONTRACT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_MobileOneFactorContract; +/** + * Reflects no mobile customer registration procedures and an authentication of + * the mobile device without requiring explicit end-user interaction. This + * context class authenticates only the device and never the user; it is useful + * when services other than the mobile operator want to add a secure device + * authentication to their authentication process. + * + * Value: "MOBILE_ONE_FACTOR_UNREGISTERED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_MobileOneFactorUnregistered; +/** + * Reflects mobile contract customer registration procedures and a two-factor + * based authentication. For example, a digital signing device with tamper + * resistant memory for key storage, such as a GSM SIM, that requires explicit + * proof of user identity and intent, such as a PIN or biometric. + * + * Value: "MOBILE_TWO_FACTOR_CONTRACT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_MobileTwoFactorContract; +/** + * Reflects no mobile customer registration procedures and a two-factor based + * authentication, such as secure device and user PIN. This context class is + * useful when a service other than the mobile operator wants to link their + * customer ID to a mobile supplied two-factor authentication service by + * capturing mobile phone data at enrollment. + * + * Value: "MOBILE_TWO_FACTOR_UNREGISTERED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_MobileTwoFactorUnregistered; +/** + * The Password class is applicable when a principal authenticates to an + * authentication authority through the presentation of a password over an + * unprotected HTTP session. + * + * Value: "PASSWORD" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_Password; +/** + * The PasswordProtectedTransport class is applicable when a principal + * authenticates to an authentication authority through the presentation of a + * password over a protected session. + * + * Value: "PASSWORD_PROTECTED_TRANSPORT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_PasswordProtectedTransport; +/** + * The PreviousSession class is applicable when a principal had authenticated + * to an authentication authority at some point in the past using any + * authentication context supported by that authentication authority + * + * Value: "PREVIOUS_SESSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_PreviousSession; +/** + * The PGP context class indicates that the principal authenticated by means of + * a digital signature where the key was validated as part of a PGP Public Key + * Infrastructure. + * + * Value: "PUBLIC_KEY_PGP" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_PublicKeyPgp; +/** + * The SPKI context class indicates that the principal authenticated by means + * of a digital signature where the key was validated via an SPKI + * Infrastructure. + * + * Value: "PUBLIC_KEY_SPKI" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_PublicKeySpki; +/** + * The X509 context class indicates that the principal authenticated by means + * of a digital signature where the key was validated as part of an X.509 + * Public Key Infrastructure. + * + * Value: "PUBLIC_KEY_X509" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_PublicKeyX509; +/** + * This context class indicates that the principal authenticated by means of a + * digital signature according to the processing rules specified in the XML + * Digital Signature specification [XMLSig]. + * + * Value: "PUBLIC_KEY_XML_DIGITAL_SIGNATURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_PublicKeyXmlDigitalSignature; +/** + * The Secure Remote Password class is applicable when the authentication was + * performed by means of Secure Remote Password as specified in [RFC 2945]. + * + * Value: "SECURE_REMOTE_PASSWORD" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_SecureRemotePassword; +/** + * The Smartcard class is identified when a principal authenticates to an + * authentication authority using a smartcard. + * + * Value: "SMARTCARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_Smartcard; +/** + * The SmartcardPKI class is applicable when a principal authenticates to an + * authentication authority through a two-factor authentication mechanism using + * a smartcard with enclosed private key and a PIN. + * + * Value: "SMARTCARD_PKI" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_SmartcardPki; +/** + * The Software-PKI class is applicable when a principal uses an X.509 + * certificate stored in software to authenticate to the authentication + * authority. + * + * Value: "SOFTWARE_PKI" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_SoftwarePki; +/** + * This class indicates that the principal authenticated by means of a client + * certificate, secured with the SSL/TLS transport. + * + * Value: "SSL_TLS_CERTIFICATE_BASED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_SslTlsCertificateBased; +/** + * This class is used to indicate that the principal authenticated via the + * provision of a fixed-line telephone number, transported via a telephony + * protocol such as ADSL. + * + * Value: "TELEPHONY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_Telephony; +/** + * Indicates that the principal authenticated via the means of the line number, + * a user suffix, and a password element. + * + * Value: "TELEPHONY_AUTHENTICATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_TelephonyAuthenticated; +/** + * Indicates that the principal is "roaming" (perhaps using a phone card) and + * authenticates via the means of the line number, a user suffix, and a + * password element. + * + * Value: "TELEPHONY_NOMADIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_TelephonyNomadic; +/** + * This class is used to indicate that the principal authenticated via the + * provision of a fixed-line telephone number and a user suffix, transported + * via a telephony protocol such as ADSL. + * + * Value: "TELEPHONY_PERSONALIZED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_TelephonyPersonalized; +/** + * The TimeSyncToken class is applicable when a principal authenticates through + * a time synchronization token. + * + * Value: "TIME_SYNC_TOKEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_SAMLParams_AuthenticationContexts_TimeSyncToken; + +// ---------------------------------------------------------------------------- +// GTLRCCAIPlatform_WeeklySchedule.days + +/** + * The day of the week is unspecified. + * + * Value: "DAY_OF_WEEK_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_WeeklySchedule_Days_DayOfWeekUnspecified; +/** + * Friday + * + * Value: "FRIDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_WeeklySchedule_Days_Friday; +/** + * Monday + * + * Value: "MONDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_WeeklySchedule_Days_Monday; +/** + * Saturday + * + * Value: "SATURDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_WeeklySchedule_Days_Saturday; +/** + * Sunday + * + * Value: "SUNDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_WeeklySchedule_Days_Sunday; +/** + * Thursday + * + * Value: "THURSDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_WeeklySchedule_Days_Thursday; +/** + * Tuesday + * + * Value: "TUESDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_WeeklySchedule_Days_Tuesday; +/** + * Wednesday + * + * Value: "WEDNESDAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_WeeklySchedule_Days_Wednesday; + /** * Message storing info about the first admin user. Next ID: 3 */ @@ -290,7 +576,23 @@ FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_Quota_ContactCenterInstance /** - * Message describing ContactCenter object Next ID: 22 + * Defines a logical CCAIP component that e.g. “EMAIL”, "CRM". For more + * information see go/ccaip-private-path-v2. Each logical component is + * associated with a list of service attachments. + */ +@interface GTLRCCAIPlatform_Component : GTLRObject + +/** Name of the component. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Associated service attachments. */ +@property(nonatomic, strong, nullable) NSArray *serviceAttachments; + +@end + + +/** + * Message describing ContactCenter object Next ID: 23 */ @interface GTLRCCAIPlatform_ContactCenter : GTLRObject @@ -311,6 +613,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_Quota_ContactCenterInstance /** Output only. [Output only] Create time stamp */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** Optional. Critical release channel. */ +@property(nonatomic, strong, nullable) GTLRCCAIPlatform_Critical *critical; + /** * Required. Immutable. At least 2 and max 16 char long, must conform to [RFC * 1035](https://www.ietf.org/rfc/rfc1035.txt). @@ -342,6 +647,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_Quota_ContactCenterInstance /** Optional. Normal release channel. */ @property(nonatomic, strong, nullable) GTLRCCAIPlatform_Normal *normal; +/** Optional. VPC-SC related networking configuration. */ +@property(nonatomic, strong, nullable) GTLRCCAIPlatform_PrivateAccess *privateAccess; + /** * Output only. A list of UJET components that should be privately accessed. * This field is set by reading settings from the data plane. For more @@ -359,14 +667,26 @@ FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_Quota_ContactCenterInstance * Output only. The state of this contact center. * * Likely values: + * @arg @c kGTLRCCAIPlatform_ContactCenter_State_StateDegraded State + * DEGRADED. This State must ONLY be used by Multiregional Instances + * after a failover was executed successfully. Customers are not able to + * update instances in this state. (Value: "STATE_DEGRADED") * @arg @c kGTLRCCAIPlatform_ContactCenter_State_StateDeployed State DEPLOYED * (Value: "STATE_DEPLOYED") * @arg @c kGTLRCCAIPlatform_ContactCenter_State_StateDeploying State * DEPLOYING (Value: "STATE_DEPLOYING") * @arg @c kGTLRCCAIPlatform_ContactCenter_State_StateFailed State FAILED * (Value: "STATE_FAILED") + * @arg @c kGTLRCCAIPlatform_ContactCenter_State_StateFailingOver State in + * STATE_FAILING_OVER. This State must ONLY be used by Multiregional + * Instances when a failover was triggered. Customers are not able to + * update instances in this state. (Value: "STATE_FAILING_OVER") * @arg @c kGTLRCCAIPlatform_ContactCenter_State_StateInGracePeriod State * IN_GRACE_PERIOD (Value: "STATE_IN_GRACE_PERIOD") + * @arg @c kGTLRCCAIPlatform_ContactCenter_State_StateRepairing State + * REPAIRING. This State must ONLY be used by Multiregional Instances + * after a fallback was triggered. Customers are not able to update + * instancs in this state. (Value: "STATE_REPAIRING") * @arg @c kGTLRCCAIPlatform_ContactCenter_State_StateTerminated State * TERMINATED (Value: "STATE_TERMINATED") * @arg @c kGTLRCCAIPlatform_ContactCenter_State_StateTerminating State @@ -431,7 +751,21 @@ FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_Quota_ContactCenterInstance /** - * First Channel to receive the updates. Meant to dev/test instances + * Instances in this Channel will receive updates after all instances in + * `Critical` were updated + 2 days. They also will only be updated outside of + * their peak hours. + */ +@interface GTLRCCAIPlatform_Critical : GTLRObject + +/** Required. Hours during which the instance should not be updated. */ +@property(nonatomic, strong, nullable) NSArray *peakHours; + +@end + + +/** + * LINT.IfChange First Channel to receive the updates. Meant to dev/test + * instances */ @interface GTLRCCAIPlatform_Early : GTLRObject @end @@ -794,6 +1128,26 @@ FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_Quota_ContactCenterInstance @end +/** + * Defines ingress and egress private traffic settings for CCAIP instances. + */ +@interface GTLRCCAIPlatform_PrivateAccess : GTLRObject + +/** + * List of egress components that should not be accessed via the Internet. For + * more information see go/ccaip-private-path-v2. + */ +@property(nonatomic, strong, nullable) NSArray *egressSettings; + +/** + * List of ingress components that should not be accessed via the Internet. For + * more information see go/ccaip-private-path-v2. + */ +@property(nonatomic, strong, nullable) NSArray *ingressSettings; + +@end + + /** * Quota details. */ @@ -857,6 +1211,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_Quota_ContactCenterInstance */ @interface GTLRCCAIPlatform_SAMLParams : GTLRObject +/** Additional contexts used for authentication. */ +@property(nonatomic, strong, nullable) NSArray *authenticationContexts; + /** SAML certificate */ @property(nonatomic, copy, nullable) NSString *certificate; @@ -875,6 +1232,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_Quota_ContactCenterInstance @end +/** + * Container for the VPC-SC networking configurations. + */ +@interface GTLRCCAIPlatform_ServiceAttachment : GTLRObject + +/** + * The list of project ids that are allowed to send traffic to the service + * attachment. This field should be filled only for the ingress service + * attachments. + */ +@property(nonatomic, strong, nullable) NSArray *allowedProjectIds; + +/** + * The service attachment name that will be used for sending private traffic to + * the CCAIP tenant project. Example: + * "projects/${TENANT_PROJECT_ID}/regions/${REGION}/serviceAttachments/ingress-default". + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * The `Status` type defines a logical error model that is suitable for * different programming environments, including REST APIs and RPC APIs. It is @@ -920,6 +1299,46 @@ FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_Quota_ContactCenterInstance @end +/** + * Represents a time of day. The date and time zone are either not significant + * or are specified elsewhere. An API may choose to allow leap seconds. Related + * types are google.type.Date and `google.protobuf.Timestamp`. + */ +@interface GTLRCCAIPlatform_TimeOfDay : GTLRObject + +/** + * Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to + * allow the value "24:00:00" for scenarios like business closing time. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hours; + +/** + * Minutes of hour of day. Must be from 0 to 59. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minutes; + +/** + * Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *nanos; + +/** + * Seconds of minutes of the time. Must normally be from 0 to 59. An API may + * allow the value 60 if it allows leap-seconds. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *seconds; + +@end + + /** * Message storing the URIs of the ContactCenter. */ @@ -939,6 +1358,29 @@ FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_Quota_ContactCenterInstance @end + +/** + * Message representing a weekly schedule. + */ +@interface GTLRCCAIPlatform_WeeklySchedule : GTLRObject + +/** Required. Days of the week this schedule applies to. */ +@property(nonatomic, strong, nullable) NSArray *days; + +/** Optional. Duration of the schedule. */ +@property(nonatomic, strong, nullable) GTLRDuration *duration; + +/** + * Optional. Daily end time of the schedule. If `end_time` is before + * `start_time`, the schedule will be considered as ending on the next day. + */ +@property(nonatomic, strong, nullable) GTLRCCAIPlatform_TimeOfDay *endTime; + +/** Required. Daily start time of the schedule. */ +@property(nonatomic, strong, nullable) GTLRCCAIPlatform_TimeOfDay *startTime; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/Calendar/GTLRCalendarQuery.m b/Sources/GeneratedServices/Calendar/GTLRCalendarQuery.m index 6472e35e7..7a0b47f27 100644 --- a/Sources/GeneratedServices/Calendar/GTLRCalendarQuery.m +++ b/Sources/GeneratedServices/Calendar/GTLRCalendarQuery.m @@ -16,6 +16,7 @@ // eventTypes NSString * const kGTLRCalendarEventTypesDefault = @"default"; NSString * const kGTLRCalendarEventTypesFocusTime = @"focusTime"; +NSString * const kGTLRCalendarEventTypesFromGmail = @"fromGmail"; NSString * const kGTLRCalendarEventTypesOutOfOffice = @"outOfOffice"; NSString * const kGTLRCalendarEventTypesWorkingLocation = @"workingLocation"; diff --git a/Sources/GeneratedServices/Calendar/Public/GoogleAPIClientForREST/GTLRCalendarObjects.h b/Sources/GeneratedServices/Calendar/Public/GoogleAPIClientForREST/GTLRCalendarObjects.h index ca4dc243f..4029e08f7 100644 --- a/Sources/GeneratedServices/Calendar/Public/GoogleAPIClientForREST/GTLRCalendarObjects.h +++ b/Sources/GeneratedServices/Calendar/Public/GoogleAPIClientForREST/GTLRCalendarObjects.h @@ -974,6 +974,7 @@ NS_ASSUME_NONNULL_BEGIN * - "outOfOffice" - An out-of-office event. * - "focusTime" - A focus-time event. * - "workingLocation" - A working location event. + * - "fromGmail" - An event from Gmail. This type of event cannot be created. */ @property(nonatomic, copy, nullable) NSString *eventType; diff --git a/Sources/GeneratedServices/Calendar/Public/GoogleAPIClientForREST/GTLRCalendarQuery.h b/Sources/GeneratedServices/Calendar/Public/GoogleAPIClientForREST/GTLRCalendarQuery.h index e3631a5c9..7ccc316e2 100644 --- a/Sources/GeneratedServices/Calendar/Public/GoogleAPIClientForREST/GTLRCalendarQuery.h +++ b/Sources/GeneratedServices/Calendar/Public/GoogleAPIClientForREST/GTLRCalendarQuery.h @@ -41,6 +41,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCalendarEventTypesDefault; * Value: "focusTime" */ FOUNDATION_EXTERN NSString * const kGTLRCalendarEventTypesFocusTime; +/** + * Events from Gmail. + * + * Value: "fromGmail" + */ +FOUNDATION_EXTERN NSString * const kGTLRCalendarEventTypesFromGmail; /** * Out of office events. * @@ -1450,6 +1456,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCalendarSendUpdatesNone; * @arg @c kGTLRCalendarEventTypesDefault Regular events. (Value: "default") * @arg @c kGTLRCalendarEventTypesFocusTime Focus time events. (Value: * "focusTime") + * @arg @c kGTLRCalendarEventTypesFromGmail Events from Gmail. (Value: + * "fromGmail") * @arg @c kGTLRCalendarEventTypesOutOfOffice Out of office events. (Value: * "outOfOffice") * @arg @c kGTLRCalendarEventTypesWorkingLocation Working location events. @@ -1636,8 +1644,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCalendarSendUpdatesNone; /** * Moves an event to another calendar, i.e. changes an event's organizer. Note - * that only default events can be moved; outOfOffice, focusTime and - * workingLocation events cannot be moved. + * that only default events can be moved; outOfOffice, focusTime, + * workingLocation and fromGmail events cannot be moved. * * Method: calendar.events.move * @@ -1688,8 +1696,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCalendarSendUpdatesNone; * Fetches a @c GTLRCalendar_Event. * * Moves an event to another calendar, i.e. changes an event's organizer. Note - * that only default events can be moved; outOfOffice, focusTime and - * workingLocation events cannot be moved. + * that only default events can be moved; outOfOffice, focusTime, + * workingLocation and fromGmail events cannot be moved. * * @param calendarId Calendar identifier of the source calendar where the event * currently is on. @@ -1985,6 +1993,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCalendarSendUpdatesNone; * @arg @c kGTLRCalendarEventTypesDefault Regular events. (Value: "default") * @arg @c kGTLRCalendarEventTypesFocusTime Focus time events. (Value: * "focusTime") + * @arg @c kGTLRCalendarEventTypesFromGmail Events from Gmail. (Value: + * "fromGmail") * @arg @c kGTLRCalendarEventTypesOutOfOffice Out of office events. (Value: * "outOfOffice") * @arg @c kGTLRCalendarEventTypesWorkingLocation Working location events. diff --git a/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m b/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m index aa09feb46..91a8fd98a 100644 --- a/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m +++ b/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m @@ -161,7 +161,139 @@ NSString * const kGTLRChromeManagement_GoogleChromeManagementV1PrintJob_State_Printed = @"PRINTED"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1PrintJob_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent.appInstallReason +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonCommandLine = @"APPLICATION_INSTALL_REASON_COMMAND_LINE"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonDefault = @"APPLICATION_INSTALL_REASON_DEFAULT"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonKiosk = @"APPLICATION_INSTALL_REASON_KIOSK"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonOem = @"APPLICATION_INSTALL_REASON_OEM"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonPolicy = @"APPLICATION_INSTALL_REASON_POLICY"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonSubApp = @"APPLICATION_INSTALL_REASON_SUB_APP"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonSync = @"APPLICATION_INSTALL_REASON_SYNC"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonSystem = @"APPLICATION_INSTALL_REASON_SYSTEM"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonUnspecified = @"APPLICATION_INSTALL_REASON_UNSPECIFIED"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonUser = @"APPLICATION_INSTALL_REASON_USER"; + +// GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent.appInstallSource +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallSource_ApplicationInstallSourceBrowser = @"APPLICATION_INSTALL_SOURCE_BROWSER"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallSource_ApplicationInstallSourceChromeWebStore = @"APPLICATION_INSTALL_SOURCE_CHROME_WEB_STORE"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallSource_ApplicationInstallSourcePlayStore = @"APPLICATION_INSTALL_SOURCE_PLAY_STORE"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallSource_ApplicationInstallSourceSync = @"APPLICATION_INSTALL_SOURCE_SYNC"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallSource_ApplicationInstallSourceSystem = @"APPLICATION_INSTALL_SOURCE_SYSTEM"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallSource_ApplicationInstallSourceUnspecified = @"APPLICATION_INSTALL_SOURCE_UNSPECIFIED"; + +// GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent.appInstallTime +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallTime_ApplicationInstallTimeInit = @"APPLICATION_INSTALL_TIME_INIT"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallTime_ApplicationInstallTimeRunning = @"APPLICATION_INSTALL_TIME_RUNNING"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallTime_ApplicationInstallTimeUnspecified = @"APPLICATION_INSTALL_TIME_UNSPECIFIED"; + +// GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent.appType +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeArc = @"APPLICATION_TYPE_ARC"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeBorealis = @"APPLICATION_TYPE_BOREALIS"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeBruschetta = @"APPLICATION_TYPE_BRUSCHETTA"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeBuiltIn = @"APPLICATION_TYPE_BUILT_IN"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeChromeApp = @"APPLICATION_TYPE_CHROME_APP"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeCrostini = @"APPLICATION_TYPE_CROSTINI"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeExtension = @"APPLICATION_TYPE_EXTENSION"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeMacOs = @"APPLICATION_TYPE_MAC_OS"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypePluginVm = @"APPLICATION_TYPE_PLUGIN_VM"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeRemote = @"APPLICATION_TYPE_REMOTE"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeStandaloneBrowser = @"APPLICATION_TYPE_STANDALONE_BROWSER"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeStandaloneBrowserChromeApp = @"APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeStandaloneBrowserExtension = @"APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeSystemWeb = @"APPLICATION_TYPE_SYSTEM_WEB"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeWeb = @"APPLICATION_TYPE_WEB"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_TelemetryApplicationTypeUnspecified = @"TELEMETRY_APPLICATION_TYPE_UNSPECIFIED"; + +// GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent.appLaunchSource +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceAppHomePage = @"APPLICATION_LAUNCH_SOURCE_APP_HOME_PAGE"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceAppListGrid = @"APPLICATION_LAUNCH_SOURCE_APP_LIST_GRID"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceAppListGridContextMenu = @"APPLICATION_LAUNCH_SOURCE_APP_LIST_GRID_CONTEXT_MENU"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceAppListQuery = @"APPLICATION_LAUNCH_SOURCE_APP_LIST_QUERY"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceAppListQueryContextMenu = @"APPLICATION_LAUNCH_SOURCE_APP_LIST_QUERY_CONTEXT_MENU"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceAppListRecommendation = @"APPLICATION_LAUNCH_SOURCE_APP_LIST_RECOMMENDATION"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceArc = @"APPLICATION_LAUNCH_SOURCE_ARC"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceBackgroundMode = @"APPLICATION_LAUNCH_SOURCE_BACKGROUND_MODE"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceChromeInternal = @"APPLICATION_LAUNCH_SOURCE_CHROME_INTERNAL"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceCommandLine = @"APPLICATION_LAUNCH_SOURCE_COMMAND_LINE"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceDiscoverTabNotification = @"APPLICATION_LAUNCH_SOURCE_DISCOVER_TAB_NOTIFICATION"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceFileManager = @"APPLICATION_LAUNCH_SOURCE_FILE_MANAGER"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceFirstRun = @"APPLICATION_LAUNCH_SOURCE_FIRST_RUN"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceFocusMode = @"APPLICATION_LAUNCH_SOURCE_FOCUS_MODE"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceFullRestore = @"APPLICATION_LAUNCH_SOURCE_FULL_RESTORE"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceInstalledNotification = @"APPLICATION_LAUNCH_SOURCE_INSTALLED_NOTIFICATION"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceInstaller = @"APPLICATION_LAUNCH_SOURCE_INSTALLER"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceIntentUrl = @"APPLICATION_LAUNCH_SOURCE_INTENT_URL"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceKeyboard = @"APPLICATION_LAUNCH_SOURCE_KEYBOARD"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceKiosk = @"APPLICATION_LAUNCH_SOURCE_KIOSK"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceLink = @"APPLICATION_LAUNCH_SOURCE_LINK"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceLockScreen = @"APPLICATION_LAUNCH_SOURCE_LOCK_SCREEN"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceManagementApi = @"APPLICATION_LAUNCH_SOURCE_MANAGEMENT_API"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceMenu = @"APPLICATION_LAUNCH_SOURCE_MENU"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceNewTabPage = @"APPLICATION_LAUNCH_SOURCE_NEW_TAB_PAGE"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceOmnibox = @"APPLICATION_LAUNCH_SOURCE_OMNIBOX"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceOsLogin = @"APPLICATION_LAUNCH_SOURCE_OS_LOGIN"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceOtherApp = @"APPLICATION_LAUNCH_SOURCE_OTHER_APP"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceParentalControls = @"APPLICATION_LAUNCH_SOURCE_PARENTAL_CONTROLS"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceProfileMenu = @"APPLICATION_LAUNCH_SOURCE_PROFILE_MENU"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceProtocolHandler = @"APPLICATION_LAUNCH_SOURCE_PROTOCOL_HANDLER"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceReleaseNotesNotification = @"APPLICATION_LAUNCH_SOURCE_RELEASE_NOTES_NOTIFICATION"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceReparenting = @"APPLICATION_LAUNCH_SOURCE_REPARENTING"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceSharesheet = @"APPLICATION_LAUNCH_SOURCE_SHARESHEET"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceShelf = @"APPLICATION_LAUNCH_SOURCE_SHELF"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceSmartTextContextMenu = @"APPLICATION_LAUNCH_SOURCE_SMART_TEXT_CONTEXT_MENU"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceSystemTrayCalendar = @"APPLICATION_LAUNCH_SOURCE_SYSTEM_TRAY_CALENDAR"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceTest = @"APPLICATION_LAUNCH_SOURCE_TEST"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceUnspecified = @"APPLICATION_LAUNCH_SOURCE_UNSPECIFIED"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceUrlHandler = @"APPLICATION_LAUNCH_SOURCE_URL_HANDLER"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceWelcomeTour = @"APPLICATION_LAUNCH_SOURCE_WELCOME_TOUR"; + +// GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent.appType +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeArc = @"APPLICATION_TYPE_ARC"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeBorealis = @"APPLICATION_TYPE_BOREALIS"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeBruschetta = @"APPLICATION_TYPE_BRUSCHETTA"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeBuiltIn = @"APPLICATION_TYPE_BUILT_IN"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeChromeApp = @"APPLICATION_TYPE_CHROME_APP"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeCrostini = @"APPLICATION_TYPE_CROSTINI"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeExtension = @"APPLICATION_TYPE_EXTENSION"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeMacOs = @"APPLICATION_TYPE_MAC_OS"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypePluginVm = @"APPLICATION_TYPE_PLUGIN_VM"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeRemote = @"APPLICATION_TYPE_REMOTE"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeStandaloneBrowser = @"APPLICATION_TYPE_STANDALONE_BROWSER"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeStandaloneBrowserChromeApp = @"APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeStandaloneBrowserExtension = @"APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeSystemWeb = @"APPLICATION_TYPE_SYSTEM_WEB"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeWeb = @"APPLICATION_TYPE_WEB"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_TelemetryApplicationTypeUnspecified = @"TELEMETRY_APPLICATION_TYPE_UNSPECIFIED"; + +// GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent.appType +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeArc = @"APPLICATION_TYPE_ARC"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeBorealis = @"APPLICATION_TYPE_BOREALIS"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeBruschetta = @"APPLICATION_TYPE_BRUSCHETTA"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeBuiltIn = @"APPLICATION_TYPE_BUILT_IN"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeChromeApp = @"APPLICATION_TYPE_CHROME_APP"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeCrostini = @"APPLICATION_TYPE_CROSTINI"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeExtension = @"APPLICATION_TYPE_EXTENSION"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeMacOs = @"APPLICATION_TYPE_MAC_OS"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypePluginVm = @"APPLICATION_TYPE_PLUGIN_VM"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeRemote = @"APPLICATION_TYPE_REMOTE"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeStandaloneBrowser = @"APPLICATION_TYPE_STANDALONE_BROWSER"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeStandaloneBrowserChromeApp = @"APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeStandaloneBrowserExtension = @"APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeSystemWeb = @"APPLICATION_TYPE_SYSTEM_WEB"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeWeb = @"APPLICATION_TYPE_WEB"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_TelemetryApplicationTypeUnspecified = @"TELEMETRY_APPLICATION_TYPE_UNSPECIFIED"; + +// GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent.appUninstallSource +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppUninstallSource_ApplicationUninstallSourceAppList = @"APPLICATION_UNINSTALL_SOURCE_APP_LIST"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppUninstallSource_ApplicationUninstallSourceAppManagement = @"APPLICATION_UNINSTALL_SOURCE_APP_MANAGEMENT"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppUninstallSource_ApplicationUninstallSourceMigration = @"APPLICATION_UNINSTALL_SOURCE_MIGRATION"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppUninstallSource_ApplicationUninstallSourceShelf = @"APPLICATION_UNINSTALL_SOURCE_SHELF"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppUninstallSource_ApplicationUninstallSourceUnspecified = @"APPLICATION_UNINSTALL_SOURCE_UNSPECIFIED"; + // GTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent.eventType +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_AppInstalled = @"APP_INSTALLED"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_AppLaunched = @"APP_LAUNCHED"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_AppUninstalled = @"APP_UNINSTALLED"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_AudioSevereUnderrun = @"AUDIO_SEVERE_UNDERRUN"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_EventTypeUnspecified = @"EVENT_TYPE_UNSPECIFIED"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_NetworkHttpsLatencyChange = @"NETWORK_HTTPS_LATENCY_CHANGE"; @@ -173,6 +305,9 @@ NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_WifiSignalStrengthRecovered = @"WIFI_SIGNAL_STRENGTH_RECOVERED"; // GTLRChromeManagement_GoogleChromeManagementV1TelemetryEventNotificationFilter.eventTypes +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEventNotificationFilter_EventTypes_AppInstalled = @"APP_INSTALLED"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEventNotificationFilter_EventTypes_AppLaunched = @"APP_LAUNCHED"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEventNotificationFilter_EventTypes_AppUninstalled = @"APP_UNINSTALLED"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEventNotificationFilter_EventTypes_AudioSevereUnderrun = @"AUDIO_SEVERE_UNDERRUN"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEventNotificationFilter_EventTypes_EventTypeUnspecified = @"EVENT_TYPE_UNSPECIFIED"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEventNotificationFilter_EventTypes_NetworkHttpsLatencyChange = @"NETWORK_HTTPS_LATENCY_CHANGE"; @@ -1189,6 +1324,36 @@ @implementation GTLRChromeManagement_GoogleChromeManagementV1StorageStatusReport @end +// ---------------------------------------------------------------------------- +// +// GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent +// + +@implementation GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent +@dynamic appId, appInstallReason, appInstallSource, appInstallTime, appType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent +// + +@implementation GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent +@dynamic appId, appLaunchSource, appType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent +// + +@implementation GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent +@dynamic appId, appType, appUninstallSource; +@end + + // ---------------------------------------------------------------------------- // // GTLRChromeManagement_GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent @@ -1256,7 +1421,8 @@ @implementation GTLRChromeManagement_GoogleChromeManagementV1TelemetryDeviceInfo // @implementation GTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent -@dynamic audioSevereUnderrunEvent, device, eventType, httpsLatencyChangeEvent, +@dynamic appInstallEvent, appLaunchEvent, appUninstallEvent, + audioSevereUnderrunEvent, device, eventType, httpsLatencyChangeEvent, name, networkStateChangeEvent, reportTime, usbPeripheralsEvent, user, vpnConnectionStateChangeEvent, wifiSignalStrengthEvent; @end diff --git a/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h b/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h index 1ce2b9422..1cb0b3330 100644 --- a/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h +++ b/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h @@ -62,6 +62,9 @@ @class GTLRChromeManagement_GoogleChromeManagementV1StorageInfo; @class GTLRChromeManagement_GoogleChromeManagementV1StorageInfoDiskVolume; @class GTLRChromeManagement_GoogleChromeManagementV1StorageStatusReport; +@class GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent; +@class GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent; +@class GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent; @class GTLRChromeManagement_GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent; @class GTLRChromeManagement_GoogleChromeManagementV1TelemetryDevice; @class GTLRChromeManagement_GoogleChromeManagementV1TelemetryDeviceInfo; @@ -809,9 +812,740 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1PrintJob_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent.appInstallReason + +/** + * Application installed by command line argument. + * + * Value: "APPLICATION_INSTALL_REASON_COMMAND_LINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonCommandLine; +/** + * Application installed by default, but is not considered a system app. + * + * Value: "APPLICATION_INSTALL_REASON_DEFAULT" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonDefault; +/** + * Application installed by Kiosk on Chrome OS. + * + * Value: "APPLICATION_INSTALL_REASON_KIOSK" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonKiosk; +/** + * Application installed by an original equipment manufacturer (OEM). + * + * Value: "APPLICATION_INSTALL_REASON_OEM" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonOem; +/** + * Application installed by policy. + * + * Value: "APPLICATION_INSTALL_REASON_POLICY" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonPolicy; +/** + * Application installed bt SubApp API call. + * + * Value: "APPLICATION_INSTALL_REASON_SUB_APP" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonSubApp; +/** + * Application installed by sync. + * + * Value: "APPLICATION_INSTALL_REASON_SYNC" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonSync; +/** + * Application installed with the system and is considered part of the OS. + * + * Value: "APPLICATION_INSTALL_REASON_SYSTEM" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonSystem; +/** + * Application install reason is unknown. + * + * Value: "APPLICATION_INSTALL_REASON_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonUnspecified; +/** + * Application installed by user action. + * + * Value: "APPLICATION_INSTALL_REASON_USER" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonUser; + +// ---------------------------------------------------------------------------- +// GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent.appInstallSource + +/** + * Application install source is a browser. + * + * Value: "APPLICATION_INSTALL_SOURCE_BROWSER" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallSource_ApplicationInstallSourceBrowser; +/** + * Application install source is the Chrome web store. + * + * Value: "APPLICATION_INSTALL_SOURCE_CHROME_WEB_STORE" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallSource_ApplicationInstallSourceChromeWebStore; +/** + * Application install source is the Play store. + * + * Value: "APPLICATION_INSTALL_SOURCE_PLAY_STORE" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallSource_ApplicationInstallSourcePlayStore; +/** + * Application install source is a sync. + * + * Value: "APPLICATION_INSTALL_SOURCE_SYNC" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallSource_ApplicationInstallSourceSync; +/** + * Application installed as part of Chrome OS. + * + * Value: "APPLICATION_INSTALL_SOURCE_SYSTEM" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallSource_ApplicationInstallSourceSystem; +/** + * Application install source is unknown. + * + * Value: "APPLICATION_INSTALL_SOURCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallSource_ApplicationInstallSourceUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent.appInstallTime + +/** + * Application install is initialized. + * + * Value: "APPLICATION_INSTALL_TIME_INIT" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallTime_ApplicationInstallTimeInit; +/** + * Application install is currently running. + * + * Value: "APPLICATION_INSTALL_TIME_RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallTime_ApplicationInstallTimeRunning; +/** + * Application install time unknown. + * + * Value: "APPLICATION_INSTALL_TIME_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallTime_ApplicationInstallTimeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent.appType + +/** + * Application type arc (Android app). + * + * Value: "APPLICATION_TYPE_ARC" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeArc; +/** + * Application type borealis. + * + * Value: "APPLICATION_TYPE_BOREALIS" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeBorealis; +/** + * Application type bruschetta. + * + * Value: "APPLICATION_TYPE_BRUSCHETTA" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeBruschetta; +/** + * Application type built-in. + * + * Value: "APPLICATION_TYPE_BUILT_IN" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeBuiltIn; +/** + * Application type Chrome app. + * + * Value: "APPLICATION_TYPE_CHROME_APP" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeChromeApp; +/** + * Application type Linux (via Crostini). + * + * Value: "APPLICATION_TYPE_CROSTINI" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeCrostini; +/** + * Application type extension. + * + * Value: "APPLICATION_TYPE_EXTENSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeExtension; +/** + * Application type Mac OS. + * + * Value: "APPLICATION_TYPE_MAC_OS" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeMacOs; +/** + * Application type Plugin VM. + * + * Value: "APPLICATION_TYPE_PLUGIN_VM" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypePluginVm; +/** + * Application type remote. + * + * Value: "APPLICATION_TYPE_REMOTE" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeRemote; +/** + * Application type standalone browser (Lacros browser app). + * + * Value: "APPLICATION_TYPE_STANDALONE_BROWSER" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeStandaloneBrowser; +/** + * Application type standalone browser chrome app (hosted in Lacros). + * + * Value: "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeStandaloneBrowserChromeApp; +/** + * Application type standalone browser extension. + * + * Value: "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeStandaloneBrowserExtension; +/** + * Application type system web. + * + * Value: "APPLICATION_TYPE_SYSTEM_WEB" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeSystemWeb; +/** + * Application type web. + * + * Value: "APPLICATION_TYPE_WEB" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeWeb; +/** + * Application type unknown. + * + * Value: "TELEMETRY_APPLICATION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_TelemetryApplicationTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent.appLaunchSource + +/** + * Application launched from app home (chrome://apps) page. + * + * Value: "APPLICATION_LAUNCH_SOURCE_APP_HOME_PAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceAppHomePage; +/** + * Application launched from the grid of apps, not the search box. + * + * Value: "APPLICATION_LAUNCH_SOURCE_APP_LIST_GRID" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceAppListGrid; +/** + * Application launched from the grid of apps, off of the context menu. + * + * Value: "APPLICATION_LAUNCH_SOURCE_APP_LIST_GRID_CONTEXT_MENU" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceAppListGridContextMenu; +/** + * Application launched from query-dependent results (larger icons). + * + * Value: "APPLICATION_LAUNCH_SOURCE_APP_LIST_QUERY" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceAppListQuery; +/** + * Application launched from query-dependent results, off of the context menu. + * + * Value: "APPLICATION_LAUNCH_SOURCE_APP_LIST_QUERY_CONTEXT_MENU" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceAppListQueryContextMenu; +/** + * Application launched from query-less recommendations (smaller icons). + * + * Value: "APPLICATION_LAUNCH_SOURCE_APP_LIST_RECOMMENDATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceAppListRecommendation; +/** + * Application launched from Arc. + * + * Value: "APPLICATION_LAUNCH_SOURCE_ARC" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceArc; +/** + * Application launched from background mode. + * + * Value: "APPLICATION_LAUNCH_SOURCE_BACKGROUND_MODE" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceBackgroundMode; +/** + * Application launched from a Chrome internal call. + * + * Value: "APPLICATION_LAUNCH_SOURCE_CHROME_INTERNAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceChromeInternal; +/** + * Application launched from the command line. + * + * Value: "APPLICATION_LAUNCH_SOURCE_COMMAND_LINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceCommandLine; +/** + * Application launched from a discover tab notification. + * + * Value: "APPLICATION_LAUNCH_SOURCE_DISCOVER_TAB_NOTIFICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceDiscoverTabNotification; +/** + * Application launched from the file manager + * + * Value: "APPLICATION_LAUNCH_SOURCE_FILE_MANAGER" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceFileManager; +/** + * Count first-run Help app launches separately so that we can understand the + * number of user-triggered launches. + * + * Value: "APPLICATION_LAUNCH_SOURCE_FIRST_RUN" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceFirstRun; +/** + * Applicationed launched from focus panel. + * + * Value: "APPLICATION_LAUNCH_SOURCE_FOCUS_MODE" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceFocusMode; +/** + * Application launched from a full restore. + * + * Value: "APPLICATION_LAUNCH_SOURCE_FULL_RESTORE" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceFullRestore; +/** + * Application launched from the installed notification. + * + * Value: "APPLICATION_LAUNCH_SOURCE_INSTALLED_NOTIFICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceInstalledNotification; +/** + * Application launched from source installer. + * + * Value: "APPLICATION_LAUNCH_SOURCE_INSTALLER" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceInstaller; +/** + * Application launched from an intent URL. + * + * Value: "APPLICATION_LAUNCH_SOURCE_INTENT_URL" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceIntentUrl; +/** + * Application launched from keyboard shortcut for opening app. + * + * Value: "APPLICATION_LAUNCH_SOURCE_KEYBOARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceKeyboard; +/** + * Application launched from kiosk. + * + * Value: "APPLICATION_LAUNCH_SOURCE_KIOSK" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceKiosk; +/** + * Application launched from left click on a link in the browser. + * + * Value: "APPLICATION_LAUNCH_SOURCE_LINK" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceLink; +/** + * Application launched from lock screen app launcher. + * + * Value: "APPLICATION_LAUNCH_SOURCE_LOCK_SCREEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceLockScreen; +/** + * Application launched from the Management API. + * + * Value: "APPLICATION_LAUNCH_SOURCE_MANAGEMENT_API" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceManagementApi; +/** + * Application launched from menu. + * + * Value: "APPLICATION_LAUNCH_SOURCE_MENU" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceMenu; +/** + * Application launched from the new tab page. + * + * Value: "APPLICATION_LAUNCH_SOURCE_NEW_TAB_PAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceNewTabPage; +/** + * Application launched from entering a URL in the Omnibox on the browser. + * + * Value: "APPLICATION_LAUNCH_SOURCE_OMNIBOX" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceOmnibox; +/** + * Application launched from OS login. + * + * Value: "APPLICATION_LAUNCH_SOURCE_OS_LOGIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceOsLogin; +/** + * Application launched from clicking a link in another app or WebUI. + * + * Value: "APPLICATION_LAUNCH_SOURCE_OTHER_APP" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceOtherApp; +/** + * Application launched from the Parental Controls Settings section and Per App + * time notification. + * + * Value: "APPLICATION_LAUNCH_SOURCE_PARENTAL_CONTROLS" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceParentalControls; +/** + * Application launched from profile menu of installable + * chrome://password-manager WebUI. + * + * Value: "APPLICATION_LAUNCH_SOURCE_PROFILE_MENU" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceProfileMenu; +/** + * Application launched from protocol handler. + * + * Value: "APPLICATION_LAUNCH_SOURCE_PROTOCOL_HANDLER" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceProtocolHandler; +/** + * Application launched from the release notes notification. + * + * Value: "APPLICATION_LAUNCH_SOURCE_RELEASE_NOTES_NOTIFICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceReleaseNotesNotification; +/** + * Application launched from moving content into an app. + * + * Value: "APPLICATION_LAUNCH_SOURCE_REPARENTING" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceReparenting; +/** + * Application launched from Sharesheet. + * + * Value: "APPLICATION_LAUNCH_SOURCE_SHARESHEET" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceSharesheet; +/** + * Application launched from shelf. + * + * Value: "APPLICATION_LAUNCH_SOURCE_SHELF" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceShelf; +/** + * Application launched from a smart text selection context menu. + * + * Value: "APPLICATION_LAUNCH_SOURCE_SMART_TEXT_CONTEXT_MENU" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceSmartTextContextMenu; +/** + * Application launched from system tray calendar. + * + * Value: "APPLICATION_LAUNCH_SOURCE_SYSTEM_TRAY_CALENDAR" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceSystemTrayCalendar; +/** + * Application launched from a test. + * + * Value: "APPLICATION_LAUNCH_SOURCE_TEST" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceTest; +/** + * Application launch source unknown. + * + * Value: "APPLICATION_LAUNCH_SOURCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceUnspecified; +/** + * Application launched from URL handler. + * + * Value: "APPLICATION_LAUNCH_SOURCE_URL_HANDLER" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceUrlHandler; +/** + * Application launched from welcome tour. + * + * Value: "APPLICATION_LAUNCH_SOURCE_WELCOME_TOUR" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceWelcomeTour; + +// ---------------------------------------------------------------------------- +// GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent.appType + +/** + * Application type arc (Android app). + * + * Value: "APPLICATION_TYPE_ARC" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeArc; +/** + * Application type borealis. + * + * Value: "APPLICATION_TYPE_BOREALIS" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeBorealis; +/** + * Application type bruschetta. + * + * Value: "APPLICATION_TYPE_BRUSCHETTA" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeBruschetta; +/** + * Application type built-in. + * + * Value: "APPLICATION_TYPE_BUILT_IN" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeBuiltIn; +/** + * Application type Chrome app. + * + * Value: "APPLICATION_TYPE_CHROME_APP" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeChromeApp; +/** + * Application type Linux (via Crostini). + * + * Value: "APPLICATION_TYPE_CROSTINI" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeCrostini; +/** + * Application type extension. + * + * Value: "APPLICATION_TYPE_EXTENSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeExtension; +/** + * Application type Mac OS. + * + * Value: "APPLICATION_TYPE_MAC_OS" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeMacOs; +/** + * Application type Plugin VM. + * + * Value: "APPLICATION_TYPE_PLUGIN_VM" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypePluginVm; +/** + * Application type remote. + * + * Value: "APPLICATION_TYPE_REMOTE" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeRemote; +/** + * Application type standalone browser (Lacros browser app). + * + * Value: "APPLICATION_TYPE_STANDALONE_BROWSER" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeStandaloneBrowser; +/** + * Application type standalone browser chrome app (hosted in Lacros). + * + * Value: "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeStandaloneBrowserChromeApp; +/** + * Application type standalone browser extension. + * + * Value: "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeStandaloneBrowserExtension; +/** + * Application type system web. + * + * Value: "APPLICATION_TYPE_SYSTEM_WEB" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeSystemWeb; +/** + * Application type web. + * + * Value: "APPLICATION_TYPE_WEB" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeWeb; +/** + * Application type unknown. + * + * Value: "TELEMETRY_APPLICATION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_TelemetryApplicationTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent.appType + +/** + * Application type arc (Android app). + * + * Value: "APPLICATION_TYPE_ARC" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeArc; +/** + * Application type borealis. + * + * Value: "APPLICATION_TYPE_BOREALIS" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeBorealis; +/** + * Application type bruschetta. + * + * Value: "APPLICATION_TYPE_BRUSCHETTA" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeBruschetta; +/** + * Application type built-in. + * + * Value: "APPLICATION_TYPE_BUILT_IN" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeBuiltIn; +/** + * Application type Chrome app. + * + * Value: "APPLICATION_TYPE_CHROME_APP" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeChromeApp; +/** + * Application type Linux (via Crostini). + * + * Value: "APPLICATION_TYPE_CROSTINI" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeCrostini; +/** + * Application type extension. + * + * Value: "APPLICATION_TYPE_EXTENSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeExtension; +/** + * Application type Mac OS. + * + * Value: "APPLICATION_TYPE_MAC_OS" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeMacOs; +/** + * Application type Plugin VM. + * + * Value: "APPLICATION_TYPE_PLUGIN_VM" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypePluginVm; +/** + * Application type remote. + * + * Value: "APPLICATION_TYPE_REMOTE" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeRemote; +/** + * Application type standalone browser (Lacros browser app). + * + * Value: "APPLICATION_TYPE_STANDALONE_BROWSER" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeStandaloneBrowser; +/** + * Application type standalone browser chrome app (hosted in Lacros). + * + * Value: "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeStandaloneBrowserChromeApp; +/** + * Application type standalone browser extension. + * + * Value: "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeStandaloneBrowserExtension; +/** + * Application type system web. + * + * Value: "APPLICATION_TYPE_SYSTEM_WEB" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeSystemWeb; +/** + * Application type web. + * + * Value: "APPLICATION_TYPE_WEB" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeWeb; +/** + * Application type unknown. + * + * Value: "TELEMETRY_APPLICATION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_TelemetryApplicationTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent.appUninstallSource + +/** + * Application uninstalled from the App List (Launcher). + * + * Value: "APPLICATION_UNINSTALL_SOURCE_APP_LIST" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppUninstallSource_ApplicationUninstallSourceAppList; +/** + * Application uninstalled from the App Managedment page. + * + * Value: "APPLICATION_UNINSTALL_SOURCE_APP_MANAGEMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppUninstallSource_ApplicationUninstallSourceAppManagement; +/** + * Application uninstalled by app migration. + * + * Value: "APPLICATION_UNINSTALL_SOURCE_MIGRATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppUninstallSource_ApplicationUninstallSourceMigration; +/** + * Application uninstalled from the Shelf. + * + * Value: "APPLICATION_UNINSTALL_SOURCE_SHELF" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppUninstallSource_ApplicationUninstallSourceShelf; +/** + * Application uninstall source unknown. + * + * Value: "APPLICATION_UNINSTALL_SOURCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppUninstallSource_ApplicationUninstallSourceUnspecified; + // ---------------------------------------------------------------------------- // GTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent.eventType +/** + * Triggered when an app is installed. + * + * Value: "APP_INSTALLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_AppInstalled; +/** + * Triggered when an app is launched. + * + * Value: "APP_LAUNCHED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_AppLaunched; +/** + * Triggered when an app is uninstalled. + * + * Value: "APP_UNINSTALLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_AppUninstalled; /** * Triggered when a audio devices run out of buffer data for more than 5 * seconds. @@ -873,6 +1607,24 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV // ---------------------------------------------------------------------------- // GTLRChromeManagement_GoogleChromeManagementV1TelemetryEventNotificationFilter.eventTypes +/** + * Triggered when an app is installed. + * + * Value: "APP_INSTALLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEventNotificationFilter_EventTypes_AppInstalled; +/** + * Triggered when an app is launched. + * + * Value: "APP_LAUNCHED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEventNotificationFilter_EventTypes_AppLaunched; +/** + * Triggered when an app is uninstalled. + * + * Value: "APP_UNINSTALLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEventNotificationFilter_EventTypes_AppUninstalled; /** * Triggered when a audio devices run out of buffer data for more than 5 * seconds. @@ -3652,6 +4404,413 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV @end +/** + * App installation data. + */ +@interface GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent : GTLRObject + +/** + * App id. For PWAs this is the start URL, and for extensions this is the + * extension id. + */ +@property(nonatomic, copy, nullable) NSString *appId; + +/** + * App installation reason. + * + * Likely values: + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonCommandLine + * Application installed by command line argument. (Value: + * "APPLICATION_INSTALL_REASON_COMMAND_LINE") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonDefault + * Application installed by default, but is not considered a system app. + * (Value: "APPLICATION_INSTALL_REASON_DEFAULT") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonKiosk + * Application installed by Kiosk on Chrome OS. (Value: + * "APPLICATION_INSTALL_REASON_KIOSK") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonOem + * Application installed by an original equipment manufacturer (OEM). + * (Value: "APPLICATION_INSTALL_REASON_OEM") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonPolicy + * Application installed by policy. (Value: + * "APPLICATION_INSTALL_REASON_POLICY") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonSubApp + * Application installed bt SubApp API call. (Value: + * "APPLICATION_INSTALL_REASON_SUB_APP") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonSync + * Application installed by sync. (Value: + * "APPLICATION_INSTALL_REASON_SYNC") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonSystem + * Application installed with the system and is considered part of the + * OS. (Value: "APPLICATION_INSTALL_REASON_SYSTEM") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonUnspecified + * Application install reason is unknown. (Value: + * "APPLICATION_INSTALL_REASON_UNSPECIFIED") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallReason_ApplicationInstallReasonUser + * Application installed by user action. (Value: + * "APPLICATION_INSTALL_REASON_USER") + */ +@property(nonatomic, copy, nullable) NSString *appInstallReason; + +/** + * App installation source. + * + * Likely values: + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallSource_ApplicationInstallSourceBrowser + * Application install source is a browser. (Value: + * "APPLICATION_INSTALL_SOURCE_BROWSER") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallSource_ApplicationInstallSourceChromeWebStore + * Application install source is the Chrome web store. (Value: + * "APPLICATION_INSTALL_SOURCE_CHROME_WEB_STORE") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallSource_ApplicationInstallSourcePlayStore + * Application install source is the Play store. (Value: + * "APPLICATION_INSTALL_SOURCE_PLAY_STORE") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallSource_ApplicationInstallSourceSync + * Application install source is a sync. (Value: + * "APPLICATION_INSTALL_SOURCE_SYNC") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallSource_ApplicationInstallSourceSystem + * Application installed as part of Chrome OS. (Value: + * "APPLICATION_INSTALL_SOURCE_SYSTEM") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallSource_ApplicationInstallSourceUnspecified + * Application install source is unknown. (Value: + * "APPLICATION_INSTALL_SOURCE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *appInstallSource; + +/** + * App installation time depending on the app lifecycle. + * + * Likely values: + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallTime_ApplicationInstallTimeInit + * Application install is initialized. (Value: + * "APPLICATION_INSTALL_TIME_INIT") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallTime_ApplicationInstallTimeRunning + * Application install is currently running. (Value: + * "APPLICATION_INSTALL_TIME_RUNNING") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppInstallTime_ApplicationInstallTimeUnspecified + * Application install time unknown. (Value: + * "APPLICATION_INSTALL_TIME_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *appInstallTime; + +/** + * Type of app. + * + * Likely values: + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeArc + * Application type arc (Android app). (Value: "APPLICATION_TYPE_ARC") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeBorealis + * Application type borealis. (Value: "APPLICATION_TYPE_BOREALIS") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeBruschetta + * Application type bruschetta. (Value: "APPLICATION_TYPE_BRUSCHETTA") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeBuiltIn + * Application type built-in. (Value: "APPLICATION_TYPE_BUILT_IN") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeChromeApp + * Application type Chrome app. (Value: "APPLICATION_TYPE_CHROME_APP") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeCrostini + * Application type Linux (via Crostini). (Value: + * "APPLICATION_TYPE_CROSTINI") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeExtension + * Application type extension. (Value: "APPLICATION_TYPE_EXTENSION") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeMacOs + * Application type Mac OS. (Value: "APPLICATION_TYPE_MAC_OS") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypePluginVm + * Application type Plugin VM. (Value: "APPLICATION_TYPE_PLUGIN_VM") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeRemote + * Application type remote. (Value: "APPLICATION_TYPE_REMOTE") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeStandaloneBrowser + * Application type standalone browser (Lacros browser app). (Value: + * "APPLICATION_TYPE_STANDALONE_BROWSER") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeStandaloneBrowserChromeApp + * Application type standalone browser chrome app (hosted in Lacros). + * (Value: "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeStandaloneBrowserExtension + * Application type standalone browser extension. (Value: + * "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeSystemWeb + * Application type system web. (Value: "APPLICATION_TYPE_SYSTEM_WEB") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeWeb + * Application type web. (Value: "APPLICATION_TYPE_WEB") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_TelemetryApplicationTypeUnspecified + * Application type unknown. (Value: + * "TELEMETRY_APPLICATION_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *appType; + +@end + + +/** + * App launch data. + */ +@interface GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent : GTLRObject + +/** + * App id. For PWAs this is the start URL, and for extensions this is the + * extension id. + */ +@property(nonatomic, copy, nullable) NSString *appId; + +/** + * App launch source. + * + * Likely values: + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceAppHomePage + * Application launched from app home (chrome://apps) page. (Value: + * "APPLICATION_LAUNCH_SOURCE_APP_HOME_PAGE") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceAppListGrid + * Application launched from the grid of apps, not the search box. + * (Value: "APPLICATION_LAUNCH_SOURCE_APP_LIST_GRID") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceAppListGridContextMenu + * Application launched from the grid of apps, off of the context menu. + * (Value: "APPLICATION_LAUNCH_SOURCE_APP_LIST_GRID_CONTEXT_MENU") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceAppListQuery + * Application launched from query-dependent results (larger icons). + * (Value: "APPLICATION_LAUNCH_SOURCE_APP_LIST_QUERY") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceAppListQueryContextMenu + * Application launched from query-dependent results, off of the context + * menu. (Value: "APPLICATION_LAUNCH_SOURCE_APP_LIST_QUERY_CONTEXT_MENU") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceAppListRecommendation + * Application launched from query-less recommendations (smaller icons). + * (Value: "APPLICATION_LAUNCH_SOURCE_APP_LIST_RECOMMENDATION") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceArc + * Application launched from Arc. (Value: + * "APPLICATION_LAUNCH_SOURCE_ARC") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceBackgroundMode + * Application launched from background mode. (Value: + * "APPLICATION_LAUNCH_SOURCE_BACKGROUND_MODE") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceChromeInternal + * Application launched from a Chrome internal call. (Value: + * "APPLICATION_LAUNCH_SOURCE_CHROME_INTERNAL") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceCommandLine + * Application launched from the command line. (Value: + * "APPLICATION_LAUNCH_SOURCE_COMMAND_LINE") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceDiscoverTabNotification + * Application launched from a discover tab notification. (Value: + * "APPLICATION_LAUNCH_SOURCE_DISCOVER_TAB_NOTIFICATION") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceFileManager + * Application launched from the file manager (Value: + * "APPLICATION_LAUNCH_SOURCE_FILE_MANAGER") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceFirstRun + * Count first-run Help app launches separately so that we can understand + * the number of user-triggered launches. (Value: + * "APPLICATION_LAUNCH_SOURCE_FIRST_RUN") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceFocusMode + * Applicationed launched from focus panel. (Value: + * "APPLICATION_LAUNCH_SOURCE_FOCUS_MODE") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceFullRestore + * Application launched from a full restore. (Value: + * "APPLICATION_LAUNCH_SOURCE_FULL_RESTORE") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceInstalledNotification + * Application launched from the installed notification. (Value: + * "APPLICATION_LAUNCH_SOURCE_INSTALLED_NOTIFICATION") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceInstaller + * Application launched from source installer. (Value: + * "APPLICATION_LAUNCH_SOURCE_INSTALLER") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceIntentUrl + * Application launched from an intent URL. (Value: + * "APPLICATION_LAUNCH_SOURCE_INTENT_URL") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceKeyboard + * Application launched from keyboard shortcut for opening app. (Value: + * "APPLICATION_LAUNCH_SOURCE_KEYBOARD") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceKiosk + * Application launched from kiosk. (Value: + * "APPLICATION_LAUNCH_SOURCE_KIOSK") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceLink + * Application launched from left click on a link in the browser. (Value: + * "APPLICATION_LAUNCH_SOURCE_LINK") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceLockScreen + * Application launched from lock screen app launcher. (Value: + * "APPLICATION_LAUNCH_SOURCE_LOCK_SCREEN") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceManagementApi + * Application launched from the Management API. (Value: + * "APPLICATION_LAUNCH_SOURCE_MANAGEMENT_API") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceMenu + * Application launched from menu. (Value: + * "APPLICATION_LAUNCH_SOURCE_MENU") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceNewTabPage + * Application launched from the new tab page. (Value: + * "APPLICATION_LAUNCH_SOURCE_NEW_TAB_PAGE") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceOmnibox + * Application launched from entering a URL in the Omnibox on the + * browser. (Value: "APPLICATION_LAUNCH_SOURCE_OMNIBOX") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceOsLogin + * Application launched from OS login. (Value: + * "APPLICATION_LAUNCH_SOURCE_OS_LOGIN") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceOtherApp + * Application launched from clicking a link in another app or WebUI. + * (Value: "APPLICATION_LAUNCH_SOURCE_OTHER_APP") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceParentalControls + * Application launched from the Parental Controls Settings section and + * Per App time notification. (Value: + * "APPLICATION_LAUNCH_SOURCE_PARENTAL_CONTROLS") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceProfileMenu + * Application launched from profile menu of installable + * chrome://password-manager WebUI. (Value: + * "APPLICATION_LAUNCH_SOURCE_PROFILE_MENU") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceProtocolHandler + * Application launched from protocol handler. (Value: + * "APPLICATION_LAUNCH_SOURCE_PROTOCOL_HANDLER") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceReleaseNotesNotification + * Application launched from the release notes notification. (Value: + * "APPLICATION_LAUNCH_SOURCE_RELEASE_NOTES_NOTIFICATION") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceReparenting + * Application launched from moving content into an app. (Value: + * "APPLICATION_LAUNCH_SOURCE_REPARENTING") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceSharesheet + * Application launched from Sharesheet. (Value: + * "APPLICATION_LAUNCH_SOURCE_SHARESHEET") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceShelf + * Application launched from shelf. (Value: + * "APPLICATION_LAUNCH_SOURCE_SHELF") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceSmartTextContextMenu + * Application launched from a smart text selection context menu. (Value: + * "APPLICATION_LAUNCH_SOURCE_SMART_TEXT_CONTEXT_MENU") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceSystemTrayCalendar + * Application launched from system tray calendar. (Value: + * "APPLICATION_LAUNCH_SOURCE_SYSTEM_TRAY_CALENDAR") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceTest + * Application launched from a test. (Value: + * "APPLICATION_LAUNCH_SOURCE_TEST") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceUnspecified + * Application launch source unknown. (Value: + * "APPLICATION_LAUNCH_SOURCE_UNSPECIFIED") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceUrlHandler + * Application launched from URL handler. (Value: + * "APPLICATION_LAUNCH_SOURCE_URL_HANDLER") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppLaunchSource_ApplicationLaunchSourceWelcomeTour + * Application launched from welcome tour. (Value: + * "APPLICATION_LAUNCH_SOURCE_WELCOME_TOUR") + */ +@property(nonatomic, copy, nullable) NSString *appLaunchSource; + +/** + * Type of app. + * + * Likely values: + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeArc + * Application type arc (Android app). (Value: "APPLICATION_TYPE_ARC") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeBorealis + * Application type borealis. (Value: "APPLICATION_TYPE_BOREALIS") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeBruschetta + * Application type bruschetta. (Value: "APPLICATION_TYPE_BRUSCHETTA") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeBuiltIn + * Application type built-in. (Value: "APPLICATION_TYPE_BUILT_IN") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeChromeApp + * Application type Chrome app. (Value: "APPLICATION_TYPE_CHROME_APP") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeCrostini + * Application type Linux (via Crostini). (Value: + * "APPLICATION_TYPE_CROSTINI") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeExtension + * Application type extension. (Value: "APPLICATION_TYPE_EXTENSION") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeMacOs + * Application type Mac OS. (Value: "APPLICATION_TYPE_MAC_OS") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypePluginVm + * Application type Plugin VM. (Value: "APPLICATION_TYPE_PLUGIN_VM") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeRemote + * Application type remote. (Value: "APPLICATION_TYPE_REMOTE") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeStandaloneBrowser + * Application type standalone browser (Lacros browser app). (Value: + * "APPLICATION_TYPE_STANDALONE_BROWSER") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeStandaloneBrowserChromeApp + * Application type standalone browser chrome app (hosted in Lacros). + * (Value: "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeStandaloneBrowserExtension + * Application type standalone browser extension. (Value: + * "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeSystemWeb + * Application type system web. (Value: "APPLICATION_TYPE_SYSTEM_WEB") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeWeb + * Application type web. (Value: "APPLICATION_TYPE_WEB") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_TelemetryApplicationTypeUnspecified + * Application type unknown. (Value: + * "TELEMETRY_APPLICATION_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *appType; + +@end + + +/** + * App uninstall data. + */ +@interface GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent : GTLRObject + +/** + * App id. For PWAs this is the start URL, and for extensions this is the + * extension id. + */ +@property(nonatomic, copy, nullable) NSString *appId; + +/** + * Type of app. + * + * Likely values: + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeArc + * Application type arc (Android app). (Value: "APPLICATION_TYPE_ARC") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeBorealis + * Application type borealis. (Value: "APPLICATION_TYPE_BOREALIS") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeBruschetta + * Application type bruschetta. (Value: "APPLICATION_TYPE_BRUSCHETTA") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeBuiltIn + * Application type built-in. (Value: "APPLICATION_TYPE_BUILT_IN") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeChromeApp + * Application type Chrome app. (Value: "APPLICATION_TYPE_CHROME_APP") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeCrostini + * Application type Linux (via Crostini). (Value: + * "APPLICATION_TYPE_CROSTINI") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeExtension + * Application type extension. (Value: "APPLICATION_TYPE_EXTENSION") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeMacOs + * Application type Mac OS. (Value: "APPLICATION_TYPE_MAC_OS") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypePluginVm + * Application type Plugin VM. (Value: "APPLICATION_TYPE_PLUGIN_VM") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeRemote + * Application type remote. (Value: "APPLICATION_TYPE_REMOTE") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeStandaloneBrowser + * Application type standalone browser (Lacros browser app). (Value: + * "APPLICATION_TYPE_STANDALONE_BROWSER") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeStandaloneBrowserChromeApp + * Application type standalone browser chrome app (hosted in Lacros). + * (Value: "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeStandaloneBrowserExtension + * Application type standalone browser extension. (Value: + * "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeSystemWeb + * Application type system web. (Value: "APPLICATION_TYPE_SYSTEM_WEB") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeWeb + * Application type web. (Value: "APPLICATION_TYPE_WEB") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_TelemetryApplicationTypeUnspecified + * Application type unknown. (Value: + * "TELEMETRY_APPLICATION_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *appType; + +/** + * App uninstall source. + * + * Likely values: + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppUninstallSource_ApplicationUninstallSourceAppList + * Application uninstalled from the App List (Launcher). (Value: + * "APPLICATION_UNINSTALL_SOURCE_APP_LIST") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppUninstallSource_ApplicationUninstallSourceAppManagement + * Application uninstalled from the App Managedment page. (Value: + * "APPLICATION_UNINSTALL_SOURCE_APP_MANAGEMENT") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppUninstallSource_ApplicationUninstallSourceMigration + * Application uninstalled by app migration. (Value: + * "APPLICATION_UNINSTALL_SOURCE_MIGRATION") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppUninstallSource_ApplicationUninstallSourceShelf + * Application uninstalled from the Shelf. (Value: + * "APPLICATION_UNINSTALL_SOURCE_SHELF") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppUninstallSource_ApplicationUninstallSourceUnspecified + * Application uninstall source unknown. (Value: + * "APPLICATION_UNINSTALL_SOURCE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *appUninstallSource; + +@end + + /** * `TelemetryAudioSevereUnderrunEvent` is triggered when a audio devices run * out of buffer data for more than 5 seconds. * Granular permission needed: @@ -3809,6 +4968,24 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV */ @interface GTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent : GTLRObject +/** + * Output only. Payload for app install event. Present only when `event_type` + * is `APP_INSTALLED`. + */ +@property(nonatomic, strong, nullable) GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent *appInstallEvent; + +/** + * Output only. Payload for app launch event.Present only when `event_type` is + * `APP_LAUNCHED`. + */ +@property(nonatomic, strong, nullable) GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent *appLaunchEvent; + +/** + * Output only. Payload for app uninstall event. Present only when `event_type` + * is `APP_UNINSTALLED`. + */ +@property(nonatomic, strong, nullable) GTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent *appUninstallEvent; + /** * Output only. Payload for audio severe underrun event. Present only when the * `event_type` field is `AUDIO_SEVERE_UNDERRUN`. @@ -3822,6 +4999,12 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV * The event type of the current event. * * Likely values: + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_AppInstalled + * Triggered when an app is installed. (Value: "APP_INSTALLED") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_AppLaunched + * Triggered when an app is launched. (Value: "APP_LAUNCHED") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_AppUninstalled + * Triggered when an app is uninstalled. (Value: "APP_UNINSTALLED") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_AudioSevereUnderrun * Triggered when a audio devices run out of buffer data for more than 5 * seconds. (Value: "AUDIO_SEVERE_UNDERRUN") diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m b/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m index 0249b0949..0b934c160 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m @@ -179,6 +179,8 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeConnectionsPerformanceImpact = @"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeDatabaseAuditingDisabled = @"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeDatabaseNamesExposed = @"SIGNAL_TYPE_DATABASE_NAMES_EXPOSED"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeDataExportToExternalCloudStorageBucket = @"SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeDataExportToPublicCloudStorageBucket = @"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeDisconnectionsNotLogged = @"SIGNAL_TYPE_DISCONNECTIONS_NOT_LOGGED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeEncryptionKeyNotCustomerManaged = @"SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeExcessiveLoggingOfClientHostname = @"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_CLIENT_HOSTNAME"; @@ -224,11 +226,13 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeServerAuthenticationNotRequired = @"SIGNAL_TYPE_SERVER_AUTHENTICATION_NOT_REQUIRED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeServerCertificateNearExpiry = @"SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeShortBackupRetention = @"SIGNAL_TYPE_SHORT_BACKUP_RETENTION"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeSuperuserWritingToUserTables = @"SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeTmpTablesPerformanceImpact = @"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeTransLogsPerformanceImpact = @"SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeUnderprovisioned = @"SIGNAL_TYPE_UNDERPROVISIONED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeUnencryptedConnections = @"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeUnspecified = @"SIGNAL_TYPE_UNSPECIFIED"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeUserGrantedAllPermissions = @"SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeUserOptionsConfigured = @"SIGNAL_TYPE_USER_OPTIONS_CONFIGURED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeVerboseErrorLogging = @"SIGNAL_TYPE_VERBOSE_ERROR_LOGGING"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeViolatePolicyRestrictPublicIp = @"SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP"; @@ -299,6 +303,8 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeConnectionsPerformanceImpact = @"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeDatabaseAuditingDisabled = @"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeDatabaseNamesExposed = @"SIGNAL_TYPE_DATABASE_NAMES_EXPOSED"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeDataExportToExternalCloudStorageBucket = @"SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeDataExportToPublicCloudStorageBucket = @"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeDisconnectionsNotLogged = @"SIGNAL_TYPE_DISCONNECTIONS_NOT_LOGGED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeEncryptionKeyNotCustomerManaged = @"SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeExcessiveLoggingOfClientHostname = @"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_CLIENT_HOSTNAME"; @@ -344,11 +350,13 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeServerAuthenticationNotRequired = @"SIGNAL_TYPE_SERVER_AUTHENTICATION_NOT_REQUIRED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeServerCertificateNearExpiry = @"SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeShortBackupRetention = @"SIGNAL_TYPE_SHORT_BACKUP_RETENTION"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeSuperuserWritingToUserTables = @"SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeTmpTablesPerformanceImpact = @"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeTransLogsPerformanceImpact = @"SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeUnderprovisioned = @"SIGNAL_TYPE_UNDERPROVISIONED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeUnencryptedConnections = @"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeUnspecified = @"SIGNAL_TYPE_UNSPECIFIED"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeUserGrantedAllPermissions = @"SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeUserOptionsConfigured = @"SIGNAL_TYPE_USER_OPTIONS_CONFIGURED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeVerboseErrorLogging = @"SIGNAL_TYPE_VERBOSE_ERROR_LOGGING"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatePolicyRestrictPublicIp = @"SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP"; @@ -371,6 +379,10 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainEntitlement_Type_EntitlementTypeUnspecified = @"ENTITLEMENT_TYPE_UNSPECIFIED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainEntitlement_Type_Gemini = @"GEMINI"; +// GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainObservabilityMetricData.metricType +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainObservabilityMetricData_MetricType_InstancePeakCpuUtilisation = @"INSTANCE_PEAK_CPU_UTILISATION"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainObservabilityMetricData_MetricType_MetricTypeUnspecified = @"METRIC_TYPE_UNSPECIFIED"; + // GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainOperationError.errorType NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainOperationError_ErrorType_CancellationError = @"CANCELLATION_ERROR"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainOperationError_ErrorType_DatabaseError = @"DATABASE_ERROR"; @@ -1411,8 +1423,9 @@ @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatab // @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed -@dynamic feedTimestamp, feedType, recommendationSignalData, - resourceHealthSignalData, resourceId, resourceMetadata; +@dynamic feedTimestamp, feedType, observabilityMetricData, + recommendationSignalData, resourceHealthSignalData, resourceId, + resourceMetadata; @end @@ -1472,9 +1485,9 @@ @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatab @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata @dynamic availabilityConfiguration, backupConfiguration, backupRun, creationTime, currentState, customMetadata, entitlements, - expectedState, identifier, instanceType, location, primaryResourceId, - product, resourceContainer, resourceName, updationTime, userLabels, - userLabelSet; + expectedState, identifier, instanceType, location, + machineConfiguration, primaryResourceId, product, resourceContainer, + resourceName, updationTime, userLabels, userLabelSet; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -1539,6 +1552,26 @@ @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainEntit @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainMachineConfiguration +// + +@implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainMachineConfiguration +@dynamic cpuCount, memorySizeInBytes; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainObservabilityMetricData +// + +@implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainObservabilityMetricData +@dynamic metricTimestamp, metricType, resourceName, value; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainOperationError diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h index 567365552..42af2f3bc 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h @@ -85,6 +85,8 @@ @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_AdditionalMetadata; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainEntitlement; +@class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainMachineConfiguration; +@class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainObservabilityMetricData; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainOperationError; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainRetentionSettings; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainUserLabels; @@ -889,6 +891,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_DATABASE_NAMES_EXPOSED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeDatabaseNamesExposed; +/** + * Detects if database instance data exported to a Cloud Storage bucket outside + * of the organization. + * + * Value: "SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeDataExportToExternalCloudStorageBucket; +/** + * Detects if database instance data exported to a Cloud Storage bucket that is + * owned by the organization and is publicly accessible. + * + * Value: "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeDataExportToPublicCloudStorageBucket; /** * Represents if the log_disconnections database flag for a Cloud SQL for * PostgreSQL instance is not set to on. @@ -1187,6 +1203,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_SHORT_BACKUP_RETENTION" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeShortBackupRetention; +/** + * Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers + * or root for MySQL users) writes to non-system tables. + * + * Value: "SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeSuperuserWritingToUserTables; /** * Performance impact of temporary tables settings * @@ -1218,6 +1241,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeUnspecified; +/** + * Detects events where a database user or role has been granted all privileges + * to a database, or to all tables, procedures, or functions in a schema. + * + * Value: "SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeUserGrantedAllPermissions; /** * Represents if the user options database flag for Cloud SQL SQL Server * instance is configured or not. @@ -1582,6 +1612,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_DATABASE_NAMES_EXPOSED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeDatabaseNamesExposed; +/** + * Detects if database instance data exported to a Cloud Storage bucket outside + * of the organization. + * + * Value: "SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeDataExportToExternalCloudStorageBucket; +/** + * Detects if database instance data exported to a Cloud Storage bucket that is + * owned by the organization and is publicly accessible. + * + * Value: "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeDataExportToPublicCloudStorageBucket; /** * Represents if the log_disconnections database flag for a Cloud SQL for * PostgreSQL instance is not set to on. @@ -1880,6 +1924,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_SHORT_BACKUP_RETENTION" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeShortBackupRetention; +/** + * Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers + * or root for MySQL users) writes to non-system tables. + * + * Value: "SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeSuperuserWritingToUserTables; /** * Performance impact of temporary tables settings * @@ -1911,6 +1962,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeUnspecified; +/** + * Detects events where a database user or role has been granted all privileges + * to a database, or to all tables, procedures, or functions in a schema. + * + * Value: "SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeUserGrantedAllPermissions; /** * Represents if the user options database flag for Cloud SQL SQL Server * instance is configured or not. @@ -2019,6 +2077,21 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainEntitlement_Type_Gemini; +// ---------------------------------------------------------------------------- +// GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainObservabilityMetricData.metricType + +/** + * Peak CPU utilization for a DB instance as a fraction between 0.0 and 1.0 + * (may momentarily exceed 1.0 in some cases) List will keep increasing, e.g. + * PEAK_MEMORY_UTILISATION, NUMBER_OF_CONNECTIONS, SUCCESS_RATIO_FOR_QUERIES, + * etc. + * + * Value: "INSTANCE_PEAK_CPU_UTILISATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainObservabilityMetricData_MetricType_InstancePeakCpuUtilisation; +/** Value: "METRIC_TYPE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainObservabilityMetricData_MetricType_MetricTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainOperationError.errorType @@ -4685,8 +4758,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW @property(nonatomic, copy, nullable) NSString *feedType; /** More feed data would be added in subsequent CLs */ -@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData *recommendationSignalData; +@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainObservabilityMetricData *observabilityMetricData; +@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData *recommendationSignalData; @property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData *resourceHealthSignalData; /** @@ -4838,6 +4912,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * Represents if the skip_show_database database flag for a Cloud SQL for * MySQL instance is not set to on. (Value: * "SIGNAL_TYPE_DATABASE_NAMES_EXPOSED") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeDataExportToExternalCloudStorageBucket + * Detects if database instance data exported to a Cloud Storage bucket + * outside of the organization. (Value: + * "SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeDataExportToPublicCloudStorageBucket + * Detects if database instance data exported to a Cloud Storage bucket + * that is owned by the organization and is publicly accessible. (Value: + * "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeDisconnectionsNotLogged * Represents if the log_disconnections database flag for a Cloud SQL for * PostgreSQL instance is not set to on. (Value: @@ -4997,6 +5079,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeShortBackupRetention * Represents if a resources has a short backup retention period. (Value: * "SIGNAL_TYPE_SHORT_BACKUP_RETENTION") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeSuperuserWritingToUserTables + * Detects events where a Cloud SQL superuser (postgres for PostgreSQL + * servers or root for MySQL users) writes to non-system tables. (Value: + * "SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeTmpTablesPerformanceImpact * Performance impact of temporary tables settings (Value: * "SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT") @@ -5011,6 +5097,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * or not. (Value: "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeUnspecified * Unspecified. (Value: "SIGNAL_TYPE_UNSPECIFIED") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeUserGrantedAllPermissions + * Detects events where a database user or role has been granted all + * privileges to a database, or to all tables, procedures, or functions + * in a schema. (Value: "SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeUserOptionsConfigured * Represents if the user options database flag for Cloud SQL SQL Server * instance is configured or not. (Value: @@ -5247,6 +5337,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW /** The resource location. REQUIRED */ @property(nonatomic, copy, nullable) NSString *location; +/** Machine configuration for this resource. */ +@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainMachineConfiguration *machineConfiguration; + /** * Identifier for this resource's immediate parent/primary resource if the * current resource is a replica or derived form of another Database resource. @@ -5398,6 +5491,14 @@ GTLR_DEPRECATED * Represents if the skip_show_database database flag for a Cloud SQL for * MySQL instance is not set to on. (Value: * "SIGNAL_TYPE_DATABASE_NAMES_EXPOSED") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeDataExportToExternalCloudStorageBucket + * Detects if database instance data exported to a Cloud Storage bucket + * outside of the organization. (Value: + * "SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeDataExportToPublicCloudStorageBucket + * Detects if database instance data exported to a Cloud Storage bucket + * that is owned by the organization and is publicly accessible. (Value: + * "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeDisconnectionsNotLogged * Represents if the log_disconnections database flag for a Cloud SQL for * PostgreSQL instance is not set to on. (Value: @@ -5557,6 +5658,10 @@ GTLR_DEPRECATED * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeShortBackupRetention * Represents if a resources has a short backup retention period. (Value: * "SIGNAL_TYPE_SHORT_BACKUP_RETENTION") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeSuperuserWritingToUserTables + * Detects events where a Cloud SQL superuser (postgres for PostgreSQL + * servers or root for MySQL users) writes to non-system tables. (Value: + * "SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeTmpTablesPerformanceImpact * Performance impact of temporary tables settings (Value: * "SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT") @@ -5571,6 +5676,10 @@ GTLR_DEPRECATED * or not. (Value: "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeUnspecified * Unspecified. (Value: "SIGNAL_TYPE_UNSPECIFIED") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeUserGrantedAllPermissions + * Detects events where a database user or role has been granted all + * privileges to a database, or to all tables, procedures, or functions + * in a schema. (Value: "SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeUserOptionsConfigured * Represents if the user options database flag for Cloud SQL SQL Server * instance is configured or not. (Value: @@ -5665,6 +5774,68 @@ GTLR_DEPRECATED @end +/** + * MachineConfiguration describes the configuration of a machine specific to + * Database Resource. + */ +@interface GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainMachineConfiguration : GTLRObject + +/** + * The number of CPUs. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *cpuCount; + +/** + * Memory size in bytes. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *memorySizeInBytes; + +@end + + +/** + * GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainObservabilityMetricData + */ +@interface GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainObservabilityMetricData : GTLRObject + +/** Required. The timestamp of the metric value. */ +@property(nonatomic, strong, nullable) GTLRDateTime *metricTimestamp; + +/** + * Required. Type of metric like CPU, Memory, etc. + * + * Likely values: + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainObservabilityMetricData_MetricType_InstancePeakCpuUtilisation + * Peak CPU utilization for a DB instance as a fraction between 0.0 and + * 1.0 (may momentarily exceed 1.0 in some cases) List will keep + * increasing, e.g. PEAK_MEMORY_UTILISATION, NUMBER_OF_CONNECTIONS, + * SUCCESS_RATIO_FOR_QUERIES, etc. (Value: + * "INSTANCE_PEAK_CPU_UTILISATION") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainObservabilityMetricData_MetricType_MetricTypeUnspecified + * Value "METRIC_TYPE_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *metricType; + +/** + * Required. Database resource name associated with the signal. Resource name + * to follow CAIS resource_name format as noted here go/condor-common-datamodel + */ +@property(nonatomic, copy, nullable) NSString *resourceName; + +/** + * Required. Value of the metric type. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *value; + +@end + + /** * An error that occurred during a backup creation operation. */ diff --git a/Sources/GeneratedServices/CloudBatch/GTLRCloudBatchObjects.m b/Sources/GeneratedServices/CloudBatch/GTLRCloudBatchObjects.m index 820754347..b2d91ad04 100644 --- a/Sources/GeneratedServices/CloudBatch/GTLRCloudBatchObjects.m +++ b/Sources/GeneratedServices/CloudBatch/GTLRCloudBatchObjects.m @@ -231,7 +231,8 @@ @implementation GTLRCloudBatch_AgentKMSEnvMap @implementation GTLRCloudBatch_AgentMetadata @dynamic creationTime, creator, imageVersion, instance, instanceId, - instancePreemptionNoticeReceived, osRelease, version, zoneProperty; + instancePreemptionNoticeReceived, machineType, osRelease, version, + zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"zoneProperty" : @"zone" }; diff --git a/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h b/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h index 4a1bd3a5b..526afd44a 100644 --- a/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h +++ b/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h @@ -790,6 +790,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_TaskStatus_State_Unexecuted; */ @property(nonatomic, strong, nullable) NSNumber *instancePreemptionNoticeReceived; +/** Optional. machine type of the VM */ +@property(nonatomic, copy, nullable) NSString *machineType; + /** parsed contents of /etc/os-release */ @property(nonatomic, strong, nullable) GTLRCloudBatch_AgentMetadata_OsRelease *osRelease; @@ -1001,9 +1004,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_TaskStatus_State_Unexecuted; @property(nonatomic, strong, nullable) GTLRCloudBatch_AgentEnvironment *environment; /** - * Maximum duration the task should run. The task will be killed and marked as - * FAILED if over this limit. The valid value range for max_run_duration in - * seconds is [0, 315576000000.999999999], + * Maximum duration the task should run before being automatically retried (if + * enabled) or automatically failed. Format the value of this field as a time + * limit in seconds followed by `s`—for example, `3600s` for 1 hour. The field + * accepts any value between 0 and the maximum listed for the `Duration` field + * type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration; + * however, the actual maximum run time for a job will be limited to the + * maximum run time for a job listed at + * https://cloud.google.com/batch/quotas#max-job-duration. */ @property(nonatomic, strong, nullable) GTLRDuration *maxRunDuration; @@ -1558,12 +1566,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_TaskStatus_State_Unexecuted; @interface GTLRCloudBatch_InstancePolicyOrTemplate : GTLRObject /** - * Set this field true if users want Batch to help fetch drivers from a third - * party location and install them for GPUs specified in policy.accelerators or - * instance_template on their behalf. Default is false. For Container-Optimized - * Image cases, Batch will install the accelerator driver following milestones - * of https://cloud.google.com/container-optimized-os/docs/release-notes. For - * non Container-Optimized Image cases, following + * Set this field true if you want Batch to help fetch drivers from a third + * party location and install them for GPUs specified in `policy.accelerators` + * or `instance_template` on your behalf. Default is false. For + * Container-Optimized Image cases, Batch will install the accelerator driver + * following milestones of + * https://cloud.google.com/container-optimized-os/docs/release-notes. For non + * Container-Optimized Image cases, following * https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py. * * Uses NSNumber of boolValue. @@ -2602,13 +2611,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_TaskStatus_State_Unexecuted; /** * The exit code of a finished task. If the task succeeded, the exit code will * be 0. If the task failed but not due to the following reasons, the exit code - * will be 50000. Otherwise, it can be from different sources: - Batch known - * failures as - * https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. - - * Batch runnable execution failures: You can rely on Batch logs for further + * will be 50000. Otherwise, it can be from different sources: * Batch known + * failures: + * https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. * + * Batch runnable execution failures; you can rely on Batch logs to further * diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If - * there are multiple runnables failures, Batch only exposes the first error - * caught for now. + * there are multiple runnables failures, Batch only exposes the first error. * * Uses NSNumber of intValue. */ @@ -2780,9 +2788,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_TaskStatus_State_Unexecuted; @property(nonatomic, strong, nullable) NSNumber *maxRetryCount; /** - * Maximum duration the task should run. The task will be killed and marked as - * FAILED if over this limit. The valid value range for max_run_duration in - * seconds is [0, 315576000000.999999999], + * Maximum duration the task should run before being automatically retried (if + * enabled) or automatically failed. Format the value of this field as a time + * limit in seconds followed by `s`—for example, `3600s` for 1 hour. The field + * accepts any value between 0 and the maximum listed for the `Duration` field + * type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration; + * however, the actual maximum run time for a job will be limited to the + * maximum run time for a job listed at + * https://cloud.google.com/batch/quotas#max-job-duration. */ @property(nonatomic, strong, nullable) GTLRDuration *maxRunDuration; diff --git a/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildObjects.h b/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildObjects.h index 3e77ee549..f1ee50c6a 100644 --- a/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildObjects.h +++ b/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildObjects.h @@ -931,7 +931,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper */ @interface GTLRCloudBuild_Connection : GTLRObject -/** Allows clients to store small amounts of arbitrary data. */ +/** Optional. Allows clients to store small amounts of arbitrary data. */ @property(nonatomic, strong, nullable) GTLRCloudBuild_Connection_Annotations *annotations; /** Configuration for connections to Bitbucket Cloud. */ @@ -946,9 +946,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * If disabled is set to true, functionality is disabled for this connection. - * Repository based API methods and webhooks processing for repositories in - * this connection will be disabled. + * Optional. If disabled is set to true, functionality is disabled for this + * connection. Repository based API methods and webhooks processing for + * repositories in this connection will be disabled. * * Uses NSNumber of boolValue. */ @@ -999,7 +999,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper /** - * Allows clients to store small amounts of arbitrary data. + * Optional. Allows clients to store small amounts of arbitrary data. * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list @@ -1245,16 +1245,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper @interface GTLRCloudBuild_GitHubConfig : GTLRObject /** - * GitHub App installation id. + * Optional. GitHub App installation id. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *appInstallationId; /** - * OAuth credential of the account that authorized the Cloud Build GitHub App. - * It is recommended to use a robot account instead of a human user account. - * The OAuth token must be tied to the Cloud Build GitHub App. + * Optional. OAuth credential of the account that authorized the Cloud Build + * GitHub App. It is recommended to use a robot account instead of a human user + * account. The OAuth token must be tied to the Cloud Build GitHub App. */ @property(nonatomic, strong, nullable) GTLRCloudBuild_OAuthCredential *authorizerCredential; @@ -1320,28 +1320,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper @property(nonatomic, copy, nullable) NSString *apiKey; /** - * Id of the GitHub App created from the manifest. + * Optional. Id of the GitHub App created from the manifest. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *appId; /** - * ID of the installation of the GitHub App. + * Optional. ID of the installation of the GitHub App. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *appInstallationId; -/** The URL-friendly name of the GitHub App. */ +/** Optional. The URL-friendly name of the GitHub App. */ @property(nonatomic, copy, nullable) NSString *appSlug; /** Required. The URI of the GitHub Enterprise host this connection is for. */ @property(nonatomic, copy, nullable) NSString *hostUri; /** - * SecretManager resource containing the private key of the GitHub App, - * formatted as `projects/ * /secrets/ * /versions/ *`. + * Optional. SecretManager resource containing the private key of the GitHub + * App, formatted as `projects/ * /secrets/ * /versions/ *`. */ @property(nonatomic, copy, nullable) NSString *privateKeySecretVersion; @@ -1349,20 +1349,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper @property(nonatomic, copy, nullable) NSString *serverVersion; /** - * Configuration for using Service Directory to privately connect to a GitHub - * Enterprise server. This should only be set if the GitHub Enterprise server - * is hosted on-premises and not reachable by public internet. If this field is - * left empty, calls to the GitHub Enterprise server will be made over the - * public internet. + * Optional. Configuration for using Service Directory to privately connect to + * a GitHub Enterprise server. This should only be set if the GitHub Enterprise + * server is hosted on-premises and not reachable by public internet. If this + * field is left empty, calls to the GitHub Enterprise server will be made over + * the public internet. */ @property(nonatomic, strong, nullable) GTLRCloudBuild_GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig *serviceDirectoryConfig; -/** SSL certificate to use for requests to GitHub Enterprise. */ +/** Optional. SSL certificate to use for requests to GitHub Enterprise. */ @property(nonatomic, copy, nullable) NSString *sslCa; /** - * SecretManager resource containing the webhook secret of the GitHub App, - * formatted as `projects/ * /secrets/ * /versions/ *`. + * Optional. SecretManager resource containing the webhook secret of the GitHub + * App, formatted as `projects/ * /secrets/ * /versions/ *`. */ @property(nonatomic, copy, nullable) NSString *webhookSecretSecretVersion; @@ -1379,8 +1379,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper @property(nonatomic, strong, nullable) GTLRCloudBuild_UserCredential *authorizerCredential; /** - * The URI of the GitLab Enterprise host this connection is for. If not - * specified, the default value is https://gitlab.com. + * Optional. The URI of the GitLab Enterprise host this connection is for. If + * not specified, the default value is https://gitlab.com. */ @property(nonatomic, copy, nullable) NSString *hostUri; @@ -1397,15 +1397,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper @property(nonatomic, copy, nullable) NSString *serverVersion; /** - * Configuration for using Service Directory to privately connect to a GitLab - * Enterprise server. This should only be set if the GitLab Enterprise server - * is hosted on-premises and not reachable by public internet. If this field is - * left empty, calls to the GitLab Enterprise server will be made over the - * public internet. + * Optional. Configuration for using Service Directory to privately connect to + * a GitLab Enterprise server. This should only be set if the GitLab Enterprise + * server is hosted on-premises and not reachable by public internet. If this + * field is left empty, calls to the GitLab Enterprise server will be made over + * the public internet. */ @property(nonatomic, strong, nullable) GTLRCloudBuild_GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig *serviceDirectoryConfig; -/** SSL certificate to use for requests to GitLab Enterprise. */ +/** Optional. SSL certificate to use for requests to GitLab Enterprise. */ @property(nonatomic, copy, nullable) NSString *sslCa; /** @@ -1708,8 +1708,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper @interface GTLRCloudBuild_OAuthCredential : GTLRObject /** - * A SecretManager resource containing the OAuth token that authorizes the - * Cloud Build connection. Format: `projects/ * /secrets/ * /versions/ *`. + * Optional. A SecretManager resource containing the OAuth token that + * authorizes the Cloud Build connection. Format: `projects/ * /secrets/ * + * /versions/ *`. */ @property(nonatomic, copy, nullable) NSString *oauthTokenSecretVersion; @@ -2471,7 +2472,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper */ @interface GTLRCloudBuild_Repository : GTLRObject -/** Allows clients to store small amounts of arbitrary data. */ +/** Optional. Allows clients to store small amounts of arbitrary data. */ @property(nonatomic, strong, nullable) GTLRCloudBuild_Repository_Annotations *annotations; /** @@ -2507,7 +2508,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper /** - * Allows clients to store small amounts of arbitrary data. + * Optional. Allows clients to store small amounts of arbitrary data. * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list diff --git a/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerObjects.m b/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerObjects.m index 67149882f..5cd063350 100644 --- a/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerObjects.m +++ b/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerObjects.m @@ -119,6 +119,16 @@ @implementation GTLRCloudComposer_AllowedIpRange @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudComposer_CheckUpgradeRequest +// + +@implementation GTLRCloudComposer_CheckUpgradeRequest +@dynamic imageVersion; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudComposer_CheckUpgradeResponse diff --git a/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerQuery.m b/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerQuery.m index 2d283eb54..d9dd709c5 100644 --- a/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerQuery.m +++ b/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerQuery.m @@ -16,6 +16,33 @@ @implementation GTLRCloudComposerQuery @end +@implementation GTLRCloudComposerQuery_ProjectsLocationsEnvironmentsCheckUpgrade + +@dynamic environment; + ++ (instancetype)queryWithObject:(GTLRCloudComposer_CheckUpgradeRequest *)object + environment:(NSString *)environment { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"environment" ]; + NSString *pathURITemplate = @"v1/{+environment}:checkUpgrade"; + GTLRCloudComposerQuery_ProjectsLocationsEnvironmentsCheckUpgrade *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.environment = environment; + query.expectedObjectClass = [GTLRCloudComposer_Operation class]; + query.loggingName = @"composer.projects.locations.environments.checkUpgrade"; + return query; +} + +@end + @implementation GTLRCloudComposerQuery_ProjectsLocationsEnvironmentsCreate @dynamic parent; diff --git a/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerObjects.h b/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerObjects.h index 16ec631f9..6357fbbf0 100644 --- a/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerObjects.h +++ b/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerObjects.h @@ -520,6 +520,36 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_TaskLogsRetentionConfig_St @end +/** + * Request to check whether image upgrade will succeed. + */ +@interface GTLRCloudComposer_CheckUpgradeRequest : GTLRObject + +/** + * Optional. The version of the software running in the environment. This + * encapsulates both the version of Cloud Composer functionality and the + * version of Apache Airflow. It must match the regular expression + * `composer-([0-9]+(\\.[0-9]+\\.[0-9]+(-preview\\.[0-9]+)?)?|latest)-airflow-([0-9]+(\\.[0-9]+(\\.[0-9]+)?)?)`. + * When used as input, the server also checks if the provided version is + * supported and denies the request for an unsupported version. The Cloud + * Composer portion of the image version is a full [semantic + * version](https://semver.org), or an alias in the form of major version + * number or `latest`. When an alias is provided, the server replaces it with + * the current Cloud Composer version that satisfies the alias. The Apache + * Airflow portion of the image version is a full semantic version that points + * to one of the supported Apache Airflow versions, or an alias in the form of + * only major or major.minor versions specified. When an alias is provided, the + * server replaces it with the latest Apache Airflow version that satisfies the + * alias and is supported in the given Cloud Composer version. In all cases, + * the resolved image version is stored in the same field. See also [version + * list](/composer/docs/concepts/versioning/composer-versions) and [versioning + * overview](/composer/docs/concepts/versioning/composer-versioning-overview). + */ +@property(nonatomic, copy, nullable) NSString *imageVersion; + +@end + + /** * Message containing information about the result of an upgrade check * operation. diff --git a/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerQuery.h b/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerQuery.h index 3eb91cfdd..c201c070d 100644 --- a/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerQuery.h +++ b/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerQuery.h @@ -33,6 +33,43 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Check if an upgrade operation on the environment will succeed. In case of + * problems detailed info can be found in the returned Operation. + * + * Method: composer.projects.locations.environments.checkUpgrade + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudComposerCloudPlatform + */ +@interface GTLRCloudComposerQuery_ProjectsLocationsEnvironmentsCheckUpgrade : GTLRCloudComposerQuery + +/** + * Required. The resource name of the environment to check upgrade for, in the + * form: + * "projects/{projectId}/locations/{locationId}/environments/{environmentId}" + */ +@property(nonatomic, copy, nullable) NSString *environment; + +/** + * Fetches a @c GTLRCloudComposer_Operation. + * + * Check if an upgrade operation on the environment will succeed. In case of + * problems detailed info can be found in the returned Operation. + * + * @param object The @c GTLRCloudComposer_CheckUpgradeRequest to include in the + * query. + * @param environment Required. The resource name of the environment to check + * upgrade for, in the form: + * "projects/{projectId}/locations/{locationId}/environments/{environmentId}" + * + * @return GTLRCloudComposerQuery_ProjectsLocationsEnvironmentsCheckUpgrade + */ ++ (instancetype)queryWithObject:(GTLRCloudComposer_CheckUpgradeRequest *)object + environment:(NSString *)environment; + +@end + /** * Create a new environment. * diff --git a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m index 5ae11feac..21c00fe28 100644 --- a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m +++ b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m @@ -416,6 +416,10 @@ NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_LogType_DataWrite = @"DATA_WRITE"; NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_LogType_LogTypeUnspecified = @"LOG_TYPE_UNSPECIFIED"; +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" +#pragma clang diagnostic ignored "-Wdeprecated-implementations" + // ---------------------------------------------------------------------------- // // GTLRCloudDataplex_Empty @@ -3581,3 +3585,5 @@ @implementation GTLRCloudDataplex_GoogleTypeExpr } @end + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h index 2079e7373..2ae7808e4 100644 --- a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h +++ b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h @@ -203,6 +203,7 @@ // causing warnings since clang's checks are some what arbitrary. #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdocumentation" +#pragma clang diagnostic ignored "-Wdeprecated-declarations" NS_ASSUME_NONNULL_BEGIN @@ -637,29 +638,25 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DataQ // GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityScanRuleResult.ruleType /** - * Please see - * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#nonnullexpectation. + * See DataQualityRule.NonNullExpectation. * * Value: "NON_NULL_EXPECTATION" */ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DataQualityScanRuleResult_RuleType_NonNullExpectation; /** - * Please see - * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rangeexpectation. + * See DataQualityRule.RangeExpectation. * * Value: "RANGE_EXPECTATION" */ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DataQualityScanRuleResult_RuleType_RangeExpectation; /** - * Please see - * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#regexexpectation. + * See DataQualityRule.RegexExpectation. * * Value: "REGEX_EXPECTATION" */ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DataQualityScanRuleResult_RuleType_RegexExpectation; /** - * Please see - * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rowconditionexpectation. + * See DataQualityRule.RowConditionExpectation. * * Value: "ROW_CONDITION_EXPECTATION" */ @@ -671,36 +668,31 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DataQ */ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DataQualityScanRuleResult_RuleType_RuleTypeUnspecified; /** - * Please see - * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#setexpectation. + * See DataQualityRule.SetExpectation. * * Value: "SET_EXPECTATION" */ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DataQualityScanRuleResult_RuleType_SetExpectation; /** - * Please see - * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#sqlAssertion. + * See DataQualityRule.SqlAssertion. * * Value: "SQL_ASSERTION" */ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DataQualityScanRuleResult_RuleType_SqlAssertion; /** - * Please see - * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#statisticrangeexpectation. + * See DataQualityRule.StatisticRangeExpectation. * * Value: "STATISTIC_RANGE_EXPECTATION" */ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DataQualityScanRuleResult_RuleType_StatisticRangeExpectation; /** - * Please see - * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#tableconditionexpectation. + * See DataQualityRule.TableConditionExpectation. * * Value: "TABLE_CONDITION_EXPECTATION" */ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DataQualityScanRuleResult_RuleType_TableConditionExpectation; /** - * Please see - * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#uniquenessexpectation. + * See DataQualityRule.UniquenessExpectation. * * Value: "UNIQUENESS_EXPECTATION" */ @@ -4089,7 +4081,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ /** * Aggregate rule which evaluates the number of rows returned for the provided - * statement. + * statement. If any rows are returned, this rule fails. */ @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityRuleSqlAssertion *sqlAssertion; @@ -4183,8 +4175,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityRuleResult : GTLRObject /** - * Output only. The number of rows returned by the sql statement in the - * SqlAssertion rule.This field is only valid for SqlAssertion rules. + * Output only. The number of rows returned by the SQL statement in a SQL + * assertion rule.This field is only valid for SQL assertion rules. * * Uses NSNumber of longLongValue. */ @@ -4267,12 +4259,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ /** - * Queries for rows returned by the provided SQL statement. If any rows are are - * returned, this rule fails.The SQL statement needs to use BigQuery standard - * SQL syntax, and must not contain any semicolons.${data()} can be used to - * reference the rows being evaluated, i.e. the table after all additional - * filters (row filters, incremental data filters, sampling) are - * applied.Example: SELECT * FROM ${data()} WHERE price < 0 + * A SQL statement that is evaluated to return rows that match an invalid + * state. If any rows are are returned, this rule fails.The SQL statement must + * use BigQuery standard SQL syntax, and must not contain any semicolons.You + * can use the data reference parameter ${data()} to reference the source table + * with all of its precondition filters applied. Examples of precondition + * filters include row filters, incremental data filters, and sampling. For + * more information, see Data reference parameter + * (https://cloud.google.com/dataplex/docs/auto-data-quality-overview#data-reference-parameter).Example: + * SELECT * FROM ${data()} WHERE price < 0 */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityRuleSqlAssertion : GTLRObject @@ -4363,8 +4358,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityScanRuleResult : GTLRObject /** - * The number of rows returned by the sql statement in the SqlAssertion rule. - * This field is only valid for SqlAssertion rules. + * The number of rows returned by the SQL statement in a SQL assertion rule. + * This field is only valid for SQL assertion rules. * * Uses NSNumber of longLongValue. */ @@ -4440,43 +4435,30 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ * * Likely values: * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1DataQualityScanRuleResult_RuleType_NonNullExpectation - * Please see - * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#nonnullexpectation. - * (Value: "NON_NULL_EXPECTATION") + * See DataQualityRule.NonNullExpectation. (Value: + * "NON_NULL_EXPECTATION") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1DataQualityScanRuleResult_RuleType_RangeExpectation - * Please see - * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rangeexpectation. - * (Value: "RANGE_EXPECTATION") + * See DataQualityRule.RangeExpectation. (Value: "RANGE_EXPECTATION") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1DataQualityScanRuleResult_RuleType_RegexExpectation - * Please see - * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#regexexpectation. - * (Value: "REGEX_EXPECTATION") + * See DataQualityRule.RegexExpectation. (Value: "REGEX_EXPECTATION") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1DataQualityScanRuleResult_RuleType_RowConditionExpectation - * Please see - * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rowconditionexpectation. - * (Value: "ROW_CONDITION_EXPECTATION") + * See DataQualityRule.RowConditionExpectation. (Value: + * "ROW_CONDITION_EXPECTATION") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1DataQualityScanRuleResult_RuleType_RuleTypeUnspecified * An unspecified rule type. (Value: "RULE_TYPE_UNSPECIFIED") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1DataQualityScanRuleResult_RuleType_SetExpectation - * Please see - * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#setexpectation. - * (Value: "SET_EXPECTATION") + * See DataQualityRule.SetExpectation. (Value: "SET_EXPECTATION") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1DataQualityScanRuleResult_RuleType_SqlAssertion - * Please see - * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#sqlAssertion. - * (Value: "SQL_ASSERTION") + * See DataQualityRule.SqlAssertion. (Value: "SQL_ASSERTION") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1DataQualityScanRuleResult_RuleType_StatisticRangeExpectation - * Please see - * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#statisticrangeexpectation. - * (Value: "STATISTIC_RANGE_EXPECTATION") + * See DataQualityRule.StatisticRangeExpectation. (Value: + * "STATISTIC_RANGE_EXPECTATION") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1DataQualityScanRuleResult_RuleType_TableConditionExpectation - * Please see - * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#tableconditionexpectation. - * (Value: "TABLE_CONDITION_EXPECTATION") + * See DataQualityRule.TableConditionExpectation. (Value: + * "TABLE_CONDITION_EXPECTATION") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1DataQualityScanRuleResult_RuleType_UniquenessExpectation - * Please see - * https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#uniquenessexpectation. - * (Value: "UNIQUENESS_EXPECTATION") + * See DataQualityRule.UniquenessExpectation. (Value: + * "UNIQUENESS_EXPECTATION") */ @property(nonatomic, copy, nullable) NSString *ruleType; @@ -7627,14 +7609,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1SearchEntriesResult : GTLRObject -/** Entry format of the result. */ @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1Entry *dataplexEntry; /** Linked resource name. */ -@property(nonatomic, copy, nullable) NSString *linkedResource; +@property(nonatomic, copy, nullable) NSString *linkedResource GTLR_DEPRECATED; /** Snippets. */ -@property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1SearchEntriesResultSnippets *snippets; +@property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1SearchEntriesResultSnippets *snippets GTLR_DEPRECATED; @end @@ -7643,10 +7624,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ * Snippets for the entry, contains HTML-style highlighting for matched tokens, * will be used in UI. */ +GTLR_DEPRECATED @interface GTLRCloudDataplex_GoogleCloudDataplexV1SearchEntriesResultSnippets : GTLRObject /** Entry */ -@property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1Entry *dataplexEntry; +@property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1Entry *dataplexEntry GTLR_DEPRECATED; @end diff --git a/Sources/GeneratedServices/CloudDeploy/GTLRCloudDeployObjects.m b/Sources/GeneratedServices/CloudDeploy/GTLRCloudDeployObjects.m index 608108f94..39ddbc7a9 100644 --- a/Sources/GeneratedServices/CloudDeploy/GTLRCloudDeployObjects.m +++ b/Sources/GeneratedServices/CloudDeploy/GTLRCloudDeployObjects.m @@ -1141,7 +1141,7 @@ @implementation GTLRCloudDeploy_Empty @implementation GTLRCloudDeploy_ExecutionConfig @dynamic artifactStorage, defaultPool, executionTimeout, privatePool, - serviceAccount, usages, workerPool; + serviceAccount, usages, verbose, workerPool; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployObjects.h b/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployObjects.h index 49a10fb7e..fcd2b75bd 100644 --- a/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployObjects.h +++ b/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployObjects.h @@ -2089,7 +2089,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @interface GTLRCloudDeploy_AutomationRolloutMetadata : GTLRObject /** - * Output only. The IDs of the AutomationRuns initiated by an advance rollout + * Output only. The names of the AutomationRuns initiated by an advance rollout * rule. */ @property(nonatomic, strong, nullable) NSArray *advanceAutomationRuns; @@ -2098,13 +2098,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve @property(nonatomic, copy, nullable) NSString *currentRepairAutomationRun; /** - * Output only. The ID of the AutomationRun initiated by a promote release + * Output only. The name of the AutomationRun initiated by a promote release * rule. */ @property(nonatomic, copy, nullable) NSString *promoteAutomationRun; /** - * Output only. The IDs of the AutomationRuns initiated by a repair rollout + * Output only. The names of the AutomationRuns initiated by a repair rollout * rule. */ @property(nonatomic, strong, nullable) NSArray *repairAutomationRuns; @@ -3295,6 +3295,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_VerifyJobRun_FailureCause_Ve /** Required. Usages when this configuration should be applied. */ @property(nonatomic, strong, nullable) NSArray *usages; +/** + * Optional. If true, additional logging will be enabled when running builds in + * this execution environment. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *verbose; + /** * Optional. The resource name of the `WorkerPool`, with the format * `projects/{project}/locations/{location}/workerPools/{worker_pool}`. If this diff --git a/Sources/GeneratedServices/CloudDomains/Public/GoogleAPIClientForREST/GTLRCloudDomainsObjects.h b/Sources/GeneratedServices/CloudDomains/Public/GoogleAPIClientForREST/GTLRCloudDomainsObjects.h index 6090975d5..9d2267350 100644 --- a/Sources/GeneratedServices/CloudDomains/Public/GoogleAPIClientForREST/GTLRCloudDomainsObjects.h +++ b/Sources/GeneratedServices/CloudDomains/Public/GoogleAPIClientForREST/GTLRCloudDomainsObjects.h @@ -1774,7 +1774,8 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *renewalMethod; /** - * Controls whether the domain can be transferred to another registrar. + * This is the desired transfer lock state for this `Registration`. A transfer + * lock controls whether the domain can be transferred to another registrar. * * Likely values: * @arg @c kGTLRCloudDomains_ManagementSettings_TransferLockState_Locked The diff --git a/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m b/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m index 33192ab0f..d252383ed 100644 --- a/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m +++ b/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m @@ -94,6 +94,22 @@ NSString * const kGTLRCloudFilestore_NfsExportOptions_SquashMode_RootSquash = @"ROOT_SQUASH"; NSString * const kGTLRCloudFilestore_NfsExportOptions_SquashMode_SquashModeUnspecified = @"SQUASH_MODE_UNSPECIFIED"; +// GTLRCloudFilestore_ReplicaConfig.state +NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Creating = @"CREATING"; +NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Failed = @"FAILED"; +NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Ready = @"READY"; +NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Removing = @"REMOVING"; +NSString * const kGTLRCloudFilestore_ReplicaConfig_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRCloudFilestore_ReplicaConfig.stateReasons +NSString * const kGTLRCloudFilestore_ReplicaConfig_StateReasons_PeerInstanceUnreachable = @"PEER_INSTANCE_UNREACHABLE"; +NSString * const kGTLRCloudFilestore_ReplicaConfig_StateReasons_StateReasonUnspecified = @"STATE_REASON_UNSPECIFIED"; + +// GTLRCloudFilestore_Replication.role +NSString * const kGTLRCloudFilestore_Replication_Role_Active = @"ACTIVE"; +NSString * const kGTLRCloudFilestore_Replication_Role_RoleUnspecified = @"ROLE_UNSPECIFIED"; +NSString * const kGTLRCloudFilestore_Replication_Role_Standby = @"STANDBY"; + // GTLRCloudFilestore_Schedule.day NSString * const kGTLRCloudFilestore_Schedule_Day_DayOfWeekUnspecified = @"DAY_OF_WEEK_UNSPECIFIED"; NSString * const kGTLRCloudFilestore_Schedule_Day_Friday = @"FRIDAY"; @@ -453,8 +469,8 @@ @implementation GTLRCloudFilestore_GoogleCloudSaasacceleratorManagementProviders @implementation GTLRCloudFilestore_Instance @dynamic createTime, descriptionProperty, ETag, fileShares, kmsKeyName, labels, - name, networks, satisfiesPzi, satisfiesPzs, state, statusMessage, - suspensionReasons, tier; + name, networks, replication, satisfiesPzi, satisfiesPzs, state, + statusMessage, suspensionReasons, tier; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -766,6 +782,42 @@ @implementation GTLRCloudFilestore_OperationMetadata @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudFilestore_ReplicaConfig +// + +@implementation GTLRCloudFilestore_ReplicaConfig +@dynamic lastActiveSyncTime, peerInstance, state, stateReasons; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"stateReasons" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudFilestore_Replication +// + +@implementation GTLRCloudFilestore_Replication +@dynamic replicas, role; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"replicas" : [GTLRCloudFilestore_ReplicaConfig class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudFilestore_RestoreInstanceRequest diff --git a/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h b/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h index 3b00be261..9904489db 100644 --- a/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h +++ b/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h @@ -50,6 +50,8 @@ @class GTLRCloudFilestore_Operation; @class GTLRCloudFilestore_Operation_Metadata; @class GTLRCloudFilestore_Operation_Response; +@class GTLRCloudFilestore_ReplicaConfig; +@class GTLRCloudFilestore_Replication; @class GTLRCloudFilestore_Schedule; @class GTLRCloudFilestore_Snapshot; @class GTLRCloudFilestore_Snapshot_Labels; @@ -481,6 +483,81 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_NfsExportOptions_SquashMo */ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_NfsExportOptions_SquashMode_SquashModeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRCloudFilestore_ReplicaConfig.state + +/** + * The replica is being created. + * + * Value: "CREATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Creating; +/** + * The replica is experiencing an issue and might be unusable. You can get + * further details from the `stateReasons` field of the `ReplicaConfig` object. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Failed; +/** + * The replica is ready. + * + * Value: "READY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Ready; +/** + * The replica is being removed. + * + * Value: "REMOVING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Removing; +/** + * State not set. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCloudFilestore_ReplicaConfig.stateReasons + +/** + * The peer instance is unreachable. + * + * Value: "PEER_INSTANCE_UNREACHABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_StateReasons_PeerInstanceUnreachable; +/** + * Reason not specified. + * + * Value: "STATE_REASON_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_StateReasons_StateReasonUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCloudFilestore_Replication.role + +/** + * The instance is a Active replication member, functions as the replication + * source instance. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_Replication_Role_Active; +/** + * Role not set. + * + * Value: "ROLE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_Replication_Role_RoleUnspecified; +/** + * The instance is a Standby replication member, functions as the replication + * destination instance. + * + * Value: "STANDBY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_Replication_Role_Standby; + // ---------------------------------------------------------------------------- // GTLRCloudFilestore_Schedule.day @@ -1438,6 +1515,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week */ @property(nonatomic, strong, nullable) NSArray *networks; +/** Optional. Replicaition configuration. */ +@property(nonatomic, strong, nullable) GTLRCloudFilestore_Replication *replication; + /** * Output only. Reserved for future use. * @@ -2081,6 +2161,77 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week @end +/** + * Replica configuration for the instance. + */ +@interface GTLRCloudFilestore_ReplicaConfig : GTLRObject + +/** + * Output only. The timestamp of the latest replication snapshot taken on the + * active instance and is already replicated safely. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastActiveSyncTime; + +/** Optional. The peer instance. */ +@property(nonatomic, copy, nullable) NSString *peerInstance; + +/** + * Output only. The replica state. + * + * Likely values: + * @arg @c kGTLRCloudFilestore_ReplicaConfig_State_Creating The replica is + * being created. (Value: "CREATING") + * @arg @c kGTLRCloudFilestore_ReplicaConfig_State_Failed The replica is + * experiencing an issue and might be unusable. You can get further + * details from the `stateReasons` field of the `ReplicaConfig` object. + * (Value: "FAILED") + * @arg @c kGTLRCloudFilestore_ReplicaConfig_State_Ready The replica is + * ready. (Value: "READY") + * @arg @c kGTLRCloudFilestore_ReplicaConfig_State_Removing The replica is + * being removed. (Value: "REMOVING") + * @arg @c kGTLRCloudFilestore_ReplicaConfig_State_StateUnspecified State not + * set. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Output only. Additional information about the replication state, if + * available. + */ +@property(nonatomic, strong, nullable) NSArray *stateReasons; + +@end + + +/** + * Replication specifications. + */ +@interface GTLRCloudFilestore_Replication : GTLRObject + +/** + * Optional. Replicas configuration on the instance. For now, only a single + * replica config is supported. + */ +@property(nonatomic, strong, nullable) NSArray *replicas; + +/** + * Optional. The replication role. + * + * Likely values: + * @arg @c kGTLRCloudFilestore_Replication_Role_Active The instance is a + * Active replication member, functions as the replication source + * instance. (Value: "ACTIVE") + * @arg @c kGTLRCloudFilestore_Replication_Role_RoleUnspecified Role not set. + * (Value: "ROLE_UNSPECIFIED") + * @arg @c kGTLRCloudFilestore_Replication_Role_Standby The instance is a + * Standby replication member, functions as the replication destination + * instance. (Value: "STANDBY") + */ +@property(nonatomic, copy, nullable) NSString *role; + +@end + + /** * RestoreInstanceRequest restores an existing instance's file share from a * backup. diff --git a/Sources/GeneratedServices/CloudFunctions/GTLRCloudFunctionsObjects.m b/Sources/GeneratedServices/CloudFunctions/GTLRCloudFunctionsObjects.m index 7bd2b64fd..0bb2810d4 100644 --- a/Sources/GeneratedServices/CloudFunctions/GTLRCloudFunctionsObjects.m +++ b/Sources/GeneratedServices/CloudFunctions/GTLRCloudFunctionsObjects.m @@ -997,10 +997,10 @@ @implementation GTLRCloudFunctions_SecretVolume @implementation GTLRCloudFunctions_ServiceConfig @dynamic allTrafficOnLatestRevision, availableCpu, availableMemory, - environmentVariables, ingressSettings, maxInstanceCount, - maxInstanceRequestConcurrency, minInstanceCount, revision, - secretEnvironmentVariables, secretVolumes, securityLevel, service, - serviceAccountEmail, timeoutSeconds, uri, vpcConnector, + binaryAuthorizationPolicy, environmentVariables, ingressSettings, + maxInstanceCount, maxInstanceRequestConcurrency, minInstanceCount, + revision, secretEnvironmentVariables, secretVolumes, securityLevel, + service, serviceAccountEmail, timeoutSeconds, uri, vpcConnector, vpcConnectorEgressSettings; + (NSDictionary *)arrayPropertyToClassMap { @@ -1105,7 +1105,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRCloudFunctions_StorageSource -@dynamic bucket, generation, object; +@dynamic bucket, generation, object, sourceUploadUrl; @end diff --git a/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsObjects.h b/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsObjects.h index b6bff7d96..1adc0c12f 100644 --- a/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsObjects.h +++ b/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsObjects.h @@ -2899,6 +2899,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_ */ @property(nonatomic, copy, nullable) NSString *availableMemory; +/** + * Optional. The binary authorization policy to be checked when deploying the + * Cloud Run service. + */ +@property(nonatomic, copy, nullable) NSString *binaryAuthorizationPolicy; + /** * Environment variables that shall be available during function execution. */ @@ -3198,6 +3204,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_ */ @property(nonatomic, copy, nullable) NSString *object; +/** + * When the specified storage bucket is a 1st gen function uploard url bucket, + * this field should be set as the generated upload url for 1st gen deployment. + */ +@property(nonatomic, copy, nullable) NSString *sourceUploadUrl; + @end diff --git a/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPObjects.h b/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPObjects.h index 479adda89..59aa31bf7 100644 --- a/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPObjects.h +++ b/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPObjects.h @@ -187,13 +187,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic */ @interface GTLRCloudIAP_AccessSettings : GTLRObject -/** Settings to configure and enable allowed domains. */ +/** Optional. Settings to configure and enable allowed domains. */ @property(nonatomic, strong, nullable) GTLRCloudIAP_AllowedDomainsSettings *allowedDomainsSettings; -/** Configuration to allow cross-origin requests via IAP. */ +/** Optional. Configuration to allow cross-origin requests via IAP. */ @property(nonatomic, strong, nullable) GTLRCloudIAP_CorsSettings *corsSettings; -/** GCIP claims and endpoint configurations for 3p identity providers. */ +/** + * Optional. GCIP claims and endpoint configurations for 3p identity providers. + */ @property(nonatomic, strong, nullable) GTLRCloudIAP_GcipSettings *gcipSettings; /** @@ -202,16 +204,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic */ @property(nonatomic, strong, nullable) NSArray *identitySources; -/** Settings to configure IAP's OAuth behavior. */ +/** Optional. Settings to configure IAP's OAuth behavior. */ @property(nonatomic, strong, nullable) GTLRCloudIAP_OAuthSettings *oauthSettings; /** - * Settings to configure Policy delegation for apps hosted in tenant projects. - * INTERNAL_ONLY. + * Optional. Settings to configure Policy delegation for apps hosted in tenant + * projects. INTERNAL_ONLY. */ @property(nonatomic, strong, nullable) GTLRCloudIAP_PolicyDelegationSettings *policyDelegationSettings; -/** Settings to configure reauthentication policies in IAP. */ +/** Optional. Settings to configure reauthentication policies in IAP. */ @property(nonatomic, strong, nullable) GTLRCloudIAP_ReauthSettings *reauthSettings; /** @@ -229,11 +231,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic */ @interface GTLRCloudIAP_AllowedDomainsSettings : GTLRObject -/** List of trusted domains. */ +/** Optional. List of trusted domains. */ @property(nonatomic, strong, nullable) NSArray *domains; /** - * Configuration for customers to opt in for the feature. + * Optional. Configuration for customers to opt in for the feature. * * Uses NSNumber of boolValue. */ @@ -247,10 +249,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic */ @interface GTLRCloudIAP_ApplicationSettings : GTLRObject -/** Customization for Access Denied page. */ +/** Optional. Customization for Access Denied page. */ @property(nonatomic, strong, nullable) GTLRCloudIAP_AccessDeniedPageSettings *accessDeniedPageSettings; -/** Settings to configure attribute propagation. */ +/** Optional. Settings to configure attribute propagation. */ @property(nonatomic, strong, nullable) GTLRCloudIAP_AttributePropagationSettings *attributePropagationSettings; /** @@ -259,7 +261,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic */ @property(nonatomic, copy, nullable) NSString *cookieDomain; -/** Settings to configure IAP's behavior for a service mesh. */ +/** Optional. Settings to configure IAP's behavior for a service mesh. */ @property(nonatomic, strong, nullable) GTLRCloudIAP_CsmSettings *csmSettings; @end @@ -271,18 +273,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic @interface GTLRCloudIAP_AttributePropagationSettings : GTLRObject /** - * Whether the provided attribute propagation settings should be evaluated on - * user requests. If set to true, attributes returned from the expression will - * be propagated in the set output credentials. + * Optional. Whether the provided attribute propagation settings should be + * evaluated on user requests. If set to true, attributes returned from the + * expression will be propagated in the set output credentials. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *enable; /** - * Raw string CEL expression. Must return a list of attributes. A maximum of 45 - * attributes can be selected. Expressions can select different attribute types - * from `attributes`: `attributes.saml_attributes`, + * Optional. Raw string CEL expression. Must return a list of attributes. A + * maximum of 45 attributes can be selected. Expressions can select different + * attribute types from `attributes`: `attributes.saml_attributes`, * `attributes.iap_attributes`. The following functions are supported: - filter * `.filter(, )`: Returns a subset of `` where `` is true for every item. - in * ` in `: Returns true if `` contains ``. - selectByName `.selectByName()`: @@ -298,9 +300,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic @property(nonatomic, copy, nullable) NSString *expression; /** - * Which output credentials attributes selected by the CEL expression should be - * propagated in. All attributes will be fully duplicated in each selected - * output credential. + * Optional. Which output credentials attributes selected by the CEL expression + * should be propagated in. All attributes will be fully duplicated in each + * selected output credential. */ @property(nonatomic, strong, nullable) NSArray *outputCredentials; @@ -529,11 +531,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic @property(nonatomic, copy, nullable) NSString *loginPageUri; /** - * GCIP tenant ids that are linked to the IAP resource. tenant_ids could be a - * string beginning with a number character to indicate authenticating with - * GCIP tenant flow, or in the format of _ to indicate authenticating with GCIP - * agent flow. If agent flow is used, tenant_ids should only contain one single - * element, while for tenant flow, tenant_ids can contain multiple elements. + * Optional. GCIP tenant ids that are linked to the IAP resource. tenant_ids + * could be a string beginning with a number character to indicate + * authenticating with GCIP tenant flow, or in the format of _ to indicate + * authenticating with GCIP agent flow. If agent flow is used, tenant_ids + * should only contain one single element, while for tenant flow, tenant_ids + * can contain multiple elements. */ @property(nonatomic, strong, nullable) NSArray *tenantIds; @@ -583,10 +586,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic */ @interface GTLRCloudIAP_IapSettings : GTLRObject -/** Top level wrapper for all access related setting in IAP */ +/** Optional. Top level wrapper for all access related setting in IAP */ @property(nonatomic, strong, nullable) GTLRCloudIAP_AccessSettings *accessSettings; -/** Top level wrapper for all application related settings in IAP */ +/** Optional. Top level wrapper for all application related settings in IAP */ @property(nonatomic, strong, nullable) GTLRCloudIAP_ApplicationSettings *applicationSettings; /** Required. The resource name of the IAP protected resource. */ @@ -718,7 +721,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic */ @property(nonatomic, copy, nullable) NSString *loginHint; -/** List of client ids allowed to use IAP programmatically. */ +/** Optional. List of client ids allowed to use IAP programmatically. */ @property(nonatomic, strong, nullable) NSArray *programmaticClients; @end @@ -869,7 +872,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic /** * Resource type. Types are defined in IAM's .service files. Valid values for - * type might be 'gce', 'gcs', 'project', 'account' etc. + * type might be 'storage_buckets', 'compute_instances', + * 'resourcemanager_customers', 'billing_accounts', etc. */ @property(nonatomic, copy, nullable) NSString *type; @@ -882,7 +886,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic @interface GTLRCloudIAP_ReauthSettings : GTLRObject /** - * Reauth session lifetime, how long before a user has to reauthenticate again. + * Optional. Reauth session lifetime, how long before a user has to + * reauthenticate again. */ @property(nonatomic, strong, nullable) GTLRDuration *maxAge; @@ -903,8 +908,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic @property(nonatomic, copy, nullable) NSString *method; /** - * How IAP determines the effective policy in cases of hierarchical policies. - * Policies are merged from higher in the hierarchy to lower in the hierarchy. + * Optional. How IAP determines the effective policy in cases of hierarchical + * policies. Policies are merged from higher in the hierarchy to lower in the + * hierarchy. * * Likely values: * @arg @c kGTLRCloudIAP_ReauthSettings_PolicyType_Default This policy acts @@ -1104,15 +1110,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic */ @interface GTLRCloudIAP_TunnelDestGroup : GTLRObject -/** Unordered list. List of CIDRs that this group applies to. */ +/** Optional. Unordered list. List of CIDRs that this group applies to. */ @property(nonatomic, strong, nullable) NSArray *cidrs; -/** Unordered list. List of FQDNs that this group applies to. */ +/** Optional. Unordered list. List of FQDNs that this group applies to. */ @property(nonatomic, strong, nullable) NSArray *fqdns; /** - * Required. Immutable. Identifier for the TunnelDestGroup. Must be unique - * within the project and contain only lower case letters (a-z) and dashes (-). + * Identifier. Identifier for the TunnelDestGroup. Must be unique within the + * project and contain only lower case letters (a-z) and dashes (-). */ @property(nonatomic, copy, nullable) NSString *name; @@ -1120,9 +1126,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic /** - * API requires a return message, but currently all response strings will fit - * in the status and public message. In the future, this response can hold AST - * validation info. + * IAP Expression Linter endpoint returns empty response body. */ @interface GTLRCloudIAP_ValidateIapAttributeExpressionResponse : GTLRObject @end diff --git a/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPQuery.h b/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPQuery.h index a8c89a80f..566a35af2 100644 --- a/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPQuery.h +++ b/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPQuery.h @@ -502,8 +502,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCloudIAPQuery_ProjectsIapTunnelLocationsDestGroupsPatch : GTLRCloudIAPQuery /** - * Required. Immutable. Identifier for the TunnelDestGroup. Must be unique - * within the project and contain only lower case letters (a-z) and dashes (-). + * Identifier. Identifier for the TunnelDestGroup. Must be unique within the + * project and contain only lower case letters (a-z) and dashes (-). */ @property(nonatomic, copy, nullable) NSString *name; @@ -522,9 +522,9 @@ NS_ASSUME_NONNULL_BEGIN * Updates a TunnelDestGroup. * * @param object The @c GTLRCloudIAP_TunnelDestGroup to include in the query. - * @param name Required. Immutable. Identifier for the TunnelDestGroup. Must be - * unique within the project and contain only lower case letters (a-z) and - * dashes (-). + * @param name Identifier. Identifier for the TunnelDestGroup. Must be unique + * within the project and contain only lower case letters (a-z) and dashes + * (-). * * @return GTLRCloudIAPQuery_ProjectsIapTunnelLocationsDestGroupsPatch */ diff --git a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h index 75de02bd8..3c120c83a 100644 --- a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h +++ b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h @@ -2034,13 +2034,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe /** * Optional. Name of the key project, e.g. `projects/{PROJECT_ID}` or - * `projects/{PROJECT_NUMBER}`, where Cloud KMS Autokey will provision new - * CryptoKeys. On UpdateAutokeyConfig, the caller will require - * `cloudkms.cryptoKeys.setIamPolicy` permission on this key project. Once - * configured, for Cloud KMS Autokey to function properly, this key project - * must have the Cloud KMS API activated and the Cloud KMS Service Agent for - * this key project must be granted the `cloudkms.admin` role (or pertinent - * permissions). + * `projects/{PROJECT_NUMBER}`, where Cloud KMS Autokey will provision a new + * CryptoKey when a KeyHandle is created. On UpdateAutokeyConfig, the caller + * will require `cloudkms.cryptoKeys.setIamPolicy` permission on this key + * project. Once configured, for Cloud KMS Autokey to function properly, this + * key project must have the Cloud KMS API activated and the Cloud KMS Service + * Agent for this key project must be granted the `cloudkms.admin` role (or + * pertinent permissions). A request with an empty key project field will clear + * the configuration. */ @property(nonatomic, copy, nullable) NSString *keyProject; @@ -3640,13 +3641,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe /** * Output only. Name of a CryptoKey that has been provisioned for Customer - * Managed Encryption Key (CMEK) use in the KeyHandle's project and location - * for the requested resource type. + * Managed Encryption Key (CMEK) use in the KeyHandle project and location for + * the requested resource type. The CryptoKey project will reflect the value + * configured in the AutokeyConfig on the resource project's ancestor folder at + * the time of the KeyHandle creation. If more than one ancestor folder has a + * configured AutokeyConfig, the nearest of these configurations is used. */ @property(nonatomic, copy, nullable) NSString *kmsKey; /** - * Output only. Identifier. Name of the [KeyHandle] resource, e.g. + * Identifier. Name of the KeyHandle resource, e.g. * `projects/{PROJECT_ID}/locations/{LOCATION}/keyHandles/{KEY_HANDLE_ID}`. */ @property(nonatomic, copy, nullable) NSString *name; diff --git a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSQuery.h b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSQuery.h index cc172b9e6..138ec780f 100644 --- a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSQuery.h +++ b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSQuery.h @@ -109,8 +109,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMSViewFull; /** * Updates the AutokeyConfig for a folder. The caller must have both * `cloudkms.autokeyConfigs.update` permission on the parent folder and - * `cloudkms.cryptoKeys.setIamPolicy` permission on the provided key project. - * An empty key project may be provided to clear the configuration. + * `cloudkms.cryptoKeys.setIamPolicy` permission on the provided key project. A + * KeyHandle creation in the folder's descendant projects will use this + * configuration to determine where to create the resulting CryptoKey. * * Method: cloudkms.folders.updateAutokeyConfig * @@ -139,8 +140,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMSViewFull; * * Updates the AutokeyConfig for a folder. The caller must have both * `cloudkms.autokeyConfigs.update` permission on the parent folder and - * `cloudkms.cryptoKeys.setIamPolicy` permission on the provided key project. - * An empty key project may be provided to clear the configuration. + * `cloudkms.cryptoKeys.setIamPolicy` permission on the provided key project. A + * KeyHandle creation in the folder's descendant projects will use this + * configuration to determine where to create the resulting CryptoKey. * * @param object The @c GTLRCloudKMS_AutokeyConfig to include in the query. * @param name Identifier. Name of the AutokeyConfig resource, e.g. diff --git a/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m b/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m index 7fabaea04..8f823192f 100644 --- a/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m +++ b/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m @@ -91,6 +91,8 @@ NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeConnectionsPerformanceImpact = @"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeDatabaseAuditingDisabled = @"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeDatabaseNamesExposed = @"SIGNAL_TYPE_DATABASE_NAMES_EXPOSED"; +NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeDataExportToExternalCloudStorageBucket = @"SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET"; +NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeDataExportToPublicCloudStorageBucket = @"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeDisconnectionsNotLogged = @"SIGNAL_TYPE_DISCONNECTIONS_NOT_LOGGED"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeEncryptionKeyNotCustomerManaged = @"SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeExcessiveLoggingOfClientHostname = @"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_CLIENT_HOSTNAME"; @@ -136,22 +138,32 @@ NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeServerAuthenticationNotRequired = @"SIGNAL_TYPE_SERVER_AUTHENTICATION_NOT_REQUIRED"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeServerCertificateNearExpiry = @"SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeShortBackupRetention = @"SIGNAL_TYPE_SHORT_BACKUP_RETENTION"; +NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeSuperuserWritingToUserTables = @"SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeTmpTablesPerformanceImpact = @"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeTransLogsPerformanceImpact = @"SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeUnderprovisioned = @"SIGNAL_TYPE_UNDERPROVISIONED"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeUnencryptedConnections = @"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeUnspecified = @"SIGNAL_TYPE_UNSPECIFIED"; +NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeUserGrantedAllPermissions = @"SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeUserOptionsConfigured = @"SIGNAL_TYPE_USER_OPTIONS_CONFIGURED"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeVerboseErrorLogging = @"SIGNAL_TYPE_VERBOSE_ERROR_LOGGING"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatePolicyRestrictPublicIp = @"SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP"; +NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesCisControlsV80 = @"SIGNAL_TYPE_VIOLATES_CIS_CONTROLS_V8_0"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesCisGcpFoundation10 = @"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesCisGcpFoundation11 = @"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_1"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesCisGcpFoundation12 = @"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_2"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesCisGcpFoundation13 = @"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_3"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesCisGcpFoundation20 = @"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_2_0"; +NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesCloudControlsMatrixV4 = @"SIGNAL_TYPE_VIOLATES_CLOUD_CONTROLS_MATRIX_V4"; +NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesHipaa = @"SIGNAL_TYPE_VIOLATES_HIPAA"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesIso27001 = @"SIGNAL_TYPE_VIOLATES_ISO_27001"; +NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesIso27001V2022 = @"SIGNAL_TYPE_VIOLATES_ISO_27001_V2022"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesNist80053 = @"SIGNAL_TYPE_VIOLATES_NIST_800_53"; +NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesNist80053R5 = @"SIGNAL_TYPE_VIOLATES_NIST_800_53_R5"; +NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesNistCybersecurityFrameworkV10 = @"SIGNAL_TYPE_VIOLATES_NIST_CYBERSECURITY_FRAMEWORK_V1_0"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesPciDssV321 = @"SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1"; +NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesPciDssV40 = @"SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0"; +NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesSoc2V2017 = @"SIGNAL_TYPE_VIOLATES_SOC2_V2017"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeWeakRootPassword = @"SIGNAL_TYPE_WEAK_ROOT_PASSWORD"; // GTLRCloudRedis_DatabaseResourceHealthSignalData.state @@ -211,6 +223,8 @@ NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeConnectionsPerformanceImpact = @"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeDatabaseAuditingDisabled = @"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeDatabaseNamesExposed = @"SIGNAL_TYPE_DATABASE_NAMES_EXPOSED"; +NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeDataExportToExternalCloudStorageBucket = @"SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET"; +NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeDataExportToPublicCloudStorageBucket = @"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeDisconnectionsNotLogged = @"SIGNAL_TYPE_DISCONNECTIONS_NOT_LOGGED"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeEncryptionKeyNotCustomerManaged = @"SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeExcessiveLoggingOfClientHostname = @"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_CLIENT_HOSTNAME"; @@ -256,22 +270,32 @@ NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeServerAuthenticationNotRequired = @"SIGNAL_TYPE_SERVER_AUTHENTICATION_NOT_REQUIRED"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeServerCertificateNearExpiry = @"SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeShortBackupRetention = @"SIGNAL_TYPE_SHORT_BACKUP_RETENTION"; +NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeSuperuserWritingToUserTables = @"SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeTmpTablesPerformanceImpact = @"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeTransLogsPerformanceImpact = @"SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeUnderprovisioned = @"SIGNAL_TYPE_UNDERPROVISIONED"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeUnencryptedConnections = @"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeUnspecified = @"SIGNAL_TYPE_UNSPECIFIED"; +NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeUserGrantedAllPermissions = @"SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeUserOptionsConfigured = @"SIGNAL_TYPE_USER_OPTIONS_CONFIGURED"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeVerboseErrorLogging = @"SIGNAL_TYPE_VERBOSE_ERROR_LOGGING"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatePolicyRestrictPublicIp = @"SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP"; +NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesCisControlsV80 = @"SIGNAL_TYPE_VIOLATES_CIS_CONTROLS_V8_0"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesCisGcpFoundation10 = @"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesCisGcpFoundation11 = @"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_1"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesCisGcpFoundation12 = @"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_2"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesCisGcpFoundation13 = @"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_3"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesCisGcpFoundation20 = @"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_2_0"; +NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesCloudControlsMatrixV4 = @"SIGNAL_TYPE_VIOLATES_CLOUD_CONTROLS_MATRIX_V4"; +NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesHipaa = @"SIGNAL_TYPE_VIOLATES_HIPAA"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesIso27001 = @"SIGNAL_TYPE_VIOLATES_ISO_27001"; +NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesIso27001V2022 = @"SIGNAL_TYPE_VIOLATES_ISO_27001_V2022"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesNist80053 = @"SIGNAL_TYPE_VIOLATES_NIST_800_53"; +NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesNist80053R5 = @"SIGNAL_TYPE_VIOLATES_NIST_800_53_R5"; +NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesNistCybersecurityFrameworkV10 = @"SIGNAL_TYPE_VIOLATES_NIST_CYBERSECURITY_FRAMEWORK_V1_0"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesPciDssV321 = @"SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1"; +NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesPciDssV40 = @"SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0"; +NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesSoc2V2017 = @"SIGNAL_TYPE_VIOLATES_SOC2_V2017"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeWeakRootPassword = @"SIGNAL_TYPE_WEAK_ROOT_PASSWORD"; // GTLRCloudRedis_Entitlement.entitlementState @@ -323,6 +347,16 @@ NSString * const kGTLRCloudRedis_Instance_TransitEncryptionMode_ServerAuthentication = @"SERVER_AUTHENTICATION"; NSString * const kGTLRCloudRedis_Instance_TransitEncryptionMode_TransitEncryptionModeUnspecified = @"TRANSIT_ENCRYPTION_MODE_UNSPECIFIED"; +// GTLRCloudRedis_ObservabilityMetricData.aggregationType +NSString * const kGTLRCloudRedis_ObservabilityMetricData_AggregationType_AggregationTypeUnspecified = @"AGGREGATION_TYPE_UNSPECIFIED"; +NSString * const kGTLRCloudRedis_ObservabilityMetricData_AggregationType_Maximum = @"MAXIMUM"; + +// GTLRCloudRedis_ObservabilityMetricData.metricType +NSString * const kGTLRCloudRedis_ObservabilityMetricData_MetricType_CpuUtilization = @"CPU_UTILIZATION"; +NSString * const kGTLRCloudRedis_ObservabilityMetricData_MetricType_MemoryUtilization = @"MEMORY_UTILIZATION"; +NSString * const kGTLRCloudRedis_ObservabilityMetricData_MetricType_MetricTypeUnspecified = @"METRIC_TYPE_UNSPECIFIED"; +NSString * const kGTLRCloudRedis_ObservabilityMetricData_MetricType_NetworkConnections = @"NETWORK_CONNECTIONS"; + // GTLRCloudRedis_OperationError.errorType NSString * const kGTLRCloudRedis_OperationError_ErrorType_CancellationError = @"CANCELLATION_ERROR"; NSString * const kGTLRCloudRedis_OperationError_ErrorType_DatabaseError = @"DATABASE_ERROR"; @@ -407,10 +441,6 @@ NSString * const kGTLRCloudRedis_WeeklyMaintenanceWindow_Day_Tuesday = @"TUESDAY"; NSString * const kGTLRCloudRedis_WeeklyMaintenanceWindow_Day_Wednesday = @"WEDNESDAY"; -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wdeprecated-declarations" -#pragma clang diagnostic ignored "-Wdeprecated-implementations" - // ---------------------------------------------------------------------------- // // GTLRCloudRedis_AOFConfig @@ -572,8 +602,9 @@ @implementation GTLRCloudRedis_DatabaseMetadata // @implementation GTLRCloudRedis_DatabaseResourceFeed -@dynamic feedTimestamp, feedType, recommendationSignalData, - resourceHealthSignalData, resourceId, resourceMetadata; +@dynamic feedTimestamp, feedType, observabilityMetricData, + recommendationSignalData, resourceHealthSignalData, resourceId, + resourceMetadata; @end @@ -633,9 +664,9 @@ @implementation GTLRCloudRedis_DatabaseResourceId @implementation GTLRCloudRedis_DatabaseResourceMetadata @dynamic availabilityConfiguration, backupConfiguration, backupRun, creationTime, currentState, customMetadata, entitlements, - expectedState, identifier, instanceType, location, primaryResourceId, - product, resourceContainer, resourceName, updationTime, userLabels, - userLabelSet; + expectedState, identifier, instanceType, location, + machineConfiguration, primaryResourceId, product, resourceContainer, + resourceName, updationTime, userLabelSet; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -651,20 +682,6 @@ @implementation GTLRCloudRedis_DatabaseResourceMetadata @end -// ---------------------------------------------------------------------------- -// -// GTLRCloudRedis_DatabaseResourceMetadata_UserLabels -// - -@implementation GTLRCloudRedis_DatabaseResourceMetadata_UserLabels - -+ (Class)classForAdditionalProperties { - return [NSString class]; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRCloudRedis_DatabaseResourceRecommendationSignalData @@ -1018,6 +1035,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_MachineConfiguration +// + +@implementation GTLRCloudRedis_MachineConfiguration +@dynamic cpuCount, memorySizeInBytes; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRedis_MaintenancePolicy @@ -1087,6 +1114,16 @@ @implementation GTLRCloudRedis_NodeInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_ObservabilityMetricData +// + +@implementation GTLRCloudRedis_ObservabilityMetricData +@dynamic aggregationType, metricType, observationTime, resourceName, value; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRedis_Operation @@ -1299,6 +1336,16 @@ @implementation GTLRCloudRedis_TlsCertificate @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_TypedValue +// + +@implementation GTLRCloudRedis_TypedValue +@dynamic boolValue, doubleValue, int64Value, stringValue; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRedis_UpdateInfo @@ -1351,5 +1398,3 @@ + (Class)classForAdditionalProperties { @implementation GTLRCloudRedis_WeeklyMaintenanceWindow @dynamic day, duration, startTime; @end - -#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h index 7fad54c70..adfe158d6 100644 --- a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h +++ b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h @@ -29,7 +29,6 @@ @class GTLRCloudRedis_DatabaseResourceHealthSignalData_AdditionalMetadata; @class GTLRCloudRedis_DatabaseResourceId; @class GTLRCloudRedis_DatabaseResourceMetadata; -@class GTLRCloudRedis_DatabaseResourceMetadata_UserLabels; @class GTLRCloudRedis_DatabaseResourceRecommendationSignalData; @class GTLRCloudRedis_DatabaseResourceRecommendationSignalData_AdditionalMetadata; @class GTLRCloudRedis_DiscoveryEndpoint; @@ -45,10 +44,12 @@ @class GTLRCloudRedis_Location; @class GTLRCloudRedis_Location_Labels; @class GTLRCloudRedis_Location_Metadata; +@class GTLRCloudRedis_MachineConfiguration; @class GTLRCloudRedis_MaintenancePolicy; @class GTLRCloudRedis_MaintenanceSchedule; @class GTLRCloudRedis_ManagedCertificateAuthority; @class GTLRCloudRedis_NodeInfo; +@class GTLRCloudRedis_ObservabilityMetricData; @class GTLRCloudRedis_Operation; @class GTLRCloudRedis_Operation_Metadata; @class GTLRCloudRedis_Operation_Response; @@ -65,6 +66,7 @@ @class GTLRCloudRedis_Status_Details_Item; @class GTLRCloudRedis_TimeOfDay; @class GTLRCloudRedis_TlsCertificate; +@class GTLRCloudRedis_TypedValue; @class GTLRCloudRedis_UpdateInfo; @class GTLRCloudRedis_UserLabels; @class GTLRCloudRedis_UserLabels_Labels; @@ -74,7 +76,6 @@ // causing warnings since clang's checks are some what arbitrary. #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdocumentation" -#pragma clang diagnostic ignored "-Wdeprecated-declarations" NS_ASSUME_NONNULL_BEGIN @@ -451,6 +452,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalD * Value: "SIGNAL_TYPE_DATABASE_NAMES_EXPOSED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeDatabaseNamesExposed; +/** + * Detects if database instance data exported to a Cloud Storage bucket outside + * of the organization. + * + * Value: "SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeDataExportToExternalCloudStorageBucket; +/** + * Detects if database instance data exported to a Cloud Storage bucket that is + * owned by the organization and is publicly accessible. + * + * Value: "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeDataExportToPublicCloudStorageBucket; /** * Represents if the log_disconnections database flag for a Cloud SQL for * PostgreSQL instance is not set to on. @@ -749,6 +764,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalD * Value: "SIGNAL_TYPE_SHORT_BACKUP_RETENTION" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeShortBackupRetention; +/** + * Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers + * or root for MySQL users) writes to non-system tables. + * + * Value: "SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeSuperuserWritingToUserTables; /** * Performance impact of temporary tables settings * @@ -780,6 +802,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalD * Value: "SIGNAL_TYPE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeUnspecified; +/** + * Detects events where a database user or role has been granted all privileges + * to a database, or to all tables, procedures, or functions in a schema. + * + * Value: "SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeUserGrantedAllPermissions; /** * Represents if the user options database flag for Cloud SQL SQL Server * instance is configured or not. @@ -800,6 +829,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalD * Value: "SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatePolicyRestrictPublicIp; +/** + * Represents if a resource violates CIS Controls 8.0. + * + * Value: "SIGNAL_TYPE_VIOLATES_CIS_CONTROLS_V8_0" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesCisControlsV80; /** * Represents if a resource violates CIS GCP Foundation 1.0. * @@ -830,24 +865,66 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalD * Value: "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_2_0" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesCisGcpFoundation20; +/** + * Represents if a resource violates Cloud Controls Matrix v4.0. + * + * Value: "SIGNAL_TYPE_VIOLATES_CLOUD_CONTROLS_MATRIX_V4" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesCloudControlsMatrixV4; +/** + * Represents if a resource violates HIPAA. + * + * Value: "SIGNAL_TYPE_VIOLATES_HIPAA" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesHipaa; /** * Represents if a resource violates ISO-27001. * * Value: "SIGNAL_TYPE_VIOLATES_ISO_27001" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesIso27001; +/** + * Represents if a resource violates ISO 27001 2022. + * + * Value: "SIGNAL_TYPE_VIOLATES_ISO_27001_V2022" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesIso27001V2022; /** * Represents if a resource violates NIST 800-53. * * Value: "SIGNAL_TYPE_VIOLATES_NIST_800_53" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesNist80053; +/** + * Represents if a resource violates NIST 800-53 R5. + * + * Value: "SIGNAL_TYPE_VIOLATES_NIST_800_53_R5" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesNist80053R5; +/** + * Represents if a resource violates NIST Cybersecurity Framework 1.0. + * + * Value: "SIGNAL_TYPE_VIOLATES_NIST_CYBERSECURITY_FRAMEWORK_V1_0" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesNistCybersecurityFrameworkV10; /** * Represents if a resource violates PCI-DSS v3.2.1. * * Value: "SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesPciDssV321; +/** + * Represents if a resource violates PCI-DSS v4.0. + * + * Value: "SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesPciDssV40; +/** + * Represents if a resource violates SOC2 v2017. + * + * Value: "SIGNAL_TYPE_VIOLATES_SOC2_V2017" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesSoc2V2017; /** * Represents if a Cloud SQL database has a weak password configured for the * root account. @@ -1144,6 +1221,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendatio * Value: "SIGNAL_TYPE_DATABASE_NAMES_EXPOSED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeDatabaseNamesExposed; +/** + * Detects if database instance data exported to a Cloud Storage bucket outside + * of the organization. + * + * Value: "SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeDataExportToExternalCloudStorageBucket; +/** + * Detects if database instance data exported to a Cloud Storage bucket that is + * owned by the organization and is publicly accessible. + * + * Value: "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeDataExportToPublicCloudStorageBucket; /** * Represents if the log_disconnections database flag for a Cloud SQL for * PostgreSQL instance is not set to on. @@ -1442,6 +1533,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendatio * Value: "SIGNAL_TYPE_SHORT_BACKUP_RETENTION" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeShortBackupRetention; +/** + * Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers + * or root for MySQL users) writes to non-system tables. + * + * Value: "SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeSuperuserWritingToUserTables; /** * Performance impact of temporary tables settings * @@ -1473,6 +1571,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendatio * Value: "SIGNAL_TYPE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeUnspecified; +/** + * Detects events where a database user or role has been granted all privileges + * to a database, or to all tables, procedures, or functions in a schema. + * + * Value: "SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeUserGrantedAllPermissions; /** * Represents if the user options database flag for Cloud SQL SQL Server * instance is configured or not. @@ -1493,6 +1598,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendatio * Value: "SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatePolicyRestrictPublicIp; +/** + * Represents if a resource violates CIS Controls 8.0. + * + * Value: "SIGNAL_TYPE_VIOLATES_CIS_CONTROLS_V8_0" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesCisControlsV80; /** * Represents if a resource violates CIS GCP Foundation 1.0. * @@ -1523,24 +1634,66 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendatio * Value: "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_2_0" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesCisGcpFoundation20; +/** + * Represents if a resource violates Cloud Controls Matrix v4.0. + * + * Value: "SIGNAL_TYPE_VIOLATES_CLOUD_CONTROLS_MATRIX_V4" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesCloudControlsMatrixV4; +/** + * Represents if a resource violates HIPAA. + * + * Value: "SIGNAL_TYPE_VIOLATES_HIPAA" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesHipaa; /** * Represents if a resource violates ISO-27001. * * Value: "SIGNAL_TYPE_VIOLATES_ISO_27001" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesIso27001; +/** + * Represents if a resource violates ISO 27001 2022. + * + * Value: "SIGNAL_TYPE_VIOLATES_ISO_27001_V2022" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesIso27001V2022; /** * Represents if a resource violates NIST 800-53. * * Value: "SIGNAL_TYPE_VIOLATES_NIST_800_53" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesNist80053; +/** + * Represents if a resource violates NIST 800-53 R5. + * + * Value: "SIGNAL_TYPE_VIOLATES_NIST_800_53_R5" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesNist80053R5; +/** + * Represents if a resource violates NIST Cybersecurity Framework 1.0. + * + * Value: "SIGNAL_TYPE_VIOLATES_NIST_CYBERSECURITY_FRAMEWORK_V1_0" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesNistCybersecurityFrameworkV10; /** * Represents if a resource violates PCI-DSS v3.2.1. * * Value: "SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesPciDssV321; +/** + * Represents if a resource violates PCI-DSS v4.0. + * + * Value: "SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesPciDssV40; +/** + * Represents if a resource violates SOC2 v2017. + * + * Value: "SIGNAL_TYPE_VIOLATES_SOC2_V2017" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesSoc2V2017; /** * Represents if a Cloud SQL database has a weak password configured for the * root account. @@ -1773,6 +1926,48 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_Instance_TransitEncryptionMod */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_Instance_TransitEncryptionMode_TransitEncryptionModeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRCloudRedis_ObservabilityMetricData.aggregationType + +/** + * Unspecified aggregation type. + * + * Value: "AGGREGATION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ObservabilityMetricData_AggregationType_AggregationTypeUnspecified; +/** + * Maximum aggregation type. + * + * Value: "MAXIMUM" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ObservabilityMetricData_AggregationType_Maximum; + +// ---------------------------------------------------------------------------- +// GTLRCloudRedis_ObservabilityMetricData.metricType + +/** + * CPU utilization for a resource. The value is a fraction between 0.0 and 1.0 + * (may momentarily exceed 1.0 in some cases). + * + * Value: "CPU_UTILIZATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ObservabilityMetricData_MetricType_CpuUtilization; +/** + * Memory utilization for a resource. The value is a fraction between 0.0 and + * 1.0 (may momentarily exceed 1.0 in some cases). + * + * Value: "MEMORY_UTILIZATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ObservabilityMetricData_MetricType_MemoryUtilization; +/** Value: "METRIC_TYPE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ObservabilityMetricData_MetricType_MetricTypeUnspecified; +/** + * Number of network connections for a resource. + * + * Value: "NETWORK_CONNECTIONS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ObservabilityMetricData_MetricType_NetworkConnections; + // ---------------------------------------------------------------------------- // GTLRCloudRedis_OperationError.errorType @@ -2659,8 +2854,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_WeeklyMaintenanceWindow_Day_W @property(nonatomic, copy, nullable) NSString *feedType; /** More feed data would be added in subsequent CLs */ -@property(nonatomic, strong, nullable) GTLRCloudRedis_DatabaseResourceRecommendationSignalData *recommendationSignalData; +@property(nonatomic, strong, nullable) GTLRCloudRedis_ObservabilityMetricData *observabilityMetricData; +@property(nonatomic, strong, nullable) GTLRCloudRedis_DatabaseResourceRecommendationSignalData *recommendationSignalData; @property(nonatomic, strong, nullable) GTLRCloudRedis_DatabaseResourceHealthSignalData *resourceHealthSignalData; /** @@ -2812,6 +3008,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_WeeklyMaintenanceWindow_Day_W * Represents if the skip_show_database database flag for a Cloud SQL for * MySQL instance is not set to on. (Value: * "SIGNAL_TYPE_DATABASE_NAMES_EXPOSED") + * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeDataExportToExternalCloudStorageBucket + * Detects if database instance data exported to a Cloud Storage bucket + * outside of the organization. (Value: + * "SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET") + * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeDataExportToPublicCloudStorageBucket + * Detects if database instance data exported to a Cloud Storage bucket + * that is owned by the organization and is publicly accessible. (Value: + * "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET") * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeDisconnectionsNotLogged * Represents if the log_disconnections database flag for a Cloud SQL for * PostgreSQL instance is not set to on. (Value: @@ -2971,6 +3175,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_WeeklyMaintenanceWindow_Day_W * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeShortBackupRetention * Represents if a resources has a short backup retention period. (Value: * "SIGNAL_TYPE_SHORT_BACKUP_RETENTION") + * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeSuperuserWritingToUserTables + * Detects events where a Cloud SQL superuser (postgres for PostgreSQL + * servers or root for MySQL users) writes to non-system tables. (Value: + * "SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES") * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeTmpTablesPerformanceImpact * Performance impact of temporary tables settings (Value: * "SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT") @@ -2985,6 +3193,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_WeeklyMaintenanceWindow_Day_W * or not. (Value: "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS") * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeUnspecified * Unspecified. (Value: "SIGNAL_TYPE_UNSPECIFIED") + * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeUserGrantedAllPermissions + * Detects events where a database user or role has been granted all + * privileges to a database, or to all tables, procedures, or functions + * in a schema. (Value: "SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS") * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeUserOptionsConfigured * Represents if the user options database flag for Cloud SQL SQL Server * instance is configured or not. (Value: @@ -2996,6 +3208,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_WeeklyMaintenanceWindow_Day_W * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatePolicyRestrictPublicIp * Represents violate org policy restrict public ip. (Value: * "SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP") + * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesCisControlsV80 + * Represents if a resource violates CIS Controls 8.0. (Value: + * "SIGNAL_TYPE_VIOLATES_CIS_CONTROLS_V8_0") * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesCisGcpFoundation10 * Represents if a resource violates CIS GCP Foundation 1.0. (Value: * "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0") @@ -3011,15 +3226,36 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_WeeklyMaintenanceWindow_Day_W * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesCisGcpFoundation20 * Represents if a resource violates CIS GCP Foundation 2.0. (Value: * "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_2_0") + * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesCloudControlsMatrixV4 + * Represents if a resource violates Cloud Controls Matrix v4.0. (Value: + * "SIGNAL_TYPE_VIOLATES_CLOUD_CONTROLS_MATRIX_V4") + * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesHipaa + * Represents if a resource violates HIPAA. (Value: + * "SIGNAL_TYPE_VIOLATES_HIPAA") * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesIso27001 * Represents if a resource violates ISO-27001. (Value: * "SIGNAL_TYPE_VIOLATES_ISO_27001") + * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesIso27001V2022 + * Represents if a resource violates ISO 27001 2022. (Value: + * "SIGNAL_TYPE_VIOLATES_ISO_27001_V2022") * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesNist80053 * Represents if a resource violates NIST 800-53. (Value: * "SIGNAL_TYPE_VIOLATES_NIST_800_53") + * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesNist80053R5 + * Represents if a resource violates NIST 800-53 R5. (Value: + * "SIGNAL_TYPE_VIOLATES_NIST_800_53_R5") + * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesNistCybersecurityFrameworkV10 + * Represents if a resource violates NIST Cybersecurity Framework 1.0. + * (Value: "SIGNAL_TYPE_VIOLATES_NIST_CYBERSECURITY_FRAMEWORK_V1_0") * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesPciDssV321 * Represents if a resource violates PCI-DSS v3.2.1. (Value: * "SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1") + * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesPciDssV40 + * Represents if a resource violates PCI-DSS v4.0. (Value: + * "SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0") + * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesSoc2V2017 + * Represents if a resource violates SOC2 v2017. (Value: + * "SIGNAL_TYPE_VIOLATES_SOC2_V2017") * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeWeakRootPassword * Represents if a Cloud SQL database has a weak password configured for * the root account. (Value: "SIGNAL_TYPE_WEAK_ROOT_PASSWORD") @@ -3220,6 +3456,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_WeeklyMaintenanceWindow_Day_W /** The resource location. REQUIRED */ @property(nonatomic, copy, nullable) NSString *location; +/** Machine configuration for this resource. */ +@property(nonatomic, strong, nullable) GTLRCloudRedis_MachineConfiguration *machineConfiguration; + /** * Identifier for this resource's immediate parent/primary resource if the * current resource is a replica or derived form of another Database resource. @@ -3253,32 +3492,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_WeeklyMaintenanceWindow_Day_W */ @property(nonatomic, strong, nullable) GTLRDateTime *updationTime; -/** - * User-provided labels, represented as a dictionary where each label is a - * single key value pair. - */ -@property(nonatomic, strong, nullable) GTLRCloudRedis_DatabaseResourceMetadata_UserLabels *userLabels GTLR_DEPRECATED; - /** User-provided labels associated with the resource */ @property(nonatomic, strong, nullable) GTLRCloudRedis_UserLabels *userLabelSet; @end -/** - * User-provided labels, represented as a dictionary where each label is a - * single key value pair. - * - * @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. - */ -GTLR_DEPRECATED -@interface GTLRCloudRedis_DatabaseResourceMetadata_UserLabels : GTLRObject -@end - - /** * Common model for database resource recommendation signal data. */ @@ -3371,6 +3590,14 @@ GTLR_DEPRECATED * Represents if the skip_show_database database flag for a Cloud SQL for * MySQL instance is not set to on. (Value: * "SIGNAL_TYPE_DATABASE_NAMES_EXPOSED") + * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeDataExportToExternalCloudStorageBucket + * Detects if database instance data exported to a Cloud Storage bucket + * outside of the organization. (Value: + * "SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET") + * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeDataExportToPublicCloudStorageBucket + * Detects if database instance data exported to a Cloud Storage bucket + * that is owned by the organization and is publicly accessible. (Value: + * "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET") * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeDisconnectionsNotLogged * Represents if the log_disconnections database flag for a Cloud SQL for * PostgreSQL instance is not set to on. (Value: @@ -3530,6 +3757,10 @@ GTLR_DEPRECATED * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeShortBackupRetention * Represents if a resources has a short backup retention period. (Value: * "SIGNAL_TYPE_SHORT_BACKUP_RETENTION") + * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeSuperuserWritingToUserTables + * Detects events where a Cloud SQL superuser (postgres for PostgreSQL + * servers or root for MySQL users) writes to non-system tables. (Value: + * "SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES") * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeTmpTablesPerformanceImpact * Performance impact of temporary tables settings (Value: * "SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT") @@ -3544,6 +3775,10 @@ GTLR_DEPRECATED * or not. (Value: "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS") * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeUnspecified * Unspecified. (Value: "SIGNAL_TYPE_UNSPECIFIED") + * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeUserGrantedAllPermissions + * Detects events where a database user or role has been granted all + * privileges to a database, or to all tables, procedures, or functions + * in a schema. (Value: "SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS") * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeUserOptionsConfigured * Represents if the user options database flag for Cloud SQL SQL Server * instance is configured or not. (Value: @@ -3555,6 +3790,9 @@ GTLR_DEPRECATED * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatePolicyRestrictPublicIp * Represents violate org policy restrict public ip. (Value: * "SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP") + * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesCisControlsV80 + * Represents if a resource violates CIS Controls 8.0. (Value: + * "SIGNAL_TYPE_VIOLATES_CIS_CONTROLS_V8_0") * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesCisGcpFoundation10 * Represents if a resource violates CIS GCP Foundation 1.0. (Value: * "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0") @@ -3570,15 +3808,36 @@ GTLR_DEPRECATED * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesCisGcpFoundation20 * Represents if a resource violates CIS GCP Foundation 2.0. (Value: * "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_2_0") + * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesCloudControlsMatrixV4 + * Represents if a resource violates Cloud Controls Matrix v4.0. (Value: + * "SIGNAL_TYPE_VIOLATES_CLOUD_CONTROLS_MATRIX_V4") + * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesHipaa + * Represents if a resource violates HIPAA. (Value: + * "SIGNAL_TYPE_VIOLATES_HIPAA") * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesIso27001 * Represents if a resource violates ISO-27001. (Value: * "SIGNAL_TYPE_VIOLATES_ISO_27001") + * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesIso27001V2022 + * Represents if a resource violates ISO 27001 2022. (Value: + * "SIGNAL_TYPE_VIOLATES_ISO_27001_V2022") * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesNist80053 * Represents if a resource violates NIST 800-53. (Value: * "SIGNAL_TYPE_VIOLATES_NIST_800_53") + * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesNist80053R5 + * Represents if a resource violates NIST 800-53 R5. (Value: + * "SIGNAL_TYPE_VIOLATES_NIST_800_53_R5") + * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesNistCybersecurityFrameworkV10 + * Represents if a resource violates NIST Cybersecurity Framework 1.0. + * (Value: "SIGNAL_TYPE_VIOLATES_NIST_CYBERSECURITY_FRAMEWORK_V1_0") * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesPciDssV321 * Represents if a resource violates PCI-DSS v3.2.1. (Value: * "SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1") + * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesPciDssV40 + * Represents if a resource violates PCI-DSS v4.0. (Value: + * "SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0") + * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesSoc2V2017 + * Represents if a resource violates SOC2 v2017. (Value: + * "SIGNAL_TYPE_VIOLATES_SOC2_V2017") * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeWeakRootPassword * Represents if a Cloud SQL database has a weak password configured for * the root account. (Value: "SIGNAL_TYPE_WEAK_ROOT_PASSWORD") @@ -4380,6 +4639,31 @@ GTLR_DEPRECATED @end +/** + * MachineConfiguration describes the configuration of a machine specific to + * Database Resource. + */ +@interface GTLRCloudRedis_MachineConfiguration : GTLRObject + +/** + * The number of CPUs. TODO(b/342344482, b/342346271) add proto validations + * again after bug fix. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *cpuCount; + +/** + * Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations + * again after bug fix. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *memorySizeInBytes; + +@end + + /** * Maintenance policy for an instance. */ @@ -4479,6 +4763,57 @@ GTLR_DEPRECATED @end +/** + * GTLRCloudRedis_ObservabilityMetricData + */ +@interface GTLRCloudRedis_ObservabilityMetricData : GTLRObject + +/** + * Required. Type of aggregation performed on the metric. + * + * Likely values: + * @arg @c kGTLRCloudRedis_ObservabilityMetricData_AggregationType_AggregationTypeUnspecified + * Unspecified aggregation type. (Value: "AGGREGATION_TYPE_UNSPECIFIED") + * @arg @c kGTLRCloudRedis_ObservabilityMetricData_AggregationType_Maximum + * Maximum aggregation type. (Value: "MAXIMUM") + */ +@property(nonatomic, copy, nullable) NSString *aggregationType; + +/** + * Required. Type of metric like CPU, Memory, etc. + * + * Likely values: + * @arg @c kGTLRCloudRedis_ObservabilityMetricData_MetricType_CpuUtilization + * CPU utilization for a resource. The value is a fraction between 0.0 + * and 1.0 (may momentarily exceed 1.0 in some cases). (Value: + * "CPU_UTILIZATION") + * @arg @c kGTLRCloudRedis_ObservabilityMetricData_MetricType_MemoryUtilization + * Memory utilization for a resource. The value is a fraction between 0.0 + * and 1.0 (may momentarily exceed 1.0 in some cases). (Value: + * "MEMORY_UTILIZATION") + * @arg @c kGTLRCloudRedis_ObservabilityMetricData_MetricType_MetricTypeUnspecified + * Value "METRIC_TYPE_UNSPECIFIED" + * @arg @c kGTLRCloudRedis_ObservabilityMetricData_MetricType_NetworkConnections + * Number of network connections for a resource. (Value: + * "NETWORK_CONNECTIONS") + */ +@property(nonatomic, copy, nullable) NSString *metricType; + +/** Required. The time the metric value was observed. */ +@property(nonatomic, strong, nullable) GTLRDateTime *observationTime; + +/** + * Required. Database resource name associated with the signal. Resource name + * to follow CAIS resource_name format as noted here go/condor-common-datamodel + */ +@property(nonatomic, copy, nullable) NSString *resourceName; + +/** Required. Value of the metric type. */ +@property(nonatomic, strong, nullable) GTLRCloudRedis_TypedValue *value; + +@end + + /** * This resource represents a long-running operation that is the result of a * network API call. @@ -5109,6 +5444,38 @@ GTLR_DEPRECATED @end +/** + * TypedValue represents the value of a metric type. It can either be a double, + * an int64, a string or a bool. + */ +@interface GTLRCloudRedis_TypedValue : GTLRObject + +/** + * boolValue + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *boolValue; + +/** + * doubleValue + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *doubleValue; + +/** + * int64Value + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *int64Value; + +@property(nonatomic, copy, nullable) NSString *stringValue; + +@end + + /** * Represents information about an updating cluster. */ diff --git a/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h b/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h index 444d0b9c4..feb07f5e2 100644 --- a/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h +++ b/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h @@ -8378,8 +8378,9 @@ GTLR_DEPRECATED /** * Required. User event type. Allowed values are: * `add-to-cart`: Products - * being added to cart. * `category-page-view`: Special pages such as sale or - * promotion pages viewed. * `detail-page-view`: Products detail page viewed. * + * being added to cart. * `remove-from-cart`: Products being removed from cart. + * * `category-page-view`: Special pages such as sale or promotion pages + * viewed. * `detail-page-view`: Products detail page viewed. * * `home-page-view`: Homepage viewed. * `promotion-offered`: Promotion is * offered to a user. * `promotion-not-offered`: Promotion is not offered to a * user. * `purchase-complete`: User finishing a purchase. * `search`: Product diff --git a/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m b/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m index 7ab4ad7e8..a03b00e27 100644 --- a/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m +++ b/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m @@ -630,7 +630,7 @@ @implementation GTLRCloudRun_GoogleCloudRunV2Job @dynamic annotations, binaryAuthorization, client, clientVersion, conditions, createTime, creator, deleteTime, ETag, executionCount, expireTime, generation, labels, lastModifier, latestCreatedExecution, launchStage, - name, observedGeneration, reconciling, satisfiesPzs, + name, observedGeneration, reconciling, runExecutionToken, satisfiesPzs, startExecutionToken, templateProperty, terminalCondition, uid, updateTime; @@ -1549,6 +1549,16 @@ @implementation GTLRCloudRun_GoogleDevtoolsCloudbuildV1FileHashes @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRun_GoogleDevtoolsCloudbuildV1GCSLocation +// + +@implementation GTLRCloudRun_GoogleDevtoolsCloudbuildV1GCSLocation +@dynamic bucket, generation, object; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRun_GoogleDevtoolsCloudbuildV1GitConfig @@ -1585,7 +1595,7 @@ @implementation GTLRCloudRun_GoogleDevtoolsCloudbuildV1Hash // @implementation GTLRCloudRun_GoogleDevtoolsCloudbuildV1HttpConfig -@dynamic proxySecretVersionName; +@dynamic proxySecretVersionName, proxySslCaInfo; @end diff --git a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h index 959490b0b..09ce65b26 100644 --- a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h +++ b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h @@ -89,6 +89,7 @@ @class GTLRCloudRun_GoogleDevtoolsCloudbuildV1DeveloperConnectConfig; @class GTLRCloudRun_GoogleDevtoolsCloudbuildV1FailureInfo; @class GTLRCloudRun_GoogleDevtoolsCloudbuildV1FileHashes; +@class GTLRCloudRun_GoogleDevtoolsCloudbuildV1GCSLocation; @class GTLRCloudRun_GoogleDevtoolsCloudbuildV1GitConfig; @class GTLRCloudRun_GoogleDevtoolsCloudbuildV1GitSource; @class GTLRCloudRun_GoogleDevtoolsCloudbuildV1Hash; @@ -2695,6 +2696,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy */ @property(nonatomic, strong, nullable) NSNumber *reconciling; +/** + * A unique string used as a suffix for creating a new execution. The Job will + * become ready when the execution is successfully completed. The sum of job + * name and token length must be fewer than 63 characters. + */ +@property(nonatomic, copy, nullable) NSString *runExecutionToken; + /** * Output only. Reserved for future use. * @@ -4877,7 +4885,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy */ @property(nonatomic, copy, nullable) NSString *serviceAccount; -/** The location of the source files to build. */ +/** Optional. The location of the source files to build. */ @property(nonatomic, strong, nullable) GTLRCloudRun_GoogleDevtoolsCloudbuildV1Source *source; /** Output only. A permanent fixed identifier for source. */ @@ -5059,7 +5067,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy * "disk free"; some of the space will be used by the operating system and * build utilities. Also note that this is the minimum disk size that will be * allocated for the build -- the build may run with a larger disk than - * requested. At present, the maximum disk size is 2000GB; builds that request + * requested. At present, the maximum disk size is 4000GB; builds that request * more than the maximum are rejected with an error. * * Uses NSNumber of longLongValue. @@ -5409,7 +5417,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy */ @interface GTLRCloudRun_GoogleDevtoolsCloudbuildV1ConnectedRepository : GTLRObject -/** Directory, relative to the source root, in which to run the build. */ +/** + * Optional. Directory, relative to the source root, in which to run the build. + */ @property(nonatomic, copy, nullable) NSString *dir; /** @@ -5419,8 +5429,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy @property(nonatomic, copy, nullable) NSString *repository; /** - * The revision to fetch from the Git repository such as a branch, a tag, a - * commit SHA, or any Git ref. + * Required. The revision to fetch from the Git repository such as a branch, a + * tag, a commit SHA, or any Git ref. */ @property(nonatomic, copy, nullable) NSString *revision; @@ -5496,6 +5506,34 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy @end +/** + * Represents a storage location in Cloud Storage + */ +@interface GTLRCloudRun_GoogleDevtoolsCloudbuildV1GCSLocation : GTLRObject + +/** + * Cloud Storage bucket. See + * https://cloud.google.com/storage/docs/naming#requirements + */ +@property(nonatomic, copy, nullable) NSString *bucket; + +/** + * Cloud Storage generation for the object. If the generation is omitted, the + * latest generation will be used. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *generation; + +/** + * Cloud Storage object. See + * https://cloud.google.com/storage/docs/naming#objectnames + */ +@property(nonatomic, copy, nullable) NSString *object; + +@end + + /** * GitConfig is a configuration for git operations. */ @@ -5513,15 +5551,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy @interface GTLRCloudRun_GoogleDevtoolsCloudbuildV1GitSource : GTLRObject /** - * Directory, relative to the source root, in which to run the build. This must - * be a relative path. If a step's `dir` is specified and is an absolute path, - * this value is ignored for that step's execution. + * Optional. Directory, relative to the source root, in which to run the build. + * This must be a relative path. If a step's `dir` is specified and is an + * absolute path, this value is ignored for that step's execution. */ @property(nonatomic, copy, nullable) NSString *dir; /** - * The revision to fetch from the Git repository such as a branch, a tag, a - * commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the + * Optional. The revision to fetch from the Git repository such as a branch, a + * tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the * revision from the Git repository; therefore make sure that the string you * provide for `revision` is parsable by the command. For information on string * values accepted by `git fetch`, see @@ -5531,8 +5569,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy @property(nonatomic, copy, nullable) NSString *revision; /** - * Location of the Git repo to build. This will be used as a `git remote`, see - * https://git-scm.com/docs/git-remote. + * Required. Location of the Git repo to build. This will be used as a `git + * remote`, see https://git-scm.com/docs/git-remote. */ @property(nonatomic, copy, nullable) NSString *url; @@ -5581,6 +5619,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy */ @property(nonatomic, copy, nullable) NSString *proxySecretVersionName; +/** + * Optional. Cloud Storage object storing the certificate to use with the HTTP + * proxy. + */ +@property(nonatomic, strong, nullable) GTLRCloudRun_GoogleDevtoolsCloudbuildV1GCSLocation *proxySslCaInfo; + @end @@ -5742,32 +5786,32 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy @property(nonatomic, copy, nullable) NSString *commitSha; /** - * Directory, relative to the source root, in which to run the build. This must - * be a relative path. If a step's `dir` is specified and is an absolute path, - * this value is ignored for that step's execution. + * Optional. Directory, relative to the source root, in which to run the build. + * This must be a relative path. If a step's `dir` is specified and is an + * absolute path, this value is ignored for that step's execution. */ @property(nonatomic, copy, nullable) NSString *dir; /** - * Only trigger a build if the revision regex does NOT match the revision - * regex. + * Optional. Only trigger a build if the revision regex does NOT match the + * revision regex. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *invertRegex; /** - * ID of the project that owns the Cloud Source Repository. If omitted, the - * project ID requesting the build is assumed. + * Optional. ID of the project that owns the Cloud Source Repository. If + * omitted, the project ID requesting the build is assumed. */ @property(nonatomic, copy, nullable) NSString *projectId; -/** Name of the Cloud Source Repository. */ +/** Required. Name of the Cloud Source Repository. */ @property(nonatomic, copy, nullable) NSString *repoName; /** - * Substitutions to use in a triggered build. Should only be used with - * RunBuildTrigger + * Optional. Substitutions to use in a triggered build. Should only be used + * with RunBuildTrigger */ @property(nonatomic, strong, nullable) GTLRCloudRun_GoogleDevtoolsCloudbuildV1RepoSource_Substitutions *substitutions; @@ -5782,8 +5826,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy /** - * Substitutions to use in a triggered build. Should only be used with - * RunBuildTrigger + * Optional. Substitutions to use in a triggered build. Should only be used + * with RunBuildTrigger * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list @@ -6045,16 +6089,17 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy @property(nonatomic, copy, nullable) NSString *bucket; /** - * Cloud Storage generation for the object. If the generation is omitted, the - * latest generation will be used. + * Optional. Cloud Storage generation for the object. If the generation is + * omitted, the latest generation will be used. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *generation; /** - * Cloud Storage object containing the source. This object must be a zipped - * (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + * Required. Cloud Storage object containing the source. This object must be a + * zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to + * build. */ @property(nonatomic, copy, nullable) NSString *object; @@ -6083,7 +6128,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy @interface GTLRCloudRun_GoogleDevtoolsCloudbuildV1StorageSourceManifest : GTLRObject /** - * Cloud Storage bucket containing the source manifest (see [Bucket Name + * Required. Cloud Storage bucket containing the source manifest (see [Bucket + * Name * Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */ @property(nonatomic, copy, nullable) NSString *bucket; @@ -6097,8 +6143,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy @property(nonatomic, strong, nullable) NSNumber *generation; /** - * Cloud Storage object containing the source manifest. This object must be a - * JSON file. + * Required. Cloud Storage object containing the source manifest. This object + * must be a JSON file. */ @property(nonatomic, copy, nullable) NSString *object; diff --git a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunQuery.h b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunQuery.h index b1f727777..b3c073b60 100644 --- a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunQuery.h +++ b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunQuery.h @@ -403,7 +403,8 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Lists Executions from a Job. + * Lists Executions from a Job. Results are sorted by creation time, + * descending. * * Method: run.projects.locations.jobs.executions.list * @@ -437,7 +438,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRCloudRun_GoogleCloudRunV2ListExecutionsResponse. * - * Lists Executions from a Job. + * Lists Executions from a Job. Results are sorted by creation time, + * descending. * * @param parent Required. The Execution from which the Executions should be * listed. To list all Executions across Jobs, use "-" instead of Job name. @@ -618,7 +620,7 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Lists Jobs. + * Lists Jobs. Results are sorted by creation time, descending. * * Method: run.projects.locations.jobs.list * @@ -651,7 +653,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRCloudRun_GoogleCloudRunV2ListJobsResponse. * - * Lists Jobs. + * Lists Jobs. Results are sorted by creation time, descending. * * @param parent Required. The location and project to list resources on. * Format: projects/{project}/locations/{location}, where {project} can be @@ -1161,7 +1163,7 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Lists Services. + * Lists Services. Results are sorted by creation time, descending. * * Method: run.projects.locations.services.list * @@ -1195,7 +1197,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRCloudRun_GoogleCloudRunV2ListServicesResponse. * - * Lists Services. + * Lists Services. Results are sorted by creation time, descending. * * @param parent Required. The location and project to list resources on. * Location must be a valid Google Cloud region, and cannot be the "-" @@ -1385,7 +1387,8 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Lists Revisions from a given Service, or from a given location. + * Lists Revisions from a given Service, or from a given location. Results are + * sorted by creation time, descending. * * Method: run.projects.locations.services.revisions.list * @@ -1418,7 +1421,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRCloudRun_GoogleCloudRunV2ListRevisionsResponse. * - * Lists Revisions from a given Service, or from a given location. + * Lists Revisions from a given Service, or from a given location. Results are + * sorted by creation time, descending. * * @param parent Required. The Service from which the Revisions should be * listed. To list all Revisions across Services, use "-" instead of Service diff --git a/Sources/GeneratedServices/CloudSearch/GTLRCloudSearchObjects.m b/Sources/GeneratedServices/CloudSearch/GTLRCloudSearchObjects.m index b81d4f24d..658cbc17e 100644 --- a/Sources/GeneratedServices/CloudSearch/GTLRCloudSearchObjects.m +++ b/Sources/GeneratedServices/CloudSearch/GTLRCloudSearchObjects.m @@ -846,6 +846,16 @@ @implementation GTLRCloudSearch_DebugOptions @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudSearch_DebugResponse +// + +@implementation GTLRCloudSearch_DebugResponse +@dynamic gsrRequest, gsrResponse, searchResponse; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudSearch_DeleteQueueItemsRequest diff --git a/Sources/GeneratedServices/CloudSearch/GTLRCloudSearchQuery.m b/Sources/GeneratedServices/CloudSearch/GTLRCloudSearchQuery.m index 71efb267a..01d4b3f4b 100644 --- a/Sources/GeneratedServices/CloudSearch/GTLRCloudSearchQuery.m +++ b/Sources/GeneratedServices/CloudSearch/GTLRCloudSearchQuery.m @@ -539,6 +539,28 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRCloudSearchQuery_QueryDebugSearch + ++ (instancetype)queryWithObject:(GTLRCloudSearch_SearchRequest *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"v1/query:debugSearch"; + GTLRCloudSearchQuery_QueryDebugSearch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRCloudSearch_DebugResponse class]; + query.loggingName = @"cloudsearch.query.debugSearch"; + return query; +} + +@end + @implementation GTLRCloudSearchQuery_QueryRemoveActivity + (instancetype)queryWithObject:(GTLRCloudSearch_RemoveActivityRequest *)object { diff --git a/Sources/GeneratedServices/CloudSearch/Public/GoogleAPIClientForREST/GTLRCloudSearchObjects.h b/Sources/GeneratedServices/CloudSearch/Public/GoogleAPIClientForREST/GTLRCloudSearchObjects.h index 746df6961..a6a49a315 100644 --- a/Sources/GeneratedServices/CloudSearch/Public/GoogleAPIClientForREST/GTLRCloudSearchObjects.h +++ b/Sources/GeneratedServices/CloudSearch/Public/GoogleAPIClientForREST/GTLRCloudSearchObjects.h @@ -176,6 +176,7 @@ @class GTLRCloudSearch_SearchApplicationSessionStats; @class GTLRCloudSearch_SearchApplicationUserStats; @class GTLRCloudSearch_SearchQualityMetadata; +@class GTLRCloudSearch_SearchResponse; @class GTLRCloudSearch_SearchResult; @class GTLRCloudSearch_Snippet; @class GTLRCloudSearch_SortOptions; @@ -2930,6 +2931,33 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudSearch_UnmappedIdentity_ResolutionS @end +/** + * Debug Search Response. + */ +@interface GTLRCloudSearch_DebugResponse : GTLRObject + +/** + * Serialized string of GenericSearchRequest. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *gsrRequest; + +/** + * Serialized string of GenericSearchResponse. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *gsrResponse; + +/** Search response. */ +@property(nonatomic, strong, nullable) GTLRCloudSearch_SearchResponse *searchResponse; + +@end + + /** * GTLRCloudSearch_DeleteQueueItemsRequest */ diff --git a/Sources/GeneratedServices/CloudSearch/Public/GoogleAPIClientForREST/GTLRCloudSearchQuery.h b/Sources/GeneratedServices/CloudSearch/Public/GoogleAPIClientForREST/GTLRCloudSearchQuery.h index 3db89a78f..0aed81e08 100644 --- a/Sources/GeneratedServices/CloudSearch/Public/GoogleAPIClientForREST/GTLRCloudSearchQuery.h +++ b/Sources/GeneratedServices/CloudSearch/Public/GoogleAPIClientForREST/GTLRCloudSearchQuery.h @@ -1072,6 +1072,40 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudSearchResolutionStatusCodeTooManyMa @end +/** + * Returns Debug information for Cloud Search Query API provides the search + * method. **Note:** This API requires a standard end user account to execute. + * A service account can't perform Query API requests directly; to use a + * service account to perform queries, set up [Google Workspace domain-wide + * delegation of + * authority](https://developers.google.com/cloud-search/docs/guides/delegation/). + * + * Method: cloudsearch.query.debugSearch + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudSearchCloudSearch + * @c kGTLRAuthScopeCloudSearchCloudSearchQuery + */ +@interface GTLRCloudSearchQuery_QueryDebugSearch : GTLRCloudSearchQuery + +/** + * Fetches a @c GTLRCloudSearch_DebugResponse. + * + * Returns Debug information for Cloud Search Query API provides the search + * method. **Note:** This API requires a standard end user account to execute. + * A service account can't perform Query API requests directly; to use a + * service account to perform queries, set up [Google Workspace domain-wide + * delegation of + * authority](https://developers.google.com/cloud-search/docs/guides/delegation/). + * + * @param object The @c GTLRCloudSearch_SearchRequest to include in the query. + * + * @return GTLRCloudSearchQuery_QueryDebugSearch + */ ++ (instancetype)queryWithObject:(GTLRCloudSearch_SearchRequest *)object; + +@end + /** * Provides functionality to remove logged activity for a user. Currently to be * used only for Chat 1p clients **Note:** This API requires a standard end diff --git a/Sources/GeneratedServices/CloudSourceRepositories/GTLRCloudSourceRepositoriesObjects.m b/Sources/GeneratedServices/CloudSourceRepositories/GTLRCloudSourceRepositoriesObjects.m index c9995bfa0..d9b399f8a 100644 --- a/Sources/GeneratedServices/CloudSourceRepositories/GTLRCloudSourceRepositoriesObjects.m +++ b/Sources/GeneratedServices/CloudSourceRepositories/GTLRCloudSourceRepositoriesObjects.m @@ -4,9 +4,15 @@ // API: // Cloud Source Repositories API (sourcerepo/v1) // Description: -// Accesses source code repositories hosted by Google. +// Accesses source code repositories hosted by Google. Important: Cloud Source +// Repositories is scheduled for end of sales starting June 17, 2024. +// Customers who have enabled the API prior to this date will not be affected +// and can continue to use Cloud Source Repositories. Organizations or +// projects who have not previously enabled the API cannot use Cloud Source +// Repositories after this date. View Cloud Source Repositories documentation +// for more info. // Documentation: -// https://cloud.google.com/source-repositories/docs/apis +// https://cloud.google.com/source-repositories/docs #import diff --git a/Sources/GeneratedServices/CloudSourceRepositories/GTLRCloudSourceRepositoriesQuery.m b/Sources/GeneratedServices/CloudSourceRepositories/GTLRCloudSourceRepositoriesQuery.m index 9400577ce..3c9d2e419 100644 --- a/Sources/GeneratedServices/CloudSourceRepositories/GTLRCloudSourceRepositoriesQuery.m +++ b/Sources/GeneratedServices/CloudSourceRepositories/GTLRCloudSourceRepositoriesQuery.m @@ -4,9 +4,15 @@ // API: // Cloud Source Repositories API (sourcerepo/v1) // Description: -// Accesses source code repositories hosted by Google. +// Accesses source code repositories hosted by Google. Important: Cloud Source +// Repositories is scheduled for end of sales starting June 17, 2024. +// Customers who have enabled the API prior to this date will not be affected +// and can continue to use Cloud Source Repositories. Organizations or +// projects who have not previously enabled the API cannot use Cloud Source +// Repositories after this date. View Cloud Source Repositories documentation +// for more info. // Documentation: -// https://cloud.google.com/source-repositories/docs/apis +// https://cloud.google.com/source-repositories/docs #import diff --git a/Sources/GeneratedServices/CloudSourceRepositories/GTLRCloudSourceRepositoriesService.m b/Sources/GeneratedServices/CloudSourceRepositories/GTLRCloudSourceRepositoriesService.m index 1096d6d66..643e79ba9 100644 --- a/Sources/GeneratedServices/CloudSourceRepositories/GTLRCloudSourceRepositoriesService.m +++ b/Sources/GeneratedServices/CloudSourceRepositories/GTLRCloudSourceRepositoriesService.m @@ -4,9 +4,15 @@ // API: // Cloud Source Repositories API (sourcerepo/v1) // Description: -// Accesses source code repositories hosted by Google. +// Accesses source code repositories hosted by Google. Important: Cloud Source +// Repositories is scheduled for end of sales starting June 17, 2024. +// Customers who have enabled the API prior to this date will not be affected +// and can continue to use Cloud Source Repositories. Organizations or +// projects who have not previously enabled the API cannot use Cloud Source +// Repositories after this date. View Cloud Source Repositories documentation +// for more info. // Documentation: -// https://cloud.google.com/source-repositories/docs/apis +// https://cloud.google.com/source-repositories/docs #import diff --git a/Sources/GeneratedServices/CloudSourceRepositories/Public/GoogleAPIClientForREST/GTLRCloudSourceRepositories.h b/Sources/GeneratedServices/CloudSourceRepositories/Public/GoogleAPIClientForREST/GTLRCloudSourceRepositories.h index 84ea86986..21121f906 100644 --- a/Sources/GeneratedServices/CloudSourceRepositories/Public/GoogleAPIClientForREST/GTLRCloudSourceRepositories.h +++ b/Sources/GeneratedServices/CloudSourceRepositories/Public/GoogleAPIClientForREST/GTLRCloudSourceRepositories.h @@ -4,9 +4,15 @@ // API: // Cloud Source Repositories API (sourcerepo/v1) // Description: -// Accesses source code repositories hosted by Google. +// Accesses source code repositories hosted by Google. Important: Cloud Source +// Repositories is scheduled for end of sales starting June 17, 2024. +// Customers who have enabled the API prior to this date will not be affected +// and can continue to use Cloud Source Repositories. Organizations or +// projects who have not previously enabled the API cannot use Cloud Source +// Repositories after this date. View Cloud Source Repositories documentation +// for more info. // Documentation: -// https://cloud.google.com/source-repositories/docs/apis +// https://cloud.google.com/source-repositories/docs #import "GTLRCloudSourceRepositoriesObjects.h" #import "GTLRCloudSourceRepositoriesQuery.h" diff --git a/Sources/GeneratedServices/CloudSourceRepositories/Public/GoogleAPIClientForREST/GTLRCloudSourceRepositoriesObjects.h b/Sources/GeneratedServices/CloudSourceRepositories/Public/GoogleAPIClientForREST/GTLRCloudSourceRepositoriesObjects.h index 6968860c9..0f6442410 100644 --- a/Sources/GeneratedServices/CloudSourceRepositories/Public/GoogleAPIClientForREST/GTLRCloudSourceRepositoriesObjects.h +++ b/Sources/GeneratedServices/CloudSourceRepositories/Public/GoogleAPIClientForREST/GTLRCloudSourceRepositoriesObjects.h @@ -4,9 +4,15 @@ // API: // Cloud Source Repositories API (sourcerepo/v1) // Description: -// Accesses source code repositories hosted by Google. +// Accesses source code repositories hosted by Google. Important: Cloud Source +// Repositories is scheduled for end of sales starting June 17, 2024. +// Customers who have enabled the API prior to this date will not be affected +// and can continue to use Cloud Source Repositories. Organizations or +// projects who have not previously enabled the API cannot use Cloud Source +// Repositories after this date. View Cloud Source Repositories documentation +// for more info. // Documentation: -// https://cloud.google.com/source-repositories/docs/apis +// https://cloud.google.com/source-repositories/docs #import diff --git a/Sources/GeneratedServices/CloudSourceRepositories/Public/GoogleAPIClientForREST/GTLRCloudSourceRepositoriesQuery.h b/Sources/GeneratedServices/CloudSourceRepositories/Public/GoogleAPIClientForREST/GTLRCloudSourceRepositoriesQuery.h index 1b4d1fc5d..8653ad83b 100644 --- a/Sources/GeneratedServices/CloudSourceRepositories/Public/GoogleAPIClientForREST/GTLRCloudSourceRepositoriesQuery.h +++ b/Sources/GeneratedServices/CloudSourceRepositories/Public/GoogleAPIClientForREST/GTLRCloudSourceRepositoriesQuery.h @@ -4,9 +4,15 @@ // API: // Cloud Source Repositories API (sourcerepo/v1) // Description: -// Accesses source code repositories hosted by Google. +// Accesses source code repositories hosted by Google. Important: Cloud Source +// Repositories is scheduled for end of sales starting June 17, 2024. +// Customers who have enabled the API prior to this date will not be affected +// and can continue to use Cloud Source Repositories. Organizations or +// projects who have not previously enabled the API cannot use Cloud Source +// Repositories after this date. View Cloud Source Repositories documentation +// for more info. // Documentation: -// https://cloud.google.com/source-repositories/docs/apis +// https://cloud.google.com/source-repositories/docs #import diff --git a/Sources/GeneratedServices/CloudSourceRepositories/Public/GoogleAPIClientForREST/GTLRCloudSourceRepositoriesService.h b/Sources/GeneratedServices/CloudSourceRepositories/Public/GoogleAPIClientForREST/GTLRCloudSourceRepositoriesService.h index bcf4eea4c..a1a19695d 100644 --- a/Sources/GeneratedServices/CloudSourceRepositories/Public/GoogleAPIClientForREST/GTLRCloudSourceRepositoriesService.h +++ b/Sources/GeneratedServices/CloudSourceRepositories/Public/GoogleAPIClientForREST/GTLRCloudSourceRepositoriesService.h @@ -4,9 +4,15 @@ // API: // Cloud Source Repositories API (sourcerepo/v1) // Description: -// Accesses source code repositories hosted by Google. +// Accesses source code repositories hosted by Google. Important: Cloud Source +// Repositories is scheduled for end of sales starting June 17, 2024. +// Customers who have enabled the API prior to this date will not be affected +// and can continue to use Cloud Source Repositories. Organizations or +// projects who have not previously enabled the API cannot use Cloud Source +// Repositories after this date. View Cloud Source Repositories documentation +// for more info. // Documentation: -// https://cloud.google.com/source-repositories/docs/apis +// https://cloud.google.com/source-repositories/docs #import @@ -57,7 +63,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeCloudSourceRepositoriesSourceRe /** * Service for executing Cloud Source Repositories API queries. * - * Accesses source code repositories hosted by Google. + * Accesses source code repositories hosted by Google. Important: Cloud Source + * Repositories is scheduled for end of sales starting June 17, 2024. Customers + * who have enabled the API prior to this date will not be affected and can + * continue to use Cloud Source Repositories. Organizations or projects who + * have not previously enabled the API cannot use Cloud Source Repositories + * after this date. View Cloud Source Repositories documentation for more info. */ @interface GTLRCloudSourceRepositoriesService : GTLRService diff --git a/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h b/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h index 757ac52a6..195d09830 100644 --- a/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h +++ b/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h @@ -418,11 +418,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudWorkstations_Workstation_State_Stat /** - * Configuration options for a custom domain. + * Configuration options for private workstation clusters. */ @interface GTLRCloudWorkstations_DomainConfig : GTLRObject -/** Immutable. Domain used by Workstations for HTTP ingress. */ +/** Immutable. Whether Workstations endpoint is private. */ @property(nonatomic, copy, nullable) NSString *domain; @end @@ -569,7 +569,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudWorkstations_Workstation_State_Stat * nested virtualization can only be enabled on workstation configurations that * specify a machine_type in the N1 or N2 machine series. * **GPUs**: nested * virtualization may not be enabled on workstation configurations with - * accelerators. * **Operating System**: Because [Container-Optimized + * accelerators. * **Operating System**: because [Container-Optimized * OS](https://cloud.google.com/compute/docs/images/os-details#container-optimized_os_cos) * does not support nested virtualization, when nested virtualization is * enabled, the underlying Compute Engine VM instances boot from an [Ubuntu @@ -1313,40 +1313,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudWorkstations_Workstation_State_Stat /** - * Configuration options for private workstation clusters. + * GTLRCloudWorkstations_PrivateClusterConfig */ @interface GTLRCloudWorkstations_PrivateClusterConfig : GTLRObject -/** - * Optional. Additional projects that are allowed to attach to the workstation - * cluster's service attachment. By default, the workstation cluster's project - * and the VPC host project (if different) are allowed. - */ @property(nonatomic, strong, nullable) NSArray *allowedProjects; - -/** - * Output only. Hostname for the workstation cluster. This field will be - * populated only when private endpoint is enabled. To access workstations in - * the workstation cluster, create a new DNS zone mapping this domain name to - * an internal IP address and a forwarding rule mapping that address to the - * service attachment. - */ @property(nonatomic, copy, nullable) NSString *clusterHostname; /** - * Immutable. Whether Workstations endpoint is private. + * enablePrivateEndpoint * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *enablePrivateEndpoint; -/** - * Output only. Service attachment URI for the workstation cluster. The service - * attachemnt is created when private endpoint is enabled. To access - * workstations in the workstation cluster, configure access to the managed - * service using [Private Service - * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services). - */ @property(nonatomic, copy, nullable) NSString *serviceAttachmentUri; @end diff --git a/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingObjects.h b/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingObjects.h index 4c7d7b079..fe24bfc9d 100644 --- a/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingObjects.h +++ b/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingObjects.h @@ -879,10 +879,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudbilling_GeoTaxonomy_Type_TypeUnspec /** A human readable display name for this service. */ @property(nonatomic, copy, nullable) NSString *displayName; -/** The resource name for the service. Example: "services/DA34-426B-A397" */ +/** The resource name for the service. Example: "services/6F81-5844-456A" */ @property(nonatomic, copy, nullable) NSString *name; -/** The identifier for the service. Example: "DA34-426B-A397" */ +/** The identifier for the service. Example: "6F81-5844-456A" */ @property(nonatomic, copy, nullable) NSString *serviceId; @end @@ -913,7 +913,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudbilling_GeoTaxonomy_Type_TypeUnspec /** - * Encapsulates a single SKU in Google Cloud Platform + * Encapsulates a single SKU in Google Cloud */ @interface GTLRCloudbilling_Sku : GTLRObject @@ -933,7 +933,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudbilling_GeoTaxonomy_Type_TypeUnspec /** * The resource name for the SKU. Example: - * "services/DA34-426B-A397/skus/AA95-CD31-42FE" + * "services/6F81-5844-456A/skus/D041-B8A1-6E0B" */ @property(nonatomic, copy, nullable) NSString *name; @@ -952,7 +952,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudbilling_GeoTaxonomy_Type_TypeUnspec */ @property(nonatomic, strong, nullable) NSArray *serviceRegions; -/** The identifier for the SKU. Example: "AA95-CD31-42FE" */ +/** The identifier for the SKU. Example: "D041-B8A1-6E0B" */ @property(nonatomic, copy, nullable) NSString *skuId; @end diff --git a/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingQuery.h b/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingQuery.h index 490d57ef1..84f1094bf 100644 --- a/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingQuery.h +++ b/Sources/GeneratedServices/Cloudbilling/Public/GoogleAPIClientForREST/GTLRCloudbillingQuery.h @@ -954,7 +954,7 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *pageToken; -/** Required. The name of the service. Example: "services/DA34-426B-A397" */ +/** Required. The name of the service. Example: "services/6F81-5844-456A" */ @property(nonatomic, copy, nullable) NSString *parent; /** @@ -972,7 +972,7 @@ NS_ASSUME_NONNULL_BEGIN * Lists all publicly available SKUs for a given cloud service. * * @param parent Required. The name of the service. Example: - * "services/DA34-426B-A397" + * "services/6F81-5844-456A" * * @return GTLRCloudbillingQuery_ServicesSkusList * diff --git a/Sources/GeneratedServices/Compute/GTLRComputeObjects.m b/Sources/GeneratedServices/Compute/GTLRComputeObjects.m index e71d6f75a..d1732f041 100644 --- a/Sources/GeneratedServices/Compute/GTLRComputeObjects.m +++ b/Sources/GeneratedServices/Compute/GTLRComputeObjects.m @@ -289,13 +289,6 @@ NSString * const kGTLRCompute_AuditLogConfig_LogType_DataWrite = @"DATA_WRITE"; NSString * const kGTLRCompute_AuditLogConfig_LogType_LogTypeUnspecified = @"LOG_TYPE_UNSPECIFIED"; -// GTLRCompute_AuthorizationLoggingOptions.permissionType -NSString * const kGTLRCompute_AuthorizationLoggingOptions_PermissionType_AdminRead = @"ADMIN_READ"; -NSString * const kGTLRCompute_AuthorizationLoggingOptions_PermissionType_AdminWrite = @"ADMIN_WRITE"; -NSString * const kGTLRCompute_AuthorizationLoggingOptions_PermissionType_DataRead = @"DATA_READ"; -NSString * const kGTLRCompute_AuthorizationLoggingOptions_PermissionType_DataWrite = @"DATA_WRITE"; -NSString * const kGTLRCompute_AuthorizationLoggingOptions_PermissionType_PermissionTypeUnspecified = @"PERMISSION_TYPE_UNSPECIFIED"; - // GTLRCompute_Autoscaler.status NSString * const kGTLRCompute_Autoscaler_Status_Active = @"ACTIVE"; NSString * const kGTLRCompute_Autoscaler_Status_Deleting = @"DELETING"; @@ -7832,16 +7825,6 @@ @implementation GTLRCompute_AuditLogConfig @end -// ---------------------------------------------------------------------------- -// -// GTLRCompute_AuthorizationLoggingOptions -// - -@implementation GTLRCompute_AuthorizationLoggingOptions -@dynamic permissionType; -@end - - // ---------------------------------------------------------------------------- // // GTLRCompute_Autoscaler @@ -14852,7 +14835,7 @@ @implementation GTLRCompute_LogConfig // @implementation GTLRCompute_LogConfigCloudAuditOptions -@dynamic authorizationLoggingOptions, logName; +@dynamic logName; @end diff --git a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h index b9f9f1005..0dd93e747 100644 --- a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h +++ b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h @@ -51,7 +51,6 @@ @class GTLRCompute_AttachedDiskInitializeParams_ResourceManagerTags; @class GTLRCompute_AuditConfig; @class GTLRCompute_AuditLogConfig; -@class GTLRCompute_AuthorizationLoggingOptions; @class GTLRCompute_Autoscaler; @class GTLRCompute_Autoscaler_ScalingScheduleStatus; @class GTLRCompute_AutoscalerAggregatedList_Items; @@ -2430,40 +2429,6 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_AuditLogConfig_LogType_DataWrite */ FOUNDATION_EXTERN NSString * const kGTLRCompute_AuditLogConfig_LogType_LogTypeUnspecified; -// ---------------------------------------------------------------------------- -// GTLRCompute_AuthorizationLoggingOptions.permissionType - -/** - * This is deprecated and has no effect. Do not use. - * - * Value: "ADMIN_READ" - */ -FOUNDATION_EXTERN NSString * const kGTLRCompute_AuthorizationLoggingOptions_PermissionType_AdminRead; -/** - * This is deprecated and has no effect. Do not use. - * - * Value: "ADMIN_WRITE" - */ -FOUNDATION_EXTERN NSString * const kGTLRCompute_AuthorizationLoggingOptions_PermissionType_AdminWrite; -/** - * This is deprecated and has no effect. Do not use. - * - * Value: "DATA_READ" - */ -FOUNDATION_EXTERN NSString * const kGTLRCompute_AuthorizationLoggingOptions_PermissionType_DataRead; -/** - * This is deprecated and has no effect. Do not use. - * - * Value: "DATA_WRITE" - */ -FOUNDATION_EXTERN NSString * const kGTLRCompute_AuthorizationLoggingOptions_PermissionType_DataWrite; -/** - * This is deprecated and has no effect. Do not use. - * - * Value: "PERMISSION_TYPE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRCompute_AuthorizationLoggingOptions_PermissionType_PermissionTypeUnspecified; - // ---------------------------------------------------------------------------- // GTLRCompute_Autoscaler.status @@ -42729,35 +42694,6 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end -/** - * This is deprecated and has no effect. Do not use. - */ -@interface GTLRCompute_AuthorizationLoggingOptions : GTLRObject - -/** - * This is deprecated and has no effect. Do not use. - * - * Likely values: - * @arg @c kGTLRCompute_AuthorizationLoggingOptions_PermissionType_AdminRead - * This is deprecated and has no effect. Do not use. (Value: - * "ADMIN_READ") - * @arg @c kGTLRCompute_AuthorizationLoggingOptions_PermissionType_AdminWrite - * This is deprecated and has no effect. Do not use. (Value: - * "ADMIN_WRITE") - * @arg @c kGTLRCompute_AuthorizationLoggingOptions_PermissionType_DataRead - * This is deprecated and has no effect. Do not use. (Value: "DATA_READ") - * @arg @c kGTLRCompute_AuthorizationLoggingOptions_PermissionType_DataWrite - * This is deprecated and has no effect. Do not use. (Value: - * "DATA_WRITE") - * @arg @c kGTLRCompute_AuthorizationLoggingOptions_PermissionType_PermissionTypeUnspecified - * This is deprecated and has no effect. Do not use. (Value: - * "PERMISSION_TYPE_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *permissionType; - -@end - - /** * Represents an Autoscaler resource. Google Compute Engine has two Autoscaler * resources: * [Zonal](/compute/docs/reference/rest/v1/autoscalers) * @@ -66187,9 +66123,6 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @interface GTLRCompute_LogConfigCloudAuditOptions : GTLRObject -/** This is deprecated and has no effect. Do not use. */ -@property(nonatomic, strong, nullable) GTLRCompute_AuthorizationLoggingOptions *authorizationLoggingOptions; - /** * This is deprecated and has no effect. Do not use. * diff --git a/Sources/GeneratedServices/Connectors/GTLRConnectorsObjects.m b/Sources/GeneratedServices/Connectors/GTLRConnectorsObjects.m index 8ef25c8a7..d4ce817e1 100644 --- a/Sources/GeneratedServices/Connectors/GTLRConnectorsObjects.m +++ b/Sources/GeneratedServices/Connectors/GTLRConnectorsObjects.m @@ -305,6 +305,24 @@ @implementation GTLRConnectors_AccessCredentials @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_AclInfo +// + +@implementation GTLRConnectors_AclInfo +@dynamic readers; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"readers" : [GTLRConnectors_Readers class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_Action @@ -436,6 +454,25 @@ @implementation GTLRConnectors_EntityType @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_EntityWithACL +// + +@implementation GTLRConnectors_EntityWithACL +@dynamic aclInfo, identifier, jsonData; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"aclInfo" : @"acl_info", + @"identifier" : @"id" + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_ExchangeAuthCodeRequest @@ -822,6 +859,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ListEntitiesWithACLsResponse +// + +@implementation GTLRConnectors_ListEntitiesWithACLsResponse +@dynamic entitiesWithAcl, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"entitiesWithAcl" : [GTLRConnectors_EntityWithACL class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"entitiesWithAcl"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_ListEntityTypesResponse @@ -972,6 +1031,25 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_Principal +// + +@implementation GTLRConnectors_Principal +@dynamic groupId, userId; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"groupId" : @"group_id", + @"userId" : @"user_id" + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_ProvisionedResource @@ -1010,6 +1088,24 @@ @implementation GTLRConnectors_QueryParameter @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_Readers +// + +@implementation GTLRConnectors_Readers +@dynamic principals; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"principals" : [GTLRConnectors_Principal class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_Reference diff --git a/Sources/GeneratedServices/Connectors/GTLRConnectorsQuery.m b/Sources/GeneratedServices/Connectors/GTLRConnectorsQuery.m index f8dadcdd4..cd8db61ff 100644 --- a/Sources/GeneratedServices/Connectors/GTLRConnectorsQuery.m +++ b/Sources/GeneratedServices/Connectors/GTLRConnectorsQuery.m @@ -299,6 +299,32 @@ + (instancetype)queryWithObject:(GTLRConnectors_Entity *)object @end +@implementation GTLRConnectorsQuery_ProjectsLocationsConnectionsEntityTypesEntitieswithaclsList + +@dynamic conditions, gsutilUri, pageSize, pageToken, parent, sortBy; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"sortBy" : [NSString class] + }; + return map; +} + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v2/{+parent}/entitieswithacls"; + GTLRConnectorsQuery_ProjectsLocationsConnectionsEntityTypesEntitieswithaclsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRConnectors_ListEntitiesWithACLsResponse class]; + query.loggingName = @"connectors.projects.locations.connections.entityTypes.entitieswithacls.list"; + return query; +} + +@end + @implementation GTLRConnectorsQuery_ProjectsLocationsConnectionsEntityTypesGet @dynamic name; diff --git a/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsObjects.h b/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsObjects.h index 95cbd3671..9684e6d9a 100644 --- a/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsObjects.h +++ b/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsObjects.h @@ -16,6 +16,7 @@ #endif @class GTLRConnectors_AccessCredentials; +@class GTLRConnectors_AclInfo; @class GTLRConnectors_Action; @class GTLRConnectors_DailyCycle; @class GTLRConnectors_Date; @@ -23,6 +24,7 @@ @class GTLRConnectors_Entity; @class GTLRConnectors_Entity_Fields; @class GTLRConnectors_EntityType; +@class GTLRConnectors_EntityWithACL; @class GTLRConnectors_ExecuteActionRequest_Parameters; @class GTLRConnectors_ExecuteActionResponse_Results_Item; @class GTLRConnectors_ExecuteSqlQueryResponse_Results_Item; @@ -49,9 +51,11 @@ @class GTLRConnectors_NotificationParameter; @class GTLRConnectors_PerSliSloEligibility; @class GTLRConnectors_PerSliSloEligibility_Eligibilities; +@class GTLRConnectors_Principal; @class GTLRConnectors_ProvisionedResource; @class GTLRConnectors_Query; @class GTLRConnectors_QueryParameter; +@class GTLRConnectors_Readers; @class GTLRConnectors_Reference; @class GTLRConnectors_ResultMetadata; @class GTLRConnectors_Schedule; @@ -1702,6 +1706,19 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * AclInfo has a list of readers for a resource. This is defined as per the + * below docs + * https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/projects.locations.collections.dataStores.branches.documents#aclinfo + */ +@interface GTLRConnectors_AclInfo : GTLRObject + +/** A list of readers for a resource. */ +@property(nonatomic, strong, nullable) NSArray *readers; + +@end + + /** * Action message contains metadata information about a single action present * in the external system. @@ -1934,6 +1951,27 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * EntityWithACL refers to a single row of an entity type with ACL information. + */ +@interface GTLRConnectors_EntityWithACL : GTLRObject + +/** ACL information of the entity. */ +@property(nonatomic, strong, nullable) GTLRConnectors_AclInfo *aclInfo; + +/** + * identifier + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** Entity data in JSON format. */ +@property(nonatomic, copy, nullable) NSString *jsonData; + +@end + + /** * ExchangeAuthCodeRequest currently includes no fields. */ @@ -2842,6 +2880,30 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * Response message for EntityService.ListEntitiesWithACLs + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "entitiesWithAcl" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRConnectors_ListEntitiesWithACLsResponse : GTLRCollectionObject + +/** + * List containing entity rows. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *entitiesWithAcl; + +/** Next page token if more records are available. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * Response message for EntityService.ListEntityTypes * @@ -3128,6 +3190,20 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * Principal is a user or group that has access to a resource. + */ +@interface GTLRConnectors_Principal : GTLRObject + +/** The group that has access to a resource. */ +@property(nonatomic, copy, nullable) NSString *groupId; + +/** The user that has access to a resource. */ +@property(nonatomic, copy, nullable) NSString *userId; + +@end + + /** * Describes provisioned dataplane resources. */ @@ -3298,6 +3374,17 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * Readers is a list of principals that have read access to a resource. + */ +@interface GTLRConnectors_Readers : GTLRObject + +/** A list of principals that have read access to a resource. */ +@property(nonatomic, strong, nullable) NSArray *principals; + +@end + + /** * GTLRConnectors_Reference */ diff --git a/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsQuery.h b/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsQuery.h index 832f8d6c5..9e02cac4c 100644 --- a/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsQuery.h +++ b/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsQuery.h @@ -565,6 +565,81 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectorsViewEntityTypeViewUnspecified; @end +/** + * Lists entity rows with ACLs of a particular entity type contained in the + * request. Note: 1. Currently, only max of one 'sort_by' column is supported. + * 2. If no 'sort_by' column is provided, the primary key of the table is used. + * If zero or more than one primary key is available, we default to the + * unpaginated list entities logic which only returns the first page. 3. The + * values of the 'sort_by' columns must uniquely identify an entity row, + * otherwise undefined behaviors may be observed during pagination. 4. Since + * transactions are not supported, any updates, inserts or deletes during + * pagination can lead to stale data being returned or other unexpected + * behaviors. + * + * Method: connectors.projects.locations.connections.entityTypes.entitieswithacls.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeConnectorsCloudPlatform + */ +@interface GTLRConnectorsQuery_ProjectsLocationsConnectionsEntityTypesEntitieswithaclsList : GTLRConnectorsQuery + +/** + * Conditions to be used when listing entities. From a proto standpoint, There + * are no restrictions on what can be passed using this field. The connector + * documentation should have information about what format of + * filters/conditions are supported. + */ +@property(nonatomic, copy, nullable) NSString *conditions; + +/** Format: gs://object_path */ +@property(nonatomic, copy, nullable) NSString *gsutilUri; + +/** + * Number of entity rows to return. Defaults page size = 25. Max page size = + * 200. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** Page token value if available from a previous request. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Resource name of the Entity Type. Format: + * projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** List of 'sort_by' columns to use when returning the results. */ +@property(nonatomic, strong, nullable) NSArray *sortBy; + +/** + * Fetches a @c GTLRConnectors_ListEntitiesWithACLsResponse. + * + * Lists entity rows with ACLs of a particular entity type contained in the + * request. Note: 1. Currently, only max of one 'sort_by' column is supported. + * 2. If no 'sort_by' column is provided, the primary key of the table is used. + * If zero or more than one primary key is available, we default to the + * unpaginated list entities logic which only returns the first page. 3. The + * values of the 'sort_by' columns must uniquely identify an entity row, + * otherwise undefined behaviors may be observed during pagination. 4. Since + * transactions are not supported, any updates, inserts or deletes during + * pagination can lead to stale data being returned or other unexpected + * behaviors. + * + * @param parent Required. Resource name of the Entity Type. Format: + * projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type} + * + * @return GTLRConnectorsQuery_ProjectsLocationsConnectionsEntityTypesEntitieswithaclsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + /** * Gets metadata of given entity type * diff --git a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h index 48625a115..9f9a3a7e2 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h +++ b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h @@ -541,7 +541,12 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *name; /** - * The list of fields to be updated. + * The list of fields to be updated. All possible fields can be updated by + * passing `*`, or a subset of the following updateable fields can be provided: + * * `agent_id` * `language_code` * `labels` * `metadata` * `quality_metadata` + * * `call_metadata` * `start_time` * `expire_time` or `ttl` * + * `data_source.gcs_source.audio_uri` or + * `data_source.dialogflow_source.audio_uri` * * String format is a comma-separated list of fields. */ diff --git a/Sources/GeneratedServices/Container/GTLRContainerObjects.m b/Sources/GeneratedServices/Container/GTLRContainerObjects.m index 236a5cdc9..f2f8d8394 100644 --- a/Sources/GeneratedServices/Container/GTLRContainerObjects.m +++ b/Sources/GeneratedServices/Container/GTLRContainerObjects.m @@ -173,11 +173,13 @@ // GTLRContainer_MonitoringComponentConfig.enableComponents NSString * const kGTLRContainer_MonitoringComponentConfig_EnableComponents_Apiserver = @"APISERVER"; +NSString * const kGTLRContainer_MonitoringComponentConfig_EnableComponents_Cadvisor = @"CADVISOR"; NSString * const kGTLRContainer_MonitoringComponentConfig_EnableComponents_ComponentUnspecified = @"COMPONENT_UNSPECIFIED"; NSString * const kGTLRContainer_MonitoringComponentConfig_EnableComponents_ControllerManager = @"CONTROLLER_MANAGER"; NSString * const kGTLRContainer_MonitoringComponentConfig_EnableComponents_Daemonset = @"DAEMONSET"; NSString * const kGTLRContainer_MonitoringComponentConfig_EnableComponents_Deployment = @"DEPLOYMENT"; NSString * const kGTLRContainer_MonitoringComponentConfig_EnableComponents_Hpa = @"HPA"; +NSString * const kGTLRContainer_MonitoringComponentConfig_EnableComponents_Kubelet = @"KUBELET"; NSString * const kGTLRContainer_MonitoringComponentConfig_EnableComponents_Pod = @"POD"; NSString * const kGTLRContainer_MonitoringComponentConfig_EnableComponents_Scheduler = @"SCHEDULER"; NSString * const kGTLRContainer_MonitoringComponentConfig_EnableComponents_Statefulset = @"STATEFULSET"; diff --git a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h index 826358e87..5eafbb430 100644 --- a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h +++ b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h @@ -939,6 +939,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_MaintenanceExclusionOptions_Sc * Value: "APISERVER" */ FOUNDATION_EXTERN NSString * const kGTLRContainer_MonitoringComponentConfig_EnableComponents_Apiserver; +/** + * CADVISOR + * + * Value: "CADVISOR" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_MonitoringComponentConfig_EnableComponents_Cadvisor; /** * Default value. This shouldn't be used. * @@ -969,6 +975,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_MonitoringComponentConfig_Enab * Value: "HPA" */ FOUNDATION_EXTERN NSString * const kGTLRContainer_MonitoringComponentConfig_EnableComponents_Hpa; +/** + * KUBELET + * + * Value: "KUBELET" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_MonitoringComponentConfig_EnableComponents_Kubelet; /** * Pod * diff --git a/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m b/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m index 9303a5fff..dac2d1730 100644 --- a/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m +++ b/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m @@ -887,7 +887,7 @@ @implementation GTLRContainerAnalysis_ComplianceNote // @implementation GTLRContainerAnalysis_ComplianceOccurrence -@dynamic nonComplianceReason, nonCompliantFiles; +@dynamic nonComplianceReason, nonCompliantFiles, version; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1335,10 +1335,10 @@ @implementation GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1ArtifactsPythonP @implementation GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1Build @dynamic approval, artifacts, availableSecrets, buildTriggerId, createTime, - failureInfo, finishTime, identifier, images, logsBucket, logUrl, name, - options, projectId, queueTtl, results, secrets, serviceAccount, source, - sourceProvenance, startTime, status, statusDetail, steps, - substitutions, tags, timeout, timing, warnings; + failureInfo, finishTime, gitConfig, identifier, images, logsBucket, + logUrl, name, options, projectId, queueTtl, results, secrets, + serviceAccount, source, sourceProvenance, startTime, status, + statusDetail, steps, substitutions, tags, timeout, timing, warnings; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -1499,6 +1499,16 @@ @implementation GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1ConnectedReposit @end +// ---------------------------------------------------------------------------- +// +// GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1DeveloperConnectConfig +// + +@implementation GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1DeveloperConnectConfig +@dynamic dir, gitRepositoryLink, revision; +@end + + // ---------------------------------------------------------------------------- // // GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1FileHashes @@ -1517,6 +1527,36 @@ @implementation GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1FileHashes @end +// ---------------------------------------------------------------------------- +// +// GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1GCSLocation +// + +@implementation GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1GCSLocation +@dynamic bucket, generation, object; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1GitConfig +// + +@implementation GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1GitConfig +@dynamic http; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1GitConfigHttpConfig +// + +@implementation GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1GitConfigHttpConfig +@dynamic proxySecretVersionName, proxySslCaInfo; +@end + + // ---------------------------------------------------------------------------- // // GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1GitSource @@ -1673,8 +1713,8 @@ @implementation GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1Secrets // @implementation GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1Source -@dynamic connectedRepository, gitSource, repoSource, storageSource, - storageSourceManifest; +@dynamic connectedRepository, developerConnectConfig, gitSource, repoSource, + storageSource, storageSourceManifest; @end diff --git a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisObjects.h b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisObjects.h index daac4fded..3c51f6d77 100644 --- a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisObjects.h +++ b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisObjects.h @@ -82,7 +82,11 @@ @class GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1BuildWarning; @class GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1BuiltImage; @class GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1ConnectedRepository; +@class GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1DeveloperConnectConfig; @class GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1FileHashes; +@class GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1GCSLocation; +@class GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1GitConfig; +@class GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1GitConfigHttpConfig; @class GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1GitSource; @class GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1Hash; @class GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1InlineSecret; @@ -2792,6 +2796,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc @property(nonatomic, copy, nullable) NSString *nonComplianceReason; @property(nonatomic, strong, nullable) NSArray *nonCompliantFiles; +/** The OS and config version the benchmark was run on. */ +@property(nonatomic, strong, nullable) GTLRContainerAnalysis_ComplianceVersion *version; + @end @@ -4097,6 +4104,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc */ @property(nonatomic, strong, nullable) GTLRDateTime *finishTime; +/** Optional. Configuration for git operations. */ +@property(nonatomic, strong, nullable) GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1GitConfig *gitConfig; + /** * Output only. Unique identifier of the build. * @@ -4162,7 +4172,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc */ @property(nonatomic, copy, nullable) NSString *serviceAccount; -/** The location of the source files to build. */ +/** Optional. The location of the source files to build. */ @property(nonatomic, strong, nullable) GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1Source *source; /** Output only. A permanent fixed identifier for source. */ @@ -4365,7 +4375,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc * "disk free"; some of the space will be used by the operating system and * build utilities. Also note that this is the minimum disk size that will be * allocated for the build -- the build may run with a larger disk than - * requested. At present, the maximum disk size is 2000GB; builds that request + * requested. At present, the maximum disk size is 4000GB; builds that request * more than the maximum are rejected with an error. * * Uses NSNumber of longLongValue. @@ -4762,7 +4772,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc */ @interface GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1ConnectedRepository : GTLRObject -/** Directory, relative to the source root, in which to run the build. */ +/** + * Optional. Directory, relative to the source root, in which to run the build. + */ @property(nonatomic, copy, nullable) NSString *dir; /** @@ -4772,8 +4784,33 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc @property(nonatomic, copy, nullable) NSString *repository; /** - * The revision to fetch from the Git repository such as a branch, a tag, a - * commit SHA, or any Git ref. + * Required. The revision to fetch from the Git repository such as a branch, a + * tag, a commit SHA, or any Git ref. + */ +@property(nonatomic, copy, nullable) NSString *revision; + +@end + + +/** + * This config defines the location of a source through Developer Connect. + */ +@interface GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1DeveloperConnectConfig : GTLRObject + +/** + * Required. Directory, relative to the source root, in which to run the build. + */ +@property(nonatomic, copy, nullable) NSString *dir; + +/** + * Required. The Developer Connect Git repository link, formatted as `projects/ + * * /locations/ * /connections/ * /gitRepositoryLink/ *`. + */ +@property(nonatomic, copy, nullable) NSString *gitRepositoryLink; + +/** + * Required. The revision to fetch from the Git repository such as a branch, a + * tag, a commit SHA, or any Git ref. */ @property(nonatomic, copy, nullable) NSString *revision; @@ -4792,21 +4829,80 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc @end +/** + * Represents a storage location in Cloud Storage + */ +@interface GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1GCSLocation : GTLRObject + +/** + * Cloud Storage bucket. See + * https://cloud.google.com/storage/docs/naming#requirements + */ +@property(nonatomic, copy, nullable) NSString *bucket; + +/** + * Cloud Storage generation for the object. If the generation is omitted, the + * latest generation will be used. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *generation; + +/** + * Cloud Storage object. See + * https://cloud.google.com/storage/docs/naming#objectnames + */ +@property(nonatomic, copy, nullable) NSString *object; + +@end + + +/** + * GitConfig is a configuration for git operations. + */ +@interface GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1GitConfig : GTLRObject + +/** Configuration for HTTP related git operations. */ +@property(nonatomic, strong, nullable) GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1GitConfigHttpConfig *http; + +@end + + +/** + * HttpConfig is a configuration for HTTP related git operations. + */ +@interface GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1GitConfigHttpConfig : GTLRObject + +/** + * SecretVersion resource of the HTTP proxy URL. The proxy URL should be in + * format protocol://\@]proxyhost[:port]. + */ +@property(nonatomic, copy, nullable) NSString *proxySecretVersionName; + +/** + * Optional. Cloud Storage object storing the certificate to use with the HTTP + * proxy. + */ +@property(nonatomic, strong, nullable) GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1GCSLocation *proxySslCaInfo; + +@end + + /** * Location of the source in any accessible Git repository. */ @interface GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1GitSource : GTLRObject /** - * Directory, relative to the source root, in which to run the build. This must - * be a relative path. If a step's `dir` is specified and is an absolute path, - * this value is ignored for that step's execution. + * Optional. Directory, relative to the source root, in which to run the build. + * This must be a relative path. If a step's `dir` is specified and is an + * absolute path, this value is ignored for that step's execution. */ @property(nonatomic, copy, nullable) NSString *dir; /** - * The revision to fetch from the Git repository such as a branch, a tag, a - * commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the + * Optional. The revision to fetch from the Git repository such as a branch, a + * tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the * revision from the Git repository; therefore make sure that the string you * provide for `revision` is parsable by the command. For information on string * values accepted by `git fetch`, see @@ -4816,8 +4912,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc @property(nonatomic, copy, nullable) NSString *revision; /** - * Location of the Git repo to build. This will be used as a `git remote`, see - * https://git-scm.com/docs/git-remote. + * Required. Location of the Git repo to build. This will be used as a `git + * remote`, see https://git-scm.com/docs/git-remote. */ @property(nonatomic, copy, nullable) NSString *url; @@ -4910,32 +5006,32 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc @property(nonatomic, copy, nullable) NSString *commitSha; /** - * Directory, relative to the source root, in which to run the build. This must - * be a relative path. If a step's `dir` is specified and is an absolute path, - * this value is ignored for that step's execution. + * Optional. Directory, relative to the source root, in which to run the build. + * This must be a relative path. If a step's `dir` is specified and is an + * absolute path, this value is ignored for that step's execution. */ @property(nonatomic, copy, nullable) NSString *dir; /** - * Only trigger a build if the revision regex does NOT match the revision - * regex. + * Optional. Only trigger a build if the revision regex does NOT match the + * revision regex. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *invertRegex; /** - * ID of the project that owns the Cloud Source Repository. If omitted, the - * project ID requesting the build is assumed. + * Optional. ID of the project that owns the Cloud Source Repository. If + * omitted, the project ID requesting the build is assumed. */ @property(nonatomic, copy, nullable) NSString *projectId; -/** Name of the Cloud Source Repository. */ +/** Required. Name of the Cloud Source Repository. */ @property(nonatomic, copy, nullable) NSString *repoName; /** - * Substitutions to use in a triggered build. Should only be used with - * RunBuildTrigger + * Optional. Substitutions to use in a triggered build. Should only be used + * with RunBuildTrigger */ @property(nonatomic, strong, nullable) GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1RepoSource_Substitutions *substitutions; @@ -4950,8 +5046,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc /** - * Substitutions to use in a triggered build. Should only be used with - * RunBuildTrigger + * Optional. Substitutions to use in a triggered build. Should only be used + * with RunBuildTrigger * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list @@ -4987,7 +5083,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc * corresponding to build step indices. [Cloud * Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can * produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first - * 50KB of data is stored. + * 50KB of data is stored. Note that the `$BUILDER_OUTPUT` variable is + * read-only and can't be substituted. * * Contains encoded binary data; GTLRBase64 can encode/decode (probably * web-safe format). @@ -5107,6 +5204,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc */ @property(nonatomic, strong, nullable) GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1ConnectedRepository *connectedRepository; +/** If provided, get the source from this Developer Connect config. */ +@property(nonatomic, strong, nullable) GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1DeveloperConnectConfig *developerConnectConfig; + /** If provided, get the source from this Git repository. */ @property(nonatomic, strong, nullable) GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1GitSource *gitSource; @@ -5209,16 +5309,17 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc @property(nonatomic, copy, nullable) NSString *bucket; /** - * Cloud Storage generation for the object. If the generation is omitted, the - * latest generation will be used. + * Optional. Cloud Storage generation for the object. If the generation is + * omitted, the latest generation will be used. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *generation; /** - * Cloud Storage object containing the source. This object must be a zipped - * (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. + * Required. Cloud Storage object containing the source. This object must be a + * zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to + * build. */ @property(nonatomic, copy, nullable) NSString *object; @@ -5247,7 +5348,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc @interface GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1StorageSourceManifest : GTLRObject /** - * Cloud Storage bucket containing the source manifest (see [Bucket Name + * Required. Cloud Storage bucket containing the source manifest (see [Bucket + * Name * Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */ @property(nonatomic, copy, nullable) NSString *bucket; @@ -5261,8 +5363,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc @property(nonatomic, strong, nullable) NSNumber *generation; /** - * Cloud Storage object containing the source manifest. This object must be a - * JSON file. + * Required. Cloud Storage object containing the source manifest. This object + * must be a JSON file. */ @property(nonatomic, copy, nullable) NSString *object; diff --git a/Sources/GeneratedServices/DLP/GTLRDLPObjects.m b/Sources/GeneratedServices/DLP/GTLRDLPObjects.m index cd3224402..27c784b68 100644 --- a/Sources/GeneratedServices/DLP/GTLRDLPObjects.m +++ b/Sources/GeneratedServices/DLP/GTLRDLPObjects.m @@ -275,6 +275,7 @@ // GTLRDLP_GooglePrivacyDlpV2InfoTypeCategory.locationCategory NSString * const kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Argentina = @"ARGENTINA"; NSString * const kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Australia = @"AUSTRALIA"; +NSString * const kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Azerbaijan = @"AZERBAIJAN"; NSString * const kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Belgium = @"BELGIUM"; NSString * const kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Brazil = @"BRAZIL"; NSString * const kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Canada = @"CANADA"; @@ -1199,7 +1200,7 @@ @implementation GTLRDLP_GooglePrivacyDlpV2DatabaseResourceCollection // @implementation GTLRDLP_GooglePrivacyDlpV2DatabaseResourceReference -@dynamic instance, projectId; +@dynamic database, databaseResource, instance, projectId; @end @@ -1578,7 +1579,7 @@ @implementation GTLRDLP_GooglePrivacyDlpV2DiscoveryBigQueryConditions // @implementation GTLRDLP_GooglePrivacyDlpV2DiscoveryBigQueryFilter -@dynamic otherTables, tables; +@dynamic otherTables, tableReference, tables; @end @@ -1705,7 +1706,7 @@ @implementation GTLRDLP_GooglePrivacyDlpV2DiscoveryTableModifiedCadence // @implementation GTLRDLP_GooglePrivacyDlpV2DiscoveryTarget -@dynamic bigQueryTarget, cloudSqlTarget; +@dynamic bigQueryTarget, cloudSqlTarget, secretsTarget; @end @@ -3582,6 +3583,15 @@ @implementation GTLRDLP_GooglePrivacyDlpV2SecretManagerCredential @end +// ---------------------------------------------------------------------------- +// +// GTLRDLP_GooglePrivacyDlpV2SecretsDiscoveryTarget +// + +@implementation GTLRDLP_GooglePrivacyDlpV2SecretsDiscoveryTarget +@end + + // ---------------------------------------------------------------------------- // // GTLRDLP_GooglePrivacyDlpV2SelectedInfoTypes @@ -3826,6 +3836,16 @@ @implementation GTLRDLP_GooglePrivacyDlpV2TableOptions @end +// ---------------------------------------------------------------------------- +// +// GTLRDLP_GooglePrivacyDlpV2TableReference +// + +@implementation GTLRDLP_GooglePrivacyDlpV2TableReference +@dynamic datasetId, tableId; +@end + + // ---------------------------------------------------------------------------- // // GTLRDLP_GooglePrivacyDlpV2TaggedField diff --git a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h index a04d3502b..8cb2002e5 100644 --- a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h +++ b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h @@ -213,6 +213,7 @@ @class GTLRDLP_GooglePrivacyDlpV2Schedule; @class GTLRDLP_GooglePrivacyDlpV2SchemaModifiedCadence; @class GTLRDLP_GooglePrivacyDlpV2SecretManagerCredential; +@class GTLRDLP_GooglePrivacyDlpV2SecretsDiscoveryTarget; @class GTLRDLP_GooglePrivacyDlpV2SelectedInfoTypes; @class GTLRDLP_GooglePrivacyDlpV2SensitivityScore; @class GTLRDLP_GooglePrivacyDlpV2StatisticalTable; @@ -230,6 +231,7 @@ @class GTLRDLP_GooglePrivacyDlpV2TableDataProfile_ResourceLabels; @class GTLRDLP_GooglePrivacyDlpV2TableLocation; @class GTLRDLP_GooglePrivacyDlpV2TableOptions; +@class GTLRDLP_GooglePrivacyDlpV2TableReference; @class GTLRDLP_GooglePrivacyDlpV2TaggedField; @class GTLRDLP_GooglePrivacyDlpV2ThrowError; @class GTLRDLP_GooglePrivacyDlpV2TimePartConfig; @@ -450,13 +452,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2CharsToIgnore_Comm */ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine_DatabaseEngineMysql; /** - * Cloud SQL for Postgres instance. + * Cloud SQL for PostgreSQL instance. * * Value: "DATABASE_ENGINE_POSTGRES" */ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine_DatabaseEnginePostgres; /** - * An engine that is not currently supported by SDP. + * An engine that is not currently supported by Sensitive Data Protection. * * Value: "DATABASE_ENGINE_UNKNOWN" */ @@ -870,9 +872,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Connection_State_C /** * A configured connection that encountered errors during its last use. It will * not be used again until it is set to AVAILABLE. If the resolution requires - * external action, then a request to set the status to AVAILABLE will mark - * this connection for use. Otherwise, any changes to the connection properties - * will automatically mark it as AVAILABLE. + * external action, then the client must send a request to set the status to + * AVAILABLE when the connection is ready for use. If the resolution doesn't + * require external action, then any changes to the connection properties will + * automatically mark it as AVAILABLE. * * Value: "ERROR" */ @@ -980,9 +983,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2CustomInfoType_Lik // GTLRDLP_GooglePrivacyDlpV2DataProfilePubSubMessage.event /** - * Changed one of the following profile metrics: * Data risk score * - * Sensitivity score * Resource visibility * Encryption type * Predicted - * infoTypes * Other infoTypes + * One of the following profile metrics changed: Data risk score, Sensitivity + * score, Resource visibility, Encryption type, Predicted infoTypes, Other + * infoTypes * * Value: "CHANGED_PROFILE" */ @@ -1235,13 +1238,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2DiscoveryCloudSqlC */ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEngines_DatabaseEngineUnspecified; /** - * MySql database. + * MySQL database. * * Value: "MYSQL" */ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEngines_Mysql; /** - * PostGres database. + * PostgreSQL database. * * Value: "POSTGRES" */ @@ -1620,6 +1623,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_L * Value: "AUSTRALIA" */ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Australia; +/** + * The infoType is typically used in Azerbaijan. + * + * Value: "AZERBAIJAN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Azerbaijan; /** * The infoType is typically used in Belgium. * @@ -2294,9 +2303,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2PubSubNotification // GTLRDLP_GooglePrivacyDlpV2PubSubNotification.event /** - * Changed one of the following profile metrics: * Data risk score * - * Sensitivity score * Resource visibility * Encryption type * Predicted - * infoTypes * Other infoTypes + * One of the following profile metrics changed: Data risk score, Sensitivity + * score, Resource visibility, Encryption type, Predicted infoTypes, Other + * infoTypes * * Value: "CHANGED_PROFILE" */ @@ -2358,7 +2367,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2SchemaModifiedCade // GTLRDLP_GooglePrivacyDlpV2SchemaModifiedCadence.types /** - * New columns has appeared. + * New columns have appeared. * * Value: "NEW_COLUMNS" */ @@ -2493,8 +2502,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2TableDataProfile_E // GTLRDLP_GooglePrivacyDlpV2TableDataProfile.resourceVisibility /** - * May contain public items. For example, if a GCS bucket has uniform bucket - * level access disabled, some objects inside it may be public. + * May contain public items. For example, if a Cloud Storage bucket has uniform + * bucket level access disabled, some objects inside it may be public. * * Value: "RESOURCE_VISIBILITY_INCONCLUSIVE" */ @@ -3489,8 +3498,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** - * Use IAM auth to connect. This requires the Cloud SQL IAM feature to be - * enabled on the instance, which is not the default for Cloud SQL. See + * Use IAM authentication to connect. This requires the Cloud SQL IAM feature + * to be enabled on the instance, which is not the default for Cloud SQL. See * https://cloud.google.com/sql/docs/postgres/authentication and * https://cloud.google.com/sql/docs/mysql/authentication. */ @@ -3525,10 +3534,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal * @arg @c kGTLRDLP_GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine_DatabaseEngineMysql * Cloud SQL for MySQL instance. (Value: "DATABASE_ENGINE_MYSQL") * @arg @c kGTLRDLP_GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine_DatabaseEnginePostgres - * Cloud SQL for Postgres instance. (Value: "DATABASE_ENGINE_POSTGRES") + * Cloud SQL for PostgreSQL instance. (Value: "DATABASE_ENGINE_POSTGRES") * @arg @c kGTLRDLP_GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine_DatabaseEngineUnknown - * An engine that is not currently supported by SDP. (Value: - * "DATABASE_ENGINE_UNKNOWN") + * An engine that is not currently supported by Sensitive Data + * Protection. (Value: "DATABASE_ENGINE_UNKNOWN") */ @property(nonatomic, copy, nullable) NSString *databaseEngine; @@ -4002,8 +4011,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal * @arg @c kGTLRDLP_GooglePrivacyDlpV2Connection_State_Error A configured * connection that encountered errors during its last use. It will not be * used again until it is set to AVAILABLE. If the resolution requires - * external action, then a request to set the status to AVAILABLE will - * mark this connection for use. Otherwise, any changes to the connection + * external action, then the client must send a request to set the status + * to AVAILABLE when the connection is ready for use. If the resolution + * doesn't require external action, then any changes to the connection * properties will automatically mark it as AVAILABLE. (Value: "ERROR") * @arg @c kGTLRDLP_GooglePrivacyDlpV2Connection_State_MissingCredentials DLP * automatically created this connection during an initial scan, and it @@ -4579,15 +4589,24 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal */ @interface GTLRDLP_GooglePrivacyDlpV2DatabaseResourceReference : GTLRObject +/** Required. Name of a database within the instance. */ +@property(nonatomic, copy, nullable) NSString *database; + +/** + * Required. Name of a database resource, for example, a table within the + * database. + */ +@property(nonatomic, copy, nullable) NSString *databaseResource; + /** * Required. The instance where this resource is located. For example: Cloud - * SQL's instance id. + * SQL instance ID. */ @property(nonatomic, copy, nullable) NSString *instance; /** * Required. If within a project-level config, then this must match the - * config's project id. + * config's project ID. */ @property(nonatomic, copy, nullable) NSString *projectId; @@ -4617,8 +4636,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @property(nonatomic, copy, nullable) NSString *instanceRegex; /** - * For organizations, if unset, will match all projects. Has no effect for Data - * Profile configurations created within a project. + * For organizations, if unset, will match all projects. Has no effect for + * configurations created within a project. */ @property(nonatomic, copy, nullable) NSString *projectIdRegex; @@ -4786,9 +4805,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal * * Likely values: * @arg @c kGTLRDLP_GooglePrivacyDlpV2DataProfilePubSubMessage_Event_ChangedProfile - * Changed one of the following profile metrics: * Data risk score * - * Sensitivity score * Resource visibility * Encryption type * Predicted - * infoTypes * Other infoTypes (Value: "CHANGED_PROFILE") + * One of the following profile metrics changed: Data risk score, + * Sensitivity score, Resource visibility, Encryption type, Predicted + * infoTypes, Other infoTypes (Value: "CHANGED_PROFILE") * @arg @c kGTLRDLP_GooglePrivacyDlpV2DataProfilePubSubMessage_Event_ErrorChanged * A user (non-internal) error occurred. (Value: "ERROR_CHANGED") * @arg @c kGTLRDLP_GooglePrivacyDlpV2DataProfilePubSubMessage_Event_EventTypeUnspecified @@ -5433,6 +5452,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal */ @property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2AllOtherBigQueryTables *otherTables; +/** + * The table to scan. Discovery configurations including this can only include + * one DiscoveryTarget (the DiscoveryTarget with this TableReference). + */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2TableReference *tableReference; + /** * A specific set of tables for this filter to apply to. A table collection * must be specified in only one filter per config. If a table id or dataset is @@ -5502,7 +5527,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** * Data changes (non-schema changes) in Cloud SQL tables can't trigger * reprofiling. If you set this field, profiles are refreshed at this frequency - * regardless of whether the underlying tables have changes. Defaults to never. + * regardless of whether the underlying tables have changed. Defaults to never. * * Likely values: * @arg @c kGTLRDLP_GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency_UpdateFrequencyDaily @@ -5724,6 +5749,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal */ @property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2CloudSqlDiscoveryTarget *cloudSqlTarget; +/** + * Discovery target that looks for credentials and secrets stored in cloud + * resource metadata and reports them as vulnerabilities to Security Command + * Center. Only one target of this type is allowed. + */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2SecretsDiscoveryTarget *secretsTarget; + @end @@ -6638,6 +6670,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal * The infoType is typically used in Argentina. (Value: "ARGENTINA") * @arg @c kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Australia * The infoType is typically used in Australia. (Value: "AUSTRALIA") + * @arg @c kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Azerbaijan + * The infoType is typically used in Azerbaijan. (Value: "AZERBAIJAN") * @arg @c kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Belgium * The infoType is typically used in Belgium. (Value: "BELGIUM") * @arg @c kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Brazil @@ -7226,7 +7260,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** - * Contains a configuration to make api calls on a repeating basis. See + * Contains a configuration to make API calls on a repeating basis. See * https://cloud.google.com/sensitive-data-protection/docs/concepts-job-triggers * to learn more. */ @@ -8611,9 +8645,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal * * Likely values: * @arg @c kGTLRDLP_GooglePrivacyDlpV2PubSubNotification_Event_ChangedProfile - * Changed one of the following profile metrics: * Data risk score * - * Sensitivity score * Resource visibility * Encryption type * Predicted - * infoTypes * Other infoTypes (Value: "CHANGED_PROFILE") + * One of the following profile metrics changed: Data risk score, + * Sensitivity score, Resource visibility, Encryption type, Predicted + * infoTypes, Other infoTypes (Value: "CHANGED_PROFILE") * @arg @c kGTLRDLP_GooglePrivacyDlpV2PubSubNotification_Event_ErrorChanged A * user (non-internal) error occurred. (Value: "ERROR_CHANGED") * @arg @c kGTLRDLP_GooglePrivacyDlpV2PubSubNotification_Event_EventTypeUnspecified @@ -9090,7 +9124,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @property(nonatomic, strong, nullable) NSArray *infoTypeStats; /** - * Number of rows scanned post sampling and time filtering (Applicable for row + * Number of rows scanned after sampling and time filtering (applicable for row * based stores such as BigQuery). * * Uses NSNumber of longLongValue. @@ -9178,7 +9212,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** - * How frequency to modify the profile when the table's schema is modified. + * How frequently to modify the profile when the table's schema is modified. */ @interface GTLRDLP_GooglePrivacyDlpV2SchemaModifiedCadence : GTLRObject @@ -9255,6 +9289,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @end +/** + * Discovery target for credentials and secrets in cloud resource metadata. + * This target does not include any filtering or frequency controls. Cloud DLP + * will scan cloud resource metadata for secrets daily. No inspect template + * should be included in the discovery config for a security benchmarks scan. + * Instead, the built-in list of secrets and credentials infoTypes will be used + * (see + * https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference#credentials_and_secrets). + * Credentials and secrets discovered will be reported as vulnerabilities to + * Security Command Center. + */ +@interface GTLRDLP_GooglePrivacyDlpV2SecretsDiscoveryTarget : GTLRObject +@end + + /** * Apply transformation to the selected info_types. */ @@ -9655,9 +9704,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal * * Likely values: * @arg @c kGTLRDLP_GooglePrivacyDlpV2TableDataProfile_ResourceVisibility_ResourceVisibilityInconclusive - * May contain public items. For example, if a GCS bucket has uniform - * bucket level access disabled, some objects inside it may be public. - * (Value: "RESOURCE_VISIBILITY_INCONCLUSIVE") + * May contain public items. For example, if a Cloud Storage bucket has + * uniform bucket level access disabled, some objects inside it may be + * public. (Value: "RESOURCE_VISIBILITY_INCONCLUSIVE") * @arg @c kGTLRDLP_GooglePrivacyDlpV2TableDataProfile_ResourceVisibility_ResourceVisibilityPublic * Visible to any user. (Value: "RESOURCE_VISIBILITY_PUBLIC") * @arg @c kGTLRDLP_GooglePrivacyDlpV2TableDataProfile_ResourceVisibility_ResourceVisibilityRestricted @@ -9762,6 +9811,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @end +/** + * Message defining the location of a BigQuery table with the projectId + * inferred from the parent project. + */ +@interface GTLRDLP_GooglePrivacyDlpV2TableReference : GTLRObject + +/** Dataset ID of the table. */ +@property(nonatomic, copy, nullable) NSString *datasetId; + +/** Name of the table. */ +@property(nonatomic, copy, nullable) NSString *tableId; + +@end + + /** * A column with a semantic tag attached. */ diff --git a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPQuery.h b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPQuery.h index a201c5306..2aae70104 100644 --- a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPQuery.h +++ b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPQuery.h @@ -809,7 +809,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; */ @interface GTLRDLPQuery_OrganizationsLocationsConnectionsSearch : GTLRDLPQuery -/** Optional. * Supported fields/values - `state` - MISSING|AVAILABLE|ERROR */ +/** Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR */ @property(nonatomic, copy, nullable) NSString *filter; /** Optional. Number of results per page, max 1000. */ @@ -4252,7 +4252,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; */ @interface GTLRDLPQuery_ProjectsLocationsConnectionsList : GTLRDLPQuery -/** Optional. * Supported fields/values - `state` - MISSING|AVAILABLE|ERROR */ +/** Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR */ @property(nonatomic, copy, nullable) NSString *filter; /** Optional. Number of results per page, max 1000. */ @@ -4330,7 +4330,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLPTypeRiskAnalysisJob; */ @interface GTLRDLPQuery_ProjectsLocationsConnectionsSearch : GTLRDLPQuery -/** Optional. * Supported fields/values - `state` - MISSING|AVAILABLE|ERROR */ +/** Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR */ @property(nonatomic, copy, nullable) NSString *filter; /** Optional. Number of results per page, max 1000. */ diff --git a/Sources/GeneratedServices/DataCatalog/GTLRDataCatalogObjects.m b/Sources/GeneratedServices/DataCatalog/GTLRDataCatalogObjects.m index b40d0e42c..4eb34c2d3 100644 --- a/Sources/GeneratedServices/DataCatalog/GTLRDataCatalogObjects.m +++ b/Sources/GeneratedServices/DataCatalog/GTLRDataCatalogObjects.m @@ -195,6 +195,9 @@ NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1VertexModelSourceInfo_SourceType_Automl = @"AUTOML"; NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1VertexModelSourceInfo_SourceType_Bqml = @"BQML"; NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1VertexModelSourceInfo_SourceType_Custom = @"CUSTOM"; +NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1VertexModelSourceInfo_SourceType_CustomTextEmbedding = @"CUSTOM_TEXT_EMBEDDING"; +NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1VertexModelSourceInfo_SourceType_Genie = @"GENIE"; +NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1VertexModelSourceInfo_SourceType_Marketplace = @"MARKETPLACE"; NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1VertexModelSourceInfo_SourceType_ModelGarden = @"MODEL_GARDEN"; NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1VertexModelSourceInfo_SourceType_ModelSourceTypeUnspecified = @"MODEL_SOURCE_TYPE_UNSPECIFIED"; diff --git a/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogObjects.h b/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogObjects.h index 29ddb750a..138f23da7 100644 --- a/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogObjects.h +++ b/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogObjects.h @@ -1016,6 +1016,24 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert * Value: "CUSTOM" */ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1VertexModelSourceInfo_SourceType_Custom; +/** + * The Model is uploaded by text embedding finetuning pipeline. + * + * Value: "CUSTOM_TEXT_EMBEDDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1VertexModelSourceInfo_SourceType_CustomTextEmbedding; +/** + * The Model is saved or tuned from Genie. + * + * Value: "GENIE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1VertexModelSourceInfo_SourceType_Genie; +/** + * The Model is saved or tuned from Marketplace. + * + * Value: "MARKETPLACE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1VertexModelSourceInfo_SourceType_Marketplace; /** * The Model is saved or tuned from Model Garden. * @@ -4060,6 +4078,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1VertexModelSourceInfo_SourceType_Custom * The Model is uploaded by user or custom training pipeline. (Value: * "CUSTOM") + * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1VertexModelSourceInfo_SourceType_CustomTextEmbedding + * The Model is uploaded by text embedding finetuning pipeline. (Value: + * "CUSTOM_TEXT_EMBEDDING") + * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1VertexModelSourceInfo_SourceType_Genie + * The Model is saved or tuned from Genie. (Value: "GENIE") + * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1VertexModelSourceInfo_SourceType_Marketplace + * The Model is saved or tuned from Marketplace. (Value: "MARKETPLACE") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1VertexModelSourceInfo_SourceType_ModelGarden * The Model is saved or tuned from Model Garden. (Value: "MODEL_GARDEN") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1VertexModelSourceInfo_SourceType_ModelSourceTypeUnspecified diff --git a/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m b/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m index c4c9f7bbb..bed3959ba 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m +++ b/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m @@ -67,6 +67,7 @@ NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Postgres13 = @"POSTGRES_13"; NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Postgres14 = @"POSTGRES_14"; NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Postgres15 = @"POSTGRES_15"; +NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Postgres16 = @"POSTGRES_16"; NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Postgres96 = @"POSTGRES_9_6"; NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_SqlDatabaseVersionUnspecified = @"SQL_DATABASE_VERSION_UNSPECIFIED"; @@ -2170,7 +2171,7 @@ @implementation GTLRDatabaseMigrationService_SqlServerEncryptionOptions // @implementation GTLRDatabaseMigrationService_SqlServerHomogeneousMigrationJobConfig -@dynamic backupFilePattern, databaseBackups; +@dynamic backupFilePattern, databaseBackups, useDiffBackup; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h index 0b56d4c72..e79c3791e 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h +++ b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h @@ -430,6 +430,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_CloudSqlSetting * Value: "POSTGRES_15" */ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Postgres15; +/** + * PostgreSQL 16. + * + * Value: "POSTGRES_16" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Postgres16; /** * PostgreSQL 9.6. * @@ -2730,6 +2736,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter * PostgreSQL 14. (Value: "POSTGRES_14") * @arg @c kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Postgres15 * PostgreSQL 15. (Value: "POSTGRES_15") + * @arg @c kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Postgres16 + * PostgreSQL 16. (Value: "POSTGRES_16") * @arg @c kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_Postgres96 * PostgreSQL 9.6. (Value: "POSTGRES_9_6") * @arg @c kGTLRDatabaseMigrationService_CloudSqlSettings_DatabaseVersion_SqlDatabaseVersionUnspecified @@ -6761,6 +6769,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter /** Required. Backup details per database in Cloud Storage. */ @property(nonatomic, strong, nullable) NSArray *databaseBackups; +/** + * Optional. Enable differential backups. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *useDiffBackup; + @end diff --git a/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreObjects.m b/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreObjects.m index 72ba43b4c..909f425a5 100644 --- a/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreObjects.m +++ b/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreObjects.m @@ -323,6 +323,25 @@ @implementation GTLRDataprocMetastore_Consumer @end +// ---------------------------------------------------------------------------- +// +// GTLRDataprocMetastore_CustomRegionMetadata +// + +@implementation GTLRDataprocMetastore_CustomRegionMetadata +@dynamic optionalReadOnlyRegions, requiredReadWriteRegions, witnessRegion; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"optionalReadOnlyRegions" : [NSString class], + @"requiredReadWriteRegions" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDataprocMetastore_DatabaseDump @@ -699,10 +718,12 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDataprocMetastore_LocationMetadata -@dynamic multiRegionMetadata, supportedHiveMetastoreVersions; +@dynamic customRegionMetadata, multiRegionMetadata, + supportedHiveMetastoreVersions; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"customRegionMetadata" : [GTLRDataprocMetastore_CustomRegionMetadata class], @"supportedHiveMetastoreVersions" : [GTLRDataprocMetastore_HiveMetastoreVersion class] }; return map; @@ -980,11 +1001,12 @@ @implementation GTLRDataprocMetastore_Secret // @implementation GTLRDataprocMetastore_Service -@dynamic artifactGcsUri, createTime, databaseType, encryptionConfig, - endpointUri, hiveMetastoreConfig, labels, maintenanceWindow, - metadataIntegration, metadataManagementActivity, name, network, - networkConfig, port, releaseChannel, scalingConfig, scheduledBackup, - state, stateMessage, telemetryConfig, tier, uid, updateTime; +@dynamic artifactGcsUri, createTime, databaseType, deletionProtection, + encryptionConfig, endpointUri, hiveMetastoreConfig, labels, + maintenanceWindow, metadataIntegration, metadataManagementActivity, + name, network, networkConfig, port, releaseChannel, scalingConfig, + scheduledBackup, state, stateMessage, telemetryConfig, tier, uid, + updateTime; @end diff --git a/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreQuery.m b/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreQuery.m index debaade35..f265b369d 100644 --- a/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreQuery.m +++ b/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreQuery.m @@ -542,6 +542,106 @@ + (instancetype)queryWithObject:(GTLRDataprocMetastore_Service *)object @end +@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLRDataprocMetastore_Policy class]; + query.loggingName = @"metastore.projects.locations.services.databases.getIamPolicy"; + return query; +} + +@end + +@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_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"; + GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRDataprocMetastore_Policy class]; + query.loggingName = @"metastore.projects.locations.services.databases.setIamPolicy"; + return query; +} + +@end + +@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesTablesGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesTablesGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLRDataprocMetastore_Policy class]; + query.loggingName = @"metastore.projects.locations.services.databases.tables.getIamPolicy"; + return query; +} + +@end + +@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesTablesSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_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"; + GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesTablesSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRDataprocMetastore_Policy class]; + query.loggingName = @"metastore.projects.locations.services.databases.tables.setIamPolicy"; + return query; +} + +@end + @implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDelete @dynamic name, requestId; diff --git a/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreObjects.h b/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreObjects.h index df8e85d50..df85b493c 100644 --- a/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreObjects.h +++ b/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreObjects.h @@ -24,6 +24,7 @@ @class GTLRDataprocMetastore_Backup; @class GTLRDataprocMetastore_Binding; @class GTLRDataprocMetastore_Consumer; +@class GTLRDataprocMetastore_CustomRegionMetadata; @class GTLRDataprocMetastore_DatabaseDump; @class GTLRDataprocMetastore_DataCatalogConfig; @class GTLRDataprocMetastore_EncryptionConfig; @@ -1109,6 +1110,24 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor @end +/** + * Metadata about a custom region. This is only populated if the region is a + * custom region. For single/multi regions, it will be empty. + */ +@interface GTLRDataprocMetastore_CustomRegionMetadata : GTLRObject + +/** The read-only regions for this custom region. */ +@property(nonatomic, strong, nullable) NSArray *optionalReadOnlyRegions; + +/** The read-write regions for this custom region. */ +@property(nonatomic, strong, nullable) NSArray *requiredReadWriteRegions; + +/** The Spanner witness region for this custom region. */ +@property(nonatomic, copy, nullable) NSString *witnessRegion; + +@end + + /** * A specification of the location of and metadata about a database dump from a * relational database management system. @@ -1827,6 +1846,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor */ @interface GTLRDataprocMetastore_LocationMetadata : GTLRObject +/** + * Possible configurations supported if the current region is a custom region. + */ +@property(nonatomic, strong, nullable) NSArray *customRegionMetadata; + /** The multi-region metadata if the current region is a multi-region. */ @property(nonatomic, strong, nullable) GTLRDataprocMetastore_MultiRegionMetadata *multiRegionMetadata; @@ -2032,8 +2056,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor /** * The metadata for the multi-region that includes the constituent regions. The - * metadata is only populated if the region is multi-region. For single region, - * it will be empty. + * metadata is only populated if the region is multi-region. For single region + * or custom dual region, it will be empty. */ @interface GTLRDataprocMetastore_MultiRegionMetadata : GTLRObject @@ -2534,6 +2558,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor */ @property(nonatomic, copy, nullable) NSString *databaseType; +/** + * Optional. Indicates if the dataproc metastore should be protected against + * accidental deletions. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *deletionProtection; + /** * Immutable. Information used to configure the Dataproc Metastore service to * encrypt customer data at rest. Cannot be updated. diff --git a/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreQuery.h b/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreQuery.h index e34ec3b0d..513d19ced 100644 --- a/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreQuery.h +++ b/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreQuery.h @@ -1061,6 +1061,186 @@ 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: metastore.projects.locations.services.databases.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform + */ +@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesGetIamPolicy : GTLRDataprocMetastoreQuery + +/** + * 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 GTLRDataprocMetastore_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 GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@end + +/** + * Sets the access control policy on the specified resource. Replaces any + * existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and + * PERMISSION_DENIED errors. + * + * Method: metastore.projects.locations.services.databases.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform + */ +@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesSetIamPolicy : GTLRDataprocMetastoreQuery + +/** + * 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 GTLRDataprocMetastore_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 GTLRDataprocMetastore_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 GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_SetIamPolicyRequest *)object + resource:(NSString *)resource; + +@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: metastore.projects.locations.services.databases.tables.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform + */ +@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesTablesGetIamPolicy : GTLRDataprocMetastoreQuery + +/** + * 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 GTLRDataprocMetastore_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 GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesTablesGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@end + +/** + * Sets the access control policy on the specified resource. Replaces any + * existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and + * PERMISSION_DENIED errors. + * + * Method: metastore.projects.locations.services.databases.tables.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform + */ +@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesTablesSetIamPolicy : GTLRDataprocMetastoreQuery + +/** + * 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 GTLRDataprocMetastore_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 GTLRDataprocMetastore_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 GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesTablesSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_SetIamPolicyRequest *)object + resource:(NSString *)resource; + +@end + /** * Deletes a single service. * diff --git a/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m b/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m index 921854d90..02f77b7e1 100644 --- a/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m +++ b/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m @@ -1081,6 +1081,15 @@ @implementation GTLRDatastream_SpecificStartPosition @end +// ---------------------------------------------------------------------------- +// +// GTLRDatastream_SqlServerChangeTables +// + +@implementation GTLRDatastream_SqlServerChangeTables +@end + + // ---------------------------------------------------------------------------- // // GTLRDatastream_SqlServerColumn @@ -1154,8 +1163,8 @@ @implementation GTLRDatastream_SqlServerSchema // @implementation GTLRDatastream_SqlServerSourceConfig -@dynamic excludeObjects, includeObjects, maxConcurrentBackfillTasks, - maxConcurrentCdcTasks; +@dynamic changeTables, excludeObjects, includeObjects, + maxConcurrentBackfillTasks, maxConcurrentCdcTasks, transactionLogs; @end @@ -1177,6 +1186,15 @@ @implementation GTLRDatastream_SqlServerTable @end +// ---------------------------------------------------------------------------- +// +// GTLRDatastream_SqlServerTransactionLogs +// + +@implementation GTLRDatastream_SqlServerTransactionLogs +@end + + // ---------------------------------------------------------------------------- // // GTLRDatastream_StartBackfillJobRequest diff --git a/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h b/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h index 1ff59eca7..20f7be123 100644 --- a/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h +++ b/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h @@ -76,6 +76,7 @@ @class GTLRDatastream_SourceHierarchyDatasets; @class GTLRDatastream_SourceObjectIdentifier; @class GTLRDatastream_SpecificStartPosition; +@class GTLRDatastream_SqlServerChangeTables; @class GTLRDatastream_SqlServerColumn; @class GTLRDatastream_SqlServerObjectIdentifier; @class GTLRDatastream_SqlServerProfile; @@ -83,6 +84,7 @@ @class GTLRDatastream_SqlServerSchema; @class GTLRDatastream_SqlServerSourceConfig; @class GTLRDatastream_SqlServerTable; +@class GTLRDatastream_SqlServerTransactionLogs; @class GTLRDatastream_StaticServiceIpConnectivity; @class GTLRDatastream_Status; @class GTLRDatastream_Status_Details_Item; @@ -2182,6 +2184,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni @end +/** + * Configuration to use Change Tables CDC read method. + */ +@interface GTLRDatastream_SqlServerChangeTables : GTLRObject +@end + + /** * SQLServer Column. */ @@ -2309,6 +2318,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni */ @interface GTLRDatastream_SqlServerSourceConfig : GTLRObject +/** CDC reader reads from change tables. */ +@property(nonatomic, strong, nullable) GTLRDatastream_SqlServerChangeTables *changeTables; + /** SQLServer objects to exclude from the stream. */ @property(nonatomic, strong, nullable) GTLRDatastream_SqlServerRdbms *excludeObjects; @@ -2329,6 +2341,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni */ @property(nonatomic, strong, nullable) NSNumber *maxConcurrentCdcTasks; +/** CDC reader reads from transaction logs. */ +@property(nonatomic, strong, nullable) GTLRDatastream_SqlServerTransactionLogs *transactionLogs; + @end @@ -2349,6 +2364,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni @end +/** + * Configuration to use Transaction Logs CDC read method. + */ +@interface GTLRDatastream_SqlServerTransactionLogs : GTLRObject +@end + + /** * Request for manually initiating a backfill job for a specific stream object. */ diff --git a/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectObjects.m b/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectObjects.m new file mode 100644 index 000000000..2036602e0 --- /dev/null +++ b/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectObjects.m @@ -0,0 +1,491 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Developer Connect API (developerconnect/v1) +// Description: +// Connect third-party source code management to Google +// Documentation: +// http://cloud.google.com/developer-connect/docs/overview + +#import + +// ---------------------------------------------------------------------------- +// Constants + +// GTLRDeveloperConnect_GitHubConfig.githubApp +NSString * const kGTLRDeveloperConnect_GitHubConfig_GithubApp_DeveloperConnect = @"DEVELOPER_CONNECT"; +NSString * const kGTLRDeveloperConnect_GitHubConfig_GithubApp_Firebase = @"FIREBASE"; +NSString * const kGTLRDeveloperConnect_GitHubConfig_GithubApp_GitHubAppUnspecified = @"GIT_HUB_APP_UNSPECIFIED"; + +// GTLRDeveloperConnect_InstallationState.stage +NSString * const kGTLRDeveloperConnect_InstallationState_Stage_Complete = @"COMPLETE"; +NSString * const kGTLRDeveloperConnect_InstallationState_Stage_PendingCreateApp = @"PENDING_CREATE_APP"; +NSString * const kGTLRDeveloperConnect_InstallationState_Stage_PendingInstallApp = @"PENDING_INSTALL_APP"; +NSString * const kGTLRDeveloperConnect_InstallationState_Stage_PendingUserOauth = @"PENDING_USER_OAUTH"; +NSString * const kGTLRDeveloperConnect_InstallationState_Stage_StageUnspecified = @"STAGE_UNSPECIFIED"; + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_CancelOperationRequest +// + +@implementation GTLRDeveloperConnect_CancelOperationRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_Connection +// + +@implementation GTLRDeveloperConnect_Connection +@dynamic annotations, createTime, deleteTime, disabled, ETag, githubConfig, + installationState, labels, name, reconciling, uid, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_Connection_Annotations +// + +@implementation GTLRDeveloperConnect_Connection_Annotations + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_Connection_Labels +// + +@implementation GTLRDeveloperConnect_Connection_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_Empty +// + +@implementation GTLRDeveloperConnect_Empty +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_FetchGitHubInstallationsResponse +// + +@implementation GTLRDeveloperConnect_FetchGitHubInstallationsResponse +@dynamic installations; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"installations" : [GTLRDeveloperConnect_Installation class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_FetchGitRefsResponse +// + +@implementation GTLRDeveloperConnect_FetchGitRefsResponse +@dynamic nextPageToken, refNames; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"refNames" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_FetchLinkableGitRepositoriesResponse +// + +@implementation GTLRDeveloperConnect_FetchLinkableGitRepositoriesResponse +@dynamic linkableGitRepositories, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"linkableGitRepositories" : [GTLRDeveloperConnect_LinkableGitRepository class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"linkableGitRepositories"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_FetchReadTokenRequest +// + +@implementation GTLRDeveloperConnect_FetchReadTokenRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_FetchReadTokenResponse +// + +@implementation GTLRDeveloperConnect_FetchReadTokenResponse +@dynamic expirationTime, gitUsername, token; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_FetchReadWriteTokenRequest +// + +@implementation GTLRDeveloperConnect_FetchReadWriteTokenRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_FetchReadWriteTokenResponse +// + +@implementation GTLRDeveloperConnect_FetchReadWriteTokenResponse +@dynamic expirationTime, gitUsername, token; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_GitHubConfig +// + +@implementation GTLRDeveloperConnect_GitHubConfig +@dynamic appInstallationId, authorizerCredential, githubApp, installationUri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_GitRepositoryLink +// + +@implementation GTLRDeveloperConnect_GitRepositoryLink +@dynamic annotations, cloneUri, createTime, deleteTime, ETag, labels, name, + reconciling, uid, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_GitRepositoryLink_Annotations +// + +@implementation GTLRDeveloperConnect_GitRepositoryLink_Annotations + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_GitRepositoryLink_Labels +// + +@implementation GTLRDeveloperConnect_GitRepositoryLink_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_Installation +// + +@implementation GTLRDeveloperConnect_Installation +@dynamic identifier, name, type; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_InstallationState +// + +@implementation GTLRDeveloperConnect_InstallationState +@dynamic actionUri, message, stage; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_LinkableGitRepository +// + +@implementation GTLRDeveloperConnect_LinkableGitRepository +@dynamic cloneUri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_ListConnectionsResponse +// + +@implementation GTLRDeveloperConnect_ListConnectionsResponse +@dynamic connections, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"connections" : [GTLRDeveloperConnect_Connection class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"connections"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_ListGitRepositoryLinksResponse +// + +@implementation GTLRDeveloperConnect_ListGitRepositoryLinksResponse +@dynamic gitRepositoryLinks, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"gitRepositoryLinks" : [GTLRDeveloperConnect_GitRepositoryLink class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"gitRepositoryLinks"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_ListLocationsResponse +// + +@implementation GTLRDeveloperConnect_ListLocationsResponse +@dynamic locations, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"locations" : [GTLRDeveloperConnect_Location class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"locations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_ListOperationsResponse +// + +@implementation GTLRDeveloperConnect_ListOperationsResponse +@dynamic nextPageToken, operations; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"operations" : [GTLRDeveloperConnect_Operation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"operations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_Location +// + +@implementation GTLRDeveloperConnect_Location +@dynamic displayName, labels, locationId, metadata, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_Location_Labels +// + +@implementation GTLRDeveloperConnect_Location_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_Location_Metadata +// + +@implementation GTLRDeveloperConnect_Location_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_OAuthCredential +// + +@implementation GTLRDeveloperConnect_OAuthCredential +@dynamic oauthTokenSecretVersion, username; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_Operation +// + +@implementation GTLRDeveloperConnect_Operation +@dynamic done, error, metadata, name, response; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_Operation_Metadata +// + +@implementation GTLRDeveloperConnect_Operation_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_Operation_Response +// + +@implementation GTLRDeveloperConnect_Operation_Response + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_OperationMetadata +// + +@implementation GTLRDeveloperConnect_OperationMetadata +@dynamic apiVersion, createTime, endTime, requestedCancellation, statusMessage, + target, verb; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_Status +// + +@implementation GTLRDeveloperConnect_Status +@dynamic code, details, message; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"details" : [GTLRDeveloperConnect_Status_Details_Item class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_Status_Details_Item +// + +@implementation GTLRDeveloperConnect_Status_Details_Item + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end diff --git a/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectQuery.m b/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectQuery.m new file mode 100644 index 000000000..a5071efa0 --- /dev/null +++ b/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectQuery.m @@ -0,0 +1,465 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Developer Connect API (developerconnect/v1) +// Description: +// Connect third-party source code management to Google +// Documentation: +// http://cloud.google.com/developer-connect/docs/overview + +#import + +// ---------------------------------------------------------------------------- +// Constants + +// refType +NSString * const kGTLRDeveloperConnectRefTypeBranch = @"BRANCH"; +NSString * const kGTLRDeveloperConnectRefTypeRefTypeUnspecified = @"REF_TYPE_UNSPECIFIED"; +NSString * const kGTLRDeveloperConnectRefTypeTag = @"TAG"; + +// ---------------------------------------------------------------------------- +// Query Classes +// + +@implementation GTLRDeveloperConnectQuery + +@dynamic fields; + +@end + +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsCreate + +@dynamic connectionId, parent, requestId, validateOnly; + ++ (instancetype)queryWithObject:(GTLRDeveloperConnect_Connection *)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}/connections"; + GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRDeveloperConnect_Operation class]; + query.loggingName = @"developerconnect.projects.locations.connections.create"; + return query; +} + +@end + +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsDelete + +@dynamic ETag, name, requestId, validateOnly; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDeveloperConnect_Operation class]; + query.loggingName = @"developerconnect.projects.locations.connections.delete"; + return query; +} + +@end + +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsFetchGitHubInstallations + +@dynamic connection; + ++ (instancetype)queryWithConnection:(NSString *)connection { + NSArray *pathParams = @[ @"connection" ]; + NSString *pathURITemplate = @"v1/{+connection}:fetchGitHubInstallations"; + GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsFetchGitHubInstallations *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.connection = connection; + query.expectedObjectClass = [GTLRDeveloperConnect_FetchGitHubInstallationsResponse class]; + query.loggingName = @"developerconnect.projects.locations.connections.fetchGitHubInstallations"; + return query; +} + +@end + +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsFetchLinkableGitRepositories + +@dynamic connection, pageSize, pageToken; + ++ (instancetype)queryWithConnection:(NSString *)connection { + NSArray *pathParams = @[ @"connection" ]; + NSString *pathURITemplate = @"v1/{+connection}:fetchLinkableGitRepositories"; + GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsFetchLinkableGitRepositories *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.connection = connection; + query.expectedObjectClass = [GTLRDeveloperConnect_FetchLinkableGitRepositoriesResponse class]; + query.loggingName = @"developerconnect.projects.locations.connections.fetchLinkableGitRepositories"; + return query; +} + +@end + +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDeveloperConnect_Connection class]; + query.loggingName = @"developerconnect.projects.locations.connections.get"; + return query; +} + +@end + +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksCreate + +@dynamic gitRepositoryLinkId, parent, requestId, validateOnly; + ++ (instancetype)queryWithObject:(GTLRDeveloperConnect_GitRepositoryLink *)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}/gitRepositoryLinks"; + GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRDeveloperConnect_Operation class]; + query.loggingName = @"developerconnect.projects.locations.connections.gitRepositoryLinks.create"; + return query; +} + +@end + +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksDelete + +@dynamic ETag, name, requestId, validateOnly; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDeveloperConnect_Operation class]; + query.loggingName = @"developerconnect.projects.locations.connections.gitRepositoryLinks.delete"; + return query; +} + +@end + +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksFetchGitRefs + +@dynamic gitRepositoryLink, pageSize, pageToken, refType; + ++ (instancetype)queryWithGitRepositoryLink:(NSString *)gitRepositoryLink { + NSArray *pathParams = @[ @"gitRepositoryLink" ]; + NSString *pathURITemplate = @"v1/{+gitRepositoryLink}:fetchGitRefs"; + GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksFetchGitRefs *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.gitRepositoryLink = gitRepositoryLink; + query.expectedObjectClass = [GTLRDeveloperConnect_FetchGitRefsResponse class]; + query.loggingName = @"developerconnect.projects.locations.connections.gitRepositoryLinks.fetchGitRefs"; + return query; +} + +@end + +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksFetchReadToken + +@dynamic gitRepositoryLink; + ++ (instancetype)queryWithObject:(GTLRDeveloperConnect_FetchReadTokenRequest *)object + gitRepositoryLink:(NSString *)gitRepositoryLink { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"gitRepositoryLink" ]; + NSString *pathURITemplate = @"v1/{+gitRepositoryLink}:fetchReadToken"; + GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksFetchReadToken *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.gitRepositoryLink = gitRepositoryLink; + query.expectedObjectClass = [GTLRDeveloperConnect_FetchReadTokenResponse class]; + query.loggingName = @"developerconnect.projects.locations.connections.gitRepositoryLinks.fetchReadToken"; + return query; +} + +@end + +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksFetchReadWriteToken + +@dynamic gitRepositoryLink; + ++ (instancetype)queryWithObject:(GTLRDeveloperConnect_FetchReadWriteTokenRequest *)object + gitRepositoryLink:(NSString *)gitRepositoryLink { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"gitRepositoryLink" ]; + NSString *pathURITemplate = @"v1/{+gitRepositoryLink}:fetchReadWriteToken"; + GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksFetchReadWriteToken *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.gitRepositoryLink = gitRepositoryLink; + query.expectedObjectClass = [GTLRDeveloperConnect_FetchReadWriteTokenResponse class]; + query.loggingName = @"developerconnect.projects.locations.connections.gitRepositoryLinks.fetchReadWriteToken"; + return query; +} + +@end + +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDeveloperConnect_GitRepositoryLink class]; + query.loggingName = @"developerconnect.projects.locations.connections.gitRepositoryLinks.get"; + return query; +} + +@end + +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/gitRepositoryLinks"; + GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRDeveloperConnect_ListGitRepositoryLinksResponse class]; + query.loggingName = @"developerconnect.projects.locations.connections.gitRepositoryLinks.list"; + return query; +} + +@end + +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/connections"; + GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRDeveloperConnect_ListConnectionsResponse class]; + query.loggingName = @"developerconnect.projects.locations.connections.list"; + return query; +} + +@end + +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsPatch + +@dynamic allowMissing, name, requestId, updateMask, validateOnly; + ++ (instancetype)queryWithObject:(GTLRDeveloperConnect_Connection *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDeveloperConnect_Operation class]; + query.loggingName = @"developerconnect.projects.locations.connections.patch"; + return query; +} + +@end + +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDeveloperConnectQuery_ProjectsLocationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDeveloperConnect_Location class]; + query.loggingName = @"developerconnect.projects.locations.get"; + return query; +} + +@end + +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/locations"; + GTLRDeveloperConnectQuery_ProjectsLocationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDeveloperConnect_ListLocationsResponse class]; + query.loggingName = @"developerconnect.projects.locations.list"; + return query; +} + +@end + +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsOperationsCancel + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRDeveloperConnect_CancelOperationRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:cancel"; + GTLRDeveloperConnectQuery_ProjectsLocationsOperationsCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDeveloperConnect_Empty class]; + query.loggingName = @"developerconnect.projects.locations.operations.cancel"; + return query; +} + +@end + +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsOperationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDeveloperConnectQuery_ProjectsLocationsOperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDeveloperConnect_Empty class]; + query.loggingName = @"developerconnect.projects.locations.operations.delete"; + return query; +} + +@end + +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDeveloperConnectQuery_ProjectsLocationsOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDeveloperConnect_Operation class]; + query.loggingName = @"developerconnect.projects.locations.operations.get"; + return query; +} + +@end + +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsOperationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/operations"; + GTLRDeveloperConnectQuery_ProjectsLocationsOperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDeveloperConnect_ListOperationsResponse class]; + query.loggingName = @"developerconnect.projects.locations.operations.list"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectService.m b/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectService.m new file mode 100644 index 000000000..365149dd0 --- /dev/null +++ b/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectService.m @@ -0,0 +1,35 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Developer Connect API (developerconnect/v1) +// Description: +// Connect third-party source code management to Google +// Documentation: +// http://cloud.google.com/developer-connect/docs/overview + +#import + +// ---------------------------------------------------------------------------- +// Authorization scope + +NSString * const kGTLRAuthScopeDeveloperConnectCloudPlatform = @"https://www.googleapis.com/auth/cloud-platform"; + +// ---------------------------------------------------------------------------- +// GTLRDeveloperConnectService +// + +@implementation GTLRDeveloperConnectService + +- (instancetype)init { + self = [super init]; + if (self) { + // From discovery. + self.rootURLString = @"https://developerconnect.googleapis.com/"; + self.batchPath = @"batch"; + self.prettyPrintQueryParameterNames = @[ @"prettyPrint" ]; + } + return self; +} + +@end diff --git a/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnect.h b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnect.h new file mode 100644 index 000000000..524506685 --- /dev/null +++ b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnect.h @@ -0,0 +1,13 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Developer Connect API (developerconnect/v1) +// Description: +// Connect third-party source code management to Google +// Documentation: +// http://cloud.google.com/developer-connect/docs/overview + +#import "GTLRDeveloperConnectObjects.h" +#import "GTLRDeveloperConnectQuery.h" +#import "GTLRDeveloperConnectService.h" diff --git a/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectObjects.h b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectObjects.h new file mode 100644 index 000000000..15fb4377f --- /dev/null +++ b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectObjects.h @@ -0,0 +1,857 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Developer Connect API (developerconnect/v1) +// Description: +// Connect third-party source code management to Google +// Documentation: +// http://cloud.google.com/developer-connect/docs/overview + +#import + +#if GTLR_RUNTIME_VERSION != 3000 +#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. +#endif + +@class GTLRDeveloperConnect_Connection; +@class GTLRDeveloperConnect_Connection_Annotations; +@class GTLRDeveloperConnect_Connection_Labels; +@class GTLRDeveloperConnect_GitHubConfig; +@class GTLRDeveloperConnect_GitRepositoryLink; +@class GTLRDeveloperConnect_GitRepositoryLink_Annotations; +@class GTLRDeveloperConnect_GitRepositoryLink_Labels; +@class GTLRDeveloperConnect_Installation; +@class GTLRDeveloperConnect_InstallationState; +@class GTLRDeveloperConnect_LinkableGitRepository; +@class GTLRDeveloperConnect_Location; +@class GTLRDeveloperConnect_Location_Labels; +@class GTLRDeveloperConnect_Location_Metadata; +@class GTLRDeveloperConnect_OAuthCredential; +@class GTLRDeveloperConnect_Operation; +@class GTLRDeveloperConnect_Operation_Metadata; +@class GTLRDeveloperConnect_Operation_Response; +@class GTLRDeveloperConnect_Status; +@class GTLRDeveloperConnect_Status_Details_Item; + +// Generated comments include content from the discovery document; avoid them +// causing warnings since clang's checks are some what arbitrary. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" + +NS_ASSUME_NONNULL_BEGIN + +// ---------------------------------------------------------------------------- +// Constants - For some of the classes' properties below. + +// ---------------------------------------------------------------------------- +// GTLRDeveloperConnect_GitHubConfig.githubApp + +/** + * The Developer Connect GitHub Application. + * + * Value: "DEVELOPER_CONNECT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_GitHubConfig_GithubApp_DeveloperConnect; +/** + * The Firebase GitHub Application. + * + * Value: "FIREBASE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_GitHubConfig_GithubApp_Firebase; +/** + * GitHub App not specified. + * + * Value: "GIT_HUB_APP_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_GitHubConfig_GithubApp_GitHubAppUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDeveloperConnect_InstallationState.stage + +/** + * Installation process has been completed. + * + * Value: "COMPLETE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_InstallationState_Stage_Complete; +/** + * Only for GitHub Enterprise. An App creation has been requested. The user + * needs to confirm the creation in their GitHub enterprise host. + * + * Value: "PENDING_CREATE_APP" + */ +FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_InstallationState_Stage_PendingCreateApp; +/** + * User needs to follow the link to install the GitHub (or Enterprise) App. + * + * Value: "PENDING_INSTALL_APP" + */ +FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_InstallationState_Stage_PendingInstallApp; +/** + * User needs to authorize the GitHub (or Enterprise) App via OAuth. + * + * Value: "PENDING_USER_OAUTH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_InstallationState_Stage_PendingUserOauth; +/** + * No stage specified. + * + * Value: "STAGE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_InstallationState_Stage_StageUnspecified; + +/** + * The request message for Operations.CancelOperation. + */ +@interface GTLRDeveloperConnect_CancelOperationRequest : GTLRObject +@end + + +/** + * Message describing Connection object + */ +@interface GTLRDeveloperConnect_Connection : GTLRObject + +/** Optional. Allows clients to store small amounts of arbitrary data. */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_Connection_Annotations *annotations; + +/** Output only. [Output only] Create timestamp */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. [Output only] Delete timestamp */ +@property(nonatomic, strong, nullable) GTLRDateTime *deleteTime; + +/** + * Optional. If disabled is set to true, functionality is disabled for this + * connection. Repository based API methods and webhooks processing for + * repositories in this connection will be disabled. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disabled; + +/** + * Optional. This checksum is computed by the server based on the value of + * other fields, and may be sent on update and delete requests to ensure the + * client has an up-to-date value before proceeding. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Configuration for connections to github.com. */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_GitHubConfig *githubConfig; + +/** Output only. Installation state of the Connection. */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_InstallationState *installationState; + +/** Optional. Labels as key value pairs */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_Connection_Labels *labels; + +/** + * Identifier. The resource name of the connection, in the format + * `projects/{project}/locations/{location}/connections/{connection_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. Set to true when the connection is being set up or updated in + * the background. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *reconciling; + +/** + * Output only. A system-assigned unique identifier for a the + * GitRepositoryLink. + */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** Output only. [Output only] Update timestamp */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. Allows clients to store small amounts of arbitrary data. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRDeveloperConnect_Connection_Annotations : GTLRObject +@end + + +/** + * Optional. Labels as key value pairs + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRDeveloperConnect_Connection_Labels : GTLRObject +@end + + +/** + * A generic empty message that you can re-use to avoid defining duplicated + * empty messages in your APIs. A typical example is to use it as the request + * or the response type of an API method. For instance: service Foo { rpc + * Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } + */ +@interface GTLRDeveloperConnect_Empty : GTLRObject +@end + + +/** + * Response of fetching github installations. + */ +@interface GTLRDeveloperConnect_FetchGitHubInstallationsResponse : GTLRObject + +/** + * List of installations available to the OAuth user (for github.com) or all + * the installations (for GitHub enterprise). + */ +@property(nonatomic, strong, nullable) NSArray *installations; + +@end + + +/** + * Response for fetching git refs. + */ +@interface GTLRDeveloperConnect_FetchGitRefsResponse : GTLRObject + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** Name of the refs fetched. */ +@property(nonatomic, strong, nullable) NSArray *refNames; + +@end + + +/** + * Response message for FetchLinkableGitRepositories. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "linkableGitRepositories" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRDeveloperConnect_FetchLinkableGitRepositoriesResponse : GTLRCollectionObject + +/** + * The git repositories that can be linked to the connection. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *linkableGitRepositories; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * Message for fetching SCM read token. + */ +@interface GTLRDeveloperConnect_FetchReadTokenRequest : GTLRObject +@end + + +/** + * Message for responding to get read token. + */ +@interface GTLRDeveloperConnect_FetchReadTokenResponse : GTLRObject + +/** Expiration timestamp. Can be empty if unknown or non-expiring. */ +@property(nonatomic, strong, nullable) GTLRDateTime *expirationTime; + +/** + * The git_username to specify when making a git clone with the token. For + * example, for GitHub GitRepositoryLinks, this would be "x-access-token" + */ +@property(nonatomic, copy, nullable) NSString *gitUsername; + +/** The token content. */ +@property(nonatomic, copy, nullable) NSString *token; + +@end + + +/** + * Message for fetching SCM read/write token. + */ +@interface GTLRDeveloperConnect_FetchReadWriteTokenRequest : GTLRObject +@end + + +/** + * Message for responding to get read/write token. + */ +@interface GTLRDeveloperConnect_FetchReadWriteTokenResponse : GTLRObject + +/** Expiration timestamp. Can be empty if unknown or non-expiring. */ +@property(nonatomic, strong, nullable) GTLRDateTime *expirationTime; + +/** + * The git_username to specify when making a git clone with the token. For + * example, for GitHub GitRepositoryLinks, this would be "x-access-token" + */ +@property(nonatomic, copy, nullable) NSString *gitUsername; + +/** The token content. */ +@property(nonatomic, copy, nullable) NSString *token; + +@end + + +/** + * Configuration for connections to github.com. + */ +@interface GTLRDeveloperConnect_GitHubConfig : GTLRObject + +/** + * Optional. GitHub App installation id. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *appInstallationId; + +/** + * Optional. OAuth credential of the account that authorized the GitHub App. It + * is recommended to use a robot account instead of a human user account. The + * OAuth token must be tied to the GitHub App of this config. + */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_OAuthCredential *authorizerCredential; + +/** + * Required. Immutable. The GitHub Application that was installed to the GitHub + * user or organization. + * + * Likely values: + * @arg @c kGTLRDeveloperConnect_GitHubConfig_GithubApp_DeveloperConnect The + * Developer Connect GitHub Application. (Value: "DEVELOPER_CONNECT") + * @arg @c kGTLRDeveloperConnect_GitHubConfig_GithubApp_Firebase The Firebase + * GitHub Application. (Value: "FIREBASE") + * @arg @c kGTLRDeveloperConnect_GitHubConfig_GithubApp_GitHubAppUnspecified + * GitHub App not specified. (Value: "GIT_HUB_APP_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *githubApp; + +/** + * Output only. The URI to navigate to in order to manage the installation + * associated with this GitHubConfig. + */ +@property(nonatomic, copy, nullable) NSString *installationUri; + +@end + + +/** + * Message describing the GitRepositoryLink object + */ +@interface GTLRDeveloperConnect_GitRepositoryLink : GTLRObject + +/** Optional. Allows clients to store small amounts of arbitrary data. */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_GitRepositoryLink_Annotations *annotations; + +/** Required. Git Clone URI. */ +@property(nonatomic, copy, nullable) NSString *cloneUri; + +/** Output only. [Output only] Create timestamp */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. [Output only] Delete timestamp */ +@property(nonatomic, strong, nullable) GTLRDateTime *deleteTime; + +/** + * Optional. This checksum is computed by the server based on the value of + * other fields, and may be sent on update and delete requests to ensure the + * client has an up-to-date value before proceeding. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Optional. Labels as key value pairs */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_GitRepositoryLink_Labels *labels; + +/** + * Identifier. Resource name of the repository, in the format `projects/ * + * /locations/ * /connections/ * /gitRepositoryLinks/ *`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. Set to true when the connection is being set up or updated in + * the background. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *reconciling; + +/** + * Output only. A system-assigned unique identifier for a the + * GitRepositoryLink. + */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** Output only. [Output only] Update timestamp */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. Allows clients to store small amounts of arbitrary data. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRDeveloperConnect_GitRepositoryLink_Annotations : GTLRObject +@end + + +/** + * Optional. Labels as key value pairs + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRDeveloperConnect_GitRepositoryLink_Labels : GTLRObject +@end + + +/** + * Represents an installation of the GitHub App. + */ +@interface GTLRDeveloperConnect_Installation : GTLRObject + +/** + * ID of the installation in GitHub. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *identifier; + +/** Name of the GitHub user or organization that owns this installation. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Either "user" or "organization". */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * Describes stage and necessary actions to be taken by the user to complete + * the installation. Used for GitHub and GitHub Enterprise based connections. + */ +@interface GTLRDeveloperConnect_InstallationState : GTLRObject + +/** + * Output only. Link to follow for next action. Empty string if the + * installation is already complete. + */ +@property(nonatomic, copy, nullable) NSString *actionUri; + +/** + * Output only. Message of what the user should do next to continue the + * installation. Empty string if the installation is already complete. + */ +@property(nonatomic, copy, nullable) NSString *message; + +/** + * Output only. Current step of the installation process. + * + * Likely values: + * @arg @c kGTLRDeveloperConnect_InstallationState_Stage_Complete + * Installation process has been completed. (Value: "COMPLETE") + * @arg @c kGTLRDeveloperConnect_InstallationState_Stage_PendingCreateApp + * Only for GitHub Enterprise. An App creation has been requested. The + * user needs to confirm the creation in their GitHub enterprise host. + * (Value: "PENDING_CREATE_APP") + * @arg @c kGTLRDeveloperConnect_InstallationState_Stage_PendingInstallApp + * User needs to follow the link to install the GitHub (or Enterprise) + * App. (Value: "PENDING_INSTALL_APP") + * @arg @c kGTLRDeveloperConnect_InstallationState_Stage_PendingUserOauth + * User needs to authorize the GitHub (or Enterprise) App via OAuth. + * (Value: "PENDING_USER_OAUTH") + * @arg @c kGTLRDeveloperConnect_InstallationState_Stage_StageUnspecified No + * stage specified. (Value: "STAGE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *stage; + +@end + + +/** + * LinkableGitRepository represents a git repository that can be linked to a + * connection. + */ +@interface GTLRDeveloperConnect_LinkableGitRepository : GTLRObject + +/** The clone uri of the repository. */ +@property(nonatomic, copy, nullable) NSString *cloneUri; + +@end + + +/** + * Message for response to listing Connections + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "connections" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRDeveloperConnect_ListConnectionsResponse : GTLRCollectionObject + +/** + * The list of Connection + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *connections; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * Message for response to listing GitRepositoryLinks + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "gitRepositoryLinks" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRDeveloperConnect_ListGitRepositoryLinksResponse : GTLRCollectionObject + +/** + * The list of GitRepositoryLinks + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *gitRepositoryLinks; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * The response message for Locations.ListLocations. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "locations" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRDeveloperConnect_ListLocationsResponse : GTLRCollectionObject + +/** + * A list of locations that matches the specified filter in the request. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *locations; + +/** The standard List next-page token. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The response message for Operations.ListOperations. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "operations" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRDeveloperConnect_ListOperationsResponse : GTLRCollectionObject + +/** The standard List next-page token. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * A list of operations that matches the specified filter in the request. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *operations; + +@end + + +/** + * A resource that represents a Google Cloud location. + */ +@interface GTLRDeveloperConnect_Location : GTLRObject + +/** + * The friendly name for this location, typically a nearby city name. For + * example, "Tokyo". + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Cross-service attributes for the location. For example + * {"cloud.googleapis.com/region": "us-east1"} + */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_Location_Labels *labels; + +/** The canonical id for this location. For example: `"us-east1"`. */ +@property(nonatomic, copy, nullable) NSString *locationId; + +/** + * Service-specific metadata. For example the available capacity at the given + * location. + */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_Location_Metadata *metadata; + +/** + * Resource name for the location, which may vary between implementations. For + * example: `"projects/example-project/locations/us-east1"` + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * Cross-service attributes for the location. For example + * {"cloud.googleapis.com/region": "us-east1"} + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRDeveloperConnect_Location_Labels : GTLRObject +@end + + +/** + * Service-specific metadata. For example the available capacity at the given + * location. + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRDeveloperConnect_Location_Metadata : GTLRObject +@end + + +/** + * Represents an OAuth token of the account that authorized the Connection, and + * associated metadata. + */ +@interface GTLRDeveloperConnect_OAuthCredential : GTLRObject + +/** + * Required. A SecretManager resource containing the OAuth token that + * authorizes the connection. Format: `projects/ * /secrets/ * /versions/ *`. + */ +@property(nonatomic, copy, nullable) NSString *oauthTokenSecretVersion; + +/** Output only. The username associated with this token. */ +@property(nonatomic, copy, nullable) NSString *username; + +@end + + +/** + * This resource represents a long-running operation that is the result of a + * network API call. + */ +@interface GTLRDeveloperConnect_Operation : GTLRObject + +/** + * If the value is `false`, it means the operation is still in progress. If + * `true`, the operation is completed, and either `error` or `response` is + * available. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *done; + +/** The error result of the operation in case of failure or cancellation. */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_Status *error; + +/** + * Service-specific metadata associated with the operation. It typically + * contains progress information and common metadata such as create time. Some + * services might not provide such metadata. Any method that returns a + * long-running operation should document the metadata type, if any. + */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_Operation_Metadata *metadata; + +/** + * The server-assigned name, which is only unique within the same service that + * originally returns it. If you use the default HTTP mapping, the `name` + * should be a resource name ending with `operations/{unique_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The normal, successful response of the operation. If the original method + * returns no data on success, such as `Delete`, the response is + * `google.protobuf.Empty`. If the original method is standard + * `Get`/`Create`/`Update`, the response should be the resource. For other + * methods, the response should have the type `XxxResponse`, where `Xxx` is the + * original method name. For example, if the original method name is + * `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_Operation_Response *response; + +@end + + +/** + * Service-specific metadata associated with the operation. It typically + * contains progress information and common metadata such as create time. Some + * services might not provide such metadata. Any method that returns a + * long-running operation should document the metadata type, if any. + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRDeveloperConnect_Operation_Metadata : GTLRObject +@end + + +/** + * The normal, successful response of the operation. If the original method + * returns no data on success, such as `Delete`, the response is + * `google.protobuf.Empty`. If the original method is standard + * `Get`/`Create`/`Update`, the response should be the resource. For other + * methods, the response should have the type `XxxResponse`, where `Xxx` is the + * original method name. For example, if the original method name is + * `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRDeveloperConnect_Operation_Response : GTLRObject +@end + + +/** + * Represents the metadata of the long-running operation. + */ +@interface GTLRDeveloperConnect_OperationMetadata : GTLRObject + +/** Output only. API version used to start the operation. */ +@property(nonatomic, copy, nullable) NSString *apiVersion; + +/** Output only. The time the operation was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. The time the operation finished running. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** + * Output only. Identifies whether the user has requested cancellation of the + * operation. Operations that have been cancelled successfully have + * Operation.error value with a google.rpc.Status.code of 1, corresponding to + * `Code.CANCELLED`. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requestedCancellation; + +/** Output only. Human-readable status of the operation, if any. */ +@property(nonatomic, copy, nullable) NSString *statusMessage; + +/** + * Output only. Server-defined resource path for the target of the operation. + */ +@property(nonatomic, copy, nullable) NSString *target; + +/** Output only. Name of the verb executed by the operation. */ +@property(nonatomic, copy, nullable) NSString *verb; + +@end + + +/** + * The `Status` type defines a logical error model that is suitable for + * different programming environments, including REST APIs and RPC APIs. It is + * used by [gRPC](https://github.com/grpc). Each `Status` message contains + * three pieces of data: error code, error message, and error details. You can + * find out more about this error model and how to work with it in the [API + * Design Guide](https://cloud.google.com/apis/design/errors). + */ +@interface GTLRDeveloperConnect_Status : GTLRObject + +/** + * The status code, which should be an enum value of google.rpc.Code. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *code; + +/** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ +@property(nonatomic, strong, nullable) NSArray *details; + +/** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ +@property(nonatomic, copy, nullable) NSString *message; + +@end + + +/** + * GTLRDeveloperConnect_Status_Details_Item + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRDeveloperConnect_Status_Details_Item : GTLRObject +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectQuery.h b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectQuery.h new file mode 100644 index 000000000..5ebcd3c3d --- /dev/null +++ b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectQuery.h @@ -0,0 +1,919 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Developer Connect API (developerconnect/v1) +// Description: +// Connect third-party source code management to Google +// Documentation: +// http://cloud.google.com/developer-connect/docs/overview + +#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 "GTLRDeveloperConnectObjects.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 + +// ---------------------------------------------------------------------------- +// Constants - For some of the query classes' properties below. + +// ---------------------------------------------------------------------------- +// refType + +/** + * To fetch branches. + * + * Value: "BRANCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnectRefTypeBranch; +/** + * No type specified. + * + * Value: "REF_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnectRefTypeRefTypeUnspecified; +/** + * To fetch tags. + * + * Value: "TAG" + */ +FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnectRefTypeTag; + +// ---------------------------------------------------------------------------- +// Query Classes +// + +/** + * Parent class for other Developer Connect query classes. + */ +@interface GTLRDeveloperConnectQuery : GTLRQuery + +/** Selector specifying which fields to include in a partial response. */ +@property(nonatomic, copy, nullable) NSString *fields; + +@end + +/** + * Creates a new Connection in a given project and location. + * + * Method: developerconnect.projects.locations.connections.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsCreate : GTLRDeveloperConnectQuery + +/** + * Required. Id of the requesting object If auto-generating Id server-side, + * remove this field and connection_id from the method_signature of Create RPC + */ +@property(nonatomic, copy, nullable) NSString *connectionId; + +/** Required. Value for parent. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** Optional. If set, validate the request, but do not actually post it. */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRDeveloperConnect_Operation. + * + * Creates a new Connection in a given project and location. + * + * @param object The @c GTLRDeveloperConnect_Connection to include in the + * query. + * @param parent Required. Value for parent. + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsCreate + */ ++ (instancetype)queryWithObject:(GTLRDeveloperConnect_Connection *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single Connection. + * + * Method: developerconnect.projects.locations.connections.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsDelete : GTLRDeveloperConnectQuery + +/** + * Optional. The current etag of the Connection. If an etag is provided and + * does not match the current etag of the Connection, deletion will be blocked + * and an ABORTED error will be returned. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Required. Name of the resource */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes after the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** Optional. If set, validate the request, but do not actually post it. */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRDeveloperConnect_Operation. + * + * Deletes a single Connection. + * + * @param name Required. Name of the resource + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * FetchGitHubInstallations returns the list of GitHub Installations that are + * available to be added to a Connection. For github.com, only installations + * accessible to the authorizer token are returned. For GitHub Enterprise, all + * installations are returned. + * + * Method: developerconnect.projects.locations.connections.fetchGitHubInstallations + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsFetchGitHubInstallations : GTLRDeveloperConnectQuery + +/** + * Required. The resource name of the connection in the format `projects/ * + * /locations/ * /connections/ *`. + */ +@property(nonatomic, copy, nullable) NSString *connection; + +/** + * Fetches a @c GTLRDeveloperConnect_FetchGitHubInstallationsResponse. + * + * FetchGitHubInstallations returns the list of GitHub Installations that are + * available to be added to a Connection. For github.com, only installations + * accessible to the authorizer token are returned. For GitHub Enterprise, all + * installations are returned. + * + * @param connection Required. The resource name of the connection in the + * format `projects/ * /locations/ * /connections/ *`. + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsFetchGitHubInstallations + */ ++ (instancetype)queryWithConnection:(NSString *)connection; + +@end + +/** + * FetchLinkableGitRepositories returns a list of git repositories from an SCM + * that are available to be added to a Connection. + * + * Method: developerconnect.projects.locations.connections.fetchLinkableGitRepositories + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsFetchLinkableGitRepositories : GTLRDeveloperConnectQuery + +/** + * Required. The name of the Connection. Format: `projects/ * /locations/ * + * /connections/ *`. + */ +@property(nonatomic, copy, nullable) NSString *connection; + +/** Optional. Number of results to return in the list. Defaults to 20. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** Optional. Page start. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRDeveloperConnect_FetchLinkableGitRepositoriesResponse. + * + * FetchLinkableGitRepositories returns a list of git repositories from an SCM + * that are available to be added to a Connection. + * + * @param connection Required. The name of the Connection. Format: `projects/ * + * /locations/ * /connections/ *`. + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsFetchLinkableGitRepositories + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithConnection:(NSString *)connection; + +@end + +/** + * Gets details of a single Connection. + * + * Method: developerconnect.projects.locations.connections.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGet : GTLRDeveloperConnectQuery + +/** Required. Name of the resource */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDeveloperConnect_Connection. + * + * Gets details of a single Connection. + * + * @param name Required. Name of the resource + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Creates a GitRepositoryLink. Upon linking a Git Repository, Developer + * Connect will configure the Git Repository to send webhook events to + * Developer Connect. Connections that use Firebase GitHub Application will + * have events forwarded to the Firebase service. All other Connections will + * have events forwarded to Cloud Build. + * + * Method: developerconnect.projects.locations.connections.gitRepositoryLinks.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksCreate : GTLRDeveloperConnectQuery + +/** + * Required. The ID to use for the repository, which will become the final + * component of the repository's resource name. This ID should be unique in the + * connection. Allows alphanumeric characters and any of -._~%!$&'()*+,;=\@. + */ +@property(nonatomic, copy, nullable) NSString *gitRepositoryLinkId; + +/** Required. Value for parent. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** Optional. If set, validate the request, but do not actually post it. */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRDeveloperConnect_Operation. + * + * Creates a GitRepositoryLink. Upon linking a Git Repository, Developer + * Connect will configure the Git Repository to send webhook events to + * Developer Connect. Connections that use Firebase GitHub Application will + * have events forwarded to the Firebase service. All other Connections will + * have events forwarded to Cloud Build. + * + * @param object The @c GTLRDeveloperConnect_GitRepositoryLink to include in + * the query. + * @param parent Required. Value for parent. + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksCreate + */ ++ (instancetype)queryWithObject:(GTLRDeveloperConnect_GitRepositoryLink *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single GitRepositoryLink. + * + * Method: developerconnect.projects.locations.connections.gitRepositoryLinks.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksDelete : GTLRDeveloperConnectQuery + +/** + * Optional. This checksum is computed by the server based on the value of + * other fields, and may be sent on update and delete requests to ensure the + * client has an up-to-date value before proceeding. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Required. Name of the resource */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes after the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** Optional. If set, validate the request, but do not actually post it. */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRDeveloperConnect_Operation. + * + * Deletes a single GitRepositoryLink. + * + * @param name Required. Name of the resource + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Fetch the list of branches or tags for a given repository. + * + * Method: developerconnect.projects.locations.connections.gitRepositoryLinks.fetchGitRefs + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksFetchGitRefs : GTLRDeveloperConnectQuery + +/** + * Required. The resource name of GitRepositoryLink in the format `projects/ * + * /locations/ * /connections/ * /gitRepositoryLinks/ *`. + */ +@property(nonatomic, copy, nullable) NSString *gitRepositoryLink; + +/** Optional. Number of results to return in the list. Default to 20. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** Optional. Page start. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Type of refs to fetch. + * + * Likely values: + * @arg @c kGTLRDeveloperConnectRefTypeRefTypeUnspecified No type specified. + * (Value: "REF_TYPE_UNSPECIFIED") + * @arg @c kGTLRDeveloperConnectRefTypeTag To fetch tags. (Value: "TAG") + * @arg @c kGTLRDeveloperConnectRefTypeBranch To fetch branches. (Value: + * "BRANCH") + */ +@property(nonatomic, copy, nullable) NSString *refType; + +/** + * Fetches a @c GTLRDeveloperConnect_FetchGitRefsResponse. + * + * Fetch the list of branches or tags for a given repository. + * + * @param gitRepositoryLink Required. The resource name of GitRepositoryLink in + * the format `projects/ * /locations/ * /connections/ * /gitRepositoryLinks/ + * *`. + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksFetchGitRefs + */ ++ (instancetype)queryWithGitRepositoryLink:(NSString *)gitRepositoryLink; + +@end + +/** + * Fetches read token of a given gitRepositoryLink. + * + * Method: developerconnect.projects.locations.connections.gitRepositoryLinks.fetchReadToken + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksFetchReadToken : GTLRDeveloperConnectQuery + +/** + * Required. The resource name of the gitRepositoryLink in the format + * `projects/ * /locations/ * /connections/ * /gitRepositoryLinks/ *`. + */ +@property(nonatomic, copy, nullable) NSString *gitRepositoryLink; + +/** + * Fetches a @c GTLRDeveloperConnect_FetchReadTokenResponse. + * + * Fetches read token of a given gitRepositoryLink. + * + * @param object The @c GTLRDeveloperConnect_FetchReadTokenRequest to include + * in the query. + * @param gitRepositoryLink Required. The resource name of the + * gitRepositoryLink in the format `projects/ * /locations/ * /connections/ * + * /gitRepositoryLinks/ *`. + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksFetchReadToken + */ ++ (instancetype)queryWithObject:(GTLRDeveloperConnect_FetchReadTokenRequest *)object + gitRepositoryLink:(NSString *)gitRepositoryLink; + +@end + +/** + * Fetches read/write token of a given gitRepositoryLink. + * + * Method: developerconnect.projects.locations.connections.gitRepositoryLinks.fetchReadWriteToken + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksFetchReadWriteToken : GTLRDeveloperConnectQuery + +/** + * Required. The resource name of the gitRepositoryLink in the format + * `projects/ * /locations/ * /connections/ * /gitRepositoryLinks/ *`. + */ +@property(nonatomic, copy, nullable) NSString *gitRepositoryLink; + +/** + * Fetches a @c GTLRDeveloperConnect_FetchReadWriteTokenResponse. + * + * Fetches read/write token of a given gitRepositoryLink. + * + * @param object The @c GTLRDeveloperConnect_FetchReadWriteTokenRequest to + * include in the query. + * @param gitRepositoryLink Required. The resource name of the + * gitRepositoryLink in the format `projects/ * /locations/ * /connections/ * + * /gitRepositoryLinks/ *`. + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksFetchReadWriteToken + */ ++ (instancetype)queryWithObject:(GTLRDeveloperConnect_FetchReadWriteTokenRequest *)object + gitRepositoryLink:(NSString *)gitRepositoryLink; + +@end + +/** + * Gets details of a single GitRepositoryLink. + * + * Method: developerconnect.projects.locations.connections.gitRepositoryLinks.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksGet : GTLRDeveloperConnectQuery + +/** Required. Name of the resource */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDeveloperConnect_GitRepositoryLink. + * + * Gets details of a single GitRepositoryLink. + * + * @param name Required. Name of the resource + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists GitRepositoryLinks in a given project, location, and connection. + * + * Method: developerconnect.projects.locations.connections.gitRepositoryLinks.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksList : GTLRDeveloperConnectQuery + +/** Optional. Filtering results */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Optional. Hint for how to order the results */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. Requested page size. Server may return fewer items than requested. + * If unspecified, server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. Parent value for ListGitRepositoryLinksRequest */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRDeveloperConnect_ListGitRepositoryLinksResponse. + * + * Lists GitRepositoryLinks in a given project, location, and connection. + * + * @param parent Required. Parent value for ListGitRepositoryLinksRequest + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsGitRepositoryLinksList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Lists Connections in a given project and location. + * + * Method: developerconnect.projects.locations.connections.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsList : GTLRDeveloperConnectQuery + +/** Optional. Filtering results */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Optional. Hint for how to order the results */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. Requested page size. Server may return fewer items than requested. + * If unspecified, server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. Parent value for ListConnectionsRequest */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRDeveloperConnect_ListConnectionsResponse. + * + * Lists Connections in a given project and location. + * + * @param parent Required. Parent value for ListConnectionsRequest + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates the parameters of a single Connection. + * + * Method: developerconnect.projects.locations.connections.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsPatch : GTLRDeveloperConnectQuery + +/** + * Optional. If set to true, and the connection is not found a new connection + * will be created. In this situation `update_mask` is ignored. The creation + * will succeed only if the input connection has all the necessary information + * (e.g a github_config with both user_oauth_token and installation_id + * properties). + */ +@property(nonatomic, assign) BOOL allowMissing; + +/** + * Identifier. The resource name of the connection, in the format + * `projects/{project}/locations/{location}/connections/{connection_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Required. Field mask is used to specify the fields to be overwritten in the + * Connection resource by the update. The fields specified in the update_mask + * are relative to the resource, not the full request. A field will be + * overwritten if it is in the mask. If the user does not provide a mask then + * all fields will be overwritten. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** Optional. If set, validate the request, but do not actually post it. */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRDeveloperConnect_Operation. + * + * Updates the parameters of a single Connection. + * + * @param object The @c GTLRDeveloperConnect_Connection to include in the + * query. + * @param name Identifier. The resource name of the connection, in the format + * `projects/{project}/locations/{location}/connections/{connection_id}`. + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsConnectionsPatch + */ ++ (instancetype)queryWithObject:(GTLRDeveloperConnect_Connection *)object + name:(NSString *)name; + +@end + +/** + * Gets information about a location. + * + * Method: developerconnect.projects.locations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsGet : GTLRDeveloperConnectQuery + +/** Resource name for the location. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDeveloperConnect_Location. + * + * Gets information about a location. + * + * @param name Resource name for the location. + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists information about the supported locations for this service. + * + * Method: developerconnect.projects.locations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsList : GTLRDeveloperConnectQuery + +/** + * A filter to narrow down results to a preferred subset. The filtering + * language accepts strings like `"displayName=tokyo"`, and is documented in + * more detail in [AIP-160](https://google.aip.dev/160). + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** The resource that owns the locations collection, if applicable. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The maximum number of results to return. If not set, the service selects a + * default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token received from the `next_page_token` field in the response. Send + * that page token to receive the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRDeveloperConnect_ListLocationsResponse. + * + * Lists information about the supported locations for this service. + * + * @param name The resource that owns the locations collection, if applicable. + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, the + * operation is not deleted; instead, it becomes an operation with an + * Operation.error value with a google.rpc.Status.code of 1, corresponding to + * `Code.CANCELLED`. + * + * Method: developerconnect.projects.locations.operations.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsOperationsCancel : GTLRDeveloperConnectQuery + +/** The name of the operation resource to be cancelled. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDeveloperConnect_Empty. + * + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, the + * operation is not deleted; instead, it becomes an operation with an + * Operation.error value with a google.rpc.Status.code of 1, corresponding to + * `Code.CANCELLED`. + * + * @param object The @c GTLRDeveloperConnect_CancelOperationRequest to include + * in the query. + * @param name The name of the operation resource to be cancelled. + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsOperationsCancel + */ ++ (instancetype)queryWithObject:(GTLRDeveloperConnect_CancelOperationRequest *)object + name:(NSString *)name; + +@end + +/** + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + * + * Method: developerconnect.projects.locations.operations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsOperationsDelete : GTLRDeveloperConnectQuery + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDeveloperConnect_Empty. + * + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + * + * @param name The name of the operation resource to be deleted. + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsOperationsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + * + * Method: developerconnect.projects.locations.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsOperationsGet : GTLRDeveloperConnectQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDeveloperConnect_Operation. + * + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + * + * @param name The name of the operation resource. + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsOperationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * Method: developerconnect.projects.locations.operations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsOperationsList : GTLRDeveloperConnectQuery + +/** The standard list filter. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** The name of the operation's parent resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The standard list page size. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** The standard list page token. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRDeveloperConnect_ListOperationsResponse. + * + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * @param name The name of the operation's parent resource. + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsOperationsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectService.h b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectService.h new file mode 100644 index 000000000..c6623defb --- /dev/null +++ b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectService.h @@ -0,0 +1,73 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Developer Connect API (developerconnect/v1) +// Description: +// Connect third-party source code management to Google +// Documentation: +// http://cloud.google.com/developer-connect/docs/overview + +#import + +#if GTLR_RUNTIME_VERSION != 3000 +#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. +#endif + +// Generated comments include content from the discovery document; avoid them +// causing warnings since clang's checks are some what arbitrary. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" + +NS_ASSUME_NONNULL_BEGIN + +// ---------------------------------------------------------------------------- +// Authorization scope + +/** + * Authorization scope: See, edit, configure, and delete your Google Cloud data + * and see the email address for your Google Account. + * + * Value "https://www.googleapis.com/auth/cloud-platform" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDeveloperConnectCloudPlatform; + +// ---------------------------------------------------------------------------- +// GTLRDeveloperConnectService +// + +/** + * Service for executing Developer Connect API queries. + * + * Connect third-party source code management to Google + */ +@interface GTLRDeveloperConnectService : GTLRService + +// No new methods + +// Clients should create a standard query with any of the class methods in +// GTLRDeveloperConnectQuery.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/Dialogflow/GTLRDialogflowObjects.m b/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m index c486449a0..d53c9af39 100644 --- a/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m +++ b/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m @@ -256,11 +256,11 @@ NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Match_MatchType_DirectIntent = @"DIRECT_INTENT"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Match_MatchType_Event = @"EVENT"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Match_MatchType_Intent = @"INTENT"; -NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Match_MatchType_Llm = @"LLM"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Match_MatchType_MatchTypeUnspecified = @"MATCH_TYPE_UNSPECIFIED"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Match_MatchType_NoInput = @"NO_INPUT"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Match_MatchType_NoMatch = @"NO_MATCH"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Match_MatchType_ParameterFilling = @"PARAMETER_FILLING"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Match_MatchType_Playbook = @"PLAYBOOK"; // GTLRDialogflow_GoogleCloudDialogflowCxV3NluSettings.modelTrainingMode NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3NluSettings_ModelTrainingMode_ModelTrainingModeAutomatic = @"MODEL_TRAINING_MODE_AUTOMATIC"; @@ -736,7 +736,8 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3AdvancedSettings // @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings -@dynamic enabled, finishDigit, maxDigits; +@dynamic enabled, endpointingTimeoutDuration, finishDigit, + interdigitTimeoutDuration, maxDigits; @end @@ -1030,7 +1031,8 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3beta1AdvancedSettings // @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings -@dynamic enabled, finishDigit, maxDigits; +@dynamic enabled, endpointingTimeoutDuration, finishDigit, + interdigitTimeoutDuration, maxDigits; @end @@ -5305,7 +5307,8 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3SecuritySettings // @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings -@dynamic audioExportPattern, audioFormat, enableAudioRedaction, gcsBucket; +@dynamic audioExportPattern, audioFormat, enableAudioRedaction, gcsBucket, + storeTtsAudio; @end diff --git a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h index 4a7dad355..e8d5f6fa7 100644 --- a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h +++ b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h @@ -1687,12 +1687,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Matc * Value: "INTENT" */ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Match_MatchType_Intent; -/** - * The query was handled by an LLM. - * - * Value: "LLM" - */ -FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Match_MatchType_Llm; /** * Not specified. Should never be used. * @@ -1717,6 +1711,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Matc * Value: "PARAMETER_FILLING" */ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Match_MatchType_ParameterFilling; +/** + * The query was handled by a `Playbook`. + * + * Value: "PLAYBOOK" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Match_MatchType_Playbook; // ---------------------------------------------------------------------------- // GTLRDialogflow_GoogleCloudDialogflowCxV3NluSettings.modelTrainingMode @@ -4059,9 +4059,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, strong, nullable) NSNumber *enabled; +/** Endpoint timeout setting for matching dtmf input to regex. */ +@property(nonatomic, strong, nullable) GTLRDuration *endpointingTimeoutDuration; + /** The digit that terminates a DTMF digit sequence. */ @property(nonatomic, copy, nullable) NSString *finishDigit; +/** Interdigit timeout setting for matching dtmf input to regex. */ +@property(nonatomic, strong, nullable) GTLRDuration *interdigitTimeoutDuration; + /** * Max length of DTMF digits. * @@ -4624,9 +4630,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, strong, nullable) NSNumber *enabled; +/** Endpoint timeout setting for matching dtmf input to regex. */ +@property(nonatomic, strong, nullable) GTLRDuration *endpointingTimeoutDuration; + /** The digit that terminates a DTMF digit sequence. */ @property(nonatomic, copy, nullable) NSString *finishDigit; +/** Interdigit timeout setting for matching dtmf input to regex. */ +@property(nonatomic, strong, nullable) GTLRDuration *interdigitTimeoutDuration; + /** * Max length of DTMF digits. * @@ -11587,8 +11599,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 * query directly triggered an event. (Value: "EVENT") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3Match_MatchType_Intent * The query was matched to an intent. (Value: "INTENT") - * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3Match_MatchType_Llm The - * query was handled by an LLM. (Value: "LLM") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3Match_MatchType_MatchTypeUnspecified * Not specified. Should never be used. (Value: "MATCH_TYPE_UNSPECIFIED") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3Match_MatchType_NoInput @@ -11597,6 +11607,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 * No match was found for the query. (Value: "NO_MATCH") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3Match_MatchType_ParameterFilling * The query was used for parameter filling. (Value: "PARAMETER_FILLING") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3Match_MatchType_Playbook + * The query was handled by a `Playbook`. (Value: "PLAYBOOK") */ @property(nonatomic, copy, nullable) NSString *matchType; @@ -13218,6 +13230,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, copy, nullable) NSString *gcsBucket; +/** + * Whether to store TTS audio. By default, TTS audio from the virtual agent is + * not exported. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *storeTtsAudio; + @end diff --git a/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m b/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m index 016a75626..7056b5b37 100644 --- a/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m +++ b/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m @@ -40,6 +40,11 @@ NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonUpgrade = @"DEPROVISION_REASON_UPGRADE"; NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonUpgradeTransfer = @"DEPROVISION_REASON_UPGRADE_TRANSFER"; +// GTLRDirectory_ChromeOsDevice.chromeOsType +NSString * const kGTLRDirectory_ChromeOsDevice_ChromeOsType_ChromeOs = @"chromeOs"; +NSString * const kGTLRDirectory_ChromeOsDevice_ChromeOsType_ChromeOsFlex = @"chromeOsFlex"; +NSString * const kGTLRDirectory_ChromeOsDevice_ChromeOsType_ChromeOsTypeUnspecified = @"chromeOsTypeUnspecified"; + // GTLRDirectory_ChromeOsDevice.deprovisionReason NSString * const kGTLRDirectory_ChromeOsDevice_DeprovisionReason_DeprovisionReasonDifferentModelReplacement = @"DEPROVISION_REASON_DIFFERENT_MODEL_REPLACEMENT"; NSString * const kGTLRDirectory_ChromeOsDevice_DeprovisionReason_DeprovisionReasonDomainMove = @"DEPROVISION_REASON_DOMAIN_MOVE"; @@ -598,15 +603,15 @@ + (Class)classForAdditionalProperties { @implementation GTLRDirectory_ChromeOsDevice @dynamic activeTimeRanges, annotatedAssetId, annotatedLocation, annotatedUser, autoUpdateExpiration, autoUpdateThrough, backlightInfo, bootMode, - cpuInfo, cpuStatusReports, deprovisionReason, deviceFiles, deviceId, - deviceLicenseType, diskVolumeReports, dockMacAddress, ETag, - ethernetMacAddress, ethernetMacAddress0, extendedSupportEligible, - extendedSupportEnabled, extendedSupportStart, fanInfo, firmwareVersion, - firstEnrollmentTime, kind, lastDeprovisionTimestamp, - lastEnrollmentTime, lastKnownNetwork, lastSync, macAddress, - manufactureDate, meid, model, notes, orderNumber, orgUnitId, - orgUnitPath, osUpdateStatus, osVersion, platformVersion, recentUsers, - screenshotFiles, serialNumber, status, supportEndDate, + chromeOsType, cpuInfo, cpuStatusReports, deprovisionReason, + deviceFiles, deviceId, deviceLicenseType, diskVolumeReports, + dockMacAddress, ETag, ethernetMacAddress, ethernetMacAddress0, + extendedSupportEligible, extendedSupportEnabled, extendedSupportStart, + fanInfo, firmwareVersion, firstEnrollmentTime, kind, + lastDeprovisionTimestamp, lastEnrollmentTime, lastKnownNetwork, + lastSync, macAddress, manufactureDate, meid, model, notes, orderNumber, + orgUnitId, orgUnitPath, osUpdateStatus, osVersion, platformVersion, + recentUsers, screenshotFiles, serialNumber, status, supportEndDate, systemRamFreeReports, systemRamTotal, tpmVersionInfo, willAutoRenew; + (NSDictionary *)propertyToJSONKeyMap { diff --git a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h index d15806d9a..c588478e9 100644 --- a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h +++ b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h @@ -236,6 +236,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatu */ FOUNDATION_EXTERN NSString * const kGTLRDirectory_BatchChangeChromeOsDeviceStatusRequest_DeprovisionReason_DeprovisionReasonUpgradeTransfer; +// ---------------------------------------------------------------------------- +// GTLRDirectory_ChromeOsDevice.chromeOsType + +/** + * Chrome OS Type Chrome OS. + * + * Value: "chromeOs" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_ChromeOsType_ChromeOs; +/** + * Chrome OS Type Chrome OS Flex. + * + * Value: "chromeOsFlex" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_ChromeOsType_ChromeOsFlex; +/** + * Chrome OS Type unspecified. + * + * Value: "chromeOsTypeUnspecified" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_ChromeOsType_ChromeOsTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRDirectory_ChromeOsDevice.deprovisionReason @@ -1766,6 +1788,19 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us */ @property(nonatomic, copy, nullable) NSString *bootMode; +/** + * Output only. Chrome OS type of the device. + * + * Likely values: + * @arg @c kGTLRDirectory_ChromeOsDevice_ChromeOsType_ChromeOs Chrome OS Type + * Chrome OS. (Value: "chromeOs") + * @arg @c kGTLRDirectory_ChromeOsDevice_ChromeOsType_ChromeOsFlex Chrome OS + * Type Chrome OS Flex. (Value: "chromeOsFlex") + * @arg @c kGTLRDirectory_ChromeOsDevice_ChromeOsType_ChromeOsTypeUnspecified + * Chrome OS Type unspecified. (Value: "chromeOsTypeUnspecified") + */ +@property(nonatomic, copy, nullable) NSString *chromeOsType; + /** Information regarding CPU specs in the device. */ @property(nonatomic, strong, nullable) NSArray *cpuInfo; diff --git a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryQuery.h b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryQuery.h index f91d1eee0..691a0be27 100644 --- a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryQuery.h +++ b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryQuery.h @@ -521,7 +521,7 @@ GTLR_DEPRECATED @property(nonatomic, assign) BOOL includeChildOrgunits; /** - * Maximum number of results to return. + * Maximum number of results to return, value should not exceed 300. * * @note If not set, the documented server-side default will be 100. */ @@ -563,7 +563,8 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Restrict information returned to a set of selected fields. + * Determines whether the response contains the full list of properties or only + * a subset. * * Likely values: * @arg @c kGTLRDirectoryProjectionBasic Includes only the basic metadata @@ -678,7 +679,8 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *deviceId; /** - * Restrict information returned to a set of selected fields. + * Determines whether the response contains the full list of properties or only + * a subset. * * Likely values: * @arg @c kGTLRDirectoryProjectionBasic Includes only the basic metadata @@ -742,7 +744,8 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *deviceId; /** - * Restrict information returned to a set of selected fields. + * Determines whether the response contains the full list of properties or only + * a subset. * * Likely values: * @arg @c kGTLRDirectoryProjectionBasic Includes only the basic metadata diff --git a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m index 38eca9d90..eac678538 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m +++ b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m @@ -37,6 +37,18 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStep_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStep_State_Succeeded = @"SUCCEEDED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl.solutionType +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeChat = @"SOLUTION_TYPE_CHAT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeGenerativeChat = @"SOLUTION_TYPE_GENERATIVE_CHAT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeRecommendation = @"SOLUTION_TYPE_RECOMMENDATION"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeSearch = @"SOLUTION_TYPE_SEARCH"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeUnspecified = @"SOLUTION_TYPE_UNSPECIFIED"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl.useCases +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_UseCases_SearchUseCaseBrowse = @"SEARCH_USE_CASE_BROWSE"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_UseCases_SearchUseCaseSearch = @"SEARCH_USE_CASE_SEARCH"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_UseCases_SearchUseCaseUnspecified = @"SEARCH_USE_CASE_UNSPECIFIED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel.modelState NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_ModelStateUnspecified = @"MODEL_STATE_UNSPECIFIED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_ReadyForServing = @"READY_FOR_SERVING"; @@ -106,6 +118,7 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_AdvancedSiteSearchDataSources_AdvancedSiteSearchDataSourceUnspecified = @"ADVANCED_SITE_SEARCH_DATA_SOURCE_UNSPECIFIED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_AdvancedSiteSearchDataSources_Metatags = @"METATAGS"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_AdvancedSiteSearchDataSources_Pagemap = @"PAGEMAP"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_AdvancedSiteSearchDataSources_SchemaOrg = @"SCHEMA_ORG"; // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig.completableOption NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_CompletableOption_CompletableDisabled = @"COMPLETABLE_DISABLED"; @@ -185,6 +198,47 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_Type_Include = @"INCLUDE"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer.answerSkippedReasons +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_AnswerSkippedReasons_AdversarialQueryIgnored = @"ADVERSARIAL_QUERY_IGNORED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_AnswerSkippedReasons_AnswerSkippedReasonUnspecified = @"ANSWER_SKIPPED_REASON_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_AnswerSkippedReasons_NonAnswerSeekingQueryIgnored = @"NON_ANSWER_SEEKING_QUERY_IGNORED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_AnswerSkippedReasons_OutOfDomainQueryIgnored = @"OUT_OF_DOMAIN_QUERY_IGNORED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_AnswerSkippedReasons_PotentialPolicyViolation = @"POTENTIAL_POLICY_VIOLATION"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer.state +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_Failed = @"FAILED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_InProgress = @"IN_PROGRESS"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_Succeeded = @"SUCCEEDED"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec.types +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec_Types_AdversarialQuery = @"ADVERSARIAL_QUERY"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec_Types_NonAnswerSeekingQuery = @"NON_ANSWER_SEEKING_QUERY"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec_Types_TypeUnspecified = @"TYPE_UNSPECIFIED"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo.type +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_AdversarialQuery = @"ADVERSARIAL_QUERY"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_NonAnswerSeekingQuery = @"NON_ANSWER_SEEKING_QUERY"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep.state +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep_State_Failed = @"FAILED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep_State_InProgress = @"IN_PROGRESS"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep_State_Succeeded = @"SUCCEEDED"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl.solutionType +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_SolutionType_SolutionTypeChat = @"SOLUTION_TYPE_CHAT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_SolutionType_SolutionTypeGenerativeChat = @"SOLUTION_TYPE_GENERATIVE_CHAT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_SolutionType_SolutionTypeRecommendation = @"SOLUTION_TYPE_RECOMMENDATION"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_SolutionType_SolutionTypeSearch = @"SOLUTION_TYPE_SEARCH"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_SolutionType_SolutionTypeUnspecified = @"SOLUTION_TYPE_UNSPECIFIED"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl.useCases +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_UseCases_SearchUseCaseBrowse = @"SEARCH_USE_CASE_BROWSE"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_UseCases_SearchUseCaseSearch = @"SEARCH_USE_CASE_SEARCH"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_UseCases_SearchUseCaseUnspecified = @"SEARCH_USE_CASE_UNSPECIFIED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel.modelState NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_ModelStateUnspecified = @"MODEL_STATE_UNSPECIFIED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_ReadyForServing = @"READY_FOR_SERVING"; @@ -234,6 +288,12 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig_SearchTier_SearchTierStandard = @"SEARCH_TIER_STANDARD"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig_SearchTier_SearchTierUnspecified = @"SEARCH_TIER_UNSPECIFIED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms.state +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms_State_TermsAccepted = @"TERMS_ACCEPTED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms_State_TermsDeclined = @"TERMS_DECLINED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms_State_TermsPending = @"TERMS_PENDING"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSiteVerificationInfo.siteVerificationState NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSiteVerificationInfo_SiteVerificationState_Exempted = @"EXEMPTED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSiteVerificationInfo_SiteVerificationState_SiteVerificationStateUnspecified = @"SITE_VERIFICATION_STATE_UNSPECIFIED"; @@ -282,6 +342,18 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Type_VarInteger = @"VAR_INTEGER"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control.solutionType +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control_SolutionType_SolutionTypeChat = @"SOLUTION_TYPE_CHAT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control_SolutionType_SolutionTypeGenerativeChat = @"SOLUTION_TYPE_GENERATIVE_CHAT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control_SolutionType_SolutionTypeRecommendation = @"SOLUTION_TYPE_RECOMMENDATION"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control_SolutionType_SolutionTypeSearch = @"SOLUTION_TYPE_SEARCH"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control_SolutionType_SolutionTypeUnspecified = @"SOLUTION_TYPE_UNSPECIFIED"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control.useCases +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control_UseCases_SearchUseCaseBrowse = @"SEARCH_USE_CASE_BROWSE"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control_UseCases_SearchUseCaseSearch = @"SEARCH_USE_CASE_SEARCH"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control_UseCases_SearchUseCaseUnspecified = @"SEARCH_USE_CASE_UNSPECIFIED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Conversation.state NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Conversation_State_Completed = @"COMPLETED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Conversation_State_InProgress = @"IN_PROGRESS"; @@ -333,6 +405,12 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ImportDocumentsRequest_ReconciliationMode_Incremental = @"INCREMENTAL"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ImportDocumentsRequest_ReconciliationMode_ReconciliationModeUnspecified = @"RECONCILIATION_MODE_UNSPECIFIED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms.state +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms_State_TermsAccepted = @"TERMS_ACCEPTED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms_State_TermsDeclined = @"TERMS_DECLINED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms_State_TermsPending = @"TERMS_PENDING"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec.condition NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec_Condition_Auto = @"AUTO"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec_Condition_ConditionUnspecified = @"CONDITION_UNSPECIFIED"; @@ -351,6 +429,10 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSummary_SummarySkippedReasons_PotentialPolicyViolation = @"POTENTIAL_POLICY_VIOLATION"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSummary_SummarySkippedReasons_SummarySkippedReasonUnspecified = @"SUMMARY_SKIPPED_REASON_UNSPECIFIED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session.state +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session_State_InProgress = @"IN_PROGRESS"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session_State_StateUnspecified = @"STATE_UNSPECIFIED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SiteVerificationInfo.siteVerificationState NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SiteVerificationInfo_SiteVerificationState_Exempted = @"EXEMPTED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SiteVerificationInfo_SiteVerificationState_SiteVerificationStateUnspecified = @"SITE_VERIFICATION_STATE_UNSPECIFIED"; @@ -611,7 +693,21 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerRefer // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata -@dynamic document, pageIdentifier, title, uri; +@dynamic document, pageIdentifier, structData, title, uri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata_StructData +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata_StructData + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + @end @@ -621,7 +717,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerRefer // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo -@dynamic chunkContents, document, title, uri; +@dynamic chunkContents, document, structData, title, uri; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -633,6 +729,20 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerRefer @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo_StructData +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo_StructData + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent @@ -770,6 +880,115 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBatchCreate @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCondition +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCondition +@dynamic activeTimeRange, queryTerms; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"activeTimeRange" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConditionTimeRange class], + @"queryTerms" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConditionQueryTerm class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConditionQueryTerm +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConditionQueryTerm +@dynamic fullMatch, value; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConditionTimeRange +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConditionTimeRange +@dynamic endTime, startTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl +@dynamic associatedServingConfigIds, boostAction, conditions, displayName, + filterAction, name, redirectAction, solutionType, synonymsAction, + useCases; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"associatedServingConfigIds" : [NSString class], + @"conditions" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCondition class], + @"useCases" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostAction +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostAction +@dynamic boost, dataStore, filter; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlFilterAction +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlFilterAction +@dynamic dataStore, filter; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlRedirectAction +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlRedirectAction +@dynamic redirectUri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlSynonymsAction +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlSynonymsAction +@dynamic synonyms; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"synonyms" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata @@ -1157,11 +1376,12 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig @dynamic advancedSiteSearchDataSources, completableOption, dynamicFacetableOption, fieldPath, fieldType, indexableOption, keyPropertyType, recsFilterableOption, retrievableOption, - searchableOption; + schemaOrgPaths, searchableOption; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"advancedSiteSearchDataSources" : [NSString class] + @"advancedSiteSearchDataSources" : [NSString class], + @"schemaOrgPaths" : [NSString class] }; return map; } @@ -1686,25 +1906,39 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateTarge // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata -@dynamic createTime, updateTime; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer +@dynamic answerSkippedReasons, answerText, citations, completeTime, createTime, + name, queryUnderstandingInfo, references, relatedQuestions, state, + steps; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"answerSkippedReasons" : [NSString class], + @"citations" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerCitation class], + @"references" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReference class], + @"relatedQuestions" : [NSString class], + @"steps" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep class] + }; + return map; +} + @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerCitation // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest -@dynamic requests; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerCitation +@dynamic endIndex, sources, startIndex; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"requests" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CreateTargetSiteRequest class] + @"sources" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerCitationSource class] }; return map; } @@ -1714,52 +1948,77 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchCreateTarge // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchCreateTargetSitesResponse +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerCitationSource // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchCreateTargetSitesResponse -@dynamic targetSites; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerCitationSource +@dynamic referenceId; +@end -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"targetSites" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1TargetSite class] - }; - return map; -} +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest +@dynamic answerGenerationSpec, asynchronousMode, query, queryUnderstandingSpec, + relatedQuestionsSpec, safetySpec, searchSpec, session, userPseudoId; @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec +@dynamic answerLanguageCode, ignoreAdversarialQuery, ignoreLowRelevantContent, + ignoreNonAnswerSeekingQuery, includeCitations, modelSpec, promptSpec; @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata -@dynamic createTime, updateTime; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec +@dynamic modelVersion; @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesResponse +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesResponse -@dynamic targetSites; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec +@dynamic preamble; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec +@dynamic queryClassificationSpec, queryRephraserSpec; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec +@dynamic types; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"targetSites" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite class] + @"types" : [NSString class] }; return map; } @@ -1769,68 +2028,73 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaBatchCreateT // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateDataStoreMetadata +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateDataStoreMetadata -@dynamic createTime, updateTime; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec +@dynamic disable; @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateEngineMetadata +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestRelatedQuestionsSpec // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateEngineMetadata -@dynamic createTime, updateTime; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestRelatedQuestionsSpec +@dynamic enable; @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateSchemaMetadata +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpec // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateSchemaMetadata -@dynamic createTime, updateTime; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpec +@dynamic enable; @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpec // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata -@dynamic createTime, updateTime; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpec +@dynamic searchParams, searchResultList; @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel -@dynamic createTime, displayName, modelState, modelVersion, name, - trainingStartTime; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams +@dynamic boostSpec, dataStoreSpecs, filter, maxReturnResults, orderBy; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dataStoreSpecs" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec class] + }; + return map; +} + @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultList // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore -@dynamic contentConfig, createTime, defaultSchemaId, displayName, - documentProcessingConfig, industryVertical, name, solutionTypes, - startingSchema; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultList +@dynamic searchResults; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"solutionTypes" : [NSString class] + @"searchResults" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResult class] }; return map; } @@ -1840,82 +2104,98 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResult // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata -@dynamic createTime, updateTime; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResult +@dynamic chunkInfo, unstructuredDocumentInfo; @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteEngineMetadata +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteEngineMetadata -@dynamic createTime, updateTime; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo +@dynamic chunk, content; @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteSchemaMetadata +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteSchemaMetadata -@dynamic createTime, updateTime; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo +@dynamic document, documentContexts, extractiveAnswers, extractiveSegments, + title, uri; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"documentContexts" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext class], + @"extractiveAnswers" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer class], + @"extractiveSegments" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment class] + }; + return map; +} + @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata -@dynamic createTime, updateTime; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext +@dynamic content, pageIdentifier; @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata -@dynamic createTime, updateTime; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer +@dynamic content, pageIdentifier; @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment +@dynamic content, pageIdentifier; @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryResponse // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig -@dynamic defaultParsingConfig, name, parsingConfigOverrides; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryResponse +@dynamic answer, answerQueryToken, session; @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig_ParsingConfigOverrides +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfo // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig_ParsingConfigOverrides +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfo +@dynamic queryClassificationInfo; -+ (Class)classForAdditionalProperties { - return [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig class]; ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"queryClassificationInfo" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo class] + }; + return map; } @end @@ -1923,37 +2203,578 @@ + (Class)classForAdditionalProperties { // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig -@dynamic digitalParsingConfig, ocrParsingConfig; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo +@dynamic positive, type; @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReference // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReference +@dynamic chunkInfo, unstructuredDocumentInfo; @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig -@dynamic enhancedDocumentElements, useNativeText; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo +@dynamic chunk, content, documentMetadata, relevanceScore; +@end -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"enhancedDocumentElements" : [NSString class] - }; - return map; -} + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata +@dynamic document, pageIdentifier, structData, title, uri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata_StructData +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata_StructData + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo +@dynamic chunkContents, document, structData, title, uri; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"chunkContents" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo_StructData +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo_StructData + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent +@dynamic content, pageIdentifier; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep +@dynamic actions, descriptionProperty, state, thought; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"actions" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepAction class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepAction +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepAction +@dynamic observation, searchAction; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservation +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservation +@dynamic searchResults; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"searchResults" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult +@dynamic chunkInfo, document, snippetInfo, title, uri; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"chunkInfo" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultChunkInfo class], + @"snippetInfo" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultSnippetInfo class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultChunkInfo +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultChunkInfo +@dynamic chunk, content, relevanceScore; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultSnippetInfo +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultSnippetInfo +@dynamic snippet, snippetStatus; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction +@dynamic query; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata +@dynamic createTime, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest +@dynamic requests; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"requests" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CreateTargetSiteRequest class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchCreateTargetSitesResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchCreateTargetSitesResponse +@dynamic targetSites; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"targetSites" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1TargetSite class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata +@dynamic createTime, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesResponse +@dynamic targetSites; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"targetSites" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCondition +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCondition +@dynamic activeTimeRange, queryTerms; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"activeTimeRange" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConditionTimeRange class], + @"queryTerms" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConditionQueryTerm class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConditionQueryTerm +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConditionQueryTerm +@dynamic fullMatch, value; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConditionTimeRange +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConditionTimeRange +@dynamic endTime, startTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl +@dynamic associatedServingConfigIds, boostAction, conditions, displayName, + filterAction, name, redirectAction, solutionType, synonymsAction, + useCases; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"associatedServingConfigIds" : [NSString class], + @"conditions" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCondition class], + @"useCases" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlBoostAction +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlBoostAction +@dynamic boost, dataStore, filter; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlFilterAction +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlFilterAction +@dynamic dataStore, filter; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlRedirectAction +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlRedirectAction +@dynamic redirectUri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlSynonymsAction +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlSynonymsAction +@dynamic synonyms; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"synonyms" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateDataStoreMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateDataStoreMetadata +@dynamic createTime, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateEngineMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateEngineMetadata +@dynamic createTime, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateSchemaMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateSchemaMetadata +@dynamic createTime, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata +@dynamic createTime, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel +@dynamic createTime, displayName, modelState, modelVersion, name, + trainingStartTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore +@dynamic contentConfig, createTime, defaultSchemaId, displayName, + documentProcessingConfig, industryVertical, name, solutionTypes, + startingSchema; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"solutionTypes" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata +@dynamic createTime, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteEngineMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteEngineMetadata +@dynamic createTime, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteSchemaMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteSchemaMetadata +@dynamic createTime, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata +@dynamic createTime, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata +@dynamic createTime, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig +@dynamic defaultParsingConfig, name, parsingConfigOverrides; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig_ParsingConfigOverrides +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig_ParsingConfigOverrides + ++ (Class)classForAdditionalProperties { + return [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig +@dynamic digitalParsingConfig, ocrParsingConfig; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig +@dynamic enhancedDocumentElements, useNativeText; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"enhancedDocumentElements" : [NSString class] + }; + return map; +} @end @@ -2167,6 +2988,54 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaListCustomMo @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProject +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProject +@dynamic createTime, name, provisionCompletionTime, serviceTermsMap; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProject_ServiceTermsMap +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProject_ServiceTermsMap + ++ (Class)classForAdditionalProperties { + return [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms +@dynamic acceptTime, declineTime, identifier, state, version; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProvisionProjectMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProvisionProjectMetadata +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata @@ -2386,46 +3255,252 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigQuerySource // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptions // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptions -@dynamic families, keyFieldName; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptions +@dynamic families, keyFieldName; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptions_Families +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptions_Families + ++ (Class)classForAdditionalProperties { + return [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn +@dynamic encoding, fieldName, qualifier, type; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily +@dynamic columns, encoding, fieldName, type; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"columns" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableSource +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableSource +@dynamic bigtableOptions, instanceId, projectId, tableId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingRequest +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingRequest +@dynamic answerCandidate, facts, groundingSpec, userLabels; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"facts" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundingFact class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingRequest_UserLabels +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingRequest_UserLabels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingResponse +@dynamic citedChunks, claims, supportScore; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"citedChunks" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1FactChunk class], + @"claims" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim +@dynamic citationIndices, claimText, endPos, groundingCheckRequired, startPos; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"citationIndices" : [NSNumber class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingSpec +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingSpec +@dynamic citationThreshold; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CloudSqlSource +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CloudSqlSource +@dynamic databaseId, gcsStagingDir, instanceId, offload, projectId, tableId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompleteQueryResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompleteQueryResponse +@dynamic querySuggestions, tailMatchTriggered; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"querySuggestions" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompleteQueryResponseQuerySuggestion class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompleteQueryResponseQuerySuggestion +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompleteQueryResponseQuerySuggestion +@dynamic completableFieldPaths, suggestion; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"completableFieldPaths" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompletionInfo +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompletionInfo +@dynamic selectedPosition, selectedSuggestion; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Condition +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Condition +@dynamic activeTimeRange, queryTerms; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"activeTimeRange" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConditionTimeRange class], + @"queryTerms" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConditionQueryTerm class] + }; + return map; +} + @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptions_Families +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConditionQueryTerm // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptions_Families - -+ (Class)classForAdditionalProperties { - return [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily class]; -} - +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConditionQueryTerm +@dynamic fullMatch, value; @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConditionTimeRange // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn -@dynamic encoding, fieldName, qualifier, type; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConditionTimeRange +@dynamic endTime, startTime; @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily -@dynamic columns, encoding, fieldName, type; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control +@dynamic associatedServingConfigIds, boostAction, conditions, displayName, + filterAction, name, redirectAction, solutionType, synonymsAction, + useCases; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"columns" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn class] + @"associatedServingConfigIds" : [NSString class], + @"conditions" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Condition class], + @"useCases" : [NSString class] }; return map; } @@ -2435,53 +3510,45 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsB // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableSource +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ControlBoostAction // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableSource -@dynamic bigtableOptions, instanceId, projectId, tableId; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ControlBoostAction +@dynamic boost, dataStore, filter; @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CloudSqlSource +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ControlFilterAction // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CloudSqlSource -@dynamic databaseId, gcsStagingDir, instanceId, offload, projectId, tableId; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ControlFilterAction +@dynamic dataStore, filter; @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompleteQueryResponse +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ControlRedirectAction // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompleteQueryResponse -@dynamic querySuggestions, tailMatchTriggered; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"querySuggestions" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompleteQueryResponseQuerySuggestion class] - }; - return map; -} - +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ControlRedirectAction +@dynamic redirectUri; @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompleteQueryResponseQuerySuggestion +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ControlSynonymsAction // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompleteQueryResponseQuerySuggestion -@dynamic completableFieldPaths, suggestion; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ControlSynonymsAction +@dynamic synonyms; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"completableFieldPaths" : [NSString class] + @"synonyms" : [NSString class] }; return map; } @@ -2489,16 +3556,6 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompleteQueryRes @end -// ---------------------------------------------------------------------------- -// -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompletionInfo -// - -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompletionInfo -@dynamic selectedPosition, selectedSuggestion; -@end - - // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Conversation @@ -2988,6 +4045,30 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EngineSearchEngi @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1FactChunk +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1FactChunk +@dynamic chunkText, index, source, sourceMetadata; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1FactChunk_SourceMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1FactChunk_SourceMetadata + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1FetchDomainVerificationStatusResponse @@ -3048,6 +4129,30 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GcsSource @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundingFact +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundingFact +@dynamic attributes, factText; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundingFact_Attributes +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundingFact_Attributes + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ImportDocumentsMetadata @@ -3238,6 +4343,28 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Interval @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListControlsResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListControlsResponse +@dynamic controls, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"controls" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"controls"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListConversationsResponse @@ -3348,6 +4475,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListSessionsResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListSessionsResponse +@dynamic nextPageToken, sessions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"sessions" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"sessions"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListTargetSitesResponse @@ -3400,6 +4549,64 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1PanelInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Project +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Project +@dynamic createTime, name, provisionCompletionTime, serviceTermsMap; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Project_ServiceTermsMap +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Project_ServiceTermsMap + ++ (Class)classForAdditionalProperties { + return [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms +@dynamic acceptTime, declineTime, identifier, state, version; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProvisionProjectMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProvisionProjectMetadata +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProvisionProjectRequest +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProvisionProjectRequest +@dynamic acceptDataUseTerms, dataUseTermsVersion; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata @@ -3475,6 +4682,81 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1PurgeSuggestionD @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Query +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Query +@dynamic queryId, text; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RankingRecord +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RankingRecord +@dynamic content, identifier, score, title; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RankRequest +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RankRequest +@dynamic ignoreRecordDetailsInResponse, model, query, records, topN, userLabels; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"records" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RankingRecord class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RankRequest_UserLabels +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RankRequest_UserLabels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RankResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RankResponse +@dynamic records; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"records" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RankingRecord class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RecommendRequest @@ -4047,6 +5329,34 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSu @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session +@dynamic endTime, name, startTime, state, turns, userPseudoId; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"turns" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SessionTurn class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SessionTurn +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SessionTurn +@dynamic answer, query; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SiteSearchEngine @@ -4165,10 +5475,10 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UpdateTargetSite // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserEvent -@dynamic attributes, attributionToken, completionInfo, directUserRequest, - documents, eventTime, eventType, filter, mediaInfo, pageInfo, panel, - promotionIds, searchInfo, sessionId, tagIds, transactionInfo, userInfo, - userPseudoId; +@dynamic attributes, attributionToken, completionInfo, dataStore, + directUserRequest, documents, engine, eventTime, eventType, filter, + mediaInfo, pageInfo, panel, promotionIds, searchInfo, sessionId, + tagIds, transactionInfo, userInfo, userPseudoId; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -4206,6 +5516,15 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleLongrunningCancelOperationRequest +// + +@implementation GTLRDiscoveryEngine_GoogleLongrunningCancelOperationRequest +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleLongrunningListOperationsResponse diff --git a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m index 41a72946e..5160a549d 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m +++ b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m @@ -219,6 +219,33 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresBranchesOperationsCancel + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleLongrunningCancelOperationRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:cancel"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresBranchesOperationsCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleProtobufEmpty class]; + query.loggingName = @"discoveryengine.projects.locations.collections.dataStores.branches.operations.cancel"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresBranchesOperationsGet @dynamic name; @@ -276,6 +303,117 @@ + (instancetype)queryWithDataStore:(NSString *)dataStore { @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresControlsCreate + +@dynamic controlId, parent; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control *)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}/controls"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresControlsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control class]; + query.loggingName = @"discoveryengine.projects.locations.collections.dataStores.controls.create"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresControlsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresControlsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleProtobufEmpty class]; + query.loggingName = @"discoveryengine.projects.locations.collections.dataStores.controls.delete"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresControlsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresControlsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control class]; + query.loggingName = @"discoveryengine.projects.locations.collections.dataStores.controls.get"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresControlsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/controls"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresControlsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListControlsResponse class]; + query.loggingName = @"discoveryengine.projects.locations.collections.dataStores.controls.list"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresControlsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control *)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}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresControlsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control class]; + query.loggingName = @"discoveryengine.projects.locations.collections.dataStores.controls.patch"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresConversationsConverse @dynamic name; @@ -769,6 +907,33 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresServingConfigsAnswer + +@dynamic servingConfig; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest *)object + servingConfig:(NSString *)servingConfig { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"servingConfig" ]; + NSString *pathURITemplate = @"v1/{+servingConfig}:answer"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresServingConfigsAnswer *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.servingConfig = servingConfig; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryResponse class]; + query.loggingName = @"discoveryengine.projects.locations.collections.dataStores.servingConfigs.answer"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresServingConfigsRecommend @dynamic servingConfig; @@ -823,6 +988,136 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsAnswersGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsAnswersGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer class]; + query.loggingName = @"discoveryengine.projects.locations.collections.dataStores.sessions.answers.get"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session *)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}/sessions"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session class]; + query.loggingName = @"discoveryengine.projects.locations.collections.dataStores.sessions.create"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleProtobufEmpty class]; + query.loggingName = @"discoveryengine.projects.locations.collections.dataStores.sessions.delete"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session class]; + query.loggingName = @"discoveryengine.projects.locations.collections.dataStores.sessions.get"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/sessions"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListSessionsResponse class]; + query.loggingName = @"discoveryengine.projects.locations.collections.dataStores.sessions.list"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session *)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}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session class]; + query.loggingName = @"discoveryengine.projects.locations.collections.dataStores.sessions.patch"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSiteSearchEngineBatchVerifyTargetSites @dynamic parent; @@ -1266,7 +1561,7 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresUserEventsWrite -@dynamic parent; +@dynamic parent, writeAsync; + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserEvent *)object parent:(NSString *)parent { @@ -1291,43 +1586,154 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV @end -@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsConverse +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsCreate -@dynamic name; +@dynamic controlId, parent; -+ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConverseConversationRequest *)object - name:(NSString *)name { ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control *)object + parent:(NSString *)parent { if (object == nil) { #if defined(DEBUG) && DEBUG NSAssert(object != nil, @"Got a nil object"); #endif return nil; } - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}:converse"; - GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsConverse *query = + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/controls"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsCreate *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" pathParameterNames:pathParams]; query.bodyObject = object; - query.name = name; - query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConverseConversationResponse class]; - query.loggingName = @"discoveryengine.projects.locations.collections.engines.conversations.converse"; + query.parent = parent; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.controls.create"; return query; } @end -@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsCreate +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsDelete -@dynamic parent; +@dynamic name; -+ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Conversation *)object - parent:(NSString *)parent { - if (object == nil) { -#if defined(DEBUG) && DEBUG - NSAssert(object != nil, @"Got a nil object"); -#endif ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleProtobufEmpty class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.controls.delete"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.controls.get"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/controls"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListControlsResponse class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.controls.list"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control *)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}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.controls.patch"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsConverse + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConverseConversationRequest *)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}:converse"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsConverse *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConverseConversationResponse class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.conversations.converse"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Conversation *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif return nil; } NSArray *pathParams = @[ @"parent" ]; @@ -1578,6 +1984,33 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesServingConfigsAnswer + +@dynamic servingConfig; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest *)object + servingConfig:(NSString *)servingConfig { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"servingConfig" ]; + NSString *pathURITemplate = @"v1/{+servingConfig}:answer"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesServingConfigsAnswer *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.servingConfig = servingConfig; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryResponse class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.servingConfigs.answer"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesServingConfigsRecommend @dynamic servingConfig; @@ -1632,6 +2065,136 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsAnswersGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsAnswersGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.sessions.answers.get"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session *)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}/sessions"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.sessions.create"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleProtobufEmpty class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.sessions.delete"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.sessions.get"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/sessions"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListSessionsResponse class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.sessions.list"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session *)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}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.sessions.patch"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsOperationsGet @dynamic name; @@ -1828,65 +2391,203 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV pathParameterNames:pathParams]; query.bodyObject = object; query.parent = parent; - query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleLongrunningOperation class]; - query.loggingName = @"discoveryengine.projects.locations.dataStores.branches.documents.purge"; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleLongrunningOperation class]; + query.loggingName = @"discoveryengine.projects.locations.dataStores.branches.documents.purge"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresBranchesOperationsCancel + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleLongrunningCancelOperationRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:cancel"; + GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresBranchesOperationsCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleProtobufEmpty class]; + query.loggingName = @"discoveryengine.projects.locations.dataStores.branches.operations.cancel"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresBranchesOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresBranchesOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleLongrunningOperation class]; + query.loggingName = @"discoveryengine.projects.locations.dataStores.branches.operations.get"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresBranchesOperationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/operations"; + GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresBranchesOperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleLongrunningListOperationsResponse class]; + query.loggingName = @"discoveryengine.projects.locations.dataStores.branches.operations.list"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresCompleteQuery + +@dynamic dataStore, includeTailSuggestions, query, queryModel, userPseudoId; + ++ (instancetype)queryWithDataStore:(NSString *)dataStore { + NSArray *pathParams = @[ @"dataStore" ]; + NSString *pathURITemplate = @"v1/{+dataStore}:completeQuery"; + GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresCompleteQuery *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.dataStore = dataStore; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompleteQueryResponse class]; + query.loggingName = @"discoveryengine.projects.locations.dataStores.completeQuery"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresControlsCreate + +@dynamic controlId, parent; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control *)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}/controls"; + GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresControlsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control class]; + query.loggingName = @"discoveryengine.projects.locations.dataStores.controls.create"; return query; } @end -@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresBranchesOperationsGet +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresControlsDelete @dynamic name; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; NSString *pathURITemplate = @"v1/{+name}"; - GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresBranchesOperationsGet *query = + GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresControlsDelete *query = [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil + HTTPMethod:@"DELETE" pathParameterNames:pathParams]; query.name = name; - query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleLongrunningOperation class]; - query.loggingName = @"discoveryengine.projects.locations.dataStores.branches.operations.get"; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleProtobufEmpty class]; + query.loggingName = @"discoveryengine.projects.locations.dataStores.controls.delete"; return query; } @end -@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresBranchesOperationsList +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresControlsGet -@dynamic filter, name, pageSize, pageToken; +@dynamic name; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}/operations"; - GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresBranchesOperationsList *query = + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresControlsGet *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil pathParameterNames:pathParams]; query.name = name; - query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleLongrunningListOperationsResponse class]; - query.loggingName = @"discoveryengine.projects.locations.dataStores.branches.operations.list"; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control class]; + query.loggingName = @"discoveryengine.projects.locations.dataStores.controls.get"; return query; } @end -@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresCompleteQuery +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresControlsList -@dynamic dataStore, includeTailSuggestions, query, queryModel, userPseudoId; +@dynamic filter, pageSize, pageToken, parent; -+ (instancetype)queryWithDataStore:(NSString *)dataStore { - NSArray *pathParams = @[ @"dataStore" ]; - NSString *pathURITemplate = @"v1/{+dataStore}:completeQuery"; - GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresCompleteQuery *query = ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/controls"; + GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresControlsList *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil pathParameterNames:pathParams]; - query.dataStore = dataStore; - query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompleteQueryResponse class]; - query.loggingName = @"discoveryengine.projects.locations.dataStores.completeQuery"; + query.parent = parent; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListControlsResponse class]; + query.loggingName = @"discoveryengine.projects.locations.dataStores.controls.list"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresControlsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control *)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}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresControlsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control class]; + query.loggingName = @"discoveryengine.projects.locations.dataStores.controls.patch"; return query; } @@ -2347,6 +3048,33 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresServingConfigsAnswer + +@dynamic servingConfig; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest *)object + servingConfig:(NSString *)servingConfig { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"servingConfig" ]; + NSString *pathURITemplate = @"v1/{+servingConfig}:answer"; + GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresServingConfigsAnswer *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.servingConfig = servingConfig; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryResponse class]; + query.loggingName = @"discoveryengine.projects.locations.dataStores.servingConfigs.answer"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresServingConfigsRecommend @dynamic servingConfig; @@ -2401,6 +3129,136 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsAnswersGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsAnswersGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer class]; + query.loggingName = @"discoveryengine.projects.locations.dataStores.sessions.answers.get"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session *)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}/sessions"; + GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session class]; + query.loggingName = @"discoveryengine.projects.locations.dataStores.sessions.create"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleProtobufEmpty class]; + query.loggingName = @"discoveryengine.projects.locations.dataStores.sessions.delete"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session class]; + query.loggingName = @"discoveryengine.projects.locations.dataStores.sessions.get"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/sessions"; + GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListSessionsResponse class]; + query.loggingName = @"discoveryengine.projects.locations.dataStores.sessions.list"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session *)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}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session class]; + query.loggingName = @"discoveryengine.projects.locations.dataStores.sessions.patch"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSiteSearchEngineDisableAdvancedSiteSearch @dynamic siteSearchEngine; @@ -2722,7 +3580,7 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresUserEventsWrite -@dynamic parent; +@dynamic parent, writeAsync; + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserEvent *)object parent:(NSString *)parent { @@ -2747,6 +3605,33 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsGroundingConfigsCheck + +@dynamic groundingConfig; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingRequest *)object + groundingConfig:(NSString *)groundingConfig { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"groundingConfig" ]; + NSString *pathURITemplate = @"v1/{+groundingConfig}:check"; + GTLRDiscoveryEngineQuery_ProjectsLocationsGroundingConfigsCheck *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.groundingConfig = groundingConfig; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingResponse class]; + query.loggingName = @"discoveryengine.projects.locations.groundingConfigs.check"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsOperationsGet @dynamic name; @@ -2785,9 +3670,36 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsRankingConfigsRank + +@dynamic rankingConfig; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RankRequest *)object + rankingConfig:(NSString *)rankingConfig { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"rankingConfig" ]; + NSString *pathURITemplate = @"v1/{+rankingConfig}:rank"; + GTLRDiscoveryEngineQuery_ProjectsLocationsRankingConfigsRank *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.rankingConfig = rankingConfig; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RankResponse class]; + query.loggingName = @"discoveryengine.projects.locations.rankingConfigs.rank"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsUserEventsWrite -@dynamic parent; +@dynamic parent, writeAsync; + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserEvent *)object parent:(NSString *)parent { @@ -2812,6 +3724,33 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV @end +@implementation GTLRDiscoveryEngineQuery_ProjectsOperationsCancel + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleLongrunningCancelOperationRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:cancel"; + GTLRDiscoveryEngineQuery_ProjectsOperationsCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleProtobufEmpty class]; + query.loggingName = @"discoveryengine.projects.operations.cancel"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsOperationsGet @dynamic name; @@ -2849,3 +3788,30 @@ + (instancetype)queryWithName:(NSString *)name { } @end + +@implementation GTLRDiscoveryEngineQuery_ProjectsProvision + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProvisionProjectRequest *)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}:provision"; + GTLRDiscoveryEngineQuery_ProjectsProvision *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleLongrunningOperation class]; + query.loggingName = @"discoveryengine.projects.provision"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h index be1f53414..ef9361320 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h @@ -29,7 +29,9 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReference; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata_StructData; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo_StructData; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStep; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepAction; @@ -38,6 +40,13 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCondition; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConditionQueryTerm; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConditionTimeRange; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostAction; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlFilterAction; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlRedirectAction; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlSynonymsAction; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig_ParsingConfigOverrides; @@ -73,6 +82,49 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse_Metrics; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerCitation; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerCitationSource; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestRelatedQuestionsSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultList; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResult; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfo; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReference; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata_StructData; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo_StructData; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepAction; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservation; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultChunkInfo; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultSnippetInfo; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCondition; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConditionQueryTerm; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConditionTimeRange; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlBoostAction; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlFilterAction; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlRedirectAction; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlSynonymsAction; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig_ParsingConfigOverrides; @@ -85,6 +137,8 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineCommonConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaImportErrorConfig; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProject_ServiceTermsMap; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSchema; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSchema_StructSchema; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSiteVerificationInfo; @@ -98,9 +152,20 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableSource; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingRequest_UserLabels; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CloudSqlSource; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompleteQueryResponseQuerySuggestion; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompletionInfo; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Condition; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConditionQueryTerm; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConditionTimeRange; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ControlBoostAction; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ControlFilterAction; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ControlRedirectAction; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ControlSynonymsAction; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Conversation; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConversationContext; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConversationMessage; @@ -124,9 +189,13 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EngineChatEngineMetadata; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EngineCommonConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EngineSearchEngineConfig; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1FactChunk; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1FactChunk_SourceMetadata; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1FhirStoreSource; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1FirestoreSource; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GcsSource; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundingFact; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundingFact_Attributes; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ImportDocumentsRequestInlineSource; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ImportErrorConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesRequestInlineSource; @@ -135,6 +204,11 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1MediaInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1PageInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1PanelInfo; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Project_ServiceTermsMap; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Query; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RankingRecord; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RankRequest_UserLabels; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RecommendRequest_Params; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RecommendRequest_UserLabels; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RecommendResponseRecommendationResult; @@ -171,6 +245,8 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSummaryReferenceChunkContent; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSummarySafetyAttributes; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSummarySummaryWithMetadata; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SessionTurn; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SiteVerificationInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SpannerSource; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SuggestionDenyListEntry; @@ -314,10 +390,72 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStep_State_Succeeded; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl.solutionType + +/** + * Used for use cases related to the Generative AI agent. + * + * Value: "SOLUTION_TYPE_CHAT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeChat; +/** + * Used for use cases related to the Generative Chat agent. It's used for + * Generative chat engine only, the associated data stores must enrolled with + * `SOLUTION_TYPE_CHAT` solution. + * + * Value: "SOLUTION_TYPE_GENERATIVE_CHAT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeGenerativeChat; +/** + * Used for Recommendations AI. + * + * Value: "SOLUTION_TYPE_RECOMMENDATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeRecommendation; +/** + * Used for Discovery Search. + * + * Value: "SOLUTION_TYPE_SEARCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeSearch; +/** + * Default value. + * + * Value: "SOLUTION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl.useCases + +/** + * Browse use case. Expects the traffic has an empty query. + * + * Value: "SEARCH_USE_CASE_BROWSE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_UseCases_SearchUseCaseBrowse; +/** + * Search use case. Expects the traffic has a non-empty query. + * + * Value: "SEARCH_USE_CASE_SEARCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_UseCases_SearchUseCaseSearch; +/** + * Value used when unset. Will not occur in CSS. + * + * Value: "SEARCH_USE_CASE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_UseCases_SearchUseCaseUnspecified; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel.modelState -/** Value: "MODEL_STATE_UNSPECIFIED" */ +/** + * Default value. + * + * Value: "MODEL_STATE_UNSPECIFIED" + */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_ModelStateUnspecified; /** * The model is ready for serving. @@ -640,6 +778,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * Value: "PAGEMAP" */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_AdvancedSiteSearchDataSources_Pagemap; +/** + * Retrieve value from schema.org data. + * + * Value: "SCHEMA_ORG" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_AdvancedSiteSearchDataSources_SchemaOrg; // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig.completableOption @@ -1012,10 +1156,209 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_Type_TypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer.answerSkippedReasons + +/** + * The adversarial query ignored case. + * + * Value: "ADVERSARIAL_QUERY_IGNORED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_AnswerSkippedReasons_AdversarialQueryIgnored; +/** + * Default value. The answer skipped reason is not specified. + * + * Value: "ANSWER_SKIPPED_REASON_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_AnswerSkippedReasons_AnswerSkippedReasonUnspecified; +/** + * The non-answer seeking query ignored case. + * + * Value: "NON_ANSWER_SEEKING_QUERY_IGNORED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_AnswerSkippedReasons_NonAnswerSeekingQueryIgnored; +/** + * The out-of-domain query ignored case. Google skips the answer if there are + * no high-relevance search results. + * + * Value: "OUT_OF_DOMAIN_QUERY_IGNORED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_AnswerSkippedReasons_OutOfDomainQueryIgnored; +/** + * The potential policy violation case. Google skips the answer if there is a + * potential policy violation detected. This includes content that may be + * violent or toxic. + * + * Value: "POTENTIAL_POLICY_VIOLATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_AnswerSkippedReasons_PotentialPolicyViolation; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer.state + +/** + * Answer generation currently failed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_Failed; +/** + * Answer generation is currently in progress. + * + * Value: "IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_InProgress; +/** + * Unknown. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_StateUnspecified; +/** + * Answer generation has succeeded. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_Succeeded; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec.types + +/** + * Adversarial query classification type. + * + * Value: "ADVERSARIAL_QUERY" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec_Types_AdversarialQuery; +/** + * Non-answer-seeking query classification type. + * + * Value: "NON_ANSWER_SEEKING_QUERY" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec_Types_NonAnswerSeekingQuery; +/** + * Unspecified query classification type. + * + * Value: "TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec_Types_TypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo.type + +/** + * Adversarial query classification type. + * + * Value: "ADVERSARIAL_QUERY" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_AdversarialQuery; +/** + * Non-answer-seeking query classification type. + * + * Value: "NON_ANSWER_SEEKING_QUERY" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_NonAnswerSeekingQuery; +/** + * Unspecified query classification type. + * + * Value: "TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_TypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep.state + +/** + * Step currently failed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep_State_Failed; +/** + * Step is currently in progress. + * + * Value: "IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep_State_InProgress; +/** + * Unknown. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep_State_StateUnspecified; +/** + * Step has succeeded. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep_State_Succeeded; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl.solutionType + +/** + * Used for use cases related to the Generative AI agent. + * + * Value: "SOLUTION_TYPE_CHAT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_SolutionType_SolutionTypeChat; +/** + * Used for use cases related to the Generative Chat agent. It's used for + * Generative chat engine only, the associated data stores must enrolled with + * `SOLUTION_TYPE_CHAT` solution. + * + * Value: "SOLUTION_TYPE_GENERATIVE_CHAT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_SolutionType_SolutionTypeGenerativeChat; +/** + * Used for Recommendations AI. + * + * Value: "SOLUTION_TYPE_RECOMMENDATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_SolutionType_SolutionTypeRecommendation; +/** + * Used for Discovery Search. + * + * Value: "SOLUTION_TYPE_SEARCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_SolutionType_SolutionTypeSearch; +/** + * Default value. + * + * Value: "SOLUTION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_SolutionType_SolutionTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl.useCases + +/** + * Browse use case. Expects the traffic has an empty query. + * + * Value: "SEARCH_USE_CASE_BROWSE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_UseCases_SearchUseCaseBrowse; +/** + * Search use case. Expects the traffic has a non-empty query. + * + * Value: "SEARCH_USE_CASE_SEARCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_UseCases_SearchUseCaseSearch; +/** + * Value used when unset. Will not occur in CSS. + * + * Value: "SEARCH_USE_CASE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_UseCases_SearchUseCaseUnspecified; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel.modelState -/** Value: "MODEL_STATE_UNSPECIFIED" */ +/** + * Default value. + * + * Value: "MODEL_STATE_UNSPECIFIED" + */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_ModelStateUnspecified; /** * The model is ready for serving. @@ -1244,6 +1587,34 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig_SearchTier_SearchTierUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms.state + +/** + * The default value of the enum. This value is not actually used. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms_State_StateUnspecified; +/** + * The project has given consent to the terms of service. + * + * Value: "TERMS_ACCEPTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms_State_TermsAccepted; +/** + * The project has declined or revoked the agreement to terms of service. + * + * Value: "TERMS_DECLINED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms_State_TermsDeclined; +/** + * The project is pending to review and accept the terms of service. + * + * Value: "TERMS_PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms_State_TermsPending; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSiteVerificationInfo.siteVerificationState @@ -1482,34 +1853,92 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Type_VarInteger; // ---------------------------------------------------------------------------- -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Conversation.state +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control.solutionType /** - * Conversation has been completed. + * Used for use cases related to the Generative AI agent. * - * Value: "COMPLETED" + * Value: "SOLUTION_TYPE_CHAT" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Conversation_State_Completed; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control_SolutionType_SolutionTypeChat; /** - * Conversation is currently open. + * Used for use cases related to the Generative Chat agent. It's used for + * Generative chat engine only, the associated data stores must enrolled with + * `SOLUTION_TYPE_CHAT` solution. * - * Value: "IN_PROGRESS" + * Value: "SOLUTION_TYPE_GENERATIVE_CHAT" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Conversation_State_InProgress; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control_SolutionType_SolutionTypeGenerativeChat; /** - * Unknown. + * Used for Recommendations AI. * - * Value: "STATE_UNSPECIFIED" + * Value: "SOLUTION_TYPE_RECOMMENDATION" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Conversation_State_StateUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DataStore.contentConfig - +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control_SolutionType_SolutionTypeRecommendation; /** - * Default value. + * Used for Discovery Search. * - * Value: "CONTENT_CONFIG_UNSPECIFIED" + * Value: "SOLUTION_TYPE_SEARCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control_SolutionType_SolutionTypeSearch; +/** + * Default value. + * + * Value: "SOLUTION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control_SolutionType_SolutionTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control.useCases + +/** + * Browse use case. Expects the traffic has an empty query. + * + * Value: "SEARCH_USE_CASE_BROWSE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control_UseCases_SearchUseCaseBrowse; +/** + * Search use case. Expects the traffic has a non-empty query. + * + * Value: "SEARCH_USE_CASE_SEARCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control_UseCases_SearchUseCaseSearch; +/** + * Value used when unset. Will not occur in CSS. + * + * Value: "SEARCH_USE_CASE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control_UseCases_SearchUseCaseUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Conversation.state + +/** + * Conversation has been completed. + * + * Value: "COMPLETED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Conversation_State_Completed; +/** + * Conversation is currently open. + * + * Value: "IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Conversation_State_InProgress; +/** + * Unknown. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Conversation_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DataStore.contentConfig + +/** + * Default value. + * + * Value: "CONTENT_CONFIG_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DataStore_ContentConfig_ContentConfigUnspecified; /** @@ -1722,6 +2151,34 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ImportDocumentsRequest_ReconciliationMode_ReconciliationModeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms.state + +/** + * The default value of the enum. This value is not actually used. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms_State_StateUnspecified; +/** + * The project has given consent to the terms of service. + * + * Value: "TERMS_ACCEPTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms_State_TermsAccepted; +/** + * The project has declined or revoked the agreement to terms of service. + * + * Value: "TERMS_DECLINED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms_State_TermsDeclined; +/** + * The project is pending to review and accept the terms of service. + * + * Value: "TERMS_PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms_State_TermsPending; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec.condition @@ -1764,9 +2221,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestSpellCorrectionSpec_Mode_ModeUnspecified; /** - * Search API will try to find a spell suggestion if there is any and put in - * the SearchResponse.corrected_query. The spell suggestion will not be used as - * the search query. + * Search API tries to find a spelling suggestion. If a suggestion is found, it + * is put in the SearchResponse.corrected_query. The spelling suggestion won't + * be used as the search query. * * Value: "SUGGESTION_ONLY" */ @@ -1819,6 +2276,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSummary_SummarySkippedReasons_SummarySkippedReasonUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session.state + +/** + * The session is currently open. + * + * Value: "IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session_State_InProgress; +/** + * State is unspecified. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session_State_StateUnspecified; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SiteVerificationInfo.siteVerificationState @@ -2357,6 +2830,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** Page identifier. */ @property(nonatomic, copy, nullable) NSString *pageIdentifier; +/** + * The structured JSON metadata for the document. It is populated from the + * struct data from the Chunk in search result. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata_StructData *structData; + /** Title. */ @property(nonatomic, copy, nullable) NSString *title; @@ -2366,6 +2845,19 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * The structured JSON metadata for the document. It is populated from the + * struct data from the Chunk in search result. + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata_StructData : GTLRObject +@end + + /** * Unstructured document information. */ @@ -2377,6 +2869,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** Document resource name. */ @property(nonatomic, copy, nullable) NSString *document; +/** + * The structured JSON metadata for the document. It is populated from the + * struct data from the Chunk in search result. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo_StructData *structData; + /** Title. */ @property(nonatomic, copy, nullable) NSString *title; @@ -2386,6 +2884,19 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * The structured JSON metadata for the document. It is populated from the + * struct data from the Chunk in search result. + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo_StructData : GTLRObject +@end + + /** * Chunk content. */ @@ -2569,6 +3080,227 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * Defines circumstances to be checked before allowing a behavior + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCondition : GTLRObject + +/** + * Range of time(s) specifying when condition is active. Maximum of 10 time + * ranges. + */ +@property(nonatomic, strong, nullable) NSArray *activeTimeRange; + +/** + * Search only A list of terms to match the query on. Maximum of 10 query + * terms. + */ +@property(nonatomic, strong, nullable) NSArray *queryTerms; + +@end + + +/** + * Matcher for search request query + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConditionQueryTerm : GTLRObject + +/** + * Whether the search query needs to exactly match the query term. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *fullMatch; + +/** + * The specific query value to match against Must be lowercase, must be UTF-8. + * Can have at most 3 space separated terms if full_match is true. Cannot be an + * empty string. Maximum length of 5000 characters. + */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + + +/** + * Used for time-dependent conditions. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConditionTimeRange : GTLRObject + +/** End of time range. Range is inclusive. Must be in the future. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** Start of time range. Range is inclusive. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +@end + + +/** + * Defines a conditioned behavior to employ during serving. Must be attached to + * a ServingConfig to be considered at serving time. Permitted actions + * dependent on `SolutionType`. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl : GTLRObject + +/** + * Output only. List of all ServingConfig ids this control is attached to. May + * take up to 10 minutes to update after changes. + */ +@property(nonatomic, strong, nullable) NSArray *associatedServingConfigIds; + +/** Defines a boost-type control */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostAction *boostAction; + +/** + * Determines when the associated action will trigger. Omit to always apply the + * action. Currently only a single condition may be specified. Otherwise an + * INVALID ARGUMENT error is thrown. + */ +@property(nonatomic, strong, nullable) NSArray *conditions; + +/** + * Required. Human readable name. The identifier used in UI views. Must be + * UTF-8 encoded string. Length limit is 128 characters. Otherwise an INVALID + * ARGUMENT error is thrown. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Defines a filter-type control Currently not supported by Recommendation */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlFilterAction *filterAction; + +/** + * Immutable. Fully qualified name `projects/ * /locations/global/dataStore/ * + * /controls/ *` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Defines a redirect-type control. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlRedirectAction *redirectAction; + +/** + * Required. Immutable. What solution the control belongs to. Must be + * compatible with vertical of resource. Otherwise an INVALID ARGUMENT error is + * thrown. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeChat + * Used for use cases related to the Generative AI agent. (Value: + * "SOLUTION_TYPE_CHAT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeGenerativeChat + * Used for use cases related to the Generative Chat agent. It's used for + * Generative chat engine only, the associated data stores must enrolled + * with `SOLUTION_TYPE_CHAT` solution. (Value: + * "SOLUTION_TYPE_GENERATIVE_CHAT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeRecommendation + * Used for Recommendations AI. (Value: "SOLUTION_TYPE_RECOMMENDATION") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeSearch + * Used for Discovery Search. (Value: "SOLUTION_TYPE_SEARCH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeUnspecified + * Default value. (Value: "SOLUTION_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *solutionType; + +/** Treats a group of terms as synonyms of one another. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlSynonymsAction *synonymsAction; + +/** + * Specifies the use case for the control. Affects what condition fields can be + * set. Only applies to SOLUTION_TYPE_SEARCH. Currently only allow one use case + * per control. Must be set when solution_type is + * SolutionType.SOLUTION_TYPE_SEARCH. + */ +@property(nonatomic, strong, nullable) NSArray *useCases; + +@end + + +/** + * Adjusts order of products in returned list. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostAction : GTLRObject + +/** + * Required. Strength of the boost, which should be in [-1, 1]. Negative boost + * means demotion. Default is 0.0 (No-op). + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *boost; + +/** + * Required. Specifies which data store's documents can be boosted by this + * control. Full data store name e.g. + * projects/123/locations/global/collections/default_collection/dataStores/default_data_store + */ +@property(nonatomic, copy, nullable) NSString *dataStore; + +/** + * Required. Specifies which products to apply the boost to. If no filter is + * provided all products will be boosted (No-op). Syntax documentation: + * https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 + * characters. Otherwise an INVALID ARGUMENT error is thrown. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +@end + + +/** + * Specified which products may be included in results. Uses same filter as + * boost. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlFilterAction : GTLRObject + +/** + * Required. Specifies which data store's documents can be filtered by this + * control. Full data store name e.g. + * projects/123/locations/global/collections/default_collection/dataStores/default_data_store + */ +@property(nonatomic, copy, nullable) NSString *dataStore; + +/** + * Required. A filter to apply on the matching condition results. Required + * Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order + * Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is + * thrown. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +@end + + +/** + * Redirects a shopper to the provided URI. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlRedirectAction : GTLRObject + +/** + * Required. The URI to which the shopper will be redirected. Required. URI + * must have length equal or less than 2000 characters. Otherwise an INVALID + * ARGUMENT error is thrown. + */ +@property(nonatomic, copy, nullable) NSString *redirectUri; + +@end + + +/** + * Creates a set of terms that will act as synonyms of one another. Example: + * "happy" will also be considered as "glad", "glad" will also be considered as + * "happy". + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlSynonymsAction : GTLRObject + +/** + * Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at + * least 2 synonyms. Otherwise an INVALID ARGUMENT error is thrown. + */ +@property(nonatomic, strong, nullable) NSArray *synonyms; + +@end + + /** * Metadata related to the progress of the DataStoreService.CreateDataStore * operation. This will be returned by the @@ -2659,7 +3391,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * * Likely values: * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_ModelStateUnspecified - * Value "MODEL_STATE_UNSPECIFIED" + * Default value. (Value: "MODEL_STATE_UNSPECIFIED") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_ReadyForServing * The model is ready for serving. (Value: "READY_FOR_SERVING") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_Training @@ -2675,7 +3407,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @property(nonatomic, copy, nullable) NSString *modelState; /** - * modelVersion + * The version of the model. * * Uses NSNumber of longLongValue. */ @@ -3114,7 +3846,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * The industry vertical that the engine registers. The restriction of the * Engine industry vertical is based on DataStore: If unspecified, default to - * `GENERIC`. Vertical on Engine has to match vertical of the DataStore liniked + * `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked * to the engine. * * Likely values: @@ -3276,8 +4008,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineCommonConfig : GTLRObject /** - * Immutable. The name of the company, business or entity that is associated - * with the engine. Setting this may help improve LLM related features. + * The name of the company, business or entity that is associated with the + * engine. Setting this may help improve LLM related features. */ @property(nonatomic, copy, nullable) NSString *companyName; @@ -3666,6 +4398,18 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ @property(nonatomic, copy, nullable) NSString *retrievableOption; +/** + * Field paths for indexing custom attribute from schema.org data. More details + * of schema.org and its defined types can be found at + * [schema.org](https://schema.org). It is only used on advanced site search + * schema. Currently only support full path from root. The full path to a field + * is constructed by concatenating field names, starting from `_root`, with a + * period `.` as the delimiter. Examples: * Publish date of the root: + * _root.datePublished * Publish date of the reviews: + * _root.review.datePublished + */ +@property(nonatomic, strong, nullable) NSArray *schemaOrgPaths; + /** * If searchable_option is SEARCHABLE_ENABLED, field values are searchable by * text queries in SearchService.Search. If SEARCHABLE_ENABLED but field type @@ -4384,7 +5128,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSessionTurn : GTLRObject -/** The resource name of the answer to the user query. */ +/** + * The resource name of the answer to the user query. Only set if the answer + * generation (/answer API call) happened in this turn. + */ @property(nonatomic, copy, nullable) NSString *answer; /** The user query. */ @@ -4653,825 +5400,884 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** - * Metadata related to the progress of the - * SiteSearchEngineService.BatchCreateTargetSites operation. This will be - * returned by the google.longrunning.Operation.metadata field. + * Defines an answer. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata : GTLRObject - -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer : GTLRObject /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * Additional answer-skipped reasons. This provides the reason for ignored + * cases. If nothing is skipped, this field is not set. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@property(nonatomic, strong, nullable) NSArray *answerSkippedReasons; -@end +/** The textual answer. */ +@property(nonatomic, copy, nullable) NSString *answerText; + +/** Citations. */ +@property(nonatomic, strong, nullable) NSArray *citations; + +/** Output only. Answer completed timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *completeTime; +/** Output only. Answer creation timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Request message for SiteSearchEngineService.BatchCreateTargetSites method. + * Immutable. Fully qualified name + * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/ + * * /answers/ *` */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest : GTLRObject +@property(nonatomic, copy, nullable) NSString *name; + +/** Query understanding information. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfo *queryUnderstandingInfo; + +/** References. */ +@property(nonatomic, strong, nullable) NSArray *references; + +/** Suggested related questions. */ +@property(nonatomic, strong, nullable) NSArray *relatedQuestions; /** - * Required. The request message specifying the resources to create. A maximum - * of 20 TargetSites can be created in a batch. + * The state of the answer generation. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_Failed + * Answer generation currently failed. (Value: "FAILED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_InProgress + * Answer generation is currently in progress. (Value: "IN_PROGRESS") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_StateUnspecified + * Unknown. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_Succeeded + * Answer generation has succeeded. (Value: "SUCCEEDED") */ -@property(nonatomic, strong, nullable) NSArray *requests; +@property(nonatomic, copy, nullable) NSString *state; + +/** Answer generation steps. */ +@property(nonatomic, strong, nullable) NSArray *steps; @end /** - * Response message for SiteSearchEngineService.BatchCreateTargetSites method. + * Citation info for a segment. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchCreateTargetSitesResponse : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerCitation : GTLRObject -/** TargetSites created. */ -@property(nonatomic, strong, nullable) NSArray *targetSites; +/** + * End of the attributed segment, exclusive. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *endIndex; + +/** Citation sources for the attributed segment. */ +@property(nonatomic, strong, nullable) NSArray *sources; + +/** + * Index indicates the start of the segment, measured in bytes (UTF-8 unicode). + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *startIndex; @end /** - * Request message for SiteSearchEngineService.BatchVerifyTargetSites method. + * Citation source. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerCitationSource : GTLRObject + +/** ID of the citation source. */ +@property(nonatomic, copy, nullable) NSString *referenceId; + @end /** - * Metadata related to the progress of the - * SiteSearchEngineService.BatchCreateTargetSites operation. This will be - * returned by the google.longrunning.Operation.metadata field. + * Request message for ConversationalSearchService.AnswerQuery method. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest : GTLRObject -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** Answer generation specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec *answerGenerationSpec; /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * Asynchronous mode control. If enabled, the response will be returned with + * answer/session resource name without final answer. The API users need to do + * the polling to get the latest status of answer/session by calling + * ConversationalSearchService.GetAnswer or + * ConversationalSearchService.GetSession method. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@property(nonatomic, strong, nullable) NSNumber *asynchronousMode; -@end +/** Required. Current user query. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Query *query; + +/** Query understanding specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec *queryUnderstandingSpec; + +/** Related questions specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestRelatedQuestionsSpec *relatedQuestionsSpec; + +/** Model specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpec *safetySpec; +/** Search specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpec *searchSpec; /** - * Response message for SiteSearchEngineService.BatchCreateTargetSites method. + * The session resource name. Not required. When session field is not set, the + * API is in sessionless mode. We support auto session mode: users can use the + * wildcard symbol `-` as session ID. A new ID will be automatically generated + * and assigned. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesResponse : GTLRObject +@property(nonatomic, copy, nullable) NSString *session; -/** TargetSites created. */ -@property(nonatomic, strong, nullable) NSArray *targetSites; +/** + * A unique identifier for tracking visitors. For example, this could be + * implemented with an HTTP cookie, which should be able to uniquely identify a + * visitor on a single device. This unique identifier should not change if the + * visitor logs in or out of the website. This field should NOT have a fixed + * value such as `unknown_visitor`. The field must be a UTF-8 encoded string + * with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` + * error is returned. + */ +@property(nonatomic, copy, nullable) NSString *userPseudoId; @end /** - * Metadata related to the progress of the DataStoreService.CreateDataStore - * operation. This will be returned by the - * google.longrunning.Operation.metadata field. + * Answer generation specification. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateDataStoreMetadata : GTLRObject - -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec : GTLRObject /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * Language code for Answer. Use language tags defined by + * [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Note: This is an + * experimental feature. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; - -@end +@property(nonatomic, copy, nullable) NSString *answerLanguageCode; +/** + * Specifies whether to filter out adversarial queries. The default value is + * `false`. Google employs search-query classification to detect adversarial + * queries. No answer is returned if the search query is classified as an + * adversarial query. For example, a user might ask a question regarding + * negative comments about the company or submit a query designed to generate + * unsafe, policy-violating output. If this field is set to `true`, we skip + * generating answers for adversarial queries and return fallback messages + * instead. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ignoreAdversarialQuery; /** - * Metadata related to the progress of the EngineService.CreateEngine - * operation. This will be returned by the - * google.longrunning.Operation.metadata field. + * Specifies whether to filter out queries that have low relevance. If this + * field is set to `false`, all search results are used regardless of relevance + * to generate answers. If set to `true` or unset, the behavior will be + * determined automatically by the service. + * + * Uses NSNumber of boolValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateEngineMetadata : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *ignoreLowRelevantContent; -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * Specifies whether to filter out queries that are not answer-seeking. The + * default value is `false`. Google employs search-query classification to + * detect answer-seeking queries. No answer is returned if the search query is + * classified as a non-answer seeking query. If this field is set to `true`, we + * skip generating answers for non-answer seeking queries and return fallback + * messages instead. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ignoreNonAnswerSeekingQuery; /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * Specifies whether to include citation metadata in the answer. The default + * value is `false`. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@property(nonatomic, strong, nullable) NSNumber *includeCitations; + +/** Answer generation model specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec *modelSpec; + +/** Answer generation prompt specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec *promptSpec; @end /** - * Metadata for Create Schema LRO. + * Answer Generation Model specification. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateSchemaMetadata : GTLRObject - -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec : GTLRObject /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * Model version. If not set, it will use the default stable model. Allowed + * values are: stable, preview. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@property(nonatomic, copy, nullable) NSString *modelVersion; @end /** - * Metadata related to the progress of the - * SiteSearchEngineService.CreateTargetSite operation. This will be returned by - * the google.longrunning.Operation.metadata field. + * Answer generation prompt specification. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec : GTLRObject + +/** Customized preamble. */ +@property(nonatomic, copy, nullable) NSString *preamble; + +@end -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * Query understanding specification. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec : GTLRObject + +/** Query classification specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec *queryClassificationSpec; + +/** Query rephraser specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec *queryRephraserSpec; @end /** - * Metadata that describes a custom tuned model. + * Query classification specification. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec : GTLRObject -/** Timestamp the Model was created at. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** Enabled query classification types. */ +@property(nonatomic, strong, nullable) NSArray *types; + +@end -/** The display name of the model. */ -@property(nonatomic, copy, nullable) NSString *displayName; /** - * The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`). - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_ModelStateUnspecified - * Value "MODEL_STATE_UNSPECIFIED" - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_ReadyForServing - * The model is ready for serving. (Value: "READY_FOR_SERVING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_Training - * The model is currently training. (Value: "TRAINING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_TrainingComplete - * The model has successfully completed training. (Value: - * "TRAINING_COMPLETE") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_TrainingFailed - * The model training failed. (Value: "TRAINING_FAILED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_TrainingPaused - * The model is in a paused training state. (Value: "TRAINING_PAUSED") + * Query rephraser specification. */ -@property(nonatomic, copy, nullable) NSString *modelState; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec : GTLRObject /** - * modelVersion + * Disable query rephraser. * - * Uses NSNumber of longLongValue. + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *modelVersion; +@property(nonatomic, strong, nullable) NSNumber *disable; + +@end + /** - * Required. The fully qualified resource name of the model. Format: - * `projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}` - * model must be an alpha-numerical string with limit of 40 characters. + * Related questions specification. */ -@property(nonatomic, copy, nullable) NSString *name; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestRelatedQuestionsSpec : GTLRObject -/** Timestamp the model training was initiated. */ -@property(nonatomic, strong, nullable) GTLRDateTime *trainingStartTime; +/** + * Enable related questions feature if true. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enable; @end /** - * DataStore captures global settings and configs at the DataStore level. + * Safety specification. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpec : GTLRObject /** - * Immutable. The content config of the data store. If this field is unset, the - * server behavior defaults to ContentConfig.NO_CONTENT. + * Enable the safety filtering on the answer response. It is false by default. * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore_ContentConfig_ContentConfigUnspecified - * Default value. (Value: "CONTENT_CONFIG_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore_ContentConfig_ContentRequired - * Only contains documents with Document.content. (Value: - * "CONTENT_REQUIRED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore_ContentConfig_NoContent - * Only contains documents without any Document.content. (Value: - * "NO_CONTENT") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore_ContentConfig_PublicWebsite - * The data store is used for public website search. (Value: - * "PUBLIC_WEBSITE") + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *contentConfig; +@property(nonatomic, strong, nullable) NSNumber *enable; -/** Output only. Timestamp the DataStore was created at. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +@end -/** - * Output only. The id of the default Schema asscociated to this data store. - */ -@property(nonatomic, copy, nullable) NSString *defaultSchemaId; /** - * Required. The data store display name. This field must be a UTF-8 encoded - * string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT - * error is returned. + * Search specification. */ -@property(nonatomic, copy, nullable) NSString *displayName; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpec : GTLRObject + +/** Search parameters. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams *searchParams; + +/** Search result list. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultList *searchResultList; + +@end -/** Configuration for Document understanding and enrichment. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig *documentProcessingConfig; /** - * Immutable. The industry vertical that the data store registers. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore_IndustryVertical_Generic - * The generic vertical for documents that are not specific to any - * industry vertical. (Value: "GENERIC") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore_IndustryVertical_HealthcareFhir - * The healthcare FHIR vertical. (Value: "HEALTHCARE_FHIR") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore_IndustryVertical_IndustryVerticalUnspecified - * Value used when unset. (Value: "INDUSTRY_VERTICAL_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore_IndustryVertical_Media - * The media industry vertical. (Value: "MEDIA") + * Search parameters. */ -@property(nonatomic, copy, nullable) NSString *industryVertical; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams : GTLRObject /** - * Immutable. The full resource name of the data store. Format: - * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. - * This field must be a UTF-8 encoded string with a length limit of 1024 - * characters. + * Boost specification to boost certain documents in search results which may + * affect the answer query response. For more information on boosting, see + * [Boosting](https://cloud.google.com/retail/docs/boosting#boost) */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpec *boostSpec; /** - * The solutions that the data store enrolls. Available solutions for each - * industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and - * `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is - * automatically enrolled. Other solutions cannot be enrolled. + * Specs defining dataStores to filter on in a search call and configurations + * for those dataStores. This is only considered for engines with multiple + * dataStores use case. For single dataStore within an engine, they should use + * the specs at the top level. */ -@property(nonatomic, strong, nullable) NSArray *solutionTypes; +@property(nonatomic, strong, nullable) NSArray *dataStoreSpecs; /** - * The start schema to use for this DataStore when provisioning it. If unset, a - * default vertical specialized schema will be used. This field is only used by - * CreateDataStore API, and will be ignored if used in other APIs. This field - * will be omitted from all API responses including CreateDataStore API. To - * retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. - * The provided schema will be validated against certain rules on schema. Learn - * more from [this - * doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema). + * The filter syntax consists of an expression language for constructing a + * predicate from one or more fields of the documents being filtered. Filter + * expression is case-sensitive. This will be used to filter search results + * which may affect the Answer response. If this field is unrecognizable, an + * `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by + * mapping the LHS filter key to a key property defined in the Vertex AI Search + * backend -- this mapping is defined by the customer in their schema. For + * example a media customers might have a field 'name' in their schema. In this + * case the filter would look like this: filter --> name:'ANY("king kong")' For + * more information about filtering including syntax and filter operators, see + * [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSchema *startingSchema; - -@end - +@property(nonatomic, copy, nullable) NSString *filter; /** - * Metadata related to the progress of the DataStoreService.DeleteDataStore - * operation. This will be returned by the - * google.longrunning.Operation.metadata field. + * Number of search results to return. The default value is 10. + * + * Uses NSNumber of intValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata : GTLRObject - -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +@property(nonatomic, strong, nullable) NSNumber *maxReturnResults; /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * The order in which documents are returned. Documents can be ordered by a + * field in an Document object. Leave it unset if ordered by relevance. + * `order_by` expression is case-sensitive. For more information on ordering, + * see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) + * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@property(nonatomic, copy, nullable) NSString *orderBy; @end /** - * Metadata related to the progress of the EngineService.DeleteEngine - * operation. This will be returned by the - * google.longrunning.Operation.metadata field. + * Search result list. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteEngineMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultList : GTLRObject + +/** Search results. */ +@property(nonatomic, strong, nullable) NSArray *searchResults; + +@end -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * Search result. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResult : GTLRObject + +/** Chunk information. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo *chunkInfo; + +/** Unstructured document information. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo *unstructuredDocumentInfo; @end /** - * Metadata for DeleteSchema LRO. + * Chunk information. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteSchemaMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo : GTLRObject -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** Chunk resource name. */ +@property(nonatomic, copy, nullable) NSString *chunk; -/** - * Operation last update time. If the operation is done, this is also the - * finish time. - */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +/** Chunk textual content. */ +@property(nonatomic, copy, nullable) NSString *content; @end /** - * Metadata related to the progress of the - * SiteSearchEngineService.DeleteTargetSite operation. This will be returned by - * the google.longrunning.Operation.metadata field. + * Unstructured document information. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo : GTLRObject -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** Document resource name. */ +@property(nonatomic, copy, nullable) NSString *document; -/** - * Operation last update time. If the operation is done, this is also the - * finish time. - */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +/** List of document contexts. */ +@property(nonatomic, strong, nullable) NSArray *documentContexts; + +/** List of extractive answers. */ +@property(nonatomic, strong, nullable) NSArray *extractiveAnswers; + +/** List of extractive segments. */ +@property(nonatomic, strong, nullable) NSArray *extractiveSegments; + +/** Title. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** URI for the document. */ +@property(nonatomic, copy, nullable) NSString *uri; @end /** - * Metadata related to the progress of the - * SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be - * returned by the google.longrunning.Operation.metadata field. + * Document context. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext : GTLRObject -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** Document content. */ +@property(nonatomic, copy, nullable) NSString *content; -/** - * Operation last update time. If the operation is done, this is also the - * finish time. - */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +/** Page identifier. */ +@property(nonatomic, copy, nullable) NSString *pageIdentifier; @end /** - * Response message for SiteSearchEngineService.DisableAdvancedSiteSearch - * method. + * Extractive answer. + * [Guide](https://cloud.google.com/generative-ai-app-builder/docs/snippets#get-answers) */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer : GTLRObject + +/** Extractive answer content. */ +@property(nonatomic, copy, nullable) NSString *content; + +/** Page identifier. */ +@property(nonatomic, copy, nullable) NSString *pageIdentifier; + @end /** - * A singleton resource of DataStore. It's empty when DataStore is created, - * which defaults to digital parser. The first call to - * DataStoreService.UpdateDocumentProcessingConfig method will initialize the - * config. + * Extractive segment. + * [Guide](https://cloud.google.com/generative-ai-app-builder/docs/snippets#extractive-segments) */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment : GTLRObject + +/** Extractive segment content. */ +@property(nonatomic, copy, nullable) NSString *content; + +/** Page identifier. */ +@property(nonatomic, copy, nullable) NSString *pageIdentifier; + +@end + /** - * 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. + * Response message for ConversationalSearchService.AnswerQuery method. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig *defaultParsingConfig; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryResponse : GTLRObject /** - * The full resource name of the Document Processing Config. Format: `projects/ - * * /locations/ * /collections/ * /dataStores/ * /documentProcessingConfig`. + * Answer resource object. If AnswerQueryRequest.StepSpec.max_step_count is + * greater than 1, use Answer.name to fetch answer information using + * ConversationalSearchService.GetAnswer API. */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer *answer; + +/** A global unique ID used for logging. */ +@property(nonatomic, copy, nullable) NSString *answerQueryToken; /** - * 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. * `docx`: Override parsing config for DOCX - * files, only digital parsing and or layout parsing are supported. + * Session resource object. It will be only available when session field is set + * and valid in the AnswerQueryRequest request. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig_ParsingConfigOverrides *parsingConfigOverrides; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session *session; @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. * `docx`: Override parsing config for DOCX - * files, only digital parsing and or layout parsing are supported. - * - * @note This class is documented as having more properties of - * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig. - * 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. + * Query understanding information. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig_ParsingConfigOverrides : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfo : GTLRObject + +/** Query classification information. */ +@property(nonatomic, strong, nullable) NSArray *queryClassificationInfo; + @end /** - * Related configurations applied to a specific type of document parser. + * Query classification information. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo : GTLRObject -/** Configurations applied to digital parser. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig *digitalParsingConfig; +/** + * Classification output. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *positive; /** - * Configurations applied to OCR parser. Currently it only applies to PDFs. + * Query classification type. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_AdversarialQuery + * Adversarial query classification type. (Value: "ADVERSARIAL_QUERY") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_NonAnswerSeekingQuery + * Non-answer-seeking query classification type. (Value: + * "NON_ANSWER_SEEKING_QUERY") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_TypeUnspecified + * Unspecified query classification type. (Value: "TYPE_UNSPECIFIED") */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig *ocrParsingConfig; +@property(nonatomic, copy, nullable) NSString *type; @end /** - * The digital parsing configurations for documents. + * Reference. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReference : GTLRObject + +/** Chunk information. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo *chunkInfo; + +/** Unstructured document information. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo *unstructuredDocumentInfo; + @end /** - * The OCR parsing configurations for documents. + * Chunk information. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo : GTLRObject -/** - * [DEPRECATED] This field is deprecated. To use the additional enhanced - * document elements processing, please switch to `layout_parsing_config`. - */ -@property(nonatomic, strong, nullable) NSArray *enhancedDocumentElements GTLR_DEPRECATED; +/** Chunk resource name. */ +@property(nonatomic, copy, nullable) NSString *chunk; + +/** Chunk textual content. */ +@property(nonatomic, copy, nullable) NSString *content; + +/** Document metadata. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata *documentMetadata; /** - * If true, will use native text instead of OCR text on pages containing native - * text. + * Relevance score. * - * Uses NSNumber of boolValue. + * Uses NSNumber of floatValue. */ -@property(nonatomic, strong, nullable) NSNumber *useNativeText; +@property(nonatomic, strong, nullable) NSNumber *relevanceScore; @end /** - * Metadata related to the progress of the - * SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be - * returned by the google.longrunning.Operation.metadata field. + * Document metadata. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata : GTLRObject -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** Document resource name. */ +@property(nonatomic, copy, nullable) NSString *document; + +/** Page identifier. */ +@property(nonatomic, copy, nullable) NSString *pageIdentifier; /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * The structured JSON metadata for the document. It is populated from the + * struct data from the Chunk in search result. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata_StructData *structData; + +/** Title. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** URI for the document. */ +@property(nonatomic, copy, nullable) NSString *uri; @end /** - * Response message for SiteSearchEngineService.EnableAdvancedSiteSearch - * method. + * The structured JSON metadata for the document. It is populated from the + * struct data from the Chunk in search result. + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchResponse : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata_StructData : GTLRObject @end /** - * Metadata that describes the training and serving parameters of an Engine. + * Unstructured document information. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo : GTLRObject -/** - * Configurations for the Chat Engine. Only applicable if solution_type is - * SOLUTION_TYPE_CHAT. - */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig *chatEngineConfig; +/** List of cited chunk contents derived from document content. */ +@property(nonatomic, strong, nullable) NSArray *chunkContents; + +/** Document resource name. */ +@property(nonatomic, copy, nullable) NSString *document; /** - * Output only. Additional information of the Chat Engine. Only applicable if - * solution_type is SOLUTION_TYPE_CHAT. + * The structured JSON metadata for the document. It is populated from the + * struct data from the Chunk in search result. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata *chatEngineMetadata; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo_StructData *structData; -/** Common config spec that specifies the metadata of the engine. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineCommonConfig *commonConfig; +/** Title. */ +@property(nonatomic, copy, nullable) NSString *title; -/** Output only. Timestamp the Recommendation Engine was created at. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** URI for the document. */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end -/** - * The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and - * SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with - * at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple - * DataStores in the same Collection can be associated here. Note that when - * used in CreateEngineRequest, one DataStore id must be provided as the system - * will use it for necessary initializations. - */ -@property(nonatomic, strong, nullable) NSArray *dataStoreIds; /** - * Required. The display name of the engine. Should be human readable. UTF-8 - * encoded string with limit of 1024 characters. + * The structured JSON metadata for the document. It is populated from the + * struct data from the Chunk in search result. + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. */ -@property(nonatomic, copy, nullable) NSString *displayName; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo_StructData : GTLRObject +@end + /** - * The industry vertical that the engine registers. The restriction of the - * Engine industry vertical is based on DataStore: If unspecified, default to - * `GENERIC`. Vertical on Engine has to match vertical of the DataStore liniked - * to the engine. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_IndustryVertical_Generic - * The generic vertical for documents that are not specific to any - * industry vertical. (Value: "GENERIC") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_IndustryVertical_HealthcareFhir - * The healthcare FHIR vertical. (Value: "HEALTHCARE_FHIR") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_IndustryVertical_IndustryVerticalUnspecified - * Value used when unset. (Value: "INDUSTRY_VERTICAL_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_IndustryVertical_Media - * The media industry vertical. (Value: "MEDIA") + * Chunk content. */ -@property(nonatomic, copy, nullable) NSString *industryVertical; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent : GTLRObject + +/** Chunk textual content. */ +@property(nonatomic, copy, nullable) NSString *content; + +/** Page identifier. */ +@property(nonatomic, copy, nullable) NSString *pageIdentifier; + +@end + /** - * Immutable. The fully qualified resource name of the engine. This field must - * be a UTF-8 encoded string with a length limit of 1024 characters. Format: - * `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}` - * engine should be 1-63 characters, and valid characters are /a-z0-9* /. - * Otherwise, an INVALID_ARGUMENT error is returned. + * Step information. */ -@property(nonatomic, copy, nullable) NSString *name; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep : GTLRObject + +/** Actions. */ +@property(nonatomic, strong, nullable) NSArray *actions; /** - * Configurations for the Search Engine. Only applicable if solution_type is - * SOLUTION_TYPE_SEARCH. + * The description of the step. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig *searchEngineConfig; +@property(nonatomic, copy, nullable) NSString *descriptionProperty; /** - * Required. The solutions of the engine. + * The state of the step. * * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_SolutionType_SolutionTypeChat - * Used for use cases related to the Generative AI agent. (Value: - * "SOLUTION_TYPE_CHAT") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_SolutionType_SolutionTypeGenerativeChat - * Used for use cases related to the Generative Chat agent. It's used for - * Generative chat engine only, the associated data stores must enrolled - * with `SOLUTION_TYPE_CHAT` solution. (Value: - * "SOLUTION_TYPE_GENERATIVE_CHAT") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_SolutionType_SolutionTypeRecommendation - * Used for Recommendations AI. (Value: "SOLUTION_TYPE_RECOMMENDATION") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_SolutionType_SolutionTypeSearch - * Used for Discovery Search. (Value: "SOLUTION_TYPE_SEARCH") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_SolutionType_SolutionTypeUnspecified - * Default value. (Value: "SOLUTION_TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep_State_Failed + * Step currently failed. (Value: "FAILED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep_State_InProgress + * Step is currently in progress. (Value: "IN_PROGRESS") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep_State_StateUnspecified + * Unknown. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep_State_Succeeded + * Step has succeeded. (Value: "SUCCEEDED") */ -@property(nonatomic, copy, nullable) NSString *solutionType; +@property(nonatomic, copy, nullable) NSString *state; -/** Output only. Timestamp the Recommendation Engine was last updated. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +/** The thought of the step. */ +@property(nonatomic, copy, nullable) NSString *thought; @end /** - * Configurations for a Chat Engine. + * Action. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepAction : GTLRObject -/** - * The configurationt generate the Dialogflow agent that is associated to this - * Engine. Note that these configurations are one-time consumed by and passed - * to Dialogflow service. It means they cannot be retrieved using - * EngineService.GetEngine or EngineService.ListEngines API after engine - * creation. - */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig *agentCreationConfig; +/** Observation. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservation *observation; -/** - * The resource name of an exist Dialogflow agent to link to this Chat Engine. - * Customers can either provide `agent_creation_config` to create agent or - * provide an agent name that links the agent with the Chat engine. Format: - * `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are - * one-time consumed by and passed to Dialogflow service. It means they cannot - * be retrieved using EngineService.GetEngine or EngineService.ListEngines API - * after engine creation. Use ChatEngineMetadata.dialogflow_agent for actual - * agent association after Engine is created. - */ -@property(nonatomic, copy, nullable) NSString *dialogflowAgentToLink; +/** Search action. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction *searchAction; @end /** - * Configurations for generating a Dialogflow agent. Note that these - * configurations are one-time consumed by and passed to Dialogflow service. It - * means they cannot be retrieved using EngineService.GetEngine or - * EngineService.ListEngines API after engine creation. + * Observation. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservation : GTLRObject /** - * Name of the company, organization or other entity that the agent represents. - * Used for knowledge connector LLM prompt and for knowledge search. + * Search results observed by the search action, it can be snippets info or + * chunk info, depending on the citation type set by the user. */ -@property(nonatomic, copy, nullable) NSString *business; +@property(nonatomic, strong, nullable) NSArray *searchResults; + +@end + /** - * Required. The default language of the agent as a language tag. See [Language - * Support](https://cloud.google.com/dialogflow/docs/reference/language) for a - * list of the currently supported language codes. + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult */ -@property(nonatomic, copy, nullable) NSString *defaultLanguageCode; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult : GTLRObject /** - * Agent location for Agent creation, supported values: global/us/eu. If not - * provided, us Engine will create Agent using us-central-1 by default; eu - * Engine will create Agent using eu-west-1 by default. + * If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate + * chunk info. */ -@property(nonatomic, copy, nullable) NSString *location; +@property(nonatomic, strong, nullable) NSArray *chunkInfo; + +/** Document resource name. */ +@property(nonatomic, copy, nullable) NSString *document; /** - * Required. The time zone of the agent from the [time zone - * database](https://www.iana.org/time-zones), e.g., America/New_York, - * Europe/Paris. + * If citation_type is DOCUMENT_LEVEL_CITATION, populate document level + * snippets. */ -@property(nonatomic, copy, nullable) NSString *timeZone; +@property(nonatomic, strong, nullable) NSArray *snippetInfo; + +/** Title. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** URI for the document. */ +@property(nonatomic, copy, nullable) NSString *uri; @end /** - * Additional information of a Chat Engine. Fields in this message are output - * only. + * Chunk information. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultChunkInfo : GTLRObject + +/** Chunk resource name. */ +@property(nonatomic, copy, nullable) NSString *chunk; + +/** Chunk textual content. */ +@property(nonatomic, copy, nullable) NSString *content; /** - * The resource name of a Dialogflow agent, that this Chat Engine refers to. - * Format: `projects//locations//agents/`. + * Relevance score. + * + * Uses NSNumber of floatValue. */ -@property(nonatomic, copy, nullable) NSString *dialogflowAgent; +@property(nonatomic, strong, nullable) NSNumber *relevanceScore; @end /** - * Common configurations for an Engine. + * Snippet information. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineCommonConfig : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultSnippetInfo : GTLRObject -/** - * Immutable. The name of the company, business or entity that is associated - * with the engine. Setting this may help improve LLM related features. - */ -@property(nonatomic, copy, nullable) NSString *companyName; +/** Snippet content. */ +@property(nonatomic, copy, nullable) NSString *snippet; + +/** Status of the snippet defined by the search team. */ +@property(nonatomic, copy, nullable) NSString *snippetStatus; @end /** - * Configurations for a Search Engine. + * Search action. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig : GTLRObject - -/** The add-on that this search engine enables. */ -@property(nonatomic, strong, nullable) NSArray *searchAddOns; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction : GTLRObject -/** - * The search feature tier of this engine. Different tiers might have different - * pricing. To learn more, check the pricing documentation. Defaults to - * SearchTier.SEARCH_TIER_STANDARD if not specified. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig_SearchTier_SearchTierEnterprise - * Enterprise tier. (Value: "SEARCH_TIER_ENTERPRISE") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig_SearchTier_SearchTierStandard - * Standard tier. (Value: "SEARCH_TIER_STANDARD") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig_SearchTier_SearchTierUnspecified - * Default value when the enum is unspecified. This is invalid to use. - * (Value: "SEARCH_TIER_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *searchTier; +/** The query to search. */ +@property(nonatomic, copy, nullable) NSString *query; @end /** - * Metadata related to the progress of the ImportDocuments operation. This is + * Metadata related to the progress of the + * SiteSearchEngineService.BatchCreateTargetSites operation. This will be * returned by the google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata : GTLRObject /** Operation create time. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Count of entries that encountered errors while processing. - * - * Uses NSNumber of longLongValue. + * Operation last update time. If the operation is done, this is also the + * finish time. */ -@property(nonatomic, strong, nullable) NSNumber *failureCount; +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end -/** - * Count of entries that were processed successfully. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *successCount; /** - * Total count of entries that were processed. - * - * Uses NSNumber of longLongValue. + * Request message for SiteSearchEngineService.BatchCreateTargetSites method. */ -@property(nonatomic, strong, nullable) NSNumber *totalCount; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest : GTLRObject /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * Required. The request message specifying the resources to create. A maximum + * of 20 TargetSites can be created in a batch. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@property(nonatomic, strong, nullable) NSArray *requests; @end /** - * Response of the ImportDocumentsRequest. If the long running operation is - * done, then this message is returned by the - * google.longrunning.Operations.response field if the operation was - * successful. + * Response message for SiteSearchEngineService.BatchCreateTargetSites method. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaImportDocumentsResponse : GTLRObject - -/** Echoes the destination for the complete errors in the request if set. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaImportErrorConfig *errorConfig; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchCreateTargetSitesResponse : GTLRObject -/** A sample of errors encountered while processing the request. */ -@property(nonatomic, strong, nullable) NSArray *errorSamples; +/** TargetSites created. */ +@property(nonatomic, strong, nullable) NSArray *targetSites; @end /** - * Configuration of destination for Import related errors. - */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaImportErrorConfig : GTLRObject - -/** - * Cloud Storage prefix for import errors. This must be an empty, existing - * Cloud Storage directory. Import errors are written to sharded files in this - * directory, one per line, as a JSON-encoded `google.rpc.Status` message. + * Request message for SiteSearchEngineService.BatchVerifyTargetSites method. */ -@property(nonatomic, copy, nullable) NSString *gcsPrefix; - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest : GTLRObject @end /** - * Metadata related to the progress of the ImportSuggestionDenyListEntries - * operation. This is returned by the google.longrunning.Operation.metadata - * field. + * Metadata related to the progress of the + * SiteSearchEngineService.BatchCreateTargetSites operation. This will be + * returned by the google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata : GTLRObject /** Operation create time. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -5486,178 +6292,243 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** - * Response message for CompletionService.ImportSuggestionDenyListEntries - * method. + * Response message for SiteSearchEngineService.BatchCreateTargetSites method. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesResponse : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesResponse : GTLRObject + +/** TargetSites created. */ +@property(nonatomic, strong, nullable) NSArray *targetSites; + +@end -/** A sample of errors encountered while processing the request. */ -@property(nonatomic, strong, nullable) NSArray *errorSamples; /** - * Count of deny list entries that failed to be imported. - * - * Uses NSNumber of longLongValue. + * Defines circumstances to be checked before allowing a behavior */ -@property(nonatomic, strong, nullable) NSNumber *failedEntriesCount; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCondition : GTLRObject /** - * Count of deny list entries successfully imported. - * - * Uses NSNumber of longLongValue. + * Range of time(s) specifying when condition is active. Maximum of 10 time + * ranges. */ -@property(nonatomic, strong, nullable) NSNumber *importedEntriesCount; +@property(nonatomic, strong, nullable) NSArray *activeTimeRange; + +/** + * Search only A list of terms to match the query on. Maximum of 10 query + * terms. + */ +@property(nonatomic, strong, nullable) NSArray *queryTerms; @end /** - * Metadata related to the progress of the Import operation. This is returned - * by the google.longrunning.Operation.metadata field. + * Matcher for search request query */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata : GTLRObject - -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConditionQueryTerm : GTLRObject /** - * Count of entries that encountered errors while processing. + * Whether the search query needs to exactly match the query term. * - * Uses NSNumber of longLongValue. + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *failureCount; +@property(nonatomic, strong, nullable) NSNumber *fullMatch; /** - * Count of entries that were processed successfully. - * - * Uses NSNumber of longLongValue. + * The specific query value to match against Must be lowercase, must be UTF-8. + * Can have at most 3 space separated terms if full_match is true. Cannot be an + * empty string. Maximum length of 5000 characters. */ -@property(nonatomic, strong, nullable) NSNumber *successCount; +@property(nonatomic, copy, nullable) NSString *value; + +@end + /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * Used for time-dependent conditions. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaConditionTimeRange : GTLRObject + +/** End of time range. Range is inclusive. Must be in the future. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** Start of time range. Range is inclusive. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; @end /** - * Response of the ImportUserEventsRequest. If the long running operation was - * successful, then this message is returned by the - * google.longrunning.Operations.response field if the operation was - * successful. + * Defines a conditioned behavior to employ during serving. Must be attached to + * a ServingConfig to be considered at serving time. Permitted actions + * dependent on `SolutionType`. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaImportUserEventsResponse : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl : GTLRObject /** - * Echoes the destination for the complete errors if this field was set in the - * request. + * Output only. List of all ServingConfig ids this control is attached to. May + * take up to 10 minutes to update after changes. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaImportErrorConfig *errorConfig; +@property(nonatomic, strong, nullable) NSArray *associatedServingConfigIds; -/** A sample of errors encountered while processing the request. */ -@property(nonatomic, strong, nullable) NSArray *errorSamples; +/** Defines a boost-type control */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlBoostAction *boostAction; /** - * Count of user events imported with complete existing Documents. - * - * Uses NSNumber of longLongValue. + * Determines when the associated action will trigger. Omit to always apply the + * action. Currently only a single condition may be specified. Otherwise an + * INVALID ARGUMENT error is thrown. */ -@property(nonatomic, strong, nullable) NSNumber *joinedEventsCount; +@property(nonatomic, strong, nullable) NSArray *conditions; /** - * Count of user events imported, but with Document information not found in - * the existing Branch. - * - * Uses NSNumber of longLongValue. + * Required. Human readable name. The identifier used in UI views. Must be + * UTF-8 encoded string. Length limit is 128 characters. Otherwise an INVALID + * ARGUMENT error is thrown. */ -@property(nonatomic, strong, nullable) NSNumber *unjoinedEventsCount; +@property(nonatomic, copy, nullable) NSString *displayName; -@end +/** Defines a filter-type control Currently not supported by Recommendation */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlFilterAction *filterAction; + +/** + * Immutable. Fully qualified name `projects/ * /locations/global/dataStore/ * + * /controls/ *` + */ +@property(nonatomic, copy, nullable) NSString *name; +/** Defines a redirect-type control. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlRedirectAction *redirectAction; /** - * Response message for SearchTuningService.ListCustomModels method. + * Required. Immutable. What solution the control belongs to. Must be + * compatible with vertical of resource. Otherwise an INVALID ARGUMENT error is + * thrown. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_SolutionType_SolutionTypeChat + * Used for use cases related to the Generative AI agent. (Value: + * "SOLUTION_TYPE_CHAT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_SolutionType_SolutionTypeGenerativeChat + * Used for use cases related to the Generative Chat agent. It's used for + * Generative chat engine only, the associated data stores must enrolled + * with `SOLUTION_TYPE_CHAT` solution. (Value: + * "SOLUTION_TYPE_GENERATIVE_CHAT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_SolutionType_SolutionTypeRecommendation + * Used for Recommendations AI. (Value: "SOLUTION_TYPE_RECOMMENDATION") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_SolutionType_SolutionTypeSearch + * Used for Discovery Search. (Value: "SOLUTION_TYPE_SEARCH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_SolutionType_SolutionTypeUnspecified + * Default value. (Value: "SOLUTION_TYPE_UNSPECIFIED") */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaListCustomModelsResponse : GTLRObject +@property(nonatomic, copy, nullable) NSString *solutionType; -/** List of custom tuning models. */ -@property(nonatomic, strong, nullable) NSArray *models; +/** Treats a group of terms as synonyms of one another. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlSynonymsAction *synonymsAction; + +/** + * Specifies the use case for the control. Affects what condition fields can be + * set. Only applies to SOLUTION_TYPE_SEARCH. Currently only allow one use case + * per control. Must be set when solution_type is + * SolutionType.SOLUTION_TYPE_SEARCH. + */ +@property(nonatomic, strong, nullable) NSArray *useCases; @end /** - * Metadata related to the progress of the PurgeDocuments operation. This will - * be returned by the google.longrunning.Operation.metadata field. + * Adjusts order of products in returned list. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata : GTLRObject - -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlBoostAction : GTLRObject /** - * Count of entries that encountered errors while processing. + * Required. Strength of the boost, which should be in [-1, 1]. Negative boost + * means demotion. Default is 0.0 (No-op). * - * Uses NSNumber of longLongValue. + * Uses NSNumber of floatValue. */ -@property(nonatomic, strong, nullable) NSNumber *failureCount; +@property(nonatomic, strong, nullable) NSNumber *boost; /** - * Count of entries that were ignored as entries were not found. - * - * Uses NSNumber of longLongValue. + * Required. Specifies which data store's documents can be boosted by this + * control. Full data store name e.g. + * projects/123/locations/global/collections/default_collection/dataStores/default_data_store */ -@property(nonatomic, strong, nullable) NSNumber *ignoredCount; +@property(nonatomic, copy, nullable) NSString *dataStore; /** - * Count of entries that were deleted successfully. - * - * Uses NSNumber of longLongValue. + * Required. Specifies which products to apply the boost to. If no filter is + * provided all products will be boosted (No-op). Syntax documentation: + * https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 + * characters. Otherwise an INVALID ARGUMENT error is thrown. */ -@property(nonatomic, strong, nullable) NSNumber *successCount; +@property(nonatomic, copy, nullable) NSString *filter; + +@end + /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * Specified which products may be included in results. Uses same filter as + * boost. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlFilterAction : GTLRObject + +/** + * Required. Specifies which data store's documents can be filtered by this + * control. Full data store name e.g. + * projects/123/locations/global/collections/default_collection/dataStores/default_data_store + */ +@property(nonatomic, copy, nullable) NSString *dataStore; + +/** + * Required. A filter to apply on the matching condition results. Required + * Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order + * Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is + * thrown. + */ +@property(nonatomic, copy, nullable) NSString *filter; @end /** - * Response message for DocumentService.PurgeDocuments method. If the long - * running operation is successfully done, then this message is returned by the - * google.longrunning.Operations.response field. + * Redirects a shopper to the provided URI. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlRedirectAction : GTLRObject /** - * The total count of documents purged as a result of the operation. - * - * Uses NSNumber of longLongValue. + * Required. The URI to which the shopper will be redirected. Required. URI + * must have length equal or less than 2000 characters. Otherwise an INVALID + * ARGUMENT error is thrown. */ -@property(nonatomic, strong, nullable) NSNumber *purgeCount; +@property(nonatomic, copy, nullable) NSString *redirectUri; + +@end + /** - * A sample of document names that will be deleted. Only populated if `force` - * is set to false. A max of 100 names will be returned and the names are - * chosen at random. + * Creates a set of terms that will act as synonyms of one another. Example: + * "happy" will also be considered as "glad", "glad" will also be considered as + * "happy". */ -@property(nonatomic, strong, nullable) NSArray *purgeSample; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlSynonymsAction : GTLRObject + +/** + * Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at + * least 2 synonyms. Otherwise an INVALID ARGUMENT error is thrown. + */ +@property(nonatomic, strong, nullable) NSArray *synonyms; @end /** - * Metadata related to the progress of the PurgeSuggestionDenyListEntries - * operation. This is returned by the google.longrunning.Operation.metadata - * field. + * Metadata related to the progress of the DataStoreService.CreateDataStore + * operation. This will be returned by the + * google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateDataStoreMetadata : GTLRObject /** Operation create time. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -5672,204 +6543,206 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** - * Response message for CompletionService.PurgeSuggestionDenyListEntries - * method. + * Metadata related to the progress of the EngineService.CreateEngine + * operation. This will be returned by the + * google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesResponse : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateEngineMetadata : GTLRObject -/** A sample of errors encountered while processing the request. */ -@property(nonatomic, strong, nullable) NSArray *errorSamples; +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Number of suggestion deny list entries purged. - * - * Uses NSNumber of longLongValue. + * Operation last update time. If the operation is done, this is also the + * finish time. */ -@property(nonatomic, strong, nullable) NSNumber *purgeCount; +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end /** - * Defines the structure and layout of a type of document data. + * Metadata for Create Schema LRO. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSchema : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateSchemaMetadata : GTLRObject -/** The JSON representation of the schema. */ -@property(nonatomic, copy, nullable) NSString *jsonSchema; +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Immutable. The full resource name of the schema, in the format of - * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. - * This field must be a UTF-8 encoded string with a length limit of 1024 - * characters. + * Operation last update time. If the operation is done, this is also the + * finish time. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** The structured representation of the schema. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSchema_StructSchema *structSchema; +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end /** - * The structured representation of the schema. - * - * @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. + * Metadata related to the progress of the + * SiteSearchEngineService.CreateTargetSite operation. This will be returned by + * the google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSchema_StructSchema : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + @end /** - * Verification information for target sites in advanced site search. + * Metadata that describes a custom tuned model. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSiteVerificationInfo : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel : GTLRObject + +/** Timestamp the Model was created at. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** The display name of the model. */ +@property(nonatomic, copy, nullable) NSString *displayName; /** - * Site verification state indicating the ownership and validity. + * The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`). * * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSiteVerificationInfo_SiteVerificationState_Exempted - * Site exempt from verification, e.g., a public website that opens to - * all. (Value: "EXEMPTED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSiteVerificationInfo_SiteVerificationState_SiteVerificationStateUnspecified - * Defaults to VERIFIED. (Value: "SITE_VERIFICATION_STATE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSiteVerificationInfo_SiteVerificationState_Unverified - * Site ownership pending verification or verification failed. (Value: - * "UNVERIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSiteVerificationInfo_SiteVerificationState_Verified - * Site ownership verified. (Value: "VERIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_ModelStateUnspecified + * Default value. (Value: "MODEL_STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_ReadyForServing + * The model is ready for serving. (Value: "READY_FOR_SERVING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_Training + * The model is currently training. (Value: "TRAINING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_TrainingComplete + * The model has successfully completed training. (Value: + * "TRAINING_COMPLETE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_TrainingFailed + * The model training failed. (Value: "TRAINING_FAILED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_TrainingPaused + * The model is in a paused training state. (Value: "TRAINING_PAUSED") */ -@property(nonatomic, copy, nullable) NSString *siteVerificationState; - -/** Latest site verification time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *verifyTime; - -@end - +@property(nonatomic, copy, nullable) NSString *modelState; /** - * A target site for the SiteSearchEngine. + * The version of the model. + * + * Uses NSNumber of longLongValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *modelVersion; /** - * Input only. If set to false, a uri_pattern is generated to include all pages - * whose address contains the provided_uri_pattern. If set to true, an - * uri_pattern is generated to try to be an exact match of the - * provided_uri_pattern or just the specific page if the provided_uri_pattern - * is a specific one. provided_uri_pattern is always normalized to generate the - * URI pattern to be used by the search engine. - * - * Uses NSNumber of boolValue. + * Required. The fully qualified resource name of the model. Format: + * `projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}` + * model must be an alpha-numerical string with limit of 40 characters. */ -@property(nonatomic, strong, nullable) NSNumber *exactMatch; +@property(nonatomic, copy, nullable) NSString *name; + +/** Timestamp the model training was initiated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *trainingStartTime; + +@end -/** Output only. Failure reason. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason *failureReason; /** - * Output only. This is system-generated based on the provided_uri_pattern. + * DataStore captures global settings and configs at the DataStore level. */ -@property(nonatomic, copy, nullable) NSString *generatedUriPattern; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore : GTLRObject /** - * Output only. Indexing status. + * Immutable. The content config of the data store. If this field is unset, the + * server behavior defaults to ContentConfig.NO_CONTENT. * * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite_IndexingStatus_Deleting - * The previously indexed target site has been marked to be deleted. This - * is a transitioning state which will resulted in either: 1. target site - * deleted if unindexing is successful; 2. state reverts to SUCCEEDED if - * the unindexing fails. (Value: "DELETING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite_IndexingStatus_Failed - * The target site fails to be indexed. (Value: "FAILED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite_IndexingStatus_IndexingStatusUnspecified - * Defaults to SUCCEEDED. (Value: "INDEXING_STATUS_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite_IndexingStatus_Pending - * The target site is in the update queue and will be picked up by - * indexing pipeline. (Value: "PENDING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite_IndexingStatus_Succeeded - * The target site has been indexed. (Value: "SUCCEEDED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore_ContentConfig_ContentConfigUnspecified + * Default value. (Value: "CONTENT_CONFIG_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore_ContentConfig_ContentRequired + * Only contains documents with Document.content. (Value: + * "CONTENT_REQUIRED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore_ContentConfig_NoContent + * Only contains documents without any Document.content. (Value: + * "NO_CONTENT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore_ContentConfig_PublicWebsite + * The data store is used for public website search. (Value: + * "PUBLIC_WEBSITE") */ -@property(nonatomic, copy, nullable) NSString *indexingStatus; +@property(nonatomic, copy, nullable) NSString *contentConfig; + +/** Output only. Timestamp the DataStore was created at. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Output only. The fully qualified resource name of the target site. - * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` - * The `target_site_id` is system-generated. + * Output only. The id of the default Schema asscociated to this data store. */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *defaultSchemaId; /** - * Required. Input only. The user provided URI pattern from which the - * `generated_uri_pattern` is generated. + * Required. The data store display name. This field must be a UTF-8 encoded + * string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT + * error is returned. */ -@property(nonatomic, copy, nullable) NSString *providedUriPattern; - -/** Output only. Root domain of the provided_uri_pattern. */ -@property(nonatomic, copy, nullable) NSString *rootDomainUri; +@property(nonatomic, copy, nullable) NSString *displayName; -/** Output only. Site ownership and validity verification status. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSiteVerificationInfo *siteVerificationInfo; +/** Configuration for Document understanding and enrichment. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig *documentProcessingConfig; /** - * The type of the target site, e.g., whether the site is to be included or - * excluded. + * Immutable. The industry vertical that the data store registers. * * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite_Type_Exclude - * Exclude the target site. (Value: "EXCLUDE") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite_Type_Include - * Include the target site. (Value: "INCLUDE") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite_Type_TypeUnspecified - * This value is unused. In this case, server behavior defaults to - * Type.INCLUDE. (Value: "TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore_IndustryVertical_Generic + * The generic vertical for documents that are not specific to any + * industry vertical. (Value: "GENERIC") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore_IndustryVertical_HealthcareFhir + * The healthcare FHIR vertical. (Value: "HEALTHCARE_FHIR") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore_IndustryVertical_IndustryVerticalUnspecified + * Value used when unset. (Value: "INDUSTRY_VERTICAL_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore_IndustryVertical_Media + * The media industry vertical. (Value: "MEDIA") */ -@property(nonatomic, copy, nullable) NSString *type; - -/** Output only. The target site's last updated time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; - -@end - +@property(nonatomic, copy, nullable) NSString *industryVertical; /** - * Site search indexing failure reasons. + * Immutable. The full resource name of the data store. Format: + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. + * This field must be a UTF-8 encoded string with a length limit of 1024 + * characters. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason : GTLRObject - -/** Failed due to insufficient quota. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure *quotaFailure; - -@end - +@property(nonatomic, copy, nullable) NSString *name; /** - * Failed due to insufficient quota. + * The solutions that the data store enrolls. Available solutions for each + * industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and + * `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is + * automatically enrolled. Other solutions cannot be enrolled. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure : GTLRObject +@property(nonatomic, strong, nullable) NSArray *solutionTypes; /** - * This number is an estimation on how much total quota this project needs to - * successfully complete indexing. - * - * Uses NSNumber of longLongValue. + * The start schema to use for this DataStore when provisioning it. If unset, a + * default vertical specialized schema will be used. This field is only used by + * CreateDataStore API, and will be ignored if used in other APIs. This field + * will be omitted from all API responses including CreateDataStore API. To + * retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. + * The provided schema will be validated against certain rules on schema. Learn + * more from [this + * doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema). */ -@property(nonatomic, strong, nullable) NSNumber *totalRequiredQuota; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSchema *startingSchema; @end /** - * Metadata related to the progress of the TrainCustomModel operation. This is - * returned by the google.longrunning.Operation.metadata field. + * Metadata related to the progress of the DataStoreService.DeleteDataStore + * operation. This will be returned by the + * google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTrainCustomModelMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata : GTLRObject /** Operation create time. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -5884,73 +6757,47 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** - * Response of the TrainCustomModelRequest. This message is returned by the - * google.longrunning.Operations.response field. + * Metadata related to the progress of the EngineService.DeleteEngine + * operation. This will be returned by the + * google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse : GTLRObject - -/** Echoes the destination for the complete errors in the request if set. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaImportErrorConfig *errorConfig; - -/** A sample of errors encountered while processing the data. */ -@property(nonatomic, strong, nullable) NSArray *errorSamples; - -/** The metrics of the trained model. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse_Metrics *metrics; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteEngineMetadata : GTLRObject -/** Fully qualified name of the CustomTuningModel. */ -@property(nonatomic, copy, nullable) NSString *modelName; +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * The trained model status. Possible values are: * **bad-data**: The training - * data quality is bad. * **no-improvement**: Tuning didn't improve - * performance. Won't deploy. * **in-progress**: Model training job creation is - * in progress. * **training**: Model is actively training. * **evaluating**: - * The model is evaluating trained metrics. * **indexing**: The model trained - * metrics are indexing. * **ready**: The model is ready for serving. + * Operation last update time. If the operation is done, this is also the + * finish time. */ -@property(nonatomic, copy, nullable) NSString *modelStatus; +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end /** - * The metrics of the trained model. - * - * @note This class is documented as having more properties of NSNumber (Uses - * NSNumber of doubleValue.). Use @c -additionalJSONKeys and @c - * -additionalPropertyForName: to get the list of properties and then - * fetch them; or @c -additionalProperties to fetch them all at once. + * Metadata for DeleteSchema LRO. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse_Metrics : GTLRObject -@end - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteSchemaMetadata : GTLRObject -/** - * Metadata associated with a tune operation. - */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTuneEngineMetadata : GTLRObject +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Required. The resource name of the engine that this tune applies to. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}` + * Operation last update time. If the operation is done, this is also the + * finish time. */ -@property(nonatomic, copy, nullable) NSString *engine; - -@end - +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; -/** - * Response associated with a tune operation. - */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTuneEngineResponse : GTLRObject @end /** - * Metadata for UpdateSchema LRO. + * Metadata related to the progress of the + * SiteSearchEngineService.DeleteTargetSite operation. This will be returned by + * the google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUpdateSchemaMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata : GTLRObject /** Operation create time. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -5966,10 +6813,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * Metadata related to the progress of the - * SiteSearchEngineService.UpdateTargetSite operation. This will be returned by - * the google.longrunning.Operation.metadata field. + * SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be + * returned by the google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUpdateTargetSiteMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata : GTLRObject /** Operation create time. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -5984,9 +6831,1058 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** - * BigQuery source import data from. + * Response message for SiteSearchEngineService.DisableAdvancedSiteSearch + * method. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigQuerySource : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse : GTLRObject +@end + + +/** + * A singleton resource of DataStore. It's empty when DataStore is created, + * which defaults to digital parser. The first call to + * DataStoreService.UpdateDocumentProcessingConfig method will initialize the + * config. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig : GTLRObject + +/** + * 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_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig *defaultParsingConfig; + +/** + * The full resource name of the Document Processing Config. Format: `projects/ + * * /locations/ * /collections/ * /dataStores/ * /documentProcessingConfig`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * 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. * `docx`: Override parsing config for DOCX + * files, only digital parsing and or layout parsing are supported. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig_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. * `docx`: Override parsing config for DOCX + * files, only digital parsing and or layout parsing are supported. + * + * @note This class is documented as having more properties of + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig. + * 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_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig_ParsingConfigOverrides : GTLRObject +@end + + +/** + * Related configurations applied to a specific type of document parser. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig : GTLRObject + +/** Configurations applied to digital parser. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig *digitalParsingConfig; + +/** + * Configurations applied to OCR parser. Currently it only applies to PDFs. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig *ocrParsingConfig; + +@end + + +/** + * The digital parsing configurations for documents. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig : GTLRObject +@end + + +/** + * The OCR parsing configurations for documents. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig : GTLRObject + +/** + * [DEPRECATED] This field is deprecated. To use the additional enhanced + * document elements processing, please switch to `layout_parsing_config`. + */ +@property(nonatomic, strong, nullable) NSArray *enhancedDocumentElements GTLR_DEPRECATED; + +/** + * 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 + * SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be + * returned by the google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Response message for SiteSearchEngineService.EnableAdvancedSiteSearch + * method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchResponse : GTLRObject +@end + + +/** + * Metadata that describes the training and serving parameters of an Engine. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine : GTLRObject + +/** + * Configurations for the Chat Engine. Only applicable if solution_type is + * SOLUTION_TYPE_CHAT. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig *chatEngineConfig; + +/** + * Output only. Additional information of the Chat Engine. Only applicable if + * solution_type is SOLUTION_TYPE_CHAT. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata *chatEngineMetadata; + +/** Common config spec that specifies the metadata of the engine. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineCommonConfig *commonConfig; + +/** Output only. Timestamp the Recommendation Engine was created at. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and + * SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with + * at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple + * DataStores in the same Collection can be associated here. Note that when + * used in CreateEngineRequest, one DataStore id must be provided as the system + * will use it for necessary initializations. + */ +@property(nonatomic, strong, nullable) NSArray *dataStoreIds; + +/** + * Required. The display name of the engine. Should be human readable. UTF-8 + * encoded string with limit of 1024 characters. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * The industry vertical that the engine registers. The restriction of the + * Engine industry vertical is based on DataStore: If unspecified, default to + * `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked + * to the engine. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_IndustryVertical_Generic + * The generic vertical for documents that are not specific to any + * industry vertical. (Value: "GENERIC") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_IndustryVertical_HealthcareFhir + * The healthcare FHIR vertical. (Value: "HEALTHCARE_FHIR") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_IndustryVertical_IndustryVerticalUnspecified + * Value used when unset. (Value: "INDUSTRY_VERTICAL_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_IndustryVertical_Media + * The media industry vertical. (Value: "MEDIA") + */ +@property(nonatomic, copy, nullable) NSString *industryVertical; + +/** + * Immutable. The fully qualified resource name of the engine. This field must + * be a UTF-8 encoded string with a length limit of 1024 characters. Format: + * `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}` + * engine should be 1-63 characters, and valid characters are /a-z0-9* /. + * Otherwise, an INVALID_ARGUMENT error is returned. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Configurations for the Search Engine. Only applicable if solution_type is + * SOLUTION_TYPE_SEARCH. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig *searchEngineConfig; + +/** + * Required. The solutions of the engine. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_SolutionType_SolutionTypeChat + * Used for use cases related to the Generative AI agent. (Value: + * "SOLUTION_TYPE_CHAT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_SolutionType_SolutionTypeGenerativeChat + * Used for use cases related to the Generative Chat agent. It's used for + * Generative chat engine only, the associated data stores must enrolled + * with `SOLUTION_TYPE_CHAT` solution. (Value: + * "SOLUTION_TYPE_GENERATIVE_CHAT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_SolutionType_SolutionTypeRecommendation + * Used for Recommendations AI. (Value: "SOLUTION_TYPE_RECOMMENDATION") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_SolutionType_SolutionTypeSearch + * Used for Discovery Search. (Value: "SOLUTION_TYPE_SEARCH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_SolutionType_SolutionTypeUnspecified + * Default value. (Value: "SOLUTION_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *solutionType; + +/** Output only. Timestamp the Recommendation Engine was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Configurations for a Chat Engine. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig : GTLRObject + +/** + * The configurationt generate the Dialogflow agent that is associated to this + * Engine. Note that these configurations are one-time consumed by and passed + * to Dialogflow service. It means they cannot be retrieved using + * EngineService.GetEngine or EngineService.ListEngines API after engine + * creation. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig *agentCreationConfig; + +/** + * The resource name of an exist Dialogflow agent to link to this Chat Engine. + * Customers can either provide `agent_creation_config` to create agent or + * provide an agent name that links the agent with the Chat engine. Format: + * `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are + * one-time consumed by and passed to Dialogflow service. It means they cannot + * be retrieved using EngineService.GetEngine or EngineService.ListEngines API + * after engine creation. Use ChatEngineMetadata.dialogflow_agent for actual + * agent association after Engine is created. + */ +@property(nonatomic, copy, nullable) NSString *dialogflowAgentToLink; + +@end + + +/** + * Configurations for generating a Dialogflow agent. Note that these + * configurations are one-time consumed by and passed to Dialogflow service. It + * means they cannot be retrieved using EngineService.GetEngine or + * EngineService.ListEngines API after engine creation. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig : GTLRObject + +/** + * Name of the company, organization or other entity that the agent represents. + * Used for knowledge connector LLM prompt and for knowledge search. + */ +@property(nonatomic, copy, nullable) NSString *business; + +/** + * Required. The default language of the agent as a language tag. See [Language + * Support](https://cloud.google.com/dialogflow/docs/reference/language) for a + * list of the currently supported language codes. + */ +@property(nonatomic, copy, nullable) NSString *defaultLanguageCode; + +/** + * Agent location for Agent creation, supported values: global/us/eu. If not + * provided, us Engine will create Agent using us-central-1 by default; eu + * Engine will create Agent using eu-west-1 by default. + */ +@property(nonatomic, copy, nullable) NSString *location; + +/** + * Required. The time zone of the agent from the [time zone + * database](https://www.iana.org/time-zones), e.g., America/New_York, + * Europe/Paris. + */ +@property(nonatomic, copy, nullable) NSString *timeZone; + +@end + + +/** + * Additional information of a Chat Engine. Fields in this message are output + * only. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata : GTLRObject + +/** + * The resource name of a Dialogflow agent, that this Chat Engine refers to. + * Format: `projects//locations//agents/`. + */ +@property(nonatomic, copy, nullable) NSString *dialogflowAgent; + +@end + + +/** + * Common configurations for an Engine. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineCommonConfig : GTLRObject + +/** + * The name of the company, business or entity that is associated with the + * engine. Setting this may help improve LLM related features. + */ +@property(nonatomic, copy, nullable) NSString *companyName; + +@end + + +/** + * Configurations for a Search Engine. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig : GTLRObject + +/** The add-on that this search engine enables. */ +@property(nonatomic, strong, nullable) NSArray *searchAddOns; + +/** + * The search feature tier of this engine. Different tiers might have different + * pricing. To learn more, check the pricing documentation. Defaults to + * SearchTier.SEARCH_TIER_STANDARD if not specified. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig_SearchTier_SearchTierEnterprise + * Enterprise tier. (Value: "SEARCH_TIER_ENTERPRISE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig_SearchTier_SearchTierStandard + * Standard tier. (Value: "SEARCH_TIER_STANDARD") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig_SearchTier_SearchTierUnspecified + * Default value when the enum is unspecified. This is invalid to use. + * (Value: "SEARCH_TIER_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *searchTier; + +@end + + +/** + * Metadata related to the progress of the ImportDocuments operation. This is + * returned by the google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Count of entries that encountered errors while processing. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *failureCount; + +/** + * Count of entries that were processed successfully. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *successCount; + +/** + * Total count of entries that were processed. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *totalCount; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Response of the ImportDocumentsRequest. If the long running operation is + * done, then this message is returned by the + * google.longrunning.Operations.response field if the operation was + * successful. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaImportDocumentsResponse : GTLRObject + +/** Echoes the destination for the complete errors in the request if set. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaImportErrorConfig *errorConfig; + +/** A sample of errors encountered while processing the request. */ +@property(nonatomic, strong, nullable) NSArray *errorSamples; + +@end + + +/** + * Configuration of destination for Import related errors. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaImportErrorConfig : GTLRObject + +/** + * Cloud Storage prefix for import errors. This must be an empty, existing + * Cloud Storage directory. Import errors are written to sharded files in this + * directory, one per line, as a JSON-encoded `google.rpc.Status` message. + */ +@property(nonatomic, copy, nullable) NSString *gcsPrefix; + +@end + + +/** + * Metadata related to the progress of the ImportSuggestionDenyListEntries + * operation. This is returned by the google.longrunning.Operation.metadata + * field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Response message for CompletionService.ImportSuggestionDenyListEntries + * method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesResponse : GTLRObject + +/** A sample of errors encountered while processing the request. */ +@property(nonatomic, strong, nullable) NSArray *errorSamples; + +/** + * Count of deny list entries that failed to be imported. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *failedEntriesCount; + +/** + * Count of deny list entries successfully imported. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *importedEntriesCount; + +@end + + +/** + * Metadata related to the progress of the Import operation. This is returned + * by the google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Count of entries that encountered errors while processing. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *failureCount; + +/** + * Count of entries that were processed successfully. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *successCount; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Response of the ImportUserEventsRequest. If the long running operation was + * successful, then this message is returned by the + * google.longrunning.Operations.response field if the operation was + * successful. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaImportUserEventsResponse : GTLRObject + +/** + * Echoes the destination for the complete errors if this field was set in the + * request. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaImportErrorConfig *errorConfig; + +/** A sample of errors encountered while processing the request. */ +@property(nonatomic, strong, nullable) NSArray *errorSamples; + +/** + * Count of user events imported with complete existing Documents. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *joinedEventsCount; + +/** + * Count of user events imported, but with Document information not found in + * the existing Branch. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *unjoinedEventsCount; + +@end + + +/** + * Response message for SearchTuningService.ListCustomModels method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaListCustomModelsResponse : GTLRObject + +/** List of custom tuning models. */ +@property(nonatomic, strong, nullable) NSArray *models; + +@end + + +/** + * Metadata and configurations for a Google Cloud project in the service. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProject : GTLRObject + +/** Output only. The timestamp when this project is created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. Full resource name of the project, for example + * `projects/{project_number}`. Note that when making requests, project number + * and project id are both acceptable, but the server will always respond in + * project number. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The timestamp when this project is successfully provisioned. + * Empty value means this project is still provisioning and is not ready for + * use. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *provisionCompletionTime; + +/** + * Output only. A map of terms of services. The key is the `id` of + * ServiceTerms. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProject_ServiceTermsMap *serviceTermsMap; + +@end + + +/** + * Output only. A map of terms of services. The key is the `id` of + * ServiceTerms. + * + * @note This class is documented as having more properties of + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms. + * 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_GoogleCloudDiscoveryengineV1betaProject_ServiceTermsMap : GTLRObject +@end + + +/** + * Metadata about the terms of service. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms : GTLRObject + +/** The last time when the project agreed to the terms of service. */ +@property(nonatomic, strong, nullable) GTLRDateTime *acceptTime; + +/** + * The last time when the project declined or revoked the agreement to terms of + * service. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *declineTime; + +/** + * The unique identifier of this terms of service. Available terms: * + * `GA_DATA_USE_TERMS`: [Terms for data + * use](https://cloud.google.com/retail/data-use-terms). When using this as + * `id`, the acceptable version to provide is `2022-11-23`. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Whether the project has accepted/rejected the service terms or it is still + * pending. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms_State_StateUnspecified + * The default value of the enum. This value is not actually used. + * (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms_State_TermsAccepted + * The project has given consent to the terms of service. (Value: + * "TERMS_ACCEPTED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms_State_TermsDeclined + * The project has declined or revoked the agreement to terms of service. + * (Value: "TERMS_DECLINED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProjectServiceTerms_State_TermsPending + * The project is pending to review and accept the terms of service. + * (Value: "TERMS_PENDING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * The version string of the terms of service. For acceptable values, see the + * comments for id above. + */ +@property(nonatomic, copy, nullable) NSString *version; + +@end + + +/** + * Metadata associated with a project provision operation. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaProvisionProjectMetadata : GTLRObject +@end + + +/** + * Metadata related to the progress of the PurgeDocuments operation. This will + * be returned by the google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Count of entries that encountered errors while processing. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *failureCount; + +/** + * Count of entries that were ignored as entries were not found. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ignoredCount; + +/** + * Count of entries that were deleted successfully. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *successCount; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Response message for DocumentService.PurgeDocuments method. If the long + * running operation is successfully done, then this message is returned by the + * google.longrunning.Operations.response field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse : GTLRObject + +/** + * The total count of documents purged as a result of the operation. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *purgeCount; + +/** + * A sample of document names that will be deleted. Only populated if `force` + * is set to false. A max of 100 names will be returned and the names are + * chosen at random. + */ +@property(nonatomic, strong, nullable) NSArray *purgeSample; + +@end + + +/** + * Metadata related to the progress of the PurgeSuggestionDenyListEntries + * operation. This is returned by the google.longrunning.Operation.metadata + * field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Response message for CompletionService.PurgeSuggestionDenyListEntries + * method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesResponse : GTLRObject + +/** A sample of errors encountered while processing the request. */ +@property(nonatomic, strong, nullable) NSArray *errorSamples; + +/** + * Number of suggestion deny list entries purged. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *purgeCount; + +@end + + +/** + * Defines the structure and layout of a type of document data. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSchema : GTLRObject + +/** The JSON representation of the schema. */ +@property(nonatomic, copy, nullable) NSString *jsonSchema; + +/** + * Immutable. The full resource name of the schema, in the format of + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. + * This field must be a UTF-8 encoded string with a length limit of 1024 + * characters. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The structured representation of the schema. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSchema_StructSchema *structSchema; + +@end + + +/** + * The structured representation of the schema. + * + * @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 GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSchema_StructSchema : GTLRObject +@end + + +/** + * Verification information for target sites in advanced site search. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSiteVerificationInfo : GTLRObject + +/** + * Site verification state indicating the ownership and validity. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSiteVerificationInfo_SiteVerificationState_Exempted + * Site exempt from verification, e.g., a public website that opens to + * all. (Value: "EXEMPTED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSiteVerificationInfo_SiteVerificationState_SiteVerificationStateUnspecified + * Defaults to VERIFIED. (Value: "SITE_VERIFICATION_STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSiteVerificationInfo_SiteVerificationState_Unverified + * Site ownership pending verification or verification failed. (Value: + * "UNVERIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSiteVerificationInfo_SiteVerificationState_Verified + * Site ownership verified. (Value: "VERIFIED") + */ +@property(nonatomic, copy, nullable) NSString *siteVerificationState; + +/** Latest site verification time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *verifyTime; + +@end + + +/** + * A target site for the SiteSearchEngine. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite : GTLRObject + +/** + * Input only. If set to false, a uri_pattern is generated to include all pages + * whose address contains the provided_uri_pattern. If set to true, an + * uri_pattern is generated to try to be an exact match of the + * provided_uri_pattern or just the specific page if the provided_uri_pattern + * is a specific one. provided_uri_pattern is always normalized to generate the + * URI pattern to be used by the search engine. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *exactMatch; + +/** Output only. Failure reason. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason *failureReason; + +/** + * Output only. This is system-generated based on the provided_uri_pattern. + */ +@property(nonatomic, copy, nullable) NSString *generatedUriPattern; + +/** + * Output only. Indexing status. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite_IndexingStatus_Deleting + * The previously indexed target site has been marked to be deleted. This + * is a transitioning state which will resulted in either: 1. target site + * deleted if unindexing is successful; 2. state reverts to SUCCEEDED if + * the unindexing fails. (Value: "DELETING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite_IndexingStatus_Failed + * The target site fails to be indexed. (Value: "FAILED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite_IndexingStatus_IndexingStatusUnspecified + * Defaults to SUCCEEDED. (Value: "INDEXING_STATUS_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite_IndexingStatus_Pending + * The target site is in the update queue and will be picked up by + * indexing pipeline. (Value: "PENDING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite_IndexingStatus_Succeeded + * The target site has been indexed. (Value: "SUCCEEDED") + */ +@property(nonatomic, copy, nullable) NSString *indexingStatus; + +/** + * Output only. The fully qualified resource name of the target site. + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` + * The `target_site_id` is system-generated. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. Input only. The user provided URI pattern from which the + * `generated_uri_pattern` is generated. + */ +@property(nonatomic, copy, nullable) NSString *providedUriPattern; + +/** Output only. Root domain of the provided_uri_pattern. */ +@property(nonatomic, copy, nullable) NSString *rootDomainUri; + +/** Output only. Site ownership and validity verification status. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSiteVerificationInfo *siteVerificationInfo; + +/** + * The type of the target site, e.g., whether the site is to be included or + * excluded. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite_Type_Exclude + * Exclude the target site. (Value: "EXCLUDE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite_Type_Include + * Include the target site. (Value: "INCLUDE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite_Type_TypeUnspecified + * This value is unused. In this case, server behavior defaults to + * Type.INCLUDE. (Value: "TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +/** Output only. The target site's last updated time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Site search indexing failure reasons. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason : GTLRObject + +/** Failed due to insufficient quota. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure *quotaFailure; + +@end + + +/** + * Failed due to insufficient quota. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure : GTLRObject + +/** + * This number is an estimation on how much total quota this project needs to + * successfully complete indexing. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *totalRequiredQuota; + +@end + + +/** + * Metadata related to the progress of the TrainCustomModel operation. This is + * returned by the google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTrainCustomModelMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Response of the TrainCustomModelRequest. This message is returned by the + * google.longrunning.Operations.response field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse : GTLRObject + +/** Echoes the destination for the complete errors in the request if set. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaImportErrorConfig *errorConfig; + +/** A sample of errors encountered while processing the data. */ +@property(nonatomic, strong, nullable) NSArray *errorSamples; + +/** The metrics of the trained model. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse_Metrics *metrics; + +/** Fully qualified name of the CustomTuningModel. */ +@property(nonatomic, copy, nullable) NSString *modelName; + +/** + * The trained model status. Possible values are: * **bad-data**: The training + * data quality is bad. * **no-improvement**: Tuning didn't improve + * performance. Won't deploy. * **in-progress**: Model training job creation is + * in progress. * **training**: Model is actively training. * **evaluating**: + * The model is evaluating trained metrics. * **indexing**: The model trained + * metrics are indexing. * **ready**: The model is ready for serving. + */ +@property(nonatomic, copy, nullable) NSString *modelStatus; + +@end + + +/** + * The metrics of the trained model. + * + * @note This class is documented as having more properties of NSNumber (Uses + * NSNumber of doubleValue.). Use @c -additionalJSONKeys and @c + * -additionalPropertyForName: to get the list of properties and then + * fetch them; or @c -additionalProperties to fetch them all at once. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse_Metrics : GTLRObject +@end + + +/** + * Metadata associated with a tune operation. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTuneEngineMetadata : GTLRObject + +/** + * Required. The resource name of the engine that this tune applies to. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}` + */ +@property(nonatomic, copy, nullable) NSString *engine; + +@end + + +/** + * Response associated with a tune operation. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTuneEngineResponse : GTLRObject +@end + + +/** + * Metadata for UpdateSchema LRO. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUpdateSchemaMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Metadata related to the progress of the + * SiteSearchEngineService.UpdateTargetSite operation. This will be returned by + * the google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUpdateTargetSiteMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * BigQuery source import data from. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigQuerySource : GTLRObject /** * The schema to use when parsing the data from the source. Supported values @@ -5997,34 +7893,439 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * row in arbitrary format that conforms to the defined Schema of the data * store. This can only be used by the GENERIC Data Store vertical. */ -@property(nonatomic, copy, nullable) NSString *dataSchema; +@property(nonatomic, copy, nullable) NSString *dataSchema; + +/** + * Required. The BigQuery data set to copy the data from with a length limit of + * 1,024 characters. + */ +@property(nonatomic, copy, nullable) NSString *datasetId; + +/** + * Intermediate Cloud Storage directory used for the import with a length limit + * of 2,000 characters. Can be specified if one wants to have the BigQuery + * export to a specific Cloud Storage directory. + */ +@property(nonatomic, copy, nullable) NSString *gcsStagingDir; + +/** BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleTypeDate *partitionDate; + +/** + * The project ID (can be project # or ID) that the BigQuery source is in with + * a length limit of 128 characters. If not specified, inherits the project ID + * from the parent request. + */ +@property(nonatomic, copy, nullable) NSString *projectId; + +/** + * Required. The BigQuery table to copy the data from with a length limit of + * 1,024 characters. + */ +@property(nonatomic, copy, nullable) NSString *tableId; + +@end + + +/** + * The Bigtable Options object that contains information to support the import. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptions : GTLRObject + +/** + * The mapping from family names to an object that contains column families + * level information for the given column family. If a family is not present in + * this map it will be ignored. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptions_Families *families; + +/** + * The field name used for saving row key value in the document. The name has + * to match the pattern `a-zA-Z0-9*`. + */ +@property(nonatomic, copy, nullable) NSString *keyFieldName; + +@end + + +/** + * The mapping from family names to an object that contains column families + * level information for the given column family. If a family is not present in + * this map it will be ignored. + * + * @note This class is documented as having more properties of + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily. + * 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_GoogleCloudDiscoveryengineV1BigtableOptions_Families : GTLRObject +@end + + +/** + * The column of the Bigtable. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn : GTLRObject + +/** + * The encoding mode 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. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn_Encoding_Binary + * Binary encoding. (Value: "BINARY") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn_Encoding_EncodingUnspecified + * The encoding is unspecified. (Value: "ENCODING_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn_Encoding_Text + * Text encoding. (Value: "TEXT") + */ +@property(nonatomic, copy, nullable) NSString *encoding; + +/** + * The field name to use for this column in the document. The name has to match + * the pattern `a-zA-Z0-9*`. If not set, it is parsed from the qualifier bytes + * with best effort. However, due to different naming patterns, field name + * collisions could happen, where parsing behavior is undefined. + */ +@property(nonatomic, copy, nullable) NSString *fieldName; + +/** + * Required. Qualifier of the column. If it cannot be decoded with utf-8, use a + * base-64 encoded string instead. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *qualifier; + +/** + * The type of values in this column family. The values are expected to be + * encoded using `HBase Bytes.toBytes` function when the encoding value is set + * to `BINARY`. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn_Type_BigNumeric + * BigDecimal type. (Value: "BIG_NUMERIC") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn_Type_Boolean + * Boolean type. (Value: "BOOLEAN") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn_Type_Integer + * Integer type. (Value: "INTEGER") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn_Type_Json + * JSON type. (Value: "JSON") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn_Type_Number + * Numerical type. (Value: "NUMBER") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn_Type_String + * String type. (Value: "STRING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn_Type_TypeUnspecified + * The type is unspecified. (Value: "TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn_Type_VarInteger + * Variable length integer type. (Value: "VAR_INTEGER") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * The column family of the Bigtable. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily : GTLRObject + +/** + * The list of objects that contains column level information for each column. + * If a column is not present in this list it will be ignored. + */ +@property(nonatomic, strong, nullable) NSArray *columns; + +/** + * The encoding mode 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. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Encoding_Binary + * Binary encoding. (Value: "BINARY") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Encoding_EncodingUnspecified + * The encoding is unspecified. (Value: "ENCODING_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Encoding_Text + * Text encoding. (Value: "TEXT") + */ +@property(nonatomic, copy, nullable) NSString *encoding; + +/** + * The field name to use for this column family in the document. The name has + * to match the pattern `a-zA-Z0-9*`. If not set, it is parsed from the family + * name with best effort. However, due to different naming patterns, field name + * collisions could happen, where parsing behavior is undefined. + */ +@property(nonatomic, copy, nullable) NSString *fieldName; + +/** + * The type of values in this column family. The values are expected to be + * encoded using `HBase Bytes.toBytes` function when the encoding value is set + * to `BINARY`. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Type_BigNumeric + * BigDecimal type. (Value: "BIG_NUMERIC") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Type_Boolean + * Boolean type. (Value: "BOOLEAN") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Type_Integer + * Integer type. (Value: "INTEGER") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Type_Json + * JSON type. (Value: "JSON") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Type_Number + * Numerical type. (Value: "NUMBER") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Type_String + * String type. (Value: "STRING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Type_TypeUnspecified + * The type is unspecified. (Value: "TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Type_VarInteger + * Variable length integer type. (Value: "VAR_INTEGER") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * The Cloud Bigtable source for importing data. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableSource : GTLRObject + +/** + * Required. Bigtable options that contains information needed when parsing + * data into typed structures. For example, column type annotations. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptions *bigtableOptions; + +/** + * Required. The instance ID of the Cloud Bigtable that needs to be imported. + */ +@property(nonatomic, copy, nullable) NSString *instanceId; + +/** + * The project ID that the Bigtable source is in with a length limit of 128 + * characters. If not specified, inherits the project ID from the parent + * request. + */ +@property(nonatomic, copy, nullable) NSString *projectId; + +/** Required. The table ID of the Cloud Bigtable that needs to be imported. */ +@property(nonatomic, copy, nullable) NSString *tableId; + +@end + + +/** + * Request message for GroundedGenerationService.CheckGrounding method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingRequest : GTLRObject + +/** + * Answer candidate to check. Can have a maximum length of 1024 characters. + */ +@property(nonatomic, copy, nullable) NSString *answerCandidate; + +/** List of facts for the grounding check. We support up to 200 facts. */ +@property(nonatomic, strong, nullable) NSArray *facts; + +/** Configuration of the grounding check. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingSpec *groundingSpec; + +/** + * The user labels applied to a resource must meet the following requirements: + * * Each resource can have multiple labels, up to a maximum of 64. * Each + * label must be a key-value pair. * Keys have a minimum length of 1 character + * and a maximum length of 63 characters and cannot be empty. Values can be + * empty and have a maximum length of 63 characters. * Keys and values can + * contain only lowercase letters, numeric characters, underscores, and dashes. + * All characters must use UTF-8 encoding, and international characters are + * allowed. * The key portion of a label must be unique. However, you can use + * the same key with multiple resources. * Keys must start with a lowercase + * letter or international character. See [Google Cloud + * Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) + * for more details. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingRequest_UserLabels *userLabels; + +@end + + +/** + * The user labels applied to a resource must meet the following requirements: + * * Each resource can have multiple labels, up to a maximum of 64. * Each + * label must be a key-value pair. * Keys have a minimum length of 1 character + * and a maximum length of 63 characters and cannot be empty. Values can be + * empty and have a maximum length of 63 characters. * Keys and values can + * contain only lowercase letters, numeric characters, underscores, and dashes. + * All characters must use UTF-8 encoding, and international characters are + * allowed. * The key portion of a label must be unique. However, you can use + * the same key with multiple resources. * Keys must start with a lowercase + * letter or international character. See [Google Cloud + * Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) + * for more details. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingRequest_UserLabels : GTLRObject +@end + + +/** + * Response message for the GroundedGenerationService.CheckGrounding method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingResponse : GTLRObject + +/** + * List of facts cited across all claims in the answer candidate. These are + * derived from the facts supplied in the request. + */ +@property(nonatomic, strong, nullable) NSArray *citedChunks; + +/** + * Claim texts and citation info across all claims in the answer candidate. + */ +@property(nonatomic, strong, nullable) NSArray *claims; + +/** + * The support score for the input answer candidate. Higher the score, higher + * is the fraction of claims that are supported by the provided facts. This is + * always set when a response is returned. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *supportScore; + +@end + + +/** + * Text and citation info for a claim in the answer candidate. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim : GTLRObject + +/** + * A list of indices (into 'cited_chunks') specifying the citations associated + * with the claim. For instance [1,3,4] means that cited_chunks[1], + * cited_chunks[3], cited_chunks[4] are the facts cited supporting for the + * claim. A citation to a fact indicates that the claim is supported by the + * fact. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSArray *citationIndices; + +/** + * Text for the claim in the answer candidate. Always provided regardless of + * whether citations or anti-citations are found. + */ +@property(nonatomic, copy, nullable) NSString *claimText; + +/** + * Position indicating the end of the claim in the answer candidate, exclusive. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *endPos; + +/** + * Indicates that this claim required grounding check. When the system decided + * this claim doesn't require attribution/grounding check, this field will be + * set to false. In that case, no grounding check was done for the claim and + * therefore citation_indices, and anti_citation_indices should not be + * returned. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *groundingCheckRequired; + +/** + * Position indicating the start of the claim in the answer candidate, measured + * in bytes. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *startPos; + +@end + + +/** + * Specification for the grounding check. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingSpec : GTLRObject + +/** + * The threshold (in [0,1]) used for determining whether a fact must be cited + * for a claim in the answer candidate. Choosing a higher threshold will lead + * to fewer but very strong citations, while choosing a lower threshold may + * lead to more but somewhat weaker citations. If unset, the threshold will + * default to 0.6. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *citationThreshold; + +@end + /** - * Required. The BigQuery data set to copy the data from with a length limit of - * 1,024 characters. + * Cloud SQL source import data from. */ -@property(nonatomic, copy, nullable) NSString *datasetId; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CloudSqlSource : GTLRObject + +/** + * Required. The Cloud SQL database to copy the data from with a length limit + * of 256 characters. + */ +@property(nonatomic, copy, nullable) NSString *databaseId; /** * Intermediate Cloud Storage directory used for the import with a length limit - * of 2,000 characters. Can be specified if one wants to have the BigQuery - * export to a specific Cloud Storage directory. + * of 2,000 characters. Can be specified if one wants to have the Cloud SQL + * export to a specific Cloud Storage directory. Ensure that the Cloud SQL + * service account has the necessary Cloud Storage Admin permissions to access + * the specified Cloud Storage directory. */ @property(nonatomic, copy, nullable) NSString *gcsStagingDir; -/** BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleTypeDate *partitionDate; +/** + * Required. The Cloud SQL instance to copy the data from with a length limit + * of 256 characters. + */ +@property(nonatomic, copy, nullable) NSString *instanceId; /** - * The project ID (can be project # or ID) that the BigQuery source is in with - * a length limit of 128 characters. If not specified, inherits the project ID - * from the parent request. + * Option for serverless export. Enabling this option will incur additional + * cost. More info can be found + * [here](https://cloud.google.com/sql/pricing#serverless). + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *offload; + +/** + * The project ID that the Cloud SQL source is in with a length limit of 128 + * characters. If not specified, inherits the project ID from the parent + * request. */ @property(nonatomic, copy, nullable) NSString *projectId; /** - * Required. The BigQuery table to copy the data from with a length limit of - * 1,024 characters. + * Required. The Cloud SQL table to copy the data from with a length limit of + * 256 characters. */ @property(nonatomic, copy, nullable) NSString *tableId; @@ -6032,311 +8333,283 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** - * The Bigtable Options object that contains information to support the import. + * Response message for CompletionService.CompleteQuery method. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptions : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompleteQueryResponse : GTLRObject /** - * The mapping from family names to an object that contains column families - * level information for the given column family. If a family is not present in - * this map it will be ignored. + * Results of the matched query suggestions. The result list is ordered and the + * first result is a top suggestion. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptions_Families *families; +@property(nonatomic, strong, nullable) NSArray *querySuggestions; /** - * The field name used for saving row key value in the document. The name has - * to match the pattern `a-zA-Z0-9*`. + * True if the returned suggestions are all tail suggestions. For tail matching + * to be triggered, include_tail_suggestions in the request must be true and + * there must be no suggestions that match the full query. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *keyFieldName; +@property(nonatomic, strong, nullable) NSNumber *tailMatchTriggered; @end /** - * The mapping from family names to an object that contains column families - * level information for the given column family. If a family is not present in - * this map it will be ignored. - * - * @note This class is documented as having more properties of - * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily. - * 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. + * Suggestions as search queries. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptions_Families : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompleteQueryResponseQuerySuggestion : GTLRObject + +/** + * The unique document field paths that serve as the source of this suggestion + * if it was generated from completable fields. This field is only populated + * for the document-completable model. + */ +@property(nonatomic, strong, nullable) NSArray *completableFieldPaths; + +/** The suggestion for the query. */ +@property(nonatomic, copy, nullable) NSString *suggestion; + @end /** - * The column of the Bigtable. + * Detailed completion information including completion attribution token and + * clicked completion info. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompletionInfo : GTLRObject /** - * The encoding mode 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. + * End user selected CompleteQueryResponse.QuerySuggestion.suggestion position, + * starting from 0. * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn_Encoding_Binary - * Binary encoding. (Value: "BINARY") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn_Encoding_EncodingUnspecified - * The encoding is unspecified. (Value: "ENCODING_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn_Encoding_Text - * Text encoding. (Value: "TEXT") + * Uses NSNumber of intValue. */ -@property(nonatomic, copy, nullable) NSString *encoding; +@property(nonatomic, strong, nullable) NSNumber *selectedPosition; + +/** End user selected CompleteQueryResponse.QuerySuggestion.suggestion. */ +@property(nonatomic, copy, nullable) NSString *selectedSuggestion; + +@end + /** - * The field name to use for this column in the document. The name has to match - * the pattern `a-zA-Z0-9*`. If not set, it is parsed from the qualifier bytes - * with best effort. However, due to different naming patterns, field name - * collisions could happen, where parsing behavior is undefined. + * Defines circumstances to be checked before allowing a behavior */ -@property(nonatomic, copy, nullable) NSString *fieldName; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Condition : GTLRObject /** - * Required. Qualifier of the column. If it cannot be decoded with utf-8, use a - * base-64 encoded string instead. - * - * Contains encoded binary data; GTLRBase64 can encode/decode (probably - * web-safe format). + * Range of time(s) specifying when condition is active. Maximum of 10 time + * ranges. */ -@property(nonatomic, copy, nullable) NSString *qualifier; +@property(nonatomic, strong, nullable) NSArray *activeTimeRange; /** - * The type of values in this column family. The values are expected to be - * encoded using `HBase Bytes.toBytes` function when the encoding value is set - * to `BINARY`. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn_Type_BigNumeric - * BigDecimal type. (Value: "BIG_NUMERIC") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn_Type_Boolean - * Boolean type. (Value: "BOOLEAN") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn_Type_Integer - * Integer type. (Value: "INTEGER") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn_Type_Json - * JSON type. (Value: "JSON") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn_Type_Number - * Numerical type. (Value: "NUMBER") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn_Type_String - * String type. (Value: "STRING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn_Type_TypeUnspecified - * The type is unspecified. (Value: "TYPE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumn_Type_VarInteger - * Variable length integer type. (Value: "VAR_INTEGER") + * Search only A list of terms to match the query on. Maximum of 10 query + * terms. */ -@property(nonatomic, copy, nullable) NSString *type; +@property(nonatomic, strong, nullable) NSArray *queryTerms; @end /** - * The column family of the Bigtable. - */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily : GTLRObject - -/** - * The list of objects that contains column level information for each column. - * If a column is not present in this list it will be ignored. + * Matcher for search request query */ -@property(nonatomic, strong, nullable) NSArray *columns; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConditionQueryTerm : GTLRObject /** - * The encoding mode 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. + * Whether the search query needs to exactly match the query term. * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Encoding_Binary - * Binary encoding. (Value: "BINARY") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Encoding_EncodingUnspecified - * The encoding is unspecified. (Value: "ENCODING_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Encoding_Text - * Text encoding. (Value: "TEXT") + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *encoding; +@property(nonatomic, strong, nullable) NSNumber *fullMatch; /** - * The field name to use for this column family in the document. The name has - * to match the pattern `a-zA-Z0-9*`. If not set, it is parsed from the family - * name with best effort. However, due to different naming patterns, field name - * collisions could happen, where parsing behavior is undefined. + * The specific query value to match against Must be lowercase, must be UTF-8. + * Can have at most 3 space separated terms if full_match is true. Cannot be an + * empty string. Maximum length of 5000 characters. */ -@property(nonatomic, copy, nullable) NSString *fieldName; +@property(nonatomic, copy, nullable) NSString *value; + +@end + /** - * The type of values in this column family. The values are expected to be - * encoded using `HBase Bytes.toBytes` function when the encoding value is set - * to `BINARY`. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Type_BigNumeric - * BigDecimal type. (Value: "BIG_NUMERIC") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Type_Boolean - * Boolean type. (Value: "BOOLEAN") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Type_Integer - * Integer type. (Value: "INTEGER") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Type_Json - * JSON type. (Value: "JSON") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Type_Number - * Numerical type. (Value: "NUMBER") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Type_String - * String type. (Value: "STRING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Type_TypeUnspecified - * The type is unspecified. (Value: "TYPE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Type_VarInteger - * Variable length integer type. (Value: "VAR_INTEGER") + * Used for time-dependent conditions. */ -@property(nonatomic, copy, nullable) NSString *type; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConditionTimeRange : GTLRObject + +/** End of time range. Range is inclusive. Must be in the future. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** Start of time range. Range is inclusive. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; @end /** - * The Cloud Bigtable source for importing data. + * Defines a conditioned behavior to employ during serving. Must be attached to + * a ServingConfig to be considered at serving time. Permitted actions + * dependent on `SolutionType`. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableSource : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control : GTLRObject /** - * Required. Bigtable options that contains information needed when parsing - * data into typed structures. For example, column type annotations. + * Output only. List of all ServingConfig ids this control is attached to. May + * take up to 10 minutes to update after changes. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptions *bigtableOptions; +@property(nonatomic, strong, nullable) NSArray *associatedServingConfigIds; + +/** Defines a boost-type control */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ControlBoostAction *boostAction; /** - * Required. The instance ID of the Cloud Bigtable that needs to be imported. + * Determines when the associated action will trigger. Omit to always apply the + * action. Currently only a single condition may be specified. Otherwise an + * INVALID ARGUMENT error is thrown. */ -@property(nonatomic, copy, nullable) NSString *instanceId; +@property(nonatomic, strong, nullable) NSArray *conditions; /** - * The project ID that the Bigtable source is in with a length limit of 128 - * characters. If not specified, inherits the project ID from the parent - * request. + * Required. Human readable name. The identifier used in UI views. Must be + * UTF-8 encoded string. Length limit is 128 characters. Otherwise an INVALID + * ARGUMENT error is thrown. */ -@property(nonatomic, copy, nullable) NSString *projectId; - -/** Required. The table ID of the Cloud Bigtable that needs to be imported. */ -@property(nonatomic, copy, nullable) NSString *tableId; - -@end +@property(nonatomic, copy, nullable) NSString *displayName; +/** Defines a filter-type control Currently not supported by Recommendation */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ControlFilterAction *filterAction; /** - * Cloud SQL source import data from. + * Immutable. Fully qualified name `projects/ * /locations/global/dataStore/ * + * /controls/ *` */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CloudSqlSource : GTLRObject +@property(nonatomic, copy, nullable) NSString *name; + +/** Defines a redirect-type control. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ControlRedirectAction *redirectAction; /** - * Required. The Cloud SQL database to copy the data from with a length limit - * of 256 characters. + * Required. Immutable. What solution the control belongs to. Must be + * compatible with vertical of resource. Otherwise an INVALID ARGUMENT error is + * thrown. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control_SolutionType_SolutionTypeChat + * Used for use cases related to the Generative AI agent. (Value: + * "SOLUTION_TYPE_CHAT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control_SolutionType_SolutionTypeGenerativeChat + * Used for use cases related to the Generative Chat agent. It's used for + * Generative chat engine only, the associated data stores must enrolled + * with `SOLUTION_TYPE_CHAT` solution. (Value: + * "SOLUTION_TYPE_GENERATIVE_CHAT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control_SolutionType_SolutionTypeRecommendation + * Used for Recommendations AI. (Value: "SOLUTION_TYPE_RECOMMENDATION") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control_SolutionType_SolutionTypeSearch + * Used for Discovery Search. (Value: "SOLUTION_TYPE_SEARCH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control_SolutionType_SolutionTypeUnspecified + * Default value. (Value: "SOLUTION_TYPE_UNSPECIFIED") */ -@property(nonatomic, copy, nullable) NSString *databaseId; +@property(nonatomic, copy, nullable) NSString *solutionType; + +/** Treats a group of terms as synonyms of one another. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ControlSynonymsAction *synonymsAction; /** - * Intermediate Cloud Storage directory used for the import with a length limit - * of 2,000 characters. Can be specified if one wants to have the Cloud SQL - * export to a specific Cloud Storage directory. Ensure that the Cloud SQL - * service account has the necessary Cloud Storage Admin permissions to access - * the specified Cloud Storage directory. + * Specifies the use case for the control. Affects what condition fields can be + * set. Only applies to SOLUTION_TYPE_SEARCH. Currently only allow one use case + * per control. Must be set when solution_type is + * SolutionType.SOLUTION_TYPE_SEARCH. */ -@property(nonatomic, copy, nullable) NSString *gcsStagingDir; +@property(nonatomic, strong, nullable) NSArray *useCases; + +@end + /** - * Required. The Cloud SQL instance to copy the data from with a length limit - * of 256 characters. + * Adjusts order of products in returned list. */ -@property(nonatomic, copy, nullable) NSString *instanceId; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ControlBoostAction : GTLRObject /** - * Option for serverless export. Enabling this option will incur additional - * cost. More info can be found - * [here](https://cloud.google.com/sql/pricing#serverless). + * Required. Strength of the boost, which should be in [-1, 1]. Negative boost + * means demotion. Default is 0.0 (No-op). * - * Uses NSNumber of boolValue. + * Uses NSNumber of floatValue. */ -@property(nonatomic, strong, nullable) NSNumber *offload; +@property(nonatomic, strong, nullable) NSNumber *boost; /** - * The project ID that the Cloud SQL source is in with a length limit of 128 - * characters. If not specified, inherits the project ID from the parent - * request. + * Required. Specifies which data store's documents can be boosted by this + * control. Full data store name e.g. + * projects/123/locations/global/collections/default_collection/dataStores/default_data_store */ -@property(nonatomic, copy, nullable) NSString *projectId; +@property(nonatomic, copy, nullable) NSString *dataStore; /** - * Required. The Cloud SQL table to copy the data from with a length limit of - * 256 characters. + * Required. Specifies which products to apply the boost to. If no filter is + * provided all products will be boosted (No-op). Syntax documentation: + * https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 + * characters. Otherwise an INVALID ARGUMENT error is thrown. */ -@property(nonatomic, copy, nullable) NSString *tableId; +@property(nonatomic, copy, nullable) NSString *filter; @end /** - * Response message for CompletionService.CompleteQuery method. + * Specified which products may be included in results. Uses same filter as + * boost. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompleteQueryResponse : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ControlFilterAction : GTLRObject /** - * Results of the matched query suggestions. The result list is ordered and the - * first result is a top suggestion. + * Required. Specifies which data store's documents can be filtered by this + * control. Full data store name e.g. + * projects/123/locations/global/collections/default_collection/dataStores/default_data_store */ -@property(nonatomic, strong, nullable) NSArray *querySuggestions; +@property(nonatomic, copy, nullable) NSString *dataStore; /** - * True if the returned suggestions are all tail suggestions. For tail matching - * to be triggered, include_tail_suggestions in the request must be true and - * there must be no suggestions that match the full query. - * - * Uses NSNumber of boolValue. + * Required. A filter to apply on the matching condition results. Required + * Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order + * Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is + * thrown. */ -@property(nonatomic, strong, nullable) NSNumber *tailMatchTriggered; +@property(nonatomic, copy, nullable) NSString *filter; @end /** - * Suggestions as search queries. + * Redirects a shopper to the provided URI. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompleteQueryResponseQuerySuggestion : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ControlRedirectAction : GTLRObject /** - * The unique document field paths that serve as the source of this suggestion - * if it was generated from completable fields. This field is only populated - * for the document-completable model. + * Required. The URI to which the shopper will be redirected. Required. URI + * must have length equal or less than 2000 characters. Otherwise an INVALID + * ARGUMENT error is thrown. */ -@property(nonatomic, strong, nullable) NSArray *completableFieldPaths; - -/** The suggestion for the query. */ -@property(nonatomic, copy, nullable) NSString *suggestion; +@property(nonatomic, copy, nullable) NSString *redirectUri; @end /** - * Detailed completion information including completion attribution token and - * clicked completion info. + * Creates a set of terms that will act as synonyms of one another. Example: + * "happy" will also be considered as "glad", "glad" will also be considered as + * "happy". */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompletionInfo : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ControlSynonymsAction : GTLRObject /** - * End user selected CompleteQueryResponse.QuerySuggestion.suggestion position, - * starting from 0. - * - * Uses NSNumber of intValue. + * Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at + * least 2 synonyms. Otherwise an INVALID ARGUMENT error is thrown. */ -@property(nonatomic, strong, nullable) NSNumber *selectedPosition; - -/** End user selected CompleteQueryResponse.QuerySuggestion.suggestion. */ -@property(nonatomic, copy, nullable) NSString *selectedSuggestion; +@property(nonatomic, strong, nullable) NSArray *synonyms; @end @@ -7011,9 +9284,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * Quantity of the Document associated with the user event. Defaults to 1. For - * example, this field will be 2 if two quantities of the same Document are - * involved in a `add-to-cart` event. Required for events of the following - * event types: * `add-to-cart` * `purchase` + * example, this field is 2 if two quantities of the same Document are involved + * in a `add-to-cart` event. Required for events of the following event types: + * * `add-to-cart` * `purchase` * * Uses NSNumber of intValue. */ @@ -7198,7 +9471,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * The industry vertical that the engine registers. The restriction of the * Engine industry vertical is based on DataStore: If unspecified, default to - * `GENERIC`. Vertical on Engine has to match vertical of the DataStore liniked + * `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked * to the engine. * * Likely values: @@ -7344,8 +9617,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EngineCommonConfig : GTLRObject /** - * Immutable. The name of the company, business or entity that is associated - * with the engine. Setting this may help improve LLM related features. + * The name of the company, business or entity that is associated with the + * engine. Setting this may help improve LLM related features. */ @property(nonatomic, copy, nullable) NSString *companyName; @@ -7379,6 +9652,46 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * Fact Chunk. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1FactChunk : GTLRObject + +/** Text content of the fact chunk. Can be at most 10K characters long. */ +@property(nonatomic, copy, nullable) NSString *chunkText; + +/** + * The index of this chunk. Currently, only used for the streaming mode. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *index; + +/** + * Source from which this fact chunk was retrieved. If it was retrieved from + * the GroundingFacts provided in the request then this field will contain the + * index of the specific fact from which this chunk was retrieved. + */ +@property(nonatomic, copy, nullable) NSString *source; + +/** More fine-grained information for the source reference. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1FactChunk_SourceMetadata *sourceMetadata; + +@end + + +/** + * More fine-grained information for the source reference. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1FactChunk_SourceMetadata : GTLRObject +@end + + /** * Response message for SiteSearchEngineService.FetchDomainVerificationStatus * method. @@ -7443,8 +9756,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1FirestoreSource : GTLRObject /** - * Required. The Firestore collection to copy the data from with a length limit - * of 1,500 characters. + * Required. The Firestore collection (or entity) to copy the data from with a + * length limit of 1,500 characters. */ @property(nonatomic, copy, nullable) NSString *collectionId; @@ -7489,13 +9802,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * Data Store vertical. * `csv`: A CSV file with header conforming to the * defined Schema of the data store. Each entry after the header is imported as * a Document. This can only be used by the GENERIC Data Store vertical. - * Supported values for user even imports: * `user_event` (default): One JSON + * Supported values for user event imports: * `user_event` (default): One JSON * UserEvent per line. */ @property(nonatomic, copy, nullable) NSString *dataSchema; /** - * Required. Cloud Storage URIs to input files. URI can be up to 2000 + * Required. Cloud Storage URIs to input files. Each URI can be up to 2000 * characters long. URIs can match the full object path (for example, * `gs://bucket/directory/object.json`) or a pattern matching one or more * files, such as `gs://bucket/directory/ *.json`. A request can contain at @@ -7507,6 +9820,38 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * Grounding Fact. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundingFact : GTLRObject + +/** + * Attributes associated with the fact. Common attributes include `source` + * (indicating where the fact was sourced from), `author` (indicating the + * author of the fact), and so on. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundingFact_Attributes *attributes; + +/** Text content of the fact. Can be at most 10K characters long. */ +@property(nonatomic, copy, nullable) NSString *factText; + +@end + + +/** + * Attributes associated with the fact. Common attributes include `source` + * (indicating where the fact was sourced from), `author` (indicating the + * author of the fact), and so on. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundingFact_Attributes : GTLRObject +@end + + /** * Metadata related to the progress of the ImportDocuments operation. This is * returned by the google.longrunning.Operation.metadata field. @@ -7907,6 +10252,30 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * Response for ListControls method. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "controls" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListControlsResponse : GTLRCollectionObject + +/** + * All the Controls for a given data store. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *controls; + +/** Pagination token, if not returned indicates the last page. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * Response for ListConversations method. * @@ -8036,6 +10405,30 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * Response for ListSessions method. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "sessions" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListSessionsResponse : GTLRCollectionObject + +/** Pagination token, if not returned indicates the last page. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * All the Sessions for a given data store. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *sessions; + +@end + + /** * Response message for SiteSearchEngineService.ListTargetSites method. * @@ -8089,86 +10482,217 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * inclusive. If this is not a playback or the progress cannot be computed * (e.g. ongoing livestream), this field should be unset. * - * Uses NSNumber of floatValue. + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *mediaProgressPercentage; + +@end + + +/** + * Detailed page information. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1PageInfo : GTLRObject + +/** + * The most specific category associated with a category page. To represent + * full path of category, use '>' sign to separate different hierarchies. If + * '>' is part of the category name, replace it with other character(s). + * Category pages include special pages such as sales or promotions. For + * instance, a special sale page may have the category hierarchy: + * `"pageCategory" : "Sales > 2017 Black Friday Deals"`. Required for + * `view-category-page` events. Other event types should not set this field. + * Otherwise, an `INVALID_ARGUMENT` error is returned. + */ +@property(nonatomic, copy, nullable) NSString *pageCategory; + +/** + * A unique ID of a web page view. This should be kept the same for all user + * events triggered from the same pageview. For example, an item detail page + * view could trigger multiple events as the user is browsing the page. The + * `pageview_id` property should be kept the same for all these events so that + * they can be grouped together properly. When using the client side event + * reporting with JavaScript pixel and Google Tag Manager, this value is filled + * in automatically. + */ +@property(nonatomic, copy, nullable) NSString *pageviewId; + +/** + * The referrer URL of the current page. When using the client side event + * reporting with JavaScript pixel and Google Tag Manager, this value is filled + * in automatically. However, some browser privacy restrictions may cause this + * field to be empty. + */ +@property(nonatomic, copy, nullable) NSString *referrerUri; + +/** + * Complete URL (window.location.href) of the user's current page. When using + * the client side event reporting with JavaScript pixel and Google Tag + * Manager, this value is filled in automatically. Maximum length 5,000 + * characters. + */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + +/** + * Detailed panel information associated with a user event. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1PanelInfo : GTLRObject + +/** The display name of the panel. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Required. The panel ID. */ +@property(nonatomic, copy, nullable) NSString *panelId; + +/** + * The ordered position of the panel, if shown to the user with other panels. + * If set, then total_panels must also be set. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *panelPosition; + +/** + * The total number of panels, including this one, shown to the user. Must be + * set if panel_position is set. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *totalPanels; + +@end + + +/** + * Metadata and configurations for a Google Cloud project in the service. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Project : GTLRObject + +/** Output only. The timestamp when this project is created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. Full resource name of the project, for example + * `projects/{project_number}`. Note that when making requests, project number + * and project id are both acceptable, but the server will always respond in + * project number. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The timestamp when this project is successfully provisioned. + * Empty value means this project is still provisioning and is not ready for + * use. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *provisionCompletionTime; + +/** + * Output only. A map of terms of services. The key is the `id` of + * ServiceTerms. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Project_ServiceTermsMap *serviceTermsMap; + +@end + + +/** + * Output only. A map of terms of services. The key is the `id` of + * ServiceTerms. + * + * @note This class is documented as having more properties of + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms. + * Use @c -additionalJSONKeys and @c -additionalPropertyForName: to get + * the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. */ -@property(nonatomic, strong, nullable) NSNumber *mediaProgressPercentage; - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Project_ServiceTermsMap : GTLRObject @end /** - * Detailed page information. + * Metadata about the terms of service. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1PageInfo : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms : GTLRObject + +/** The last time when the project agreed to the terms of service. */ +@property(nonatomic, strong, nullable) GTLRDateTime *acceptTime; /** - * The most specific category associated with a category page. To represent - * full path of category, use '>' sign to separate different hierarchies. If - * '>' is part of the category name, replace it with other character(s). - * Category pages include special pages such as sales or promotions. For - * instance, a special sale page may have the category hierarchy: - * `"pageCategory" : "Sales > 2017 Black Friday Deals"`. Required for - * `view-category-page` events. Other event types should not set this field. - * Otherwise, an `INVALID_ARGUMENT` error is returned. + * The last time when the project declined or revoked the agreement to terms of + * service. */ -@property(nonatomic, copy, nullable) NSString *pageCategory; +@property(nonatomic, strong, nullable) GTLRDateTime *declineTime; /** - * A unique ID of a web page view. This should be kept the same for all user - * events triggered from the same pageview. For example, an item detail page - * view could trigger multiple events as the user is browsing the page. The - * `pageview_id` property should be kept the same for all these events so that - * they can be grouped together properly. When using the client side event - * reporting with JavaScript pixel and Google Tag Manager, this value is filled - * in automatically. + * The unique identifier of this terms of service. Available terms: * + * `GA_DATA_USE_TERMS`: [Terms for data + * use](https://cloud.google.com/retail/data-use-terms). When using this as + * `id`, the acceptable version to provide is `2022-11-23`. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ -@property(nonatomic, copy, nullable) NSString *pageviewId; +@property(nonatomic, copy, nullable) NSString *identifier; /** - * The referrer URL of the current page. When using the client side event - * reporting with JavaScript pixel and Google Tag Manager, this value is filled - * in automatically. However, some browser privacy restrictions may cause this - * field to be empty. + * Whether the project has accepted/rejected the service terms or it is still + * pending. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms_State_StateUnspecified + * The default value of the enum. This value is not actually used. + * (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms_State_TermsAccepted + * The project has given consent to the terms of service. (Value: + * "TERMS_ACCEPTED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms_State_TermsDeclined + * The project has declined or revoked the agreement to terms of service. + * (Value: "TERMS_DECLINED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms_State_TermsPending + * The project is pending to review and accept the terms of service. + * (Value: "TERMS_PENDING") */ -@property(nonatomic, copy, nullable) NSString *referrerUri; +@property(nonatomic, copy, nullable) NSString *state; /** - * Complete URL (window.location.href) of the user's current page. When using - * the client side event reporting with JavaScript pixel and Google Tag - * Manager, this value is filled in automatically. Maximum length 5,000 - * characters. + * The version string of the terms of service. For acceptable values, see the + * comments for id above. */ -@property(nonatomic, copy, nullable) NSString *uri; +@property(nonatomic, copy, nullable) NSString *version; @end /** - * Detailed panel information associated with a user event. + * Metadata associated with a project provision operation. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1PanelInfo : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProvisionProjectMetadata : GTLRObject +@end -/** The display name of the panel. */ -@property(nonatomic, copy, nullable) NSString *displayName; -/** Required. The panel ID. */ -@property(nonatomic, copy, nullable) NSString *panelId; +/** + * Request for ProjectService.ProvisionProject method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProvisionProjectRequest : GTLRObject /** - * The ordered position of the panel, if shown to the user with other panels. - * If set, then total_panels must also be set. + * Required. Set to `true` to specify that caller has read and would like to + * give consent to the [Terms for data + * use](https://cloud.google.com/retail/data-use-terms). * - * Uses NSNumber of intValue. + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *panelPosition; +@property(nonatomic, strong, nullable) NSNumber *acceptDataUseTerms; /** - * The total number of panels, including this one, shown to the user. Must be - * set if panel_position is set. - * - * Uses NSNumber of intValue. + * Required. The version of the [Terms for data + * use](https://cloud.google.com/retail/data-use-terms) that caller has read + * and would like to give consent to. Acceptable version is `2022-11-23`, and + * this may change over time. */ -@property(nonatomic, strong, nullable) NSNumber *totalPanels; +@property(nonatomic, copy, nullable) NSString *dataUseTermsVersion; @end @@ -8303,6 +10827,142 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * Defines a user inputed query. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Query : GTLRObject + +/** Unique Id for the query. */ +@property(nonatomic, copy, nullable) NSString *queryId; + +/** Plain text. */ +@property(nonatomic, copy, nullable) NSString *text; + +@end + + +/** + * Record message for RankService.Rank method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RankingRecord : GTLRObject + +/** + * The content of the record. Empty by default. At least one of title or + * content should be set otherwise an INVALID_ARGUMENT error is thrown. + */ +@property(nonatomic, copy, nullable) NSString *content; + +/** + * The unique ID to represent the record. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * The score of this record based on the given query and selected model. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +/** + * The title of the record. Empty by default. At least one of title or content + * should be set otherwise an INVALID_ARGUMENT error is thrown. + */ +@property(nonatomic, copy, nullable) NSString *title; + +@end + + +/** + * Request message for RankService.Rank method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RankRequest : GTLRObject + +/** + * If true, the response will contain only record ID and score. By default, it + * is false, the response will contain record details. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ignoreRecordDetailsInResponse; + +/** + * The identifier of the model to use. It is one of: * + * `semantic-ranker-512\@latest`: Semantic ranking model with maxiumn input + * token size 512. It is set to `semantic-ranker-512\@latest` by default if + * unspecified. + */ +@property(nonatomic, copy, nullable) NSString *model; + +/** The query to use. */ +@property(nonatomic, copy, nullable) NSString *query; + +/** Required. A list of records to rank. At most 200 records to rank. */ +@property(nonatomic, strong, nullable) NSArray *records; + +/** + * The number of results to return. If this is unset or no bigger than zero, + * returns all results. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *topN; + +/** + * The user labels applied to a resource must meet the following requirements: + * * Each resource can have multiple labels, up to a maximum of 64. * Each + * label must be a key-value pair. * Keys have a minimum length of 1 character + * and a maximum length of 63 characters and cannot be empty. Values can be + * empty and have a maximum length of 63 characters. * Keys and values can + * contain only lowercase letters, numeric characters, underscores, and dashes. + * All characters must use UTF-8 encoding, and international characters are + * allowed. * The key portion of a label must be unique. However, you can use + * the same key with multiple resources. * Keys must start with a lowercase + * letter or international character. See [Google Cloud + * Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) + * for more details. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RankRequest_UserLabels *userLabels; + +@end + + +/** + * The user labels applied to a resource must meet the following requirements: + * * Each resource can have multiple labels, up to a maximum of 64. * Each + * label must be a key-value pair. * Keys have a minimum length of 1 character + * and a maximum length of 63 characters and cannot be empty. Values can be + * empty and have a maximum length of 63 characters. * Keys and values can + * contain only lowercase letters, numeric characters, underscores, and dashes. + * All characters must use UTF-8 encoding, and international characters are + * allowed. * The key portion of a label must be unique. However, you can use + * the same key with multiple resources. * Keys must start with a lowercase + * letter or international character. See [Google Cloud + * Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) + * for more details. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RankRequest_UserLabels : GTLRObject +@end + + +/** + * Response message for RankService.Rank method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RankResponse : GTLRObject + +/** A list of records sorted by descending score. */ +@property(nonatomic, strong, nullable) NSArray *records; + +@end + + /** * Request message for Recommend method. */ @@ -8318,19 +10978,18 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * instead of the above described tag-based syntax. Examples: * (launguage: * ANY("en", "es")) AND NOT (categories: ANY("Movie")) * (available: true) AND * (launguage: ANY("en", "es")) OR (categories: ANY("Movie")) If your filter - * blocks all results, the API will return generic (unfiltered) popular - * Documents. If you only want results strictly matching the filters, set - * `strictFiltering` to True in RecommendRequest.params to receive empty - * results instead. Note that the API will never return Documents with - * `storageStatus` of `EXPIRED` or `DELETED` regardless of filter choices. + * blocks all results, the API returns generic (unfiltered) popular Documents. + * If you only want results strictly matching the filters, set + * `strictFiltering` to `true` in RecommendRequest.params to receive empty + * results instead. Note that the API never returns Documents with + * `storageStatus` as `EXPIRED` or `DELETED` regardless of filter choices. */ @property(nonatomic, copy, nullable) NSString *filter; /** * Maximum number of results to return. Set this property to the number of - * recommendation results needed. If zero, the service will choose a reasonable - * default. The maximum allowed value is 100. Values above 100 will be coerced - * to 100. + * recommendation results needed. If zero, the service chooses a reasonable + * default. The maximum allowed value is 100. Values above 100 are set to 100. * * Uses NSNumber of intValue. */ @@ -8338,21 +10997,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * Additional domain specific parameters for the recommendations. Allowed - * values: * `returnDocument`: Boolean. If set to true, the associated Document - * object will be returned in RecommendResponse.RecommendationResult.document. - * * `returnScore`: Boolean. If set to true, the recommendation 'score' - * corresponding to each returned Document will be set in - * RecommendResponse.RecommendationResult.metadata. The given 'score' indicates - * the probability of a Document conversion given the user's context and - * history. * `strictFiltering`: Boolean. True by default. If set to false, the - * service will return generic (unfiltered) popular Documents instead of empty - * if your filter blocks all recommendation results. * `diversityLevel`: - * String. Default empty. If set to be non-empty, then it needs to be one of: * - * `no-diversity` * `low-diversity` * `medium-diversity` * `high-diversity` * - * `auto-diversity` This gives request-level control and adjusts recommendation - * results based on Document category. * `attributeFilteringSyntax`: Boolean. - * False by default. If set to true, the `filter` field is interpreted - * according to the new, attribute-based syntax. + * values: * `returnDocument`: Boolean. If set to `true`, the associated + * Document object is returned in + * RecommendResponse.RecommendationResult.document. * `returnScore`: Boolean. + * If set to true, the recommendation score corresponding to each returned + * Document is set in RecommendResponse.RecommendationResult.metadata. The + * given score indicates the probability of a Document conversion given the + * user's context and history. * `strictFiltering`: Boolean. True by default. + * If set to `false`, the service returns generic (unfiltered) popular + * Documents instead of empty if your filter blocks all recommendation results. + * * `diversityLevel`: String. Default empty. If set to be non-empty, then it + * needs to be one of: * `no-diversity` * `low-diversity` * `medium-diversity` + * * `high-diversity` * `auto-diversity` This gives request-level control and + * adjusts recommendation results based on Document category. * + * `attributeFilteringSyntax`: Boolean. False by default. If set to true, the + * `filter` field is interpreted according to the new, attribute-based syntax. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RecommendRequest_Params *params; @@ -8386,8 +11045,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RecommendRequest_UserLabels *userLabels; /** - * Use validate only mode for this recommendation query. If set to true, a fake - * model will be used that returns arbitrary Document IDs. Note that the + * Use validate only mode for this recommendation query. If set to `true`, a + * fake model is used that returns arbitrary Document IDs. Note that the * validate only mode should only be used for testing the API, or if the model * is not ready. * @@ -8400,21 +11059,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * Additional domain specific parameters for the recommendations. Allowed - * values: * `returnDocument`: Boolean. If set to true, the associated Document - * object will be returned in RecommendResponse.RecommendationResult.document. - * * `returnScore`: Boolean. If set to true, the recommendation 'score' - * corresponding to each returned Document will be set in - * RecommendResponse.RecommendationResult.metadata. The given 'score' indicates - * the probability of a Document conversion given the user's context and - * history. * `strictFiltering`: Boolean. True by default. If set to false, the - * service will return generic (unfiltered) popular Documents instead of empty - * if your filter blocks all recommendation results. * `diversityLevel`: - * String. Default empty. If set to be non-empty, then it needs to be one of: * - * `no-diversity` * `low-diversity` * `medium-diversity` * `high-diversity` * - * `auto-diversity` This gives request-level control and adjusts recommendation - * results based on Document category. * `attributeFilteringSyntax`: Boolean. - * False by default. If set to true, the `filter` field is interpreted - * according to the new, attribute-based syntax. + * values: * `returnDocument`: Boolean. If set to `true`, the associated + * Document object is returned in + * RecommendResponse.RecommendationResult.document. * `returnScore`: Boolean. + * If set to true, the recommendation score corresponding to each returned + * Document is set in RecommendResponse.RecommendationResult.metadata. The + * given score indicates the probability of a Document conversion given the + * user's context and history. * `strictFiltering`: Boolean. True by default. + * If set to `false`, the service returns generic (unfiltered) popular + * Documents instead of empty if your filter blocks all recommendation results. + * * `diversityLevel`: String. Default empty. If set to be non-empty, then it + * needs to be one of: * `no-diversity` * `low-diversity` * `medium-diversity` + * * `high-diversity` * `auto-diversity` This gives request-level control and + * adjusts recommendation results based on Document category. * + * `attributeFilteringSyntax`: Boolean. False by default. If set to true, the + * `filter` field is interpreted according to the new, attribute-based syntax. * * @note This class is documented as having more properties of any valid JSON * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to @@ -8499,7 +11158,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @property(nonatomic, copy, nullable) NSString *identifier; /** - * Additional Document metadata / annotations. Possible values: * `score`: + * Additional Document metadata or annotations. Possible values: * `score`: * Recommendation score in double value. Is set if `returnScore` is set to true * in RecommendRequest.params. */ @@ -8509,7 +11168,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** - * Additional Document metadata / annotations. Possible values: * `score`: + * Additional Document metadata or annotations. Possible values: * `score`: * Recommendation score in double value. Is set if `returnScore` is set to true * in RecommendRequest.params. * @@ -8630,7 +11289,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * Boost specification to boost certain documents. For more information on * boosting, see - * [Boosting](https://cloud.google.com/retail/docs/boosting#boost) + * [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpec *boostSpec; @@ -8657,7 +11316,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** A specification for configuring the behavior of content search. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec *contentSearchSpec; -/** A list of data store specs to apply on a search call. */ +/** + * Specs defining dataStores to filter on in a search call and configurations + * for those dataStores. This is only considered for engines with multiple + * dataStores use case. For single dataStore within an engine, they should use + * the specs at the top level. + */ @property(nonatomic, strong, nullable) NSArray *dataStoreSpecs; /** @@ -8728,11 +11392,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * Additional search parameters. For public website search only, supported * values are: * `user_country_code`: string. Default empty. If set to * non-empty, results are restricted or boosted based on the location provided. - * Example: user_country_code: "au" For available codes see [Country + * For example, `user_country_code: "au"` For available codes see [Country * Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) * * `search_type`: double. Default empty. Enables non-webpage searching * depending on the value. The only valid non-default value is 1, which enables - * image searching. Example: search_type: 1 + * image searching. For example, `search_type: 1` */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_Params *params; @@ -8799,11 +11463,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * Additional search parameters. For public website search only, supported * values are: * `user_country_code`: string. Default empty. If set to * non-empty, results are restricted or boosted based on the location provided. - * Example: user_country_code: "au" For available codes see [Country + * For example, `user_country_code: "au"` For available codes see [Country * Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) * * `search_type`: double. Default empty. Enables non-webpage searching * depending on the value. The only valid non-default value is 1, which enables - * image searching. Example: search_type: 1 + * image searching. For example, `search_type: 1` * * @note This class is documented as having more properties of any valid JSON * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to @@ -9140,7 +11804,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** - * A struct to define data stores to filter on in a search call. + * A struct to define data stores to filter on in a search call and + * configurations for those data stores. A maximum of 1 DataStoreSpec per + * data_store is allowed. Otherwise, an `INVALID_ARGUMENT` error is returned. */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec : GTLRObject @@ -9206,9 +11872,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestFacetSpecFacetKey *facetKey; /** - * Maximum of facet values that should be returned for this facet. If - * unspecified, defaults to 20. The maximum allowed value is 300. Values above - * 300 are coerced to 300. If this field is negative, an `INVALID_ARGUMENT` is + * Maximum facet values that are returned for this facet. If unspecified, + * defaults to 20. The maximum allowed value is 300. Values above 300 are + * coerced to 300. If this field is negative, an `INVALID_ARGUMENT` is * returned. * * Uses NSNumber of intValue. @@ -9232,7 +11898,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @property(nonatomic, strong, nullable) NSNumber *caseInsensitive; /** - * Only get facet values that contains the given strings. For example, suppose + * Only get facet values that contain the given strings. For example, suppose * "category" has three values "Action > 2022", "Action > 2021" and "Sci-Fi > * 2022". If set "contains" to "2022", the "category" facet only contains * "Action > 2022" and "Sci-Fi > 2022". Only supported on textual fields. @@ -9338,8 +12004,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestSpellCorrectionSpec : GTLRObject /** - * The mode under which spell correction should take effect to replace the - * original search query. Default to Mode.AUTO. + * The mode under which spell correction replaces the original search query. + * Defaults to Mode.AUTO. * * Likely values: * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestSpellCorrectionSpec_Mode_Auto @@ -9349,9 +12015,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * Unspecified spell correction mode. In this case, server behavior * defaults to Mode.AUTO. (Value: "MODE_UNSPECIFIED") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestSpellCorrectionSpec_Mode_SuggestionOnly - * Search API will try to find a spell suggestion if there is any and put - * in the SearchResponse.corrected_query. The spell suggestion will not - * be used as the search query. (Value: "SUGGESTION_ONLY") + * Search API tries to find a spelling suggestion. If a suggestion is + * found, it is put in the SearchResponse.corrected_query. The spelling + * suggestion won't be used as the search query. (Value: + * "SUGGESTION_ONLY") */ @property(nonatomic, copy, nullable) NSString *mode; @@ -9430,7 +12097,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @property(nonatomic, strong, nullable) NSNumber *dynamicFacet; /** - * The key for this facet. E.g., "colors" or "price". It matches + * The key for this facet. For example, `"colors"` or `"price"`. It matches * SearchRequest.FacetSpec.FacetKey.key. */ @property(nonatomic, copy, nullable) NSString *key; @@ -9496,7 +12163,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * The document data snippet in the search response. Only fields that are - * marked as retrievable are populated. + * marked as `retrievable` are populated. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Document *document; @@ -9511,7 +12178,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** - * Summary of the top N search result specified by the summary spec. + * Summary of the top N search results specified by the summary spec. */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSummary : GTLRObject @@ -9666,6 +12333,62 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * External session proto definition. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session : GTLRObject + +/** Output only. The time the session finished. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** + * Immutable. Fully qualified name + * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/ + * *` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. The time the session started. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +/** + * The state of the session. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session_State_InProgress + * The session is currently open. (Value: "IN_PROGRESS") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session_State_StateUnspecified + * State is unspecified. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Turns. */ +@property(nonatomic, strong, nullable) NSArray *turns; + +/** A unique identifier for tracking users. */ +@property(nonatomic, copy, nullable) NSString *userPseudoId; + +@end + + +/** + * Represents a turn, including a query from the user and a answer from + * service. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SessionTurn : GTLRObject + +/** + * The resource name of the answer to the user query. Only set if the answer + * generation (/answer API call) happened in this turn. + */ +@property(nonatomic, copy, nullable) NSString *answer; + +/** The user query. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Query *query; + +@end + + /** * SiteSearchEngine captures DataStore level site search persisting * configurations. It is a singleton value per data store. @@ -9994,7 +12717,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * UserEvent captures all metadata information Discovery Engine API needs to - * know about how end users interact with customers' website. + * know about how end users interact with your website. */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserEvent : GTLRObject @@ -10044,6 +12767,16 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompletionInfo *completionInfo; +/** + * The DataStore resource full name, of the form + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. + * Optional. Only required for user events whose data store can't by determined + * by UserEvent.engine or UserEvent.documents. If data store is set in the + * parent of write/import/collect user event requests, this field can be + * omitted. + */ +@property(nonatomic, copy, nullable) NSString *dataStore; + /** * Should set to true if the request is made directly from the end user, in * which case the UserEvent.user_info.user_agent can be populated from the HTTP @@ -10068,6 +12801,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ @property(nonatomic, strong, nullable) NSArray *documents; +/** + * The Engine resource name, in the form of + * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. + * Optional. Only required for Engine produced user events. For example, user + * events from blended search. + */ +@property(nonatomic, copy, nullable) NSString *engine; + /** * Only required for UserEventService.ImportUserEvents method. Timestamp of * when the user event happened. @@ -10138,7 +12879,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * A list of identifiers for the independent experiment groups this user event * belongs to. This is used to distinguish between user events associated with - * different experiment setups on the customer end. + * different experiment setups. */ @property(nonatomic, strong, nullable) NSArray *tagIds; @@ -10225,6 +12966,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi @end +/** + * The request message for Operations.CancelOperation. + */ +@interface GTLRDiscoveryEngine_GoogleLongrunningCancelOperationRequest : GTLRObject +@end + + /** * The response message for Operations.ListOperations. * diff --git a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h index 8cb7545a7..9960c6301 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h @@ -115,14 +115,14 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreate : GTLRDiscoveryEngineQuery /** - * Required. The ID to use for the Document, which will become the final - * component of the Document.name. If the caller does not have permission to - * create the Document, regardless of whether or not it exists, a - * `PERMISSION_DENIED` error is returned. This field must be unique among all - * Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is - * returned. This field must conform to - * [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit - * of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. + * Required. The ID to use for the Document, which becomes the final component + * of the Document.name. If the caller does not have permission to create the + * Document, regardless of whether or not it exists, a `PERMISSION_DENIED` + * error is returned. This field must be unique among all Documents with the + * same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field + * must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard + * with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error + * is returned. */ @property(nonatomic, copy, nullable) NSString *documentId; @@ -224,7 +224,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Bulk import of multiple Documents. Request processing may be synchronous. - * Non-existing items will be created. Note: It is possible for a subset of the + * Non-existing items are created. Note: It is possible for a subset of the * Documents to be successfully updated. * * Method: discoveryengine.projects.locations.collections.dataStores.branches.documents.import @@ -245,7 +245,7 @@ NS_ASSUME_NONNULL_BEGIN * Fetches a @c GTLRDiscoveryEngine_GoogleLongrunningOperation. * * Bulk import of multiple Documents. Request processing may be synchronous. - * Non-existing items will be created. Note: It is possible for a subset of the + * Non-existing items are created. Note: It is possible for a subset of the * Documents to be successfully updated. * * @param object The @c @@ -274,8 +274,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Maximum number of Documents to return. If unspecified, defaults to 100. The - * maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If - * this field is negative, an `INVALID_ARGUMENT` error is returned. + * maximum allowed value is 1000. Values above 1000 are set to 1000. If this + * field is negative, an `INVALID_ARGUMENT` error is returned. */ @property(nonatomic, assign) NSInteger pageSize; @@ -332,7 +332,7 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatch : GTLRDiscoveryEngineQuery /** - * If set to true, and the Document is not found, a new Document will be + * If set to `true` and the Document is not found, a new Document is be * created. */ @property(nonatomic, assign) BOOL allowMissing; @@ -347,7 +347,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Indicates which fields in the provided imported 'document' to update. If not - * set, will by default update all fields. + * set, by default updates all fields. * * String format is a comma-separated list of fields. */ @@ -417,6 +417,52 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, the + * operation is not deleted; instead, it becomes an operation with an + * Operation.error value with a google.rpc.Status.code of 1, corresponding to + * `Code.CANCELLED`. + * + * Method: discoveryengine.projects.locations.collections.dataStores.branches.operations.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresBranchesOperationsCancel : GTLRDiscoveryEngineQuery + +/** The name of the operation resource to be cancelled. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleProtobufEmpty. + * + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, the + * operation is not deleted; instead, it becomes an operation with an + * Operation.error value with a google.rpc.Status.code of 1, corresponding to + * `Code.CANCELLED`. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleLongrunningCancelOperationRequest to include in + * the query. + * @param name The name of the operation resource to be cancelled. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresBranchesOperationsCancel + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleLongrunningCancelOperationRequest *)object + name:(NSString *)name; + +@end + /** * Gets the latest state of a long-running operation. Clients can use this * method to poll the operation result at intervals as recommended by the API @@ -562,6 +608,210 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Creates a Control. By default 1000 controls are allowed for a data store. A + * request can be submitted to adjust this limit. If the Control to create + * already exists, an ALREADY_EXISTS error is returned. + * + * Method: discoveryengine.projects.locations.collections.dataStores.controls.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresControlsCreate : GTLRDiscoveryEngineQuery + +/** + * Required. The ID to use for the Control, which will become the final + * component of the Control's resource name. This value must be within 1-63 + * characters. Valid characters are /a-z-_/. + */ +@property(nonatomic, copy, nullable) NSString *controlId; + +/** + * Required. Full resource name of parent data store. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control. + * + * Creates a Control. By default 1000 controls are allowed for a data store. A + * request can be submitted to adjust this limit. If the Control to create + * already exists, an ALREADY_EXISTS error is returned. + * + * @param object The @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control + * to include in the query. + * @param parent Required. Full resource name of parent data store. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresControlsCreate + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a Control. If the Control to delete does not exist, a NOT_FOUND + * error is returned. + * + * Method: discoveryengine.projects.locations.collections.dataStores.controls.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresControlsDelete : GTLRDiscoveryEngineQuery + +/** + * Required. The resource name of the Control to delete. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleProtobufEmpty. + * + * Deletes a Control. If the Control to delete does not exist, a NOT_FOUND + * error is returned. + * + * @param name Required. The resource name of the Control to delete. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresControlsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets a Control. + * + * Method: discoveryengine.projects.locations.collections.dataStores.controls.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresControlsGet : GTLRDiscoveryEngineQuery + +/** + * Required. The resource name of the Control to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control. + * + * Gets a Control. + * + * @param name Required. The resource name of the Control to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresControlsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists all Controls by their parent DataStore. + * + * Method: discoveryengine.projects.locations.collections.dataStores.controls.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresControlsList : GTLRDiscoveryEngineQuery + +/** + * Optional. A filter to apply on the list results. Supported features: * List + * all the products under the parent branch if filter is unset. Currently this + * field is unsupported. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. Maximum number of results to return. If unspecified, defaults to + * 50. Max allowed value is 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListControls` call. + * Provide this to retrieve the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The data store resource name. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListControlsResponse. + * + * Lists all Controls by their parent DataStore. + * + * @param parent Required. The data store resource name. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresControlsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates a Control. Control action type cannot be changed. If the Control to + * update does not exist, a NOT_FOUND error is returned. + * + * Method: discoveryengine.projects.locations.collections.dataStores.controls.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresControlsPatch : GTLRDiscoveryEngineQuery + +/** + * Immutable. Fully qualified name `projects/ * /locations/global/dataStore/ * + * /controls/ *` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Indicates which fields in the provided Control to update. The + * following are NOT supported: * Control.name * Control.solution_type If not + * set or empty, all supported fields are updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control. + * + * Updates a Control. Control action type cannot be changed. If the Control to + * update does not exist, a NOT_FOUND error is returned. + * + * @param object The @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control + * to include in the query. + * @param name Immutable. Fully qualified name `projects/ * + * /locations/global/dataStore/ * /controls/ *` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresControlsPatch + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control *)object + name:(NSString *)name; + +@end + /** * Converses a conversation. * @@ -990,8 +1240,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresList : GTLRDiscoveryEngineQuery /** - * Filter by solution type . For example: filter = - * 'solution_type:SOLUTION_TYPE_SEARCH' + * Filter by solution type . For example: `filter = + * 'solution_type:SOLUTION_TYPE_SEARCH'` */ @property(nonatomic, copy, nullable) NSString *filter; @@ -1248,8 +1498,8 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *parent; /** - * Required. The ID to use for the Schema, which will become the final - * component of the Schema.name. This field should conform to + * Required. The ID to use for the Schema, which becomes the final component of + * the Schema.name. This field should conform to * [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit * of 63 characters. */ @@ -1345,8 +1595,8 @@ NS_ASSUME_NONNULL_BEGIN /** * The maximum number of Schemas to return. The service may return fewer than - * this value. If unspecified, at most 100 Schemas will be returned. The - * maximum value is 1000; values above 1000 will be coerced to 1000. + * this value. If unspecified, at most 100 Schemas are returned. The maximum + * value is 1000; values above 1000 are set to 1000. */ @property(nonatomic, assign) NSInteger pageSize; @@ -1466,8 +1716,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSchemasPatch : GTLRDiscoveryEngineQuery /** - * If set to true, and the Schema is not found, a new Schema will be created. - * In this situation, `update_mask` is ignored. + * If set to true, and the Schema is not found, a new Schema is created. In + * this situation, `update_mask` is ignored. */ @property(nonatomic, assign) BOOL allowMissing; @@ -1499,6 +1749,50 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Answer query method. + * + * Method: discoveryengine.projects.locations.collections.dataStores.servingConfigs.answer + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresServingConfigsAnswer : GTLRDiscoveryEngineQuery + +/** + * Required. The resource name of the Search serving config, such as `projects/ + * * /locations/global/collections/default_collection/engines/ * + * /servingConfigs/default_serving_config`, or `projects/ * + * /locations/global/collections/default_collection/dataStores/ * + * /servingConfigs/default_serving_config`. This field is used to identify the + * serving configuration name, set of models used to make the search. + */ +@property(nonatomic, copy, nullable) NSString *servingConfig; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryResponse. + * + * Answer query method. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest to + * include in the query. + * @param servingConfig Required. The resource name of the Search serving + * config, such as `projects/ * + * /locations/global/collections/default_collection/engines/ * + * /servingConfigs/default_serving_config`, or `projects/ * + * /locations/global/collections/default_collection/dataStores/ * + * /servingConfigs/default_serving_config`. This field is used to identify + * the serving configuration name, set of models used to make the search. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresServingConfigsAnswer + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest *)object + servingConfig:(NSString *)servingConfig; + +@end + /** * Makes a recommendation, which requires a contextual user event. * @@ -1514,7 +1808,7 @@ NS_ASSUME_NONNULL_BEGIN * /locations/global/collections/ * /engines/ * /servingConfigs/ *`, or * `projects/ * /locations/global/collections/ * /dataStores/ * * /servingConfigs/ *` One default serving config is created along with your - * recommendation engine creation. The engine ID will be used as the ID of the + * recommendation engine creation. The engine ID is used as the ID of the * default serving config. For example, for Engine `projects/ * * /locations/global/collections/ * /engines/my-engine`, you can use `projects/ * * /locations/global/collections/ * @@ -1536,8 +1830,8 @@ NS_ASSUME_NONNULL_BEGIN * `projects/ * /locations/global/collections/ * /engines/ * /servingConfigs/ * *`, or `projects/ * /locations/global/collections/ * /dataStores/ * * /servingConfigs/ *` One default serving config is created along with your - * recommendation engine creation. The engine ID will be used as the ID of - * the default serving config. For example, for Engine `projects/ * + * recommendation engine creation. The engine ID is used as the ID of the + * default serving config. For example, for Engine `projects/ * * /locations/global/collections/ * /engines/my-engine`, you can use * `projects/ * /locations/global/collections/ * * /engines/my-engine/servingConfigs/my-engine` for your @@ -1594,115 +1888,348 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Verify target sites' ownership and validity. This API sends all the target - * sites under site search engine for verification. + * Gets a Answer. * - * Method: discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.batchVerifyTargetSites + * Method: discoveryengine.projects.locations.collections.dataStores.sessions.answers.get * * Authorization scope(s): * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform */ -@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSiteSearchEngineBatchVerifyTargetSites : GTLRDiscoveryEngineQuery +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsAnswersGet : GTLRDiscoveryEngineQuery /** - * Required. The parent resource shared by all TargetSites being verified. - * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. + * Required. The resource name of the Answer to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` */ -@property(nonatomic, copy, nullable) NSString *parent; +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRDiscoveryEngine_GoogleLongrunningOperation. + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer. * - * Verify target sites' ownership and validity. This API sends all the target - * sites under site search engine for verification. + * Gets a Answer. * - * @param object The @c - * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest - * to include in the query. - * @param parent Required. The parent resource shared by all TargetSites being - * verified. - * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. + * @param name Required. The resource name of the Answer to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` * - * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSiteSearchEngineBatchVerifyTargetSites + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsAnswersGet */ -+ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest *)object - parent:(NSString *)parent; ++ (instancetype)queryWithName:(NSString *)name; @end /** - * Downgrade from advanced site search to basic site search. + * Creates a Session. If the Session to create already exists, an + * ALREADY_EXISTS error is returned. * - * Method: discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.disableAdvancedSiteSearch + * Method: discoveryengine.projects.locations.collections.dataStores.sessions.create * * Authorization scope(s): * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform */ -@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSiteSearchEngineDisableAdvancedSiteSearch : GTLRDiscoveryEngineQuery +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsCreate : GTLRDiscoveryEngineQuery /** - * Required. Full resource name of the SiteSearchEngine, such as - * `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine`. + * Required. Full resource name of parent data store. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */ -@property(nonatomic, copy, nullable) NSString *siteSearchEngine; +@property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRDiscoveryEngine_GoogleLongrunningOperation. + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session. * - * Downgrade from advanced site search to basic site search. + * Creates a Session. If the Session to create already exists, an + * ALREADY_EXISTS error is returned. * - * @param object The @c - * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchRequest + * @param object The @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session * to include in the query. - * @param siteSearchEngine Required. Full resource name of the - * SiteSearchEngine, such as - * `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine`. + * @param parent Required. Full resource name of parent data store. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` * - * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSiteSearchEngineDisableAdvancedSiteSearch + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsCreate */ -+ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchRequest *)object - siteSearchEngine:(NSString *)siteSearchEngine; ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session *)object + parent:(NSString *)parent; @end /** - * Upgrade from basic site search to advanced site search. + * Deletes a Session. If the Session to delete does not exist, a NOT_FOUND + * error is returned. * - * Method: discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.enableAdvancedSiteSearch + * Method: discoveryengine.projects.locations.collections.dataStores.sessions.delete * * Authorization scope(s): * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform */ -@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSiteSearchEngineEnableAdvancedSiteSearch : GTLRDiscoveryEngineQuery +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsDelete : GTLRDiscoveryEngineQuery /** - * Required. Full resource name of the SiteSearchEngine, such as - * `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine`. + * Required. The resource name of the Session to delete. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */ -@property(nonatomic, copy, nullable) NSString *siteSearchEngine; +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRDiscoveryEngine_GoogleLongrunningOperation. + * Fetches a @c GTLRDiscoveryEngine_GoogleProtobufEmpty. * - * Upgrade from basic site search to advanced site search. + * Deletes a Session. If the Session to delete does not exist, a NOT_FOUND + * error is returned. * - * @param object The @c - * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchRequest - * to include in the query. - * @param siteSearchEngine Required. Full resource name of the - * SiteSearchEngine, such as - * `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine`. + * @param name Required. The resource name of the Session to delete. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` * - * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSiteSearchEngineEnableAdvancedSiteSearch + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsDelete */ -+ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchRequest *)object - siteSearchEngine:(NSString *)siteSearchEngine; ++ (instancetype)queryWithName:(NSString *)name; @end /** - * Returns list of target sites with its domain verification status. This - * method can only be called under data store with BASIC_SITE_SEARCH state at + * Gets a Session. + * + * Method: discoveryengine.projects.locations.collections.dataStores.sessions.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsGet : GTLRDiscoveryEngineQuery + +/** + * Required. The resource name of the Session to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session. + * + * Gets a Session. + * + * @param name Required. The resource name of the Session to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists all Sessions by their parent DataStore. + * + * Method: discoveryengine.projects.locations.collections.dataStores.sessions.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsList : GTLRDiscoveryEngineQuery + +/** + * A filter to apply on the list results. The supported features are: + * user_pseudo_id, state. Example: "user_pseudo_id = some_id" + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * A comma-separated list of fields to order by, sorted in ascending order. Use + * "desc" after a field name for descending. Supported fields: * `update_time` + * * `create_time` * `session_name` Example: "update_time desc" "create_time" + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Maximum number of results to return. If unspecified, defaults to 50. Max + * allowed value is 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous `ListSessions` call. Provide this to + * retrieve the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The data store resource name. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListSessionsResponse. + * + * Lists all Sessions by their parent DataStore. + * + * @param parent Required. The data store resource name. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates a Session. Session action type cannot be changed. If the Session to + * update does not exist, a NOT_FOUND error is returned. + * + * Method: discoveryengine.projects.locations.collections.dataStores.sessions.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsPatch : GTLRDiscoveryEngineQuery + +/** + * Immutable. Fully qualified name + * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/ + * *` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Indicates which fields in the provided Session to update. The following are + * NOT supported: * Session.name If not set or empty, all supported fields are + * updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session. + * + * Updates a Session. Session action type cannot be changed. If the Session to + * update does not exist, a NOT_FOUND error is returned. + * + * @param object The @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session + * to include in the query. + * @param name Immutable. Fully qualified name + * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/ + * *` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsPatch + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session *)object + name:(NSString *)name; + +@end + +/** + * Verify target sites' ownership and validity. This API sends all the target + * sites under site search engine for verification. + * + * Method: discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.batchVerifyTargetSites + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSiteSearchEngineBatchVerifyTargetSites : GTLRDiscoveryEngineQuery + +/** + * Required. The parent resource shared by all TargetSites being verified. + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleLongrunningOperation. + * + * Verify target sites' ownership and validity. This API sends all the target + * sites under site search engine for verification. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest + * to include in the query. + * @param parent Required. The parent resource shared by all TargetSites being + * verified. + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSiteSearchEngineBatchVerifyTargetSites + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Downgrade from advanced site search to basic site search. + * + * Method: discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.disableAdvancedSiteSearch + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSiteSearchEngineDisableAdvancedSiteSearch : GTLRDiscoveryEngineQuery + +/** + * Required. Full resource name of the SiteSearchEngine, such as + * `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine`. + */ +@property(nonatomic, copy, nullable) NSString *siteSearchEngine; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleLongrunningOperation. + * + * Downgrade from advanced site search to basic site search. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchRequest + * to include in the query. + * @param siteSearchEngine Required. Full resource name of the + * SiteSearchEngine, such as + * `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine`. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSiteSearchEngineDisableAdvancedSiteSearch + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchRequest *)object + siteSearchEngine:(NSString *)siteSearchEngine; + +@end + +/** + * Upgrade from basic site search to advanced site search. + * + * Method: discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.enableAdvancedSiteSearch + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSiteSearchEngineEnableAdvancedSiteSearch : GTLRDiscoveryEngineQuery + +/** + * Required. Full resource name of the SiteSearchEngine, such as + * `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine`. + */ +@property(nonatomic, copy, nullable) NSString *siteSearchEngine; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleLongrunningOperation. + * + * Upgrade from basic site search to advanced site search. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchRequest + * to include in the query. + * @param siteSearchEngine Required. Full resource name of the + * SiteSearchEngine, such as + * `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSearchEngine`. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSiteSearchEngineEnableAdvancedSiteSearch + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchRequest *)object + siteSearchEngine:(NSString *)siteSearchEngine; + +@end + +/** + * Returns list of target sites with its domain verification status. This + * method can only be called under data store with BASIC_SITE_SEARCH state at * the moment. * * Method: discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.fetchDomainVerificationStatus @@ -2304,7 +2831,7 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Bulk import of User events. Request processing might be synchronous. Events + * Bulk import of user events. Request processing might be synchronous. Events * that already exist are skipped. Use this method for backfilling historical * user events. Operation.response is of type ImportResponse. Note that it is * possible for a subset of the items to be successfully inserted. @@ -2326,7 +2853,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRDiscoveryEngine_GoogleLongrunningOperation. * - * Bulk import of User events. Request processing might be synchronous. Events + * Bulk import of user events. Request processing might be synchronous. Events * that already exist are skipped. Use this method for backfilling historical * user events. Operation.response is of type ImportResponse. Note that it is * possible for a subset of the items to be successfully inserted. @@ -2365,6 +2892,12 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *parent; +/** + * If set to true, the user event is written asynchronously after validation, + * and the API responds without waiting for the write. + */ +@property(nonatomic, assign) BOOL writeAsync; + /** * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserEvent. * @@ -2388,70 +2921,274 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Converses a conversation. + * Creates a Control. By default 1000 controls are allowed for a data store. A + * request can be submitted to adjust this limit. If the Control to create + * already exists, an ALREADY_EXISTS error is returned. * - * Method: discoveryengine.projects.locations.collections.engines.conversations.converse + * Method: discoveryengine.projects.locations.collections.engines.controls.create * * Authorization scope(s): * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform */ -@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsConverse : GTLRDiscoveryEngineQuery +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsCreate : GTLRDiscoveryEngineQuery /** - * Required. The resource name of the Conversation to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. - * Use - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` - * to activate auto session mode, which automatically creates a new - * conversation inside a ConverseConversation session. + * Required. The ID to use for the Control, which will become the final + * component of the Control's resource name. This value must be within 1-63 + * characters. Valid characters are /a-z-_/. */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *controlId; /** - * Fetches a @c - * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConverseConversationResponse. + * Required. Full resource name of parent data store. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control. * - * Converses a conversation. + * Creates a Control. By default 1000 controls are allowed for a data store. A + * request can be submitted to adjust this limit. If the Control to create + * already exists, an ALREADY_EXISTS error is returned. * - * @param object The @c - * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConverseConversationRequest + * @param object The @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control * to include in the query. - * @param name Required. The resource name of the Conversation to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. - * Use - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` - * to activate auto session mode, which automatically creates a new - * conversation inside a ConverseConversation session. + * @param parent Required. Full resource name of parent data store. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` * - * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsConverse + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsCreate */ -+ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConverseConversationRequest *)object - name:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control *)object + parent:(NSString *)parent; @end /** - * Creates a Conversation. If the Conversation to create already exists, an - * ALREADY_EXISTS error is returned. + * Deletes a Control. If the Control to delete does not exist, a NOT_FOUND + * error is returned. * - * Method: discoveryengine.projects.locations.collections.engines.conversations.create + * Method: discoveryengine.projects.locations.collections.engines.controls.delete * * Authorization scope(s): * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform */ -@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsCreate : GTLRDiscoveryEngineQuery +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsDelete : GTLRDiscoveryEngineQuery /** - * Required. Full resource name of parent data store. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * Required. The resource name of the Control to delete. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */ -@property(nonatomic, copy, nullable) NSString *parent; +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Conversation. + * Fetches a @c GTLRDiscoveryEngine_GoogleProtobufEmpty. * - * Creates a Conversation. If the Conversation to create already exists, an - * ALREADY_EXISTS error is returned. + * Deletes a Control. If the Control to delete does not exist, a NOT_FOUND + * error is returned. + * + * @param name Required. The resource name of the Control to delete. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets a Control. + * + * Method: discoveryengine.projects.locations.collections.engines.controls.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsGet : GTLRDiscoveryEngineQuery + +/** + * Required. The resource name of the Control to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control. + * + * Gets a Control. + * + * @param name Required. The resource name of the Control to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists all Controls by their parent DataStore. + * + * Method: discoveryengine.projects.locations.collections.engines.controls.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsList : GTLRDiscoveryEngineQuery + +/** + * Optional. A filter to apply on the list results. Supported features: * List + * all the products under the parent branch if filter is unset. Currently this + * field is unsupported. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. Maximum number of results to return. If unspecified, defaults to + * 50. Max allowed value is 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListControls` call. + * Provide this to retrieve the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The data store resource name. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListControlsResponse. + * + * Lists all Controls by their parent DataStore. + * + * @param parent Required. The data store resource name. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates a Control. Control action type cannot be changed. If the Control to + * update does not exist, a NOT_FOUND error is returned. + * + * Method: discoveryengine.projects.locations.collections.engines.controls.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsPatch : GTLRDiscoveryEngineQuery + +/** + * Immutable. Fully qualified name `projects/ * /locations/global/dataStore/ * + * /controls/ *` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Indicates which fields in the provided Control to update. The + * following are NOT supported: * Control.name * Control.solution_type If not + * set or empty, all supported fields are updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control. + * + * Updates a Control. Control action type cannot be changed. If the Control to + * update does not exist, a NOT_FOUND error is returned. + * + * @param object The @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control + * to include in the query. + * @param name Immutable. Fully qualified name `projects/ * + * /locations/global/dataStore/ * /controls/ *` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsPatch + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control *)object + name:(NSString *)name; + +@end + +/** + * Converses a conversation. + * + * Method: discoveryengine.projects.locations.collections.engines.conversations.converse + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsConverse : GTLRDiscoveryEngineQuery + +/** + * Required. The resource name of the Conversation to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. + * Use + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` + * to activate auto session mode, which automatically creates a new + * conversation inside a ConverseConversation session. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConverseConversationResponse. + * + * Converses a conversation. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConverseConversationRequest + * to include in the query. + * @param name Required. The resource name of the Conversation to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. + * Use + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` + * to activate auto session mode, which automatically creates a new + * conversation inside a ConverseConversation session. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsConverse + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConverseConversationRequest *)object + name:(NSString *)name; + +@end + +/** + * Creates a Conversation. If the Conversation to create already exists, an + * ALREADY_EXISTS error is returned. + * + * Method: discoveryengine.projects.locations.collections.engines.conversations.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesConversationsCreate : GTLRDiscoveryEngineQuery + +/** + * Required. Full resource name of parent data store. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Conversation. + * + * Creates a Conversation. If the Conversation to create already exists, an + * ALREADY_EXISTS error is returned. * * @param object The @c * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Conversation to include in @@ -2914,6 +3651,50 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Answer query method. + * + * Method: discoveryengine.projects.locations.collections.engines.servingConfigs.answer + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesServingConfigsAnswer : GTLRDiscoveryEngineQuery + +/** + * Required. The resource name of the Search serving config, such as `projects/ + * * /locations/global/collections/default_collection/engines/ * + * /servingConfigs/default_serving_config`, or `projects/ * + * /locations/global/collections/default_collection/dataStores/ * + * /servingConfigs/default_serving_config`. This field is used to identify the + * serving configuration name, set of models used to make the search. + */ +@property(nonatomic, copy, nullable) NSString *servingConfig; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryResponse. + * + * Answer query method. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest to + * include in the query. + * @param servingConfig Required. The resource name of the Search serving + * config, such as `projects/ * + * /locations/global/collections/default_collection/engines/ * + * /servingConfigs/default_serving_config`, or `projects/ * + * /locations/global/collections/default_collection/dataStores/ * + * /servingConfigs/default_serving_config`. This field is used to identify + * the serving configuration name, set of models used to make the search. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesServingConfigsAnswer + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest *)object + servingConfig:(NSString *)servingConfig; + +@end + /** * Makes a recommendation, which requires a contextual user event. * @@ -2929,7 +3710,7 @@ NS_ASSUME_NONNULL_BEGIN * /locations/global/collections/ * /engines/ * /servingConfigs/ *`, or * `projects/ * /locations/global/collections/ * /dataStores/ * * /servingConfigs/ *` One default serving config is created along with your - * recommendation engine creation. The engine ID will be used as the ID of the + * recommendation engine creation. The engine ID is used as the ID of the * default serving config. For example, for Engine `projects/ * * /locations/global/collections/ * /engines/my-engine`, you can use `projects/ * * /locations/global/collections/ * @@ -2951,8 +3732,8 @@ NS_ASSUME_NONNULL_BEGIN * `projects/ * /locations/global/collections/ * /engines/ * /servingConfigs/ * *`, or `projects/ * /locations/global/collections/ * /dataStores/ * * /servingConfigs/ *` One default serving config is created along with your - * recommendation engine creation. The engine ID will be used as the ID of - * the default serving config. For example, for Engine `projects/ * + * recommendation engine creation. The engine ID is used as the ID of the + * default serving config. For example, for Engine `projects/ * * /locations/global/collections/ * /engines/my-engine`, you can use * `projects/ * /locations/global/collections/ * * /engines/my-engine/servingConfigs/my-engine` for your @@ -3009,108 +3790,341 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Gets the latest state of a long-running operation. Clients can use this - * method to poll the operation result at intervals as recommended by the API - * service. + * Gets a Answer. * - * Method: discoveryengine.projects.locations.collections.operations.get + * Method: discoveryengine.projects.locations.collections.engines.sessions.answers.get * * Authorization scope(s): * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform */ -@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsOperationsGet : GTLRDiscoveryEngineQuery +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsAnswersGet : GTLRDiscoveryEngineQuery -/** The name of the operation resource. */ +/** + * Required. The resource name of the Answer to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` + */ @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRDiscoveryEngine_GoogleLongrunningOperation. + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer. * - * Gets the latest state of a long-running operation. Clients can use this - * method to poll the operation result at intervals as recommended by the API - * service. + * Gets a Answer. * - * @param name The name of the operation resource. + * @param name Required. The resource name of the Answer to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` * - * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsOperationsGet + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsAnswersGet */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Lists operations that match the specified filter in the request. If the - * server doesn't support this method, it returns `UNIMPLEMENTED`. + * Creates a Session. If the Session to create already exists, an + * ALREADY_EXISTS error is returned. * - * Method: discoveryengine.projects.locations.collections.operations.list + * Method: discoveryengine.projects.locations.collections.engines.sessions.create * * Authorization scope(s): * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform */ -@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsOperationsList : GTLRDiscoveryEngineQuery +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsCreate : GTLRDiscoveryEngineQuery -/** The standard list filter. */ -@property(nonatomic, copy, nullable) NSString *filter; - -/** The name of the operation's parent resource. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** The standard list page size. */ -@property(nonatomic, assign) NSInteger pageSize; - -/** The standard list page token. */ -@property(nonatomic, copy, nullable) NSString *pageToken; +/** + * Required. Full resource name of parent data store. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRDiscoveryEngine_GoogleLongrunningListOperationsResponse. - * - * Lists operations that match the specified filter in the request. If the - * server doesn't support this method, it returns `UNIMPLEMENTED`. + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session. * - * @param name The name of the operation's parent resource. + * Creates a Session. If the Session to create already exists, an + * ALREADY_EXISTS error is returned. * - * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsOperationsList + * @param object The @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session + * to include in the query. + * @param parent Required. Full resource name of parent data store. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsCreate */ -+ (instancetype)queryWithName:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session *)object + parent:(NSString *)parent; @end /** - * Creates a Document. + * Deletes a Session. If the Session to delete does not exist, a NOT_FOUND + * error is returned. * - * Method: discoveryengine.projects.locations.dataStores.branches.documents.create + * Method: discoveryengine.projects.locations.collections.engines.sessions.delete * * Authorization scope(s): * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform */ -@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresBranchesDocumentsCreate : GTLRDiscoveryEngineQuery - -/** - * Required. The ID to use for the Document, which will become the final - * component of the Document.name. If the caller does not have permission to - * create the Document, regardless of whether or not it exists, a - * `PERMISSION_DENIED` error is returned. This field must be unique among all - * Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is - * returned. This field must conform to - * [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit - * of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. - */ -@property(nonatomic, copy, nullable) NSString *documentId; +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsDelete : GTLRDiscoveryEngineQuery /** - * Required. The parent resource name, such as - * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. + * Required. The resource name of the Session to delete. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */ -@property(nonatomic, copy, nullable) NSString *parent; +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Document. + * Fetches a @c GTLRDiscoveryEngine_GoogleProtobufEmpty. * - * Creates a Document. + * Deletes a Session. If the Session to delete does not exist, a NOT_FOUND + * error is returned. + * + * @param name Required. The resource name of the Session to delete. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets a Session. + * + * Method: discoveryengine.projects.locations.collections.engines.sessions.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsGet : GTLRDiscoveryEngineQuery + +/** + * Required. The resource name of the Session to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session. + * + * Gets a Session. + * + * @param name Required. The resource name of the Session to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists all Sessions by their parent DataStore. + * + * Method: discoveryengine.projects.locations.collections.engines.sessions.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsList : GTLRDiscoveryEngineQuery + +/** + * A filter to apply on the list results. The supported features are: + * user_pseudo_id, state. Example: "user_pseudo_id = some_id" + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * A comma-separated list of fields to order by, sorted in ascending order. Use + * "desc" after a field name for descending. Supported fields: * `update_time` + * * `create_time` * `session_name` Example: "update_time desc" "create_time" + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Maximum number of results to return. If unspecified, defaults to 50. Max + * allowed value is 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous `ListSessions` call. Provide this to + * retrieve the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The data store resource name. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListSessionsResponse. + * + * Lists all Sessions by their parent DataStore. + * + * @param parent Required. The data store resource name. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates a Session. Session action type cannot be changed. If the Session to + * update does not exist, a NOT_FOUND error is returned. + * + * Method: discoveryengine.projects.locations.collections.engines.sessions.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsPatch : GTLRDiscoveryEngineQuery + +/** + * Immutable. Fully qualified name + * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/ + * *` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Indicates which fields in the provided Session to update. The following are + * NOT supported: * Session.name If not set or empty, all supported fields are + * updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session. + * + * Updates a Session. Session action type cannot be changed. If the Session to + * update does not exist, a NOT_FOUND error is returned. + * + * @param object The @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session + * to include in the query. + * @param name Immutable. Fully qualified name + * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/ + * *` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsPatch + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session *)object + name:(NSString *)name; + +@end + +/** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + * + * Method: discoveryengine.projects.locations.collections.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsOperationsGet : GTLRDiscoveryEngineQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleLongrunningOperation. + * + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + * + * @param name The name of the operation resource. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsOperationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * Method: discoveryengine.projects.locations.collections.operations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsOperationsList : GTLRDiscoveryEngineQuery + +/** The standard list filter. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** The name of the operation's parent resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The standard list page size. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** The standard list page token. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleLongrunningListOperationsResponse. + * + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * @param name The name of the operation's parent resource. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsOperationsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Creates a Document. + * + * Method: discoveryengine.projects.locations.dataStores.branches.documents.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresBranchesDocumentsCreate : GTLRDiscoveryEngineQuery + +/** + * Required. The ID to use for the Document, which becomes the final component + * of the Document.name. If the caller does not have permission to create the + * Document, regardless of whether or not it exists, a `PERMISSION_DENIED` + * error is returned. This field must be unique among all Documents with the + * same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field + * must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard + * with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error + * is returned. + */ +@property(nonatomic, copy, nullable) NSString *documentId; + +/** + * Required. The parent resource name, such as + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Document. + * + * Creates a Document. * * @param object The @c * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Document to include in the @@ -3199,7 +4213,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Bulk import of multiple Documents. Request processing may be synchronous. - * Non-existing items will be created. Note: It is possible for a subset of the + * Non-existing items are created. Note: It is possible for a subset of the * Documents to be successfully updated. * * Method: discoveryengine.projects.locations.dataStores.branches.documents.import @@ -3220,7 +4234,7 @@ NS_ASSUME_NONNULL_BEGIN * Fetches a @c GTLRDiscoveryEngine_GoogleLongrunningOperation. * * Bulk import of multiple Documents. Request processing may be synchronous. - * Non-existing items will be created. Note: It is possible for a subset of the + * Non-existing items are created. Note: It is possible for a subset of the * Documents to be successfully updated. * * @param object The @c @@ -3249,8 +4263,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Maximum number of Documents to return. If unspecified, defaults to 100. The - * maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If - * this field is negative, an `INVALID_ARGUMENT` error is returned. + * maximum allowed value is 1000. Values above 1000 are set to 1000. If this + * field is negative, an `INVALID_ARGUMENT` error is returned. */ @property(nonatomic, assign) NSInteger pageSize; @@ -3307,7 +4321,7 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresBranchesDocumentsPatch : GTLRDiscoveryEngineQuery /** - * If set to true, and the Document is not found, a new Document will be + * If set to `true` and the Document is not found, a new Document is be * created. */ @property(nonatomic, assign) BOOL allowMissing; @@ -3322,7 +4336,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Indicates which fields in the provided imported 'document' to update. If not - * set, will by default update all fields. + * set, by default updates all fields. * * String format is a comma-separated list of fields. */ @@ -3392,6 +4406,52 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, the + * operation is not deleted; instead, it becomes an operation with an + * Operation.error value with a google.rpc.Status.code of 1, corresponding to + * `Code.CANCELLED`. + * + * Method: discoveryengine.projects.locations.dataStores.branches.operations.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresBranchesOperationsCancel : GTLRDiscoveryEngineQuery + +/** The name of the operation resource to be cancelled. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleProtobufEmpty. + * + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, the + * operation is not deleted; instead, it becomes an operation with an + * Operation.error value with a google.rpc.Status.code of 1, corresponding to + * `Code.CANCELLED`. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleLongrunningCancelOperationRequest to include in + * the query. + * @param name The name of the operation resource to be cancelled. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresBranchesOperationsCancel + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleLongrunningCancelOperationRequest *)object + name:(NSString *)name; + +@end + /** * Gets the latest state of a long-running operation. Clients can use this * method to poll the operation result at intervals as recommended by the API @@ -3538,51 +4598,255 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Converses a conversation. + * Creates a Control. By default 1000 controls are allowed for a data store. A + * request can be submitted to adjust this limit. If the Control to create + * already exists, an ALREADY_EXISTS error is returned. * - * Method: discoveryengine.projects.locations.dataStores.conversations.converse + * Method: discoveryengine.projects.locations.dataStores.controls.create * * Authorization scope(s): * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform */ -@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresConversationsConverse : GTLRDiscoveryEngineQuery +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresControlsCreate : GTLRDiscoveryEngineQuery /** - * Required. The resource name of the Conversation to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. - * Use - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` - * to activate auto session mode, which automatically creates a new - * conversation inside a ConverseConversation session. + * Required. The ID to use for the Control, which will become the final + * component of the Control's resource name. This value must be within 1-63 + * characters. Valid characters are /a-z-_/. */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *controlId; /** - * Fetches a @c - * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConverseConversationResponse. + * Required. Full resource name of parent data store. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control. * - * Converses a conversation. + * Creates a Control. By default 1000 controls are allowed for a data store. A + * request can be submitted to adjust this limit. If the Control to create + * already exists, an ALREADY_EXISTS error is returned. * - * @param object The @c - * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConverseConversationRequest + * @param object The @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control * to include in the query. - * @param name Required. The resource name of the Conversation to get. Format: - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. - * Use - * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` - * to activate auto session mode, which automatically creates a new - * conversation inside a ConverseConversation session. + * @param parent Required. Full resource name of parent data store. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` * - * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresConversationsConverse + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresControlsCreate */ -+ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConverseConversationRequest *)object - name:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control *)object + parent:(NSString *)parent; @end /** - * Creates a Conversation. If the Conversation to create already exists, an - * ALREADY_EXISTS error is returned. + * Deletes a Control. If the Control to delete does not exist, a NOT_FOUND + * error is returned. + * + * Method: discoveryengine.projects.locations.dataStores.controls.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresControlsDelete : GTLRDiscoveryEngineQuery + +/** + * Required. The resource name of the Control to delete. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleProtobufEmpty. + * + * Deletes a Control. If the Control to delete does not exist, a NOT_FOUND + * error is returned. + * + * @param name Required. The resource name of the Control to delete. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresControlsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets a Control. + * + * Method: discoveryengine.projects.locations.dataStores.controls.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresControlsGet : GTLRDiscoveryEngineQuery + +/** + * Required. The resource name of the Control to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control. + * + * Gets a Control. + * + * @param name Required. The resource name of the Control to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresControlsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists all Controls by their parent DataStore. + * + * Method: discoveryengine.projects.locations.dataStores.controls.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresControlsList : GTLRDiscoveryEngineQuery + +/** + * Optional. A filter to apply on the list results. Supported features: * List + * all the products under the parent branch if filter is unset. Currently this + * field is unsupported. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. Maximum number of results to return. If unspecified, defaults to + * 50. Max allowed value is 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListControls` call. + * Provide this to retrieve the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The data store resource name. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListControlsResponse. + * + * Lists all Controls by their parent DataStore. + * + * @param parent Required. The data store resource name. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresControlsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates a Control. Control action type cannot be changed. If the Control to + * update does not exist, a NOT_FOUND error is returned. + * + * Method: discoveryengine.projects.locations.dataStores.controls.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresControlsPatch : GTLRDiscoveryEngineQuery + +/** + * Immutable. Fully qualified name `projects/ * /locations/global/dataStore/ * + * /controls/ *` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Indicates which fields in the provided Control to update. The + * following are NOT supported: * Control.name * Control.solution_type If not + * set or empty, all supported fields are updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control. + * + * Updates a Control. Control action type cannot be changed. If the Control to + * update does not exist, a NOT_FOUND error is returned. + * + * @param object The @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control + * to include in the query. + * @param name Immutable. Fully qualified name `projects/ * + * /locations/global/dataStore/ * /controls/ *` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresControlsPatch + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control *)object + name:(NSString *)name; + +@end + +/** + * Converses a conversation. + * + * Method: discoveryengine.projects.locations.dataStores.conversations.converse + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresConversationsConverse : GTLRDiscoveryEngineQuery + +/** + * Required. The resource name of the Conversation to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. + * Use + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` + * to activate auto session mode, which automatically creates a new + * conversation inside a ConverseConversation session. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConverseConversationResponse. + * + * Converses a conversation. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConverseConversationRequest + * to include in the query. + * @param name Required. The resource name of the Conversation to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. + * Use + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` + * to activate auto session mode, which automatically creates a new + * conversation inside a ConverseConversation session. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresConversationsConverse + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ConverseConversationRequest *)object + name:(NSString *)name; + +@end + +/** + * Creates a Conversation. If the Conversation to create already exists, an + * ALREADY_EXISTS error is returned. * * Method: discoveryengine.projects.locations.dataStores.conversations.create * @@ -3965,8 +5229,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresList : GTLRDiscoveryEngineQuery /** - * Filter by solution type . For example: filter = - * 'solution_type:SOLUTION_TYPE_SEARCH' + * Filter by solution type . For example: `filter = + * 'solution_type:SOLUTION_TYPE_SEARCH'` */ @property(nonatomic, copy, nullable) NSString *filter; @@ -4223,8 +5487,8 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *parent; /** - * Required. The ID to use for the Schema, which will become the final - * component of the Schema.name. This field should conform to + * Required. The ID to use for the Schema, which becomes the final component of + * the Schema.name. This field should conform to * [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit * of 63 characters. */ @@ -4272,228 +5536,505 @@ NS_ASSUME_NONNULL_BEGIN * @param name Required. The full resource name of the schema, in the format of * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. * - * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSchemasDelete + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSchemasDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets a Schema. + * + * Method: discoveryengine.projects.locations.dataStores.schemas.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSchemasGet : GTLRDiscoveryEngineQuery + +/** + * Required. The full resource name of the schema, in the format of + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Schema. + * + * Gets a Schema. + * + * @param name Required. The full resource name of the schema, in the format of + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSchemasGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets a list of Schemas. + * + * Method: discoveryengine.projects.locations.dataStores.schemas.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSchemasList : GTLRDiscoveryEngineQuery + +/** + * The maximum number of Schemas to return. The service may return fewer than + * this value. If unspecified, at most 100 Schemas are returned. The maximum + * value is 1000; values above 1000 are set to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous SchemaService.ListSchemas call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters provided to SchemaService.ListSchemas must match the call that + * provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent data store resource name, in the format of + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListSchemasResponse. + * + * Gets a list of Schemas. + * + * @param parent Required. The parent data store resource name, in the format + * of + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSchemasList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates a Schema. + * + * Method: discoveryengine.projects.locations.dataStores.schemas.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSchemasPatch : GTLRDiscoveryEngineQuery + +/** + * If set to true, and the Schema is not found, a new Schema is created. In + * this situation, `update_mask` is ignored. + */ +@property(nonatomic, assign) BOOL allowMissing; + +/** + * Immutable. The full resource name of the schema, in the format of + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. + * This field must be a UTF-8 encoded string with a length limit of 1024 + * characters. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleLongrunningOperation. + * + * Updates a Schema. + * + * @param object The @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Schema + * to include in the query. + * @param name Immutable. The full resource name of the schema, in the format + * of + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. + * This field must be a UTF-8 encoded string with a length limit of 1024 + * characters. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSchemasPatch + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Schema *)object + name:(NSString *)name; + +@end + +/** + * Answer query method. + * + * Method: discoveryengine.projects.locations.dataStores.servingConfigs.answer + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresServingConfigsAnswer : GTLRDiscoveryEngineQuery + +/** + * Required. The resource name of the Search serving config, such as `projects/ + * * /locations/global/collections/default_collection/engines/ * + * /servingConfigs/default_serving_config`, or `projects/ * + * /locations/global/collections/default_collection/dataStores/ * + * /servingConfigs/default_serving_config`. This field is used to identify the + * serving configuration name, set of models used to make the search. + */ +@property(nonatomic, copy, nullable) NSString *servingConfig; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryResponse. + * + * Answer query method. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest to + * include in the query. + * @param servingConfig Required. The resource name of the Search serving + * config, such as `projects/ * + * /locations/global/collections/default_collection/engines/ * + * /servingConfigs/default_serving_config`, or `projects/ * + * /locations/global/collections/default_collection/dataStores/ * + * /servingConfigs/default_serving_config`. This field is used to identify + * the serving configuration name, set of models used to make the search. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresServingConfigsAnswer + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest *)object + servingConfig:(NSString *)servingConfig; + +@end + +/** + * Makes a recommendation, which requires a contextual user event. + * + * Method: discoveryengine.projects.locations.dataStores.servingConfigs.recommend + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresServingConfigsRecommend : GTLRDiscoveryEngineQuery + +/** + * Required. Full resource name of a ServingConfig: `projects/ * + * /locations/global/collections/ * /engines/ * /servingConfigs/ *`, or + * `projects/ * /locations/global/collections/ * /dataStores/ * + * /servingConfigs/ *` One default serving config is created along with your + * recommendation engine creation. The engine ID is used as the ID of the + * default serving config. For example, for Engine `projects/ * + * /locations/global/collections/ * /engines/my-engine`, you can use `projects/ + * * /locations/global/collections/ * + * /engines/my-engine/servingConfigs/my-engine` for your + * RecommendationService.Recommend requests. + */ +@property(nonatomic, copy, nullable) NSString *servingConfig; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RecommendResponse. + * + * Makes a recommendation, which requires a contextual user event. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RecommendRequest to + * include in the query. + * @param servingConfig Required. Full resource name of a ServingConfig: + * `projects/ * /locations/global/collections/ * /engines/ * /servingConfigs/ + * *`, or `projects/ * /locations/global/collections/ * /dataStores/ * + * /servingConfigs/ *` One default serving config is created along with your + * recommendation engine creation. The engine ID is used as the ID of the + * default serving config. For example, for Engine `projects/ * + * /locations/global/collections/ * /engines/my-engine`, you can use + * `projects/ * /locations/global/collections/ * + * /engines/my-engine/servingConfigs/my-engine` for your + * RecommendationService.Recommend requests. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresServingConfigsRecommend + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RecommendRequest *)object + servingConfig:(NSString *)servingConfig; + +@end + +/** + * Performs a search. + * + * Method: discoveryengine.projects.locations.dataStores.servingConfigs.search + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresServingConfigsSearch : GTLRDiscoveryEngineQuery + +/** + * Required. The resource name of the Search serving config, such as `projects/ + * * /locations/global/collections/default_collection/engines/ * + * /servingConfigs/default_serving_config`, or `projects/ * + * /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. + * This field is used to identify the serving configuration name, set of models + * used to make the search. + */ +@property(nonatomic, copy, nullable) NSString *servingConfig; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponse. + * + * Performs a search. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest to include + * in the query. + * @param servingConfig Required. The resource name of the Search serving + * config, such as `projects/ * + * /locations/global/collections/default_collection/engines/ * + * /servingConfigs/default_serving_config`, or `projects/ * + * /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. + * This field is used to identify the serving configuration name, set of + * models used to make the search. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresServingConfigsSearch + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest *)object + servingConfig:(NSString *)servingConfig; + +@end + +/** + * Gets a Answer. + * + * Method: discoveryengine.projects.locations.dataStores.sessions.answers.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsAnswersGet : GTLRDiscoveryEngineQuery + +/** + * Required. The resource name of the Answer to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer. + * + * Gets a Answer. + * + * @param name Required. The resource name of the Answer to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsAnswersGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Creates a Session. If the Session to create already exists, an + * ALREADY_EXISTS error is returned. + * + * Method: discoveryengine.projects.locations.dataStores.sessions.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsCreate : GTLRDiscoveryEngineQuery + +/** + * Required. Full resource name of parent data store. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session. + * + * Creates a Session. If the Session to create already exists, an + * ALREADY_EXISTS error is returned. + * + * @param object The @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session + * to include in the query. + * @param parent Required. Full resource name of parent data store. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsCreate */ -+ (instancetype)queryWithName:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session *)object + parent:(NSString *)parent; @end /** - * Gets a Schema. + * Deletes a Session. If the Session to delete does not exist, a NOT_FOUND + * error is returned. * - * Method: discoveryengine.projects.locations.dataStores.schemas.get + * Method: discoveryengine.projects.locations.dataStores.sessions.delete * * Authorization scope(s): * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform */ -@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSchemasGet : GTLRDiscoveryEngineQuery +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsDelete : GTLRDiscoveryEngineQuery /** - * Required. The full resource name of the schema, in the format of - * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. + * Required. The resource name of the Session to delete. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */ @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Schema. + * Fetches a @c GTLRDiscoveryEngine_GoogleProtobufEmpty. * - * Gets a Schema. + * Deletes a Session. If the Session to delete does not exist, a NOT_FOUND + * error is returned. * - * @param name Required. The full resource name of the schema, in the format of - * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. + * @param name Required. The resource name of the Session to delete. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` * - * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSchemasGet + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsDelete */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Gets a list of Schemas. + * Gets a Session. * - * Method: discoveryengine.projects.locations.dataStores.schemas.list + * Method: discoveryengine.projects.locations.dataStores.sessions.get * * Authorization scope(s): * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform */ -@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSchemasList : GTLRDiscoveryEngineQuery - -/** - * The maximum number of Schemas to return. The service may return fewer than - * this value. If unspecified, at most 100 Schemas will be returned. The - * maximum value is 1000; values above 1000 will be coerced to 1000. - */ -@property(nonatomic, assign) NSInteger pageSize; - -/** - * A page token, received from a previous SchemaService.ListSchemas call. - * Provide this to retrieve the subsequent page. When paginating, all other - * parameters provided to SchemaService.ListSchemas must match the call that - * provided the page token. - */ -@property(nonatomic, copy, nullable) NSString *pageToken; +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsGet : GTLRDiscoveryEngineQuery /** - * Required. The parent data store resource name, in the format of - * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. + * Required. The resource name of the Session to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */ -@property(nonatomic, copy, nullable) NSString *parent; +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c - * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListSchemasResponse. - * - * Gets a list of Schemas. + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session. * - * @param parent Required. The parent data store resource name, in the format - * of - * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. + * Gets a Session. * - * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSchemasList + * @param name Required. The resource name of the Session to get. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsGet */ -+ (instancetype)queryWithParent:(NSString *)parent; ++ (instancetype)queryWithName:(NSString *)name; @end /** - * Updates a Schema. + * Lists all Sessions by their parent DataStore. * - * Method: discoveryengine.projects.locations.dataStores.schemas.patch + * Method: discoveryengine.projects.locations.dataStores.sessions.list * * Authorization scope(s): * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform */ -@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSchemasPatch : GTLRDiscoveryEngineQuery +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsList : GTLRDiscoveryEngineQuery /** - * If set to true, and the Schema is not found, a new Schema will be created. - * In this situation, `update_mask` is ignored. + * A filter to apply on the list results. The supported features are: + * user_pseudo_id, state. Example: "user_pseudo_id = some_id" */ -@property(nonatomic, assign) BOOL allowMissing; +@property(nonatomic, copy, nullable) NSString *filter; /** - * Immutable. The full resource name of the schema, in the format of - * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. - * This field must be a UTF-8 encoded string with a length limit of 1024 - * characters. + * A comma-separated list of fields to order by, sorted in ascending order. Use + * "desc" after a field name for descending. Supported fields: * `update_time` + * * `create_time` * `session_name` Example: "update_time desc" "create_time" */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *orderBy; /** - * Fetches a @c GTLRDiscoveryEngine_GoogleLongrunningOperation. - * - * Updates a Schema. - * - * @param object The @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Schema - * to include in the query. - * @param name Immutable. The full resource name of the schema, in the format - * of - * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. - * This field must be a UTF-8 encoded string with a length limit of 1024 - * characters. - * - * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSchemasPatch + * Maximum number of results to return. If unspecified, defaults to 50. Max + * allowed value is 1000. */ -+ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Schema *)object - name:(NSString *)name; - -@end +@property(nonatomic, assign) NSInteger pageSize; /** - * Makes a recommendation, which requires a contextual user event. - * - * Method: discoveryengine.projects.locations.dataStores.servingConfigs.recommend - * - * Authorization scope(s): - * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + * A page token, received from a previous `ListSessions` call. Provide this to + * retrieve the subsequent page. */ -@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresServingConfigsRecommend : GTLRDiscoveryEngineQuery +@property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. Full resource name of a ServingConfig: `projects/ * - * /locations/global/collections/ * /engines/ * /servingConfigs/ *`, or - * `projects/ * /locations/global/collections/ * /dataStores/ * - * /servingConfigs/ *` One default serving config is created along with your - * recommendation engine creation. The engine ID will be used as the ID of the - * default serving config. For example, for Engine `projects/ * - * /locations/global/collections/ * /engines/my-engine`, you can use `projects/ - * * /locations/global/collections/ * - * /engines/my-engine/servingConfigs/my-engine` for your - * RecommendationService.Recommend requests. + * Required. The data store resource name. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */ -@property(nonatomic, copy, nullable) NSString *servingConfig; +@property(nonatomic, copy, nullable) NSString *parent; /** * Fetches a @c - * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RecommendResponse. + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListSessionsResponse. * - * Makes a recommendation, which requires a contextual user event. + * Lists all Sessions by their parent DataStore. * - * @param object The @c - * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RecommendRequest to - * include in the query. - * @param servingConfig Required. Full resource name of a ServingConfig: - * `projects/ * /locations/global/collections/ * /engines/ * /servingConfigs/ - * *`, or `projects/ * /locations/global/collections/ * /dataStores/ * - * /servingConfigs/ *` One default serving config is created along with your - * recommendation engine creation. The engine ID will be used as the ID of - * the default serving config. For example, for Engine `projects/ * - * /locations/global/collections/ * /engines/my-engine`, you can use - * `projects/ * /locations/global/collections/ * - * /engines/my-engine/servingConfigs/my-engine` for your - * RecommendationService.Recommend requests. + * @param parent Required. The data store resource name. Format: + * `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` * - * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresServingConfigsRecommend + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. */ -+ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RecommendRequest *)object - servingConfig:(NSString *)servingConfig; ++ (instancetype)queryWithParent:(NSString *)parent; @end /** - * Performs a search. + * Updates a Session. Session action type cannot be changed. If the Session to + * update does not exist, a NOT_FOUND error is returned. * - * Method: discoveryengine.projects.locations.dataStores.servingConfigs.search + * Method: discoveryengine.projects.locations.dataStores.sessions.patch * * Authorization scope(s): * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform */ -@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresServingConfigsSearch : GTLRDiscoveryEngineQuery +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsPatch : GTLRDiscoveryEngineQuery /** - * Required. The resource name of the Search serving config, such as `projects/ - * * /locations/global/collections/default_collection/engines/ * - * /servingConfigs/default_serving_config`, or `projects/ * - * /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. - * This field is used to identify the serving configuration name, set of models - * used to make the search. + * Immutable. Fully qualified name + * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/ + * *` */ -@property(nonatomic, copy, nullable) NSString *servingConfig; +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponse. + * Indicates which fields in the provided Session to update. The following are + * NOT supported: * Session.name If not set or empty, all supported fields are + * updated. * - * Performs a search. + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session. * - * @param object The @c - * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest to include - * in the query. - * @param servingConfig Required. The resource name of the Search serving - * config, such as `projects/ * - * /locations/global/collections/default_collection/engines/ * - * /servingConfigs/default_serving_config`, or `projects/ * - * /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. - * This field is used to identify the serving configuration name, set of - * models used to make the search. + * Updates a Session. Session action type cannot be changed. If the Session to + * update does not exist, a NOT_FOUND error is returned. * - * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresServingConfigsSearch + * @param object The @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session + * to include in the query. + * @param name Immutable. Fully qualified name + * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/ + * *` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsPatch */ -+ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest *)object - servingConfig:(NSString *)servingConfig; ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session *)object + name:(NSString *)name; @end @@ -4972,7 +6513,7 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Bulk import of User events. Request processing might be synchronous. Events + * Bulk import of user events. Request processing might be synchronous. Events * that already exist are skipped. Use this method for backfilling historical * user events. Operation.response is of type ImportResponse. Note that it is * possible for a subset of the items to be successfully inserted. @@ -4994,7 +6535,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRDiscoveryEngine_GoogleLongrunningOperation. * - * Bulk import of User events. Request processing might be synchronous. Events + * Bulk import of user events. Request processing might be synchronous. Events * that already exist are skipped. Use this method for backfilling historical * user events. Operation.response is of type ImportResponse. Note that it is * possible for a subset of the items to be successfully inserted. @@ -5033,6 +6574,12 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *parent; +/** + * If set to true, the user event is written asynchronously after validation, + * and the API responds without waiting for the write. + */ +@property(nonatomic, assign) BOOL writeAsync; + /** * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserEvent. * @@ -5055,6 +6602,42 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Performs a grounding check. + * + * Method: discoveryengine.projects.locations.groundingConfigs.check + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsGroundingConfigsCheck : GTLRDiscoveryEngineQuery + +/** + * Required. The resource name of the grounding config, such as `projects/ * + * /locations/global/groundingConfigs/default_grounding_config`. + */ +@property(nonatomic, copy, nullable) NSString *groundingConfig; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingResponse. + * + * Performs a grounding check. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingRequest to + * include in the query. + * @param groundingConfig Required. The resource name of the grounding config, + * such as `projects/ * + * /locations/global/groundingConfigs/default_grounding_config`. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsGroundingConfigsCheck + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingRequest *)object + groundingConfig:(NSString *)groundingConfig; + +@end + /** * Gets the latest state of a long-running operation. Clients can use this * method to poll the operation result at intervals as recommended by the API @@ -5126,6 +6709,41 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Ranks a list of text records based on the given input query. + * + * Method: discoveryengine.projects.locations.rankingConfigs.rank + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsRankingConfigsRank : GTLRDiscoveryEngineQuery + +/** + * Required. The resource name of the rank service config, such as + * `projects/{project_num}/locations/{location_id}/rankingConfigs/default_ranking_config`. + */ +@property(nonatomic, copy, nullable) NSString *rankingConfig; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RankResponse. + * + * Ranks a list of text records based on the given input query. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RankRequest to include in + * the query. + * @param rankingConfig Required. The resource name of the rank service config, + * such as + * `projects/{project_num}/locations/{location_id}/rankingConfigs/default_ranking_config`. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsRankingConfigsRank + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RankRequest *)object + rankingConfig:(NSString *)rankingConfig; + +@end + /** * Writes a single user event. * @@ -5146,6 +6764,12 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *parent; +/** + * If set to true, the user event is written asynchronously after validation, + * and the API responds without waiting for the write. + */ +@property(nonatomic, assign) BOOL writeAsync; + /** * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserEvent. * @@ -5168,6 +6792,52 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, the + * operation is not deleted; instead, it becomes an operation with an + * Operation.error value with a google.rpc.Status.code of 1, corresponding to + * `Code.CANCELLED`. + * + * Method: discoveryengine.projects.operations.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsOperationsCancel : GTLRDiscoveryEngineQuery + +/** The name of the operation resource to be cancelled. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleProtobufEmpty. + * + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, the + * operation is not deleted; instead, it becomes an operation with an + * Operation.error value with a google.rpc.Status.code of 1, corresponding to + * `Code.CANCELLED`. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleLongrunningCancelOperationRequest to include in + * the query. + * @param name The name of the operation resource to be cancelled. + * + * @return GTLRDiscoveryEngineQuery_ProjectsOperationsCancel + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleLongrunningCancelOperationRequest *)object + name:(NSString *)name; + +@end + /** * Gets the latest state of a long-running operation. Clients can use this * method to poll the operation result at intervals as recommended by the API @@ -5239,6 +6909,46 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Provisions the project resource. During the process, related systems will + * get prepared and initialized. Caller must read the [Terms for data + * use](https://cloud.google.com/retail/data-use-terms), and optionally specify + * in request to provide consent to that service terms. + * + * Method: discoveryengine.projects.provision + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsProvision : GTLRDiscoveryEngineQuery + +/** + * Required. Full resource name of a Project, such as + * `projects/{project_id_or_number}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleLongrunningOperation. + * + * Provisions the project resource. During the process, related systems will + * get prepared and initialized. Caller must read the [Terms for data + * use](https://cloud.google.com/retail/data-use-terms), and optionally specify + * in request to provide consent to that service terms. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProvisionProjectRequest to + * include in the query. + * @param name Required. Full resource name of a Project, such as + * `projects/{project_id_or_number}`. + * + * @return GTLRDiscoveryEngineQuery_ProjectsProvision + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProvisionProjectRequest *)object + name:(NSString *)name; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m b/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m index 4d32de924..fe8a5570d 100644 --- a/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m +++ b/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m @@ -626,6 +626,7 @@ NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion55 = @"SDF_VERSION_5_5"; NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion6 = @"SDF_VERSION_6"; NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion7 = @"SDF_VERSION_7"; +NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion71 = @"SDF_VERSION_7_1"; NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersionUnspecified = @"SDF_VERSION_UNSPECIFIED"; // GTLRDisplayVideo_Creative.creativeAttributes @@ -2239,6 +2240,7 @@ NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersion55 = @"SDF_VERSION_5_5"; NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersion6 = @"SDF_VERSION_6"; NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersion7 = @"SDF_VERSION_7"; +NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersion71 = @"SDF_VERSION_7_1"; NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersionUnspecified = @"SDF_VERSION_UNSPECIFIED"; // GTLRDisplayVideo_SdfDownloadTaskMetadata.version @@ -2254,6 +2256,7 @@ NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion55 = @"SDF_VERSION_5_5"; NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion6 = @"SDF_VERSION_6"; NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion7 = @"SDF_VERSION_7"; +NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion71 = @"SDF_VERSION_7_1"; NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersionUnspecified = @"SDF_VERSION_UNSPECIFIED"; // GTLRDisplayVideo_SensitiveCategoryAssignedTargetingOptionDetails.excludedSensitiveCategory diff --git a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h index eba726c57..ac08bbd12 100644 --- a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h +++ b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h @@ -3770,6 +3770,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskReques * Value: "SDF_VERSION_7" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion7; +/** + * SDF version 7.1. Read the [v7 migration + * guide](/display-video/api/structured-data-file/v7-migration-guide) before + * migrating to this version. + * + * Value: "SDF_VERSION_7_1" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion71; /** * SDF version value is not specified or is unknown in this version. * @@ -12701,6 +12709,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersio * Value: "SDF_VERSION_7" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersion7; +/** + * SDF version 7.1. Read the [v7 migration + * guide](/display-video/api/structured-data-file/v7-migration-guide) before + * migrating to this version. + * + * Value: "SDF_VERSION_7_1" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersion71; /** * SDF version value is not specified or is unknown in this version. * @@ -12785,6 +12801,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Ver * Value: "SDF_VERSION_7" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion7; +/** + * SDF version 7.1. Read the [v7 migration + * guide](/display-video/api/structured-data-file/v7-migration-guide) before + * migrating to this version. + * + * Value: "SDF_VERSION_7_1" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion71; /** * SDF version value is not specified or is unknown in this version. * @@ -19121,6 +19145,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * SDF version 7. Read the [v7 migration * guide](/display-video/api/structured-data-file/v7-migration-guide) * before migrating to this version. (Value: "SDF_VERSION_7") + * @arg @c kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion71 + * SDF version 7.1. Read the [v7 migration + * guide](/display-video/api/structured-data-file/v7-migration-guide) + * before migrating to this version. (Value: "SDF_VERSION_7_1") * @arg @c kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersionUnspecified * SDF version value is not specified or is unknown in this version. * (Value: "SDF_VERSION_UNSPECIFIED") @@ -28650,7 +28678,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail /** Exchange review statuses for the creative. */ @property(nonatomic, strong, nullable) NSArray *exchangeReviewStatuses; -/** Publisher review statuses for the creative. */ +/** + * Publisher review statuses for the creative. **Warning:** This field will be + * deprecated on June 26th, 2024. After this date, this field will be empty. + * Read our [feature deprecation + * announcement](/display-video/api/deprecations#features.creative_publisher_review_statuses) + * for more information. + */ @property(nonatomic, strong, nullable) NSArray *publisherReviewStatuses; @end @@ -28739,6 +28773,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * Read the [v7 migration * guide](/display-video/api/structured-data-file/v7-migration-guide) * before migrating to this version. (Value: "SDF_VERSION_7") + * @arg @c kGTLRDisplayVideo_SdfConfig_Version_SdfVersion71 SDF version 7.1. + * Read the [v7 migration + * guide](/display-video/api/structured-data-file/v7-migration-guide) + * before migrating to this version. (Value: "SDF_VERSION_7_1") * @arg @c kGTLRDisplayVideo_SdfConfig_Version_SdfVersionUnspecified SDF * version value is not specified or is unknown in this version. (Value: * "SDF_VERSION_UNSPECIFIED") @@ -28807,6 +28845,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * version 7. Read the [v7 migration * guide](/display-video/api/structured-data-file/v7-migration-guide) * before migrating to this version. (Value: "SDF_VERSION_7") + * @arg @c kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion71 SDF + * version 7.1. Read the [v7 migration + * guide](/display-video/api/structured-data-file/v7-migration-guide) + * before migrating to this version. (Value: "SDF_VERSION_7_1") * @arg @c kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersionUnspecified * SDF version value is not specified or is unknown in this version. * (Value: "SDF_VERSION_UNSPECIFIED") diff --git a/Sources/GeneratedServices/Drive/GTLRDriveService.m b/Sources/GeneratedServices/Drive/GTLRDriveService.m index 13d76b7f0..8056ca5e6 100644 --- a/Sources/GeneratedServices/Drive/GTLRDriveService.m +++ b/Sources/GeneratedServices/Drive/GTLRDriveService.m @@ -17,6 +17,7 @@ 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 kGTLRAuthScopeDriveMeetReadonly = @"https://www.googleapis.com/auth/drive.meet.readonly"; NSString * const kGTLRAuthScopeDriveMetadata = @"https://www.googleapis.com/auth/drive.metadata"; NSString * const kGTLRAuthScopeDriveMetadataReadonly = @"https://www.googleapis.com/auth/drive.metadata.readonly"; NSString * const kGTLRAuthScopeDrivePhotosReadonly = @"https://www.googleapis.com/auth/drive.photos.readonly"; diff --git a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h index 64bee3687..881761c4a 100644 --- a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h +++ b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h @@ -127,7 +127,10 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, strong, nullable) NSNumber *maxUploadSize; /** - * The user's storage quota limits and usage. All fields are measured in bytes. + * The user's storage quota limits and usage. For users that are part of an + * organization with pooled storage, information about the limit and usage + * across all services is for the organization, rather than the individual + * user. All fields are measured in bytes. */ @property(nonatomic, strong, nullable) GTLRDrive_About_StorageQuota *storageQuota; @@ -198,20 +201,27 @@ NS_ASSUME_NONNULL_BEGIN /** - * The user's storage quota limits and usage. All fields are measured in bytes. + * The user's storage quota limits and usage. For users that are part of an + * organization with pooled storage, information about the limit and usage + * across all services is for the organization, rather than the individual + * user. All fields are measured in bytes. */ @interface GTLRDrive_About_StorageQuota : GTLRObject /** * The usage limit, if applicable. This will not be present if the user has - * unlimited storage. + * unlimited storage. For users that are part of an organization with pooled + * storage, this is the limit for the organization, rather than the individual + * user. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *limit; /** - * The total usage across all services. + * The total usage across all services. For users that are part of an + * organization with pooled storage, this is the usage across all services for + * the organization, rather than the individual user. * * Uses NSNumber of longLongValue. */ diff --git a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h index ece0dc7eb..5ff1618cd 100644 --- a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h +++ b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h @@ -167,6 +167,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * @c kGTLRAuthScopeDrive * @c kGTLRAuthScopeDriveAppdata * @c kGTLRAuthScopeDriveFile + * @c kGTLRAuthScopeDriveMeetReadonly * @c kGTLRAuthScopeDriveMetadata * @c kGTLRAuthScopeDriveMetadataReadonly * @c kGTLRAuthScopeDrivePhotosReadonly @@ -218,6 +219,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * @c kGTLRAuthScopeDrive * @c kGTLRAuthScopeDriveAppdata * @c kGTLRAuthScopeDriveFile + * @c kGTLRAuthScopeDriveMeetReadonly * @c kGTLRAuthScopeDriveMetadata * @c kGTLRAuthScopeDriveMetadataReadonly * @c kGTLRAuthScopeDrivePhotosReadonly @@ -354,6 +356,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * @c kGTLRAuthScopeDrive * @c kGTLRAuthScopeDriveAppdata * @c kGTLRAuthScopeDriveFile + * @c kGTLRAuthScopeDriveMeetReadonly * @c kGTLRAuthScopeDriveMetadata * @c kGTLRAuthScopeDriveMetadataReadonly * @c kGTLRAuthScopeDrivePhotosReadonly @@ -488,6 +491,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * @c kGTLRAuthScopeDrive * @c kGTLRAuthScopeDriveAppdata * @c kGTLRAuthScopeDriveFile + * @c kGTLRAuthScopeDriveMeetReadonly * @c kGTLRAuthScopeDriveMetadata * @c kGTLRAuthScopeDriveMetadataReadonly * @c kGTLRAuthScopeDrivePhotosReadonly @@ -579,6 +583,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * Authorization scope(s): * @c kGTLRAuthScopeDrive * @c kGTLRAuthScopeDriveFile + * @c kGTLRAuthScopeDriveMeetReadonly * @c kGTLRAuthScopeDriveReadonly */ @interface GTLRDriveQuery_CommentsGet : GTLRDriveQuery @@ -620,6 +625,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * Authorization scope(s): * @c kGTLRAuthScopeDrive * @c kGTLRAuthScopeDriveFile + * @c kGTLRAuthScopeDriveMeetReadonly * @c kGTLRAuthScopeDriveReadonly */ @interface GTLRDriveQuery_CommentsList : GTLRDriveQuery @@ -1293,6 +1299,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * Authorization scope(s): * @c kGTLRAuthScopeDrive * @c kGTLRAuthScopeDriveFile + * @c kGTLRAuthScopeDriveMeetReadonly * @c kGTLRAuthScopeDriveReadonly */ @interface GTLRDriveQuery_FilesExport : GTLRDriveQuery @@ -1385,6 +1392,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * @c kGTLRAuthScopeDrive * @c kGTLRAuthScopeDriveAppdata * @c kGTLRAuthScopeDriveFile + * @c kGTLRAuthScopeDriveMeetReadonly * @c kGTLRAuthScopeDriveMetadata * @c kGTLRAuthScopeDriveMetadataReadonly * @c kGTLRAuthScopeDrivePhotosReadonly @@ -1480,6 +1488,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * @c kGTLRAuthScopeDrive * @c kGTLRAuthScopeDriveAppdata * @c kGTLRAuthScopeDriveFile + * @c kGTLRAuthScopeDriveMeetReadonly * @c kGTLRAuthScopeDriveMetadata * @c kGTLRAuthScopeDriveMetadataReadonly * @c kGTLRAuthScopeDrivePhotosReadonly @@ -1621,6 +1630,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * Authorization scope(s): * @c kGTLRAuthScopeDrive * @c kGTLRAuthScopeDriveFile + * @c kGTLRAuthScopeDriveMeetReadonly * @c kGTLRAuthScopeDriveMetadata * @c kGTLRAuthScopeDriveMetadataReadonly * @c kGTLRAuthScopeDriveReadonly @@ -1819,6 +1829,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * @c kGTLRAuthScopeDrive * @c kGTLRAuthScopeDriveAppdata * @c kGTLRAuthScopeDriveFile + * @c kGTLRAuthScopeDriveMeetReadonly * @c kGTLRAuthScopeDriveMetadata * @c kGTLRAuthScopeDriveMetadataReadonly * @c kGTLRAuthScopeDrivePhotosReadonly @@ -2041,6 +2052,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * Authorization scope(s): * @c kGTLRAuthScopeDrive * @c kGTLRAuthScopeDriveFile + * @c kGTLRAuthScopeDriveMeetReadonly * @c kGTLRAuthScopeDriveMetadata * @c kGTLRAuthScopeDriveMetadataReadonly * @c kGTLRAuthScopeDrivePhotosReadonly @@ -2102,6 +2114,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * Authorization scope(s): * @c kGTLRAuthScopeDrive * @c kGTLRAuthScopeDriveFile + * @c kGTLRAuthScopeDriveMeetReadonly * @c kGTLRAuthScopeDriveMetadata * @c kGTLRAuthScopeDriveMetadataReadonly * @c kGTLRAuthScopeDrivePhotosReadonly @@ -2334,6 +2347,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * Authorization scope(s): * @c kGTLRAuthScopeDrive * @c kGTLRAuthScopeDriveFile + * @c kGTLRAuthScopeDriveMeetReadonly * @c kGTLRAuthScopeDriveReadonly */ @interface GTLRDriveQuery_RepliesGet : GTLRDriveQuery @@ -2380,6 +2394,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * Authorization scope(s): * @c kGTLRAuthScopeDrive * @c kGTLRAuthScopeDriveFile + * @c kGTLRAuthScopeDriveMeetReadonly * @c kGTLRAuthScopeDriveReadonly */ @interface GTLRDriveQuery_RepliesList : GTLRDriveQuery @@ -2519,6 +2534,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * @c kGTLRAuthScopeDrive * @c kGTLRAuthScopeDriveAppdata * @c kGTLRAuthScopeDriveFile + * @c kGTLRAuthScopeDriveMeetReadonly * @c kGTLRAuthScopeDriveMetadata * @c kGTLRAuthScopeDriveMetadataReadonly * @c kGTLRAuthScopeDrivePhotosReadonly @@ -2577,6 +2593,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * @c kGTLRAuthScopeDrive * @c kGTLRAuthScopeDriveAppdata * @c kGTLRAuthScopeDriveFile + * @c kGTLRAuthScopeDriveMeetReadonly * @c kGTLRAuthScopeDriveMetadata * @c kGTLRAuthScopeDriveMetadataReadonly * @c kGTLRAuthScopeDrivePhotosReadonly diff --git a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveService.h b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveService.h index ba71ddf35..547dff57f 100644 --- a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveService.h +++ b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveService.h @@ -51,6 +51,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDriveAppsReadonly; * Value "https://www.googleapis.com/auth/drive.file" */ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDriveFile; +/** + * Authorization scope: See and download your Google Drive files that were + * created or edited by Google Meet. + * + * Value "https://www.googleapis.com/auth/drive.meet.readonly" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDriveMeetReadonly; /** * Authorization scope: View and manage metadata of files in your Google Drive * diff --git a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h index dc4b6c0c1..a885ad177 100644 --- a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h +++ b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h @@ -1246,14 +1246,13 @@ FOUNDATION_EXTERN NSString * const kGTLREventarc_StateCondition_Code_Unknown; /** - * Represents a network config to be used for destination resolution and - * connectivity. + * Network Configuration that can be inherited by other protos. */ @interface GTLREventarc_NetworkConfig : GTLRObject /** - * Required. Name of the NetworkAttachment that allows access to the - * destination VPC. Format: + * Required. Name of the NetworkAttachment that allows access to the customer's + * VPC. Format: * `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}` */ @property(nonatomic, copy, nullable) NSString *networkAttachment; diff --git a/Sources/GeneratedServices/Fcmdata/GTLRFcmdataObjects.m b/Sources/GeneratedServices/Fcmdata/GTLRFcmdataObjects.m index 3b460bad5..98955a93a 100644 --- a/Sources/GeneratedServices/Fcmdata/GTLRFcmdataObjects.m +++ b/Sources/GeneratedServices/Fcmdata/GTLRFcmdataObjects.m @@ -27,8 +27,9 @@ @implementation GTLRFcmdata_GoogleFirebaseFcmDataV1beta1AndroidDeliveryData // @implementation GTLRFcmdata_GoogleFirebaseFcmDataV1beta1Data -@dynamic countMessagesAccepted, deliveryPerformancePercents, - messageInsightPercents, messageOutcomePercents; +@dynamic countMessagesAccepted, countNotificationsAccepted, + deliveryPerformancePercents, messageInsightPercents, + messageOutcomePercents, proxyNotificationInsightPercents; @end @@ -86,6 +87,17 @@ @implementation GTLRFcmdata_GoogleFirebaseFcmDataV1beta1MessageOutcomePercents @end +// ---------------------------------------------------------------------------- +// +// GTLRFcmdata_GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents +// + +@implementation GTLRFcmdata_GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents +@dynamic failed, proxied, skippedNotThrottled, skippedOptedOut, + skippedUnconfigured, skippedUnsupported; +@end + + // ---------------------------------------------------------------------------- // // GTLRFcmdata_GoogleTypeDate diff --git a/Sources/GeneratedServices/Fcmdata/Public/GoogleAPIClientForREST/GTLRFcmdataObjects.h b/Sources/GeneratedServices/Fcmdata/Public/GoogleAPIClientForREST/GTLRFcmdataObjects.h index d44c42638..4367c8ea5 100644 --- a/Sources/GeneratedServices/Fcmdata/Public/GoogleAPIClientForREST/GTLRFcmdataObjects.h +++ b/Sources/GeneratedServices/Fcmdata/Public/GoogleAPIClientForREST/GTLRFcmdataObjects.h @@ -20,6 +20,7 @@ @class GTLRFcmdata_GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents; @class GTLRFcmdata_GoogleFirebaseFcmDataV1beta1MessageInsightPercents; @class GTLRFcmdata_GoogleFirebaseFcmDataV1beta1MessageOutcomePercents; +@class GTLRFcmdata_GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents; @class GTLRFcmdata_GoogleTypeDate; // Generated comments include content from the discovery document; avoid them @@ -59,7 +60,7 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRFcmdata_GoogleFirebaseFcmDataV1beta1Data : GTLRObject /** - * Count of messages accepted by FCM intended to Android devices. The targeted + * Count of messages accepted by FCM intended for Android devices. The targeted * device must have opted in to the collection of usage and diagnostic * information. * @@ -67,6 +68,15 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, strong, nullable) NSNumber *countMessagesAccepted; +/** + * Count of notifications accepted by FCM intended for Android devices. The + * targeted device must have opted in to the collection of usage and diagnostic + * information. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *countNotificationsAccepted; + /** * Additional information about delivery performance for messages that were * successfully delivered. @@ -79,6 +89,9 @@ NS_ASSUME_NONNULL_BEGIN /** Mutually exclusive breakdown of message delivery outcomes. */ @property(nonatomic, strong, nullable) GTLRFcmdata_GoogleFirebaseFcmDataV1beta1MessageOutcomePercents *messageOutcomePercents; +/** Additional insights about proxy notification delivery. */ +@property(nonatomic, strong, nullable) GTLRFcmdata_GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents *proxyNotificationInsightPercents; + @end @@ -253,6 +266,65 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Additional information about proxy notification delivery. All percentages + * are calculated with countNotificationsAccepted as the denominator. + */ +@interface GTLRFcmdata_GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents : GTLRObject + +/** + * The percentage of accepted notifications that failed to be proxied. This is + * usually caused by exceptions that occurred while calling + * [notifyAsPackage](https://developer.android.com/reference/android/app/NotificationManager#notifyAsPackage%28java.lang.String,%20java.lang.String,%20int,%20android.app.Notification%29). + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *failed; + +/** + * The percentage of accepted notifications that were successfully proxied by + * [Google Play + * services](https://developers.google.com/android/guides/overview). + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *proxied; + +/** + * The percentage of accepted notifications that were skipped because the + * messages were not throttled. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *skippedNotThrottled; + +/** + * The percentage of accepted notifications that were skipped because the app + * disallowed these messages to be proxied. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *skippedOptedOut; + +/** + * The percentage of accepted notifications that were skipped because + * configurations required for notifications to be proxied were missing. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *skippedUnconfigured; + +/** + * The percentage of accepted notifications that were skipped because proxy + * notification is unsupported for the recipient. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *skippedUnsupported; + +@end + + /** * Represents a whole or partial calendar date, such as a birthday. The time of * day and time zone are either specified elsewhere or are insignificant. The diff --git a/Sources/GeneratedServices/FirebaseCloudMessaging/Public/GoogleAPIClientForREST/GTLRFirebaseCloudMessagingObjects.h b/Sources/GeneratedServices/FirebaseCloudMessaging/Public/GoogleAPIClientForREST/GTLRFirebaseCloudMessagingObjects.h index eec24e3e0..33c5392db 100644 --- a/Sources/GeneratedServices/FirebaseCloudMessaging/Public/GoogleAPIClientForREST/GTLRFirebaseCloudMessagingObjects.h +++ b/Sources/GeneratedServices/FirebaseCloudMessaging/Public/GoogleAPIClientForREST/GTLRFirebaseCloudMessagingObjects.h @@ -808,9 +808,9 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidNotificati /** * Input only. Arbitrary key/value payload, which must be UTF-8 encoded. The * key should not be a reserved word ("from", "message_type", or any word - * starting with "google" or "gcm"). When sending payloads containing only data - * fields to iOS devices, only normal priority (`"apns-priority": "5"`) is - * allowed in + * starting with "google." or "gcm.notification."). When sending payloads + * containing only data fields to iOS devices, only normal priority + * (`"apns-priority": "5"`) is allowed in * [`ApnsConfig`](/docs/reference/fcm/rest/v1/projects.messages#apnsconfig). */ @property(nonatomic, strong, nullable) GTLRFirebaseCloudMessaging_Message_Data *data; @@ -850,9 +850,9 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidNotificati /** * Input only. Arbitrary key/value payload, which must be UTF-8 encoded. The * key should not be a reserved word ("from", "message_type", or any word - * starting with "google" or "gcm"). When sending payloads containing only data - * fields to iOS devices, only normal priority (`"apns-priority": "5"`) is - * allowed in + * starting with "google." or "gcm.notification."). When sending payloads + * containing only data fields to iOS devices, only normal priority + * (`"apns-priority": "5"`) is allowed in * [`ApnsConfig`](/docs/reference/fcm/rest/v1/projects.messages#apnsconfig). * * @note This class is documented as having more properties of NSString. Use @c diff --git a/Sources/GeneratedServices/Firebaseappcheck/GTLRFirebaseappcheckQuery.m b/Sources/GeneratedServices/Firebaseappcheck/GTLRFirebaseappcheckQuery.m index a3ba432aa..222b71893 100644 --- a/Sources/GeneratedServices/Firebaseappcheck/GTLRFirebaseappcheckQuery.m +++ b/Sources/GeneratedServices/Firebaseappcheck/GTLRFirebaseappcheckQuery.m @@ -39,6 +39,114 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRFirebaseappcheckQuery_OauthClientsExchangeAppAttestAssertion + +@dynamic app; + ++ (instancetype)queryWithObject:(GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest *)object + app:(NSString *)app { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"app" ]; + NSString *pathURITemplate = @"v1/{+app}:exchangeAppAttestAssertion"; + GTLRFirebaseappcheckQuery_OauthClientsExchangeAppAttestAssertion *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.app = app; + query.expectedObjectClass = [GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1AppCheckToken class]; + query.loggingName = @"firebaseappcheck.oauthClients.exchangeAppAttestAssertion"; + return query; +} + +@end + +@implementation GTLRFirebaseappcheckQuery_OauthClientsExchangeAppAttestAttestation + +@dynamic app; + ++ (instancetype)queryWithObject:(GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest *)object + app:(NSString *)app { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"app" ]; + NSString *pathURITemplate = @"v1/{+app}:exchangeAppAttestAttestation"; + GTLRFirebaseappcheckQuery_OauthClientsExchangeAppAttestAttestation *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.app = app; + query.expectedObjectClass = [GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse class]; + query.loggingName = @"firebaseappcheck.oauthClients.exchangeAppAttestAttestation"; + return query; +} + +@end + +@implementation GTLRFirebaseappcheckQuery_OauthClientsExchangeDebugToken + +@dynamic app; + ++ (instancetype)queryWithObject:(GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest *)object + app:(NSString *)app { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"app" ]; + NSString *pathURITemplate = @"v1/{+app}:exchangeDebugToken"; + GTLRFirebaseappcheckQuery_OauthClientsExchangeDebugToken *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.app = app; + query.expectedObjectClass = [GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1AppCheckToken class]; + query.loggingName = @"firebaseappcheck.oauthClients.exchangeDebugToken"; + return query; +} + +@end + +@implementation GTLRFirebaseappcheckQuery_OauthClientsGenerateAppAttestChallenge + +@dynamic app; + ++ (instancetype)queryWithObject:(GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest *)object + app:(NSString *)app { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"app" ]; + NSString *pathURITemplate = @"v1/{+app}:generateAppAttestChallenge"; + GTLRFirebaseappcheckQuery_OauthClientsGenerateAppAttestChallenge *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.app = app; + query.expectedObjectClass = [GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse class]; + query.loggingName = @"firebaseappcheck.oauthClients.generateAppAttestChallenge"; + return query; +} + +@end + @implementation GTLRFirebaseappcheckQuery_ProjectsAppsAppAttestConfigBatchGet @dynamic names, parent; diff --git a/Sources/GeneratedServices/Firebaseappcheck/Public/GoogleAPIClientForREST/GTLRFirebaseappcheckObjects.h b/Sources/GeneratedServices/Firebaseappcheck/Public/GoogleAPIClientForREST/GTLRFirebaseappcheckObjects.h index 16344bc60..bf4aff13e 100644 --- a/Sources/GeneratedServices/Firebaseappcheck/Public/GoogleAPIClientForREST/GTLRFirebaseappcheckObjects.h +++ b/Sources/GeneratedServices/Firebaseappcheck/Public/GoogleAPIClientForREST/GTLRFirebaseappcheckObjects.h @@ -59,9 +59,8 @@ NS_ASSUME_NONNULL_BEGIN * should enable enforcement immediately, since there are no outdated clients * in use. Some services require certain conditions to be met before they will * work with App Check, such as requiring you to upgrade to a specific service - * tier or requiring you to enable the service first. Until those requirements - * are met for a service, this `ENFORCED` setting will have no effect and App - * Check will not work with that service. + * tier. Until those requirements are met for a service, this `ENFORCED` + * setting will have no effect and App Check will not work with that service. * * Value: "ENFORCED" */ @@ -946,10 +945,10 @@ GTLR_DEPRECATED * launched yet, you should enable enforcement immediately, since there * are no outdated clients in use. Some services require certain * conditions to be met before they will work with App Check, such as - * requiring you to upgrade to a specific service tier or requiring you - * to enable the service first. Until those requirements are met for a - * service, this `ENFORCED` setting will have no effect and App Check - * will not work with that service. (Value: "ENFORCED") + * requiring you to upgrade to a specific service tier. Until those + * requirements are met for a service, this `ENFORCED` setting will have + * no effect and App Check will not work with that service. (Value: + * "ENFORCED") * @arg @c kGTLRFirebaseappcheck_GoogleFirebaseAppcheckV1Service_EnforcementMode_Off * Firebase App Check is not enforced for the service, nor are App Check * metrics collected. Though the service is not protected by App Check in diff --git a/Sources/GeneratedServices/Firebaseappcheck/Public/GoogleAPIClientForREST/GTLRFirebaseappcheckQuery.h b/Sources/GeneratedServices/Firebaseappcheck/Public/GoogleAPIClientForREST/GTLRFirebaseappcheckQuery.h index 0048e7f70..b674e7bab 100644 --- a/Sources/GeneratedServices/Firebaseappcheck/Public/GoogleAPIClientForREST/GTLRFirebaseappcheckQuery.h +++ b/Sources/GeneratedServices/Firebaseappcheck/Public/GoogleAPIClientForREST/GTLRFirebaseappcheckQuery.h @@ -71,6 +71,198 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Accepts an App Attest assertion and an artifact previously obtained from + * ExchangeAppAttestAttestation and verifies those with Apple. If valid, + * returns an AppCheckToken. + * + * Method: firebaseappcheck.oauthClients.exchangeAppAttestAssertion + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseappcheckCloudPlatform + * @c kGTLRAuthScopeFirebaseappcheckFirebase + */ +@interface GTLRFirebaseappcheckQuery_OauthClientsExchangeAppAttestAssertion : GTLRFirebaseappcheckQuery + +/** + * Required. The relative resource name of the iOS app, in the format: ``` + * projects/{project_number}/apps/{app_id} ``` If necessary, the + * `project_number` element can be replaced with the project ID of the Firebase + * project. Learn more about using project identifiers in Google's [AIP + * 2510](https://google.aip.dev/cloud/2510) standard. + */ +@property(nonatomic, copy, nullable) NSString *app; + +/** + * Fetches a @c GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1AppCheckToken. + * + * Accepts an App Attest assertion and an artifact previously obtained from + * ExchangeAppAttestAttestation and verifies those with Apple. If valid, + * returns an AppCheckToken. + * + * @param object The @c + * GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest + * to include in the query. + * @param app Required. The relative resource name of the iOS app, in the + * format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the + * `project_number` element can be replaced with the project ID of the + * Firebase project. Learn more about using project identifiers in Google's + * [AIP 2510](https://google.aip.dev/cloud/2510) standard. + * + * @return GTLRFirebaseappcheckQuery_OauthClientsExchangeAppAttestAssertion + */ ++ (instancetype)queryWithObject:(GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest *)object + app:(NSString *)app; + +@end + +/** + * Accepts an App Attest CBOR attestation and verifies it with Apple using your + * preconfigured team and bundle IDs. If valid, returns an attestation artifact + * that can later be exchanged for an AppCheckToken using + * ExchangeAppAttestAssertion. For convenience and performance, this method's + * response object will also contain an AppCheckToken (if the verification is + * successful). + * + * Method: firebaseappcheck.oauthClients.exchangeAppAttestAttestation + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseappcheckCloudPlatform + * @c kGTLRAuthScopeFirebaseappcheckFirebase + */ +@interface GTLRFirebaseappcheckQuery_OauthClientsExchangeAppAttestAttestation : GTLRFirebaseappcheckQuery + +/** + * Required. The relative resource name of the iOS app, in the format: ``` + * projects/{project_number}/apps/{app_id} ``` If necessary, the + * `project_number` element can be replaced with the project ID of the Firebase + * project. Learn more about using project identifiers in Google's [AIP + * 2510](https://google.aip.dev/cloud/2510) standard. + */ +@property(nonatomic, copy, nullable) NSString *app; + +/** + * Fetches a @c + * GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse. + * + * Accepts an App Attest CBOR attestation and verifies it with Apple using your + * preconfigured team and bundle IDs. If valid, returns an attestation artifact + * that can later be exchanged for an AppCheckToken using + * ExchangeAppAttestAssertion. For convenience and performance, this method's + * response object will also contain an AppCheckToken (if the verification is + * successful). + * + * @param object The @c + * GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest + * to include in the query. + * @param app Required. The relative resource name of the iOS app, in the + * format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the + * `project_number` element can be replaced with the project ID of the + * Firebase project. Learn more about using project identifiers in Google's + * [AIP 2510](https://google.aip.dev/cloud/2510) standard. + * + * @return GTLRFirebaseappcheckQuery_OauthClientsExchangeAppAttestAttestation + */ ++ (instancetype)queryWithObject:(GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest *)object + app:(NSString *)app; + +@end + +/** + * Validates a debug token secret that you have previously created using + * CreateDebugToken. If valid, returns an AppCheckToken. Note that a + * restrictive quota is enforced on this method to prevent accidental exposure + * of the app to abuse. + * + * Method: firebaseappcheck.oauthClients.exchangeDebugToken + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseappcheckCloudPlatform + * @c kGTLRAuthScopeFirebaseappcheckFirebase + */ +@interface GTLRFirebaseappcheckQuery_OauthClientsExchangeDebugToken : GTLRFirebaseappcheckQuery + +/** + * Required. The relative resource name of the app, in the format: ``` + * projects/{project_number}/apps/{app_id} ``` If necessary, the + * `project_number` element can be replaced with the project ID of the Firebase + * project. Learn more about using project identifiers in Google's [AIP + * 2510](https://google.aip.dev/cloud/2510) standard. + */ +@property(nonatomic, copy, nullable) NSString *app; + +/** + * Fetches a @c GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1AppCheckToken. + * + * Validates a debug token secret that you have previously created using + * CreateDebugToken. If valid, returns an AppCheckToken. Note that a + * restrictive quota is enforced on this method to prevent accidental exposure + * of the app to abuse. + * + * @param object The @c + * GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest to + * include in the query. + * @param app Required. The relative resource name of the app, in the format: + * ``` projects/{project_number}/apps/{app_id} ``` If necessary, the + * `project_number` element can be replaced with the project ID of the + * Firebase project. Learn more about using project identifiers in Google's + * [AIP 2510](https://google.aip.dev/cloud/2510) standard. + * + * @return GTLRFirebaseappcheckQuery_OauthClientsExchangeDebugToken + */ ++ (instancetype)queryWithObject:(GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest *)object + app:(NSString *)app; + +@end + +/** + * Generates a challenge that protects the integrity of an immediately + * following call to ExchangeAppAttestAttestation or + * ExchangeAppAttestAssertion. A challenge should not be reused for multiple + * calls. + * + * Method: firebaseappcheck.oauthClients.generateAppAttestChallenge + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseappcheckCloudPlatform + * @c kGTLRAuthScopeFirebaseappcheckFirebase + */ +@interface GTLRFirebaseappcheckQuery_OauthClientsGenerateAppAttestChallenge : GTLRFirebaseappcheckQuery + +/** + * Required. The relative resource name of the iOS app, in the format: ``` + * projects/{project_number}/apps/{app_id} ``` If necessary, the + * `project_number` element can be replaced with the project ID of the Firebase + * project. Learn more about using project identifiers in Google's [AIP + * 2510](https://google.aip.dev/cloud/2510) standard. + */ +@property(nonatomic, copy, nullable) NSString *app; + +/** + * Fetches a @c + * GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse. + * + * Generates a challenge that protects the integrity of an immediately + * following call to ExchangeAppAttestAttestation or + * ExchangeAppAttestAssertion. A challenge should not be reused for multiple + * calls. + * + * @param object The @c + * GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest + * to include in the query. + * @param app Required. The relative resource name of the iOS app, in the + * format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the + * `project_number` element can be replaced with the project ID of the + * Firebase project. Learn more about using project identifiers in Google's + * [AIP 2510](https://google.aip.dev/cloud/2510) standard. + * + * @return GTLRFirebaseappcheckQuery_OauthClientsGenerateAppAttestChallenge + */ ++ (instancetype)queryWithObject:(GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest *)object + app:(NSString *)app; + +@end + /** * Atomically gets the AppAttestConfigs for the specified list of apps. * @@ -1403,7 +1595,7 @@ GTLR_DEPRECATED /** * Updates the RecaptchaV3Config for the specified app. While this * configuration is incomplete or invalid, the app will be unable to exchange - * reCAPTCHA tokens for App Check tokens. For security reasons, the + * reCAPTCHA V3 tokens for App Check tokens. For security reasons, the * `site_secret` field is never populated in the response. * * Method: firebaseappcheck.projects.apps.recaptchaV3Config.patch @@ -1434,7 +1626,7 @@ GTLR_DEPRECATED * * Updates the RecaptchaV3Config for the specified app. While this * configuration is incomplete or invalid, the app will be unable to exchange - * reCAPTCHA tokens for App Check tokens. For security reasons, the + * reCAPTCHA V3 tokens for App Check tokens. For security reasons, the * `site_secret` field is never populated in the response. * * @param object The @c diff --git a/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m b/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m index fbf354ce0..a0988ebd8 100644 --- a/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m +++ b/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m @@ -771,6 +771,7 @@ @implementation GTLRFirestore_GoogleFirestoreAdminV1CreateDatabaseMetadata // @implementation GTLRFirestore_GoogleFirestoreAdminV1DailyRecurrence +@dynamic time; @end @@ -782,8 +783,8 @@ @implementation GTLRFirestore_GoogleFirestoreAdminV1DailyRecurrence @implementation GTLRFirestore_GoogleFirestoreAdminV1Database @dynamic appEngineIntegrationMode, cmekConfig, concurrencyMode, createTime, deleteProtectionState, deleteTime, earliestVersionTime, ETag, - keyPrefix, locationId, name, pointInTimeRecoveryEnablement, type, uid, - updateTime, versionRetentionPeriod; + keyPrefix, locationId, name, pointInTimeRecoveryEnablement, previousId, + type, uid, updateTime, versionRetentionPeriod; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; @@ -1198,7 +1199,7 @@ @implementation GTLRFirestore_GoogleFirestoreAdminV1VectorConfig // @implementation GTLRFirestore_GoogleFirestoreAdminV1WeeklyRecurrence -@dynamic day; +@dynamic day, time; @end @@ -1740,6 +1741,16 @@ @implementation GTLRFirestore_TargetChange @end +// ---------------------------------------------------------------------------- +// +// GTLRFirestore_TimeOfDay +// + +@implementation GTLRFirestore_TimeOfDay +@dynamic hours, minutes, nanos, seconds; +@end + + // ---------------------------------------------------------------------------- // // GTLRFirestore_TransactionOptions diff --git a/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h b/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h index db06cffb1..1881cc773 100644 --- a/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h +++ b/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h @@ -88,6 +88,7 @@ @class GTLRFirestore_Sum; @class GTLRFirestore_Target; @class GTLRFirestore_TargetChange; +@class GTLRFirestore_TimeOfDay; @class GTLRFirestore_TransactionOptions; @class GTLRFirestore_UnaryFilter; @class GTLRFirestore_Value; @@ -2213,6 +2214,13 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; * Represents a recurring schedule that runs every day. The time zone is UTC. */ @interface GTLRFirestore_GoogleFirestoreAdminV1DailyRecurrence : GTLRObject + +/** + * Time of the day. The first run scheduled will be either on the same day if + * schedule creation time precedes time_of_day or the next day otherwise. + */ +@property(nonatomic, strong, nullable) GTLRFirestore_TimeOfDay *time; + @end @@ -2284,8 +2292,8 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; @property(nonatomic, copy, nullable) NSString *deleteProtectionState; /** - * Output only. The timestamp at which this database was soft deleted. Only set - * if the database has been soft deleted. + * Output only. The timestamp at which this database was deleted. Only set if + * the database has been deleted. */ @property(nonatomic, strong, nullable) GTLRDateTime *deleteTime; @@ -2347,6 +2355,12 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; */ @property(nonatomic, copy, nullable) NSString *pointInTimeRecoveryEnablement; +/** + * Output only. The database resource's prior database ID. This field is only + * populated for deleted databases. + */ +@property(nonatomic, copy, nullable) NSString *previousId; + /** * The type of the database. See * https://cloud.google.com/datastore/docs/firestore-or-datastore for @@ -2484,7 +2498,10 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; */ @interface GTLRFirestore_GoogleFirestoreAdminV1ExportDocumentsRequest : GTLRObject -/** Which collection ids to export. Unspecified means all collections. */ +/** + * Which collection ids to export. Unspecified means all collections. Each + * collection id in this list must be unique. + */ @property(nonatomic, strong, nullable) NSArray *collectionIds; /** @@ -2724,7 +2741,7 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; /** * Which collection ids to import. Unspecified means all collections included - * in the import. + * in the import. Each collection id in this list must be unique. */ @property(nonatomic, strong, nullable) NSArray *collectionIds; @@ -3376,6 +3393,12 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; */ @property(nonatomic, copy, nullable) NSString *day; +/** + * Time of the day. If day is today, the first run will happen today if + * schedule creation time precedes time_of_day, and the next week otherwise. + */ +@property(nonatomic, strong, nullable) GTLRFirestore_TimeOfDay *time; + @end @@ -4493,6 +4516,46 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; @end +/** + * Represents a time of day. The date and time zone are either not significant + * or are specified elsewhere. An API may choose to allow leap seconds. Related + * types are google.type.Date and `google.protobuf.Timestamp`. + */ +@interface GTLRFirestore_TimeOfDay : GTLRObject + +/** + * Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to + * allow the value "24:00:00" for scenarios like business closing time. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hours; + +/** + * Minutes of hour of day. Must be from 0 to 59. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minutes; + +/** + * Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *nanos; + +/** + * Seconds of minutes of the time. Must normally be from 0 to 59. An API may + * allow the value 60 if it allows leap-seconds. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *seconds; + +@end + + /** * Options for creating a new transaction. */ diff --git a/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m b/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m index ff5ca43a1..42923d741 100644 --- a/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m +++ b/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m @@ -309,6 +309,7 @@ // GTLRGKEHub_SecurityPostureConfig.mode NSString * const kGTLRGKEHub_SecurityPostureConfig_Mode_Basic = @"BASIC"; NSString * const kGTLRGKEHub_SecurityPostureConfig_Mode_Disabled = @"DISABLED"; +NSString * const kGTLRGKEHub_SecurityPostureConfig_Mode_Enterprise = @"ENTERPRISE"; NSString * const kGTLRGKEHub_SecurityPostureConfig_Mode_ModeUnspecified = @"MODE_UNSPECIFIED"; // GTLRGKEHub_SecurityPostureConfig.vulnerabilityMode @@ -1722,11 +1723,12 @@ + (NSString *)collectionItemsKey { // @implementation GTLRGKEHub_ListMembershipBindingsResponse -@dynamic membershipBindings, nextPageToken; +@dynamic membershipBindings, nextPageToken, unreachable; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"membershipBindings" : [GTLRGKEHub_MembershipBinding class] + @"membershipBindings" : [GTLRGKEHub_MembershipBinding class], + @"unreachable" : [NSString class] }; return map; } diff --git a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h index d684a874f..192c9920c 100644 --- a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h +++ b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h @@ -1698,6 +1698,12 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_SecurityPostureConfig_Mode_Basic; * Value: "DISABLED" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_SecurityPostureConfig_Mode_Disabled; +/** + * Applies the Security Posture off cluster Enterprise level features. + * + * Value: "ENTERPRISE" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_SecurityPostureConfig_Mode_Enterprise; /** * Default value not specified. * @@ -5097,6 +5103,9 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; */ @property(nonatomic, copy, nullable) NSString *nextPageToken; +/** List of locations that could not be reached while fetching this list. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + @end @@ -6908,6 +6917,9 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_Status_Code_Unknown; * Posture features on the cluster. (Value: "BASIC") * @arg @c kGTLRGKEHub_SecurityPostureConfig_Mode_Disabled Disables Security * Posture features on the cluster. (Value: "DISABLED") + * @arg @c kGTLRGKEHub_SecurityPostureConfig_Mode_Enterprise Applies the + * Security Posture off cluster Enterprise level features. (Value: + * "ENTERPRISE") * @arg @c kGTLRGKEHub_SecurityPostureConfig_Mode_ModeUnspecified Default * value not specified. (Value: "MODE_UNSPECIFIED") */ diff --git a/Sources/GeneratedServices/Gmail/GTLRGmailQuery.m b/Sources/GeneratedServices/Gmail/GTLRGmailQuery.m index 84808da19..a6a0c64d3 100644 --- a/Sources/GeneratedServices/Gmail/GTLRGmailQuery.m +++ b/Sources/GeneratedServices/Gmail/GTLRGmailQuery.m @@ -209,7 +209,7 @@ + (instancetype)queryWithObject:(GTLRGmail_Draft *)object @implementation GTLRGmailQuery_UsersGetProfile -@dynamic temporaryEeccBypass, userId; +@dynamic userId; + (instancetype)queryWithUserId:(NSString *)userId { NSArray *pathParams = @[ @"userId" ]; @@ -423,7 +423,7 @@ + (instancetype)queryWithObject:(GTLRGmail_Label *)object @implementation GTLRGmailQuery_UsersMessagesAttachmentsGet -@dynamic identifier, messageId, temporaryEeccBypass, userId; +@dynamic identifier, messageId, userId; + (NSDictionary *)parameterNameMap { return @{ @"identifier" : @"id" }; @@ -530,7 +530,7 @@ + (instancetype)queryWithUserId:(NSString *)userId @implementation GTLRGmailQuery_UsersMessagesGet -@dynamic format, identifier, metadataHeaders, temporaryEeccBypass, userId; +@dynamic format, identifier, metadataHeaders, userId; + (NSDictionary *)parameterNameMap { return @{ @"identifier" : @"id" }; @@ -622,8 +622,7 @@ + (instancetype)queryWithObject:(GTLRGmail_Message *)object @implementation GTLRGmailQuery_UsersMessagesList -@dynamic includeSpamTrash, labelIds, maxResults, pageToken, q, - temporaryEeccBypass, userId; +@dynamic includeSpamTrash, labelIds, maxResults, pageToken, q, userId; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1919,7 +1918,7 @@ + (instancetype)queryWithUserId:(NSString *)userId @implementation GTLRGmailQuery_UsersThreadsGet -@dynamic format, identifier, metadataHeaders, temporaryEeccBypass, userId; +@dynamic format, identifier, metadataHeaders, userId; + (NSDictionary *)parameterNameMap { return @{ @"identifier" : @"id" }; @@ -1953,8 +1952,7 @@ + (instancetype)queryWithUserId:(NSString *)userId @implementation GTLRGmailQuery_UsersThreadsList -@dynamic includeSpamTrash, labelIds, maxResults, pageToken, q, - temporaryEeccBypass, userId; +@dynamic includeSpamTrash, labelIds, maxResults, pageToken, q, userId; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Gmail/Public/GoogleAPIClientForREST/GTLRGmailQuery.h b/Sources/GeneratedServices/Gmail/Public/GoogleAPIClientForREST/GTLRGmailQuery.h index 4dcead5e5..21bb3ba24 100644 --- a/Sources/GeneratedServices/Gmail/Public/GoogleAPIClientForREST/GTLRGmailQuery.h +++ b/Sources/GeneratedServices/Gmail/Public/GoogleAPIClientForREST/GTLRGmailQuery.h @@ -416,13 +416,6 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; */ @interface GTLRGmailQuery_UsersGetProfile : GTLRGmailQuery -/** - * temporaryEeccBypass - * - * @note If not set, the documented server-side default will be false. - */ -@property(nonatomic, assign) BOOL temporaryEeccBypass; - /** * The user's email address. The special value `me` can be used to indicate the * authenticated user. @@ -803,13 +796,6 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; /** The ID of the message containing the attachment. */ @property(nonatomic, copy, nullable) NSString *messageId; -/** - * temporaryEeccBypass - * - * @note If not set, the documented server-side default will be false. - */ -@property(nonatomic, assign) BOOL temporaryEeccBypass; - /** * The user's email address. The special value `me` can be used to indicate the * authenticated user. @@ -1006,13 +992,6 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; /** When given and format is `METADATA`, only include headers specified. */ @property(nonatomic, strong, nullable) NSArray *metadataHeaders; -/** - * temporaryEeccBypass - * - * @note If not set, the documented server-side default will be false. - */ -@property(nonatomic, assign) BOOL temporaryEeccBypass; - /** * The user's email address. The special value `me` can be used to indicate the * authenticated user. @@ -1237,13 +1216,6 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; */ @property(nonatomic, copy, nullable) NSString *q; -/** - * temporaryEeccBypass - * - * @note If not set, the documented server-side default will be false. - */ -@property(nonatomic, assign) BOOL temporaryEeccBypass; - /** * The user's email address. The special value `me` can be used to indicate the * authenticated user. @@ -3491,13 +3463,6 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; /** When given and format is METADATA, only include headers specified. */ @property(nonatomic, strong, nullable) NSArray *metadataHeaders; -/** - * temporaryEeccBypass - * - * @note If not set, the documented server-side default will be false. - */ -@property(nonatomic, assign) BOOL temporaryEeccBypass; - /** * The user's email address. The special value `me` can be used to indicate the * authenticated user. @@ -3566,13 +3531,6 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; */ @property(nonatomic, copy, nullable) NSString *q; -/** - * temporaryEeccBypass - * - * @note If not set, the documented server-side default will be false. - */ -@property(nonatomic, assign) BOOL temporaryEeccBypass; - /** * The user's email address. The special value `me` can be used to indicate the * authenticated user. diff --git a/Sources/GeneratedServices/GoogleAnalyticsAdmin/GTLRGoogleAnalyticsAdminObjects.m b/Sources/GeneratedServices/GoogleAnalyticsAdmin/GTLRGoogleAnalyticsAdminObjects.m index f3e09ce3d..69d4ecc61 100644 --- a/Sources/GeneratedServices/GoogleAnalyticsAdmin/GTLRGoogleAnalyticsAdminObjects.m +++ b/Sources/GeneratedServices/GoogleAnalyticsAdmin/GTLRGoogleAnalyticsAdminObjects.m @@ -988,6 +988,24 @@ @implementation GTLRGoogleAnalyticsAdmin_V1betaProvisionAccountTicketResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRGoogleAnalyticsAdmin_V1betaReorderEventEditRulesRequest +// + +@implementation GTLRGoogleAnalyticsAdmin_V1betaReorderEventEditRulesRequest +@dynamic eventEditRules; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"eventEditRules" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRGoogleAnalyticsAdmin_V1betaRunAccessReportRequest diff --git a/Sources/GeneratedServices/GoogleAnalyticsAdmin/GTLRGoogleAnalyticsAdminQuery.m b/Sources/GeneratedServices/GoogleAnalyticsAdmin/GTLRGoogleAnalyticsAdminQuery.m index 4d71fdee2..81f0f0354 100644 --- a/Sources/GeneratedServices/GoogleAnalyticsAdmin/GTLRGoogleAnalyticsAdminQuery.m +++ b/Sources/GeneratedServices/GoogleAnalyticsAdmin/GTLRGoogleAnalyticsAdminQuery.m @@ -663,6 +663,33 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRGoogleAnalyticsAdminQuery_PropertiesDataStreamsEventEditRulesReorder + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRGoogleAnalyticsAdmin_V1betaReorderEventEditRulesRequest *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1beta/{+parent}/eventEditRules:reorder"; + GTLRGoogleAnalyticsAdminQuery_PropertiesDataStreamsEventEditRulesReorder *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRGoogleAnalyticsAdmin_GoogleProtobufEmpty class]; + query.loggingName = @"analyticsadmin.properties.dataStreams.eventEditRules.reorder"; + return query; +} + +@end + @implementation GTLRGoogleAnalyticsAdminQuery_PropertiesDataStreamsGet @dynamic name; diff --git a/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminObjects.h b/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminObjects.h index d4600a7b4..c89a21ba2 100644 --- a/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminObjects.h +++ b/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminObjects.h @@ -2723,6 +2723,21 @@ FOUNDATION_EXTERN NSString * const kGTLRGoogleAnalyticsAdmin_V1betaSearchChangeH @end +/** + * Request message for ReorderEventEditRules RPC. + */ +@interface GTLRGoogleAnalyticsAdmin_V1betaReorderEventEditRulesRequest : GTLRObject + +/** + * Required. EventEditRule resource names for the specified data stream, in the + * needed processing order. All EventEditRules for the stream must be present + * in the list. + */ +@property(nonatomic, strong, nullable) NSArray *eventEditRules; + +@end + + /** * The request for a Data Access Record Report. */ diff --git a/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminQuery.h b/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminQuery.h index 9c272f5fd..59b081101 100644 --- a/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminQuery.h +++ b/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminQuery.h @@ -1093,6 +1093,33 @@ GTLR_DEPRECATED @end +/** + * Changes the processing order of event edit rules on the specified stream. + * + * Method: analyticsadmin.properties.dataStreams.eventEditRules.reorder + */ +@interface GTLRGoogleAnalyticsAdminQuery_PropertiesDataStreamsEventEditRulesReorder : GTLRGoogleAnalyticsAdminQuery + +/** Required. Example format: properties/123/dataStreams/456 */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRGoogleAnalyticsAdmin_GoogleProtobufEmpty. + * + * Changes the processing order of event edit rules on the specified stream. + * + * @param object The @c + * GTLRGoogleAnalyticsAdmin_V1betaReorderEventEditRulesRequest to include in + * the query. + * @param parent Required. Example format: properties/123/dataStreams/456 + * + * @return GTLRGoogleAnalyticsAdminQuery_PropertiesDataStreamsEventEditRulesReorder + */ ++ (instancetype)queryWithObject:(GTLRGoogleAnalyticsAdmin_V1betaReorderEventEditRulesRequest *)object + parent:(NSString *)parent; + +@end + /** * Lookup for a single DataStream. * diff --git a/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/GTLRGoogleMarketingPlatformAdminAPIObjects.m b/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/GTLRGoogleMarketingPlatformAdminAPIObjects.m index 6d37e1a35..f250a98da 100644 --- a/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/GTLRGoogleMarketingPlatformAdminAPIObjects.m +++ b/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/GTLRGoogleMarketingPlatformAdminAPIObjects.m @@ -7,8 +7,8 @@ // The Google Marketing Platform Admin API allows for programmatic access to // the Google Marketing Platform configuration data. You can use the Google // Marketing Platform Admin API to manage links between your Google Marketing -// Platform organization and Google Analytics accounts, set the service level -// of your GA4 properties. +// Platform organization and Google Analytics accounts, and to set the service +// level of your GA4 properties. // Documentation: // https://developers.google.com/analytics/devguides/config/gmp/v1 diff --git a/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/GTLRGoogleMarketingPlatformAdminAPIQuery.m b/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/GTLRGoogleMarketingPlatformAdminAPIQuery.m index 3a823e139..a26ffcc89 100644 --- a/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/GTLRGoogleMarketingPlatformAdminAPIQuery.m +++ b/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/GTLRGoogleMarketingPlatformAdminAPIQuery.m @@ -7,8 +7,8 @@ // The Google Marketing Platform Admin API allows for programmatic access to // the Google Marketing Platform configuration data. You can use the Google // Marketing Platform Admin API to manage links between your Google Marketing -// Platform organization and Google Analytics accounts, set the service level -// of your GA4 properties. +// Platform organization and Google Analytics accounts, and to set the service +// level of your GA4 properties. // Documentation: // https://developers.google.com/analytics/devguides/config/gmp/v1 diff --git a/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/GTLRGoogleMarketingPlatformAdminAPIService.m b/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/GTLRGoogleMarketingPlatformAdminAPIService.m index 2d64dd3bd..299e74be8 100644 --- a/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/GTLRGoogleMarketingPlatformAdminAPIService.m +++ b/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/GTLRGoogleMarketingPlatformAdminAPIService.m @@ -7,8 +7,8 @@ // The Google Marketing Platform Admin API allows for programmatic access to // the Google Marketing Platform configuration data. You can use the Google // Marketing Platform Admin API to manage links between your Google Marketing -// Platform organization and Google Analytics accounts, set the service level -// of your GA4 properties. +// Platform organization and Google Analytics accounts, and to set the service +// level of your GA4 properties. // Documentation: // https://developers.google.com/analytics/devguides/config/gmp/v1 diff --git a/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/Public/GoogleAPIClientForREST/GTLRGoogleMarketingPlatformAdminAPI.h b/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/Public/GoogleAPIClientForREST/GTLRGoogleMarketingPlatformAdminAPI.h index e08870a2f..f4cc89249 100644 --- a/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/Public/GoogleAPIClientForREST/GTLRGoogleMarketingPlatformAdminAPI.h +++ b/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/Public/GoogleAPIClientForREST/GTLRGoogleMarketingPlatformAdminAPI.h @@ -7,8 +7,8 @@ // The Google Marketing Platform Admin API allows for programmatic access to // the Google Marketing Platform configuration data. You can use the Google // Marketing Platform Admin API to manage links between your Google Marketing -// Platform organization and Google Analytics accounts, set the service level -// of your GA4 properties. +// Platform organization and Google Analytics accounts, and to set the service +// level of your GA4 properties. // Documentation: // https://developers.google.com/analytics/devguides/config/gmp/v1 diff --git a/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/Public/GoogleAPIClientForREST/GTLRGoogleMarketingPlatformAdminAPIObjects.h b/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/Public/GoogleAPIClientForREST/GTLRGoogleMarketingPlatformAdminAPIObjects.h index 58df1b9ba..7c97b68c9 100644 --- a/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/Public/GoogleAPIClientForREST/GTLRGoogleMarketingPlatformAdminAPIObjects.h +++ b/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/Public/GoogleAPIClientForREST/GTLRGoogleMarketingPlatformAdminAPIObjects.h @@ -7,8 +7,8 @@ // The Google Marketing Platform Admin API allows for programmatic access to // the Google Marketing Platform configuration data. You can use the Google // Marketing Platform Admin API to manage links between your Google Marketing -// Platform organization and Google Analytics accounts, set the service level -// of your GA4 properties. +// Platform organization and Google Analytics accounts, and to set the service +// level of your GA4 properties. // Documentation: // https://developers.google.com/analytics/devguides/config/gmp/v1 diff --git a/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/Public/GoogleAPIClientForREST/GTLRGoogleMarketingPlatformAdminAPIQuery.h b/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/Public/GoogleAPIClientForREST/GTLRGoogleMarketingPlatformAdminAPIQuery.h index ce4a3f832..403a90e46 100644 --- a/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/Public/GoogleAPIClientForREST/GTLRGoogleMarketingPlatformAdminAPIQuery.h +++ b/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/Public/GoogleAPIClientForREST/GTLRGoogleMarketingPlatformAdminAPIQuery.h @@ -7,8 +7,8 @@ // The Google Marketing Platform Admin API allows for programmatic access to // the Google Marketing Platform configuration data. You can use the Google // Marketing Platform Admin API to manage links between your Google Marketing -// Platform organization and Google Analytics accounts, set the service level -// of your GA4 properties. +// Platform organization and Google Analytics accounts, and to set the service +// level of your GA4 properties. // Documentation: // https://developers.google.com/analytics/devguides/config/gmp/v1 diff --git a/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/Public/GoogleAPIClientForREST/GTLRGoogleMarketingPlatformAdminAPIService.h b/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/Public/GoogleAPIClientForREST/GTLRGoogleMarketingPlatformAdminAPIService.h index 0291b4873..f09231d0d 100644 --- a/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/Public/GoogleAPIClientForREST/GTLRGoogleMarketingPlatformAdminAPIService.h +++ b/Sources/GeneratedServices/GoogleMarketingPlatformAdminAPI/Public/GoogleAPIClientForREST/GTLRGoogleMarketingPlatformAdminAPIService.h @@ -7,8 +7,8 @@ // The Google Marketing Platform Admin API allows for programmatic access to // the Google Marketing Platform configuration data. You can use the Google // Marketing Platform Admin API to manage links between your Google Marketing -// Platform organization and Google Analytics accounts, set the service level -// of your GA4 properties. +// Platform organization and Google Analytics accounts, and to set the service +// level of your GA4 properties. // Documentation: // https://developers.google.com/analytics/devguides/config/gmp/v1 @@ -53,8 +53,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeGoogleMarketingPlatformAdminAPI * The Google Marketing Platform Admin API allows for programmatic access to * the Google Marketing Platform configuration data. You can use the Google * Marketing Platform Admin API to manage links between your Google Marketing - * Platform organization and Google Analytics accounts, set the service level - * of your GA4 properties. + * Platform organization and Google Analytics accounts, and to set the service + * level of your GA4 properties. */ @interface GTLRGoogleMarketingPlatformAdminAPIService : GTLRService diff --git a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h index 0859ffe6c..a157859bf 100644 --- a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h +++ b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h @@ -1786,8 +1786,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @property(nonatomic, strong, nullable) GTLRHangoutsChat_DriveDataRef *driveDataRef; /** - * Resource name of the attachment, in the form `spaces/ * /messages/ * - * /attachments/ *`. + * Resource name of the attachment, in the form + * `spaces/{space}/messages/{message}/attachments/{attachment}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -5289,15 +5289,15 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** * Optional. The Google Chat users to invite to join the space. Omit the * calling user, as they are added automatically. The set currently allows up - * to 20 memberships (in addition to the caller). The `Membership.member` field - * must contain a `user` with `name` populated (format: `users/{user}`) and - * `type` set to `User.Type.HUMAN`. You can only add human users when setting - * up a space (adding Chat apps is only supported for direct message setup with - * the calling app). You can also add members using the user's email as an - * alias for {user}. For example, the `user.name` can be - * `users/example\@gmail.com`." To invite Gmail users or users from external - * Google Workspace domains, user's email must be used for `{user}`. Optional - * when setting `Space.spaceType` to `SPACE`. Required when setting + * to 20 memberships (in addition to the caller). For human membership, the + * `Membership.member` field must contain a `user` with `name` populated + * (format: `users/{user}`) and `type` set to `User.Type.HUMAN`. You can only + * add human users when setting up a space (adding Chat apps is only supported + * for direct message setup with the calling app). You can also add members + * using the user's email as an alias for {user}. For example, the `user.name` + * can be `users/example\@gmail.com`. To invite Gmail users or users from + * external Google Workspace domains, user's email must be used for `{user}`. + * Optional when setting `Space.spaceType` to `SPACE`. Required when setting * `Space.spaceType` to `GROUP_CHAT`, along with at least two memberships. * Required when setting `Space.spaceType` to `DIRECT_MESSAGE` with a human * user, along with exactly one membership. Must be empty when creating a 1:1 @@ -5401,11 +5401,11 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @interface GTLRHangoutsChat_Space : GTLRObject /** - * Output only. Whether the Chat app was installed by a Google Workspace - * administrator. Administrators can install a Chat app for their domain, - * organizational unit, or a group of users. Administrators can only install - * Chat apps for direct messaging between users and the app. To support admin - * install, your app must feature direct messaging. + * Output only. For direct message (DM) spaces with a Chat app, whether the + * space was created by a Google Workspace administrator. Administrators can + * install and set up a direct message with a Chat app on behalf of users in + * their organization. To support admin install, your Chat app must feature + * direct messaging. * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h index f22783a74..c35d68bf7 100644 --- a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h +++ b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h @@ -376,7 +376,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa @interface GTLRHangoutsChatQuery_SpacesGet : GTLRHangoutsChatQuery /** - * Required. Resource name of the space, in the form "spaces/ *". Format: + * Required. Resource name of the space, in the form `spaces/{space}`. Format: * `spaces/{space}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -392,8 +392,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * and [user * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). * - * @param name Required. Resource name of the space, in the form "spaces/ *". - * Format: `spaces/{space}` + * @param name Required. Resource name of the space, in the form + * `spaces/{space}`. Format: `spaces/{space}` * * @return GTLRHangoutsChatQuery_SpacesGet */ @@ -411,7 +411,9 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * and [user * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). * Lists spaces visible to the caller or authenticated user. Group chats and - * DMs aren't listed until the first message is sent. + * DMs aren't listed until the first message is sent. To list all named spaces + * by Google Workspace organization, use the `spaces.search()` method using + * Workspace administrator privileges instead. * * Method: chat.spaces.list * @@ -462,7 +464,9 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * and [user * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). * Lists spaces visible to the caller or authenticated user. Group chats and - * DMs aren't listed until the first message is sent. + * DMs aren't listed until the first message is sent. To list all named spaces + * by Google Workspace organization, use the `spaces.search()` method using + * Workspace administrator privileges instead. * * @return GTLRHangoutsChatQuery_SpacesList * @@ -484,15 +488,15 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * before joining. Otherwise, creating a membership adds the member directly to * the specified space. Requires [user * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). - * To specify the member to add, set the `membership.member.name` in the - * `CreateMembershipRequest`: - To add the calling app to a space or a direct - * message between two human users, use `users/app`. Unable to add other apps - * to the space. - To add a human user, use `users/{user}`, where `{user}` can - * be the email address for the user. For users in the same Workspace - * organization `{user}` can also be the `id` for the person from the People - * API, or the `id` for the user in the Directory API. For example, if the - * People API Person profile ID for `user\@example.com` is `123456789`, you can - * add the user to the space by setting the `membership.member.name` to + * To specify the member to add, set the `membership.member.name` for the human + * or app member. - To add the calling app to a space or a direct message + * between two human users, use `users/app`. Unable to add other apps to the + * space. - To add a human user, use `users/{user}`, where `{user}` can be the + * email address for the user. For users in the same Workspace organization + * `{user}` can also be the `id` for the person from the People API, or the + * `id` for the user in the Directory API. For example, if the People API + * Person profile ID for `user\@example.com` is `123456789`, you can add the + * user to the space by setting the `membership.member.name` to * `users/user\@example.com` or `users/123456789`. * * Method: chat.spaces.members.create @@ -522,15 +526,15 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * before joining. Otherwise, creating a membership adds the member directly to * the specified space. Requires [user * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). - * To specify the member to add, set the `membership.member.name` in the - * `CreateMembershipRequest`: - To add the calling app to a space or a direct - * message between two human users, use `users/app`. Unable to add other apps - * to the space. - To add a human user, use `users/{user}`, where `{user}` can - * be the email address for the user. For users in the same Workspace - * organization `{user}` can also be the `id` for the person from the People - * API, or the `id` for the user in the Directory API. For example, if the - * People API Person profile ID for `user\@example.com` is `123456789`, you can - * add the user to the space by setting the `membership.member.name` to + * To specify the member to add, set the `membership.member.name` for the human + * or app member. - To add the calling app to a space or a direct message + * between two human users, use `users/app`. Unable to add other apps to the + * space. - To add a human user, use `users/{user}`, where `{user}` can be the + * email address for the user. For users in the same Workspace organization + * `{user}` can also be the `id` for the person from the People API, or the + * `id` for the user in the Directory API. For example, if the People API + * Person profile ID for `user\@example.com` is `123456789`, you can add the + * user to the space by setting the `membership.member.name` to * `users/user\@example.com` or `users/123456789`. * * @param object The @c GTLRHangoutsChat_Membership to include in the query. @@ -696,13 +700,16 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * and type * ([`member.type`](https://developers.google.com/workspace/chat/api/reference/rest/v1/User#type)). * To filter by role, set `role` to `ROLE_MEMBER` or `ROLE_MANAGER`. To filter - * by type, set `member.type` to `HUMAN` or `BOT`. To filter by both role and - * type, use the `AND` operator. To filter by either role or type, use the `OR` - * operator. For example, the following queries are valid: ``` role = - * "ROLE_MANAGER" OR role = "ROLE_MEMBER" member.type = "HUMAN" AND role = - * "ROLE_MANAGER" ``` The following queries are invalid: ``` member.type = - * "HUMAN" AND member.type = "BOT" role = "ROLE_MANAGER" AND role = - * "ROLE_MEMBER" ``` Invalid queries are rejected by the server with an + * by type, set `member.type` to `HUMAN` or `BOT`. Developer Preview: You can + * also filter for `member.type` using the `!=` operator. To filter by both + * role and type, use the `AND` operator. To filter by either role or type, use + * the `OR` operator. Either `member.type = "HUMAN"` or `member.type != "BOT"` + * is required when `use_admin_access` is set to true. Other member type + * filters will be rejected. For example, the following queries are valid: ``` + * role = "ROLE_MANAGER" OR role = "ROLE_MEMBER" member.type = "HUMAN" AND role + * = "ROLE_MANAGER" member.type != "BOT" ``` The following queries are invalid: + * ``` member.type = "HUMAN" AND member.type = "BOT" role = "ROLE_MANAGER" AND + * role = "ROLE_MEMBER" ``` Invalid queries are rejected by the server with an * `INVALID_ARGUMENT` error. */ @property(nonatomic, copy, nullable) NSString *filter; @@ -843,8 +850,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa @interface GTLRHangoutsChatQuery_SpacesMessagesAttachmentsGet : GTLRHangoutsChatQuery /** - * Required. Resource name of the attachment, in the form `spaces/ * /messages/ - * * /attachments/ *`. + * Required. Resource name of the attachment, in the form + * `spaces/{space}/messages/{message}/attachments/{attachment}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -859,8 +866,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Requires [app * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). * - * @param name Required. Resource name of the attachment, in the form `spaces/ - * * /messages/ * /attachments/ *`. + * @param name Required. Resource name of the attachment, in the form + * `spaces/{space}/messages/{message}/attachments/{attachment}`. * * @return GTLRHangoutsChatQuery_SpacesMessagesAttachmentsGet */ @@ -1618,19 +1625,19 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * in the request. For an example, see [Set up a space with initial * members](https://developers.google.com/workspace/chat/set-up-spaces). To * specify the human members to add, add memberships with the appropriate - * `member.name` in the `SetUpSpaceRequest`. To add a human user, use - * `users/{user}`, where `{user}` can be the email address for the user. For - * users in the same Workspace organization `{user}` can also be the `id` for - * the person from the People API, or the `id` for the user in the Directory - * API. For example, if the People API Person profile ID for - * `user\@example.com` is `123456789`, you can add the user to the space by - * setting the `membership.member.name` to `users/user\@example.com` or - * `users/123456789`. For a space or group chat, if the caller blocks or is - * blocked by some members, then those members aren't added to the created - * space. To create a direct message (DM) between the calling user and another - * human user, specify exactly one membership to represent the human user. If - * one user blocks the other, the request fails and the DM isn't created. To - * create a DM between the calling user and the calling app, set + * `membership.member.name`. To add a human user, use `users/{user}`, where + * `{user}` can be the email address for the user. For users in the same + * Workspace organization `{user}` can also be the `id` for the person from the + * People API, or the `id` for the user in the Directory API. For example, if + * the People API Person profile ID for `user\@example.com` is `123456789`, you + * can add the user to the space by setting the `membership.member.name` to + * `users/user\@example.com` or `users/123456789`. For a named space or group + * chat, if the caller blocks, or is blocked by some members, or doesn't have + * permission to add some members, then those members aren't added to the + * created space. To create a direct message (DM) between the calling user and + * another human user, specify exactly one membership to represent the human + * user. If one user blocks the other, the request fails and the DM isn't + * created. To create a DM between the calling user and the calling app, set * `Space.singleUserBotDm` to `true` and don't specify any memberships. You can * only use this method to set up a DM with the calling app. To add the calling * app as a member of a space or an existing DM between two human users, see @@ -1660,19 +1667,19 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * in the request. For an example, see [Set up a space with initial * members](https://developers.google.com/workspace/chat/set-up-spaces). To * specify the human members to add, add memberships with the appropriate - * `member.name` in the `SetUpSpaceRequest`. To add a human user, use - * `users/{user}`, where `{user}` can be the email address for the user. For - * users in the same Workspace organization `{user}` can also be the `id` for - * the person from the People API, or the `id` for the user in the Directory - * API. For example, if the People API Person profile ID for - * `user\@example.com` is `123456789`, you can add the user to the space by - * setting the `membership.member.name` to `users/user\@example.com` or - * `users/123456789`. For a space or group chat, if the caller blocks or is - * blocked by some members, then those members aren't added to the created - * space. To create a direct message (DM) between the calling user and another - * human user, specify exactly one membership to represent the human user. If - * one user blocks the other, the request fails and the DM isn't created. To - * create a DM between the calling user and the calling app, set + * `membership.member.name`. To add a human user, use `users/{user}`, where + * `{user}` can be the email address for the user. For users in the same + * Workspace organization `{user}` can also be the `id` for the person from the + * People API, or the `id` for the user in the Directory API. For example, if + * the People API Person profile ID for `user\@example.com` is `123456789`, you + * can add the user to the space by setting the `membership.member.name` to + * `users/user\@example.com` or `users/123456789`. For a named space or group + * chat, if the caller blocks, or is blocked by some members, or doesn't have + * permission to add some members, then those members aren't added to the + * created space. To create a direct message (DM) between the calling user and + * another human user, specify exactly one membership to represent the human + * user. If one user blocks the other, the request fails and the DM isn't + * created. To create a DM between the calling user and the calling app, set * `Space.singleUserBotDm` to `true` and don't specify any memberships. You can * only use this method to set up a DM with the calling app. To add the calling * app as a member of a space or an existing DM between two human users, see diff --git a/Sources/GeneratedServices/IDS/GTLRIDSObjects.m b/Sources/GeneratedServices/IDS/GTLRIDSObjects.m index f96cc9265..c8c79ade6 100644 --- a/Sources/GeneratedServices/IDS/GTLRIDSObjects.m +++ b/Sources/GeneratedServices/IDS/GTLRIDSObjects.m @@ -117,8 +117,8 @@ @implementation GTLRIDS_Empty @implementation GTLRIDS_Endpoint @dynamic createTime, descriptionProperty, endpointForwardingRule, endpointIp, - labels, name, network, severity, state, threatExceptions, trafficLogs, - updateTime; + labels, name, network, satisfiesPzi, satisfiesPzs, severity, state, + threatExceptions, trafficLogs, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; diff --git a/Sources/GeneratedServices/IDS/Public/GoogleAPIClientForREST/GTLRIDSObjects.h b/Sources/GeneratedServices/IDS/Public/GoogleAPIClientForREST/GTLRIDSObjects.h index 4212fd207..90a7617f2 100644 --- a/Sources/GeneratedServices/IDS/Public/GoogleAPIClientForREST/GTLRIDSObjects.h +++ b/Sources/GeneratedServices/IDS/Public/GoogleAPIClientForREST/GTLRIDSObjects.h @@ -246,9 +246,25 @@ FOUNDATION_EXTERN NSString * const kGTLRIDS_Endpoint_State_Updating; * `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 @@ -262,13 +278,20 @@ FOUNDATION_EXTERN NSString * const kGTLRIDS_Endpoint_State_Updating; * 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; @@ -328,6 +351,20 @@ FOUNDATION_EXTERN NSString * const kGTLRIDS_Endpoint_State_Updating; */ @property(nonatomic, copy, nullable) NSString *network; +/** + * Output only. [Output Only] Reserved for future use. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzi; + +/** + * Output only. [Output Only] Reserved for future use. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzs; + /** * Required. Lowest threat severity that this endpoint will alert on. * diff --git a/Sources/GeneratedServices/MapsPlaces/GTLRMapsPlacesObjects.m b/Sources/GeneratedServices/MapsPlaces/GTLRMapsPlacesObjects.m index c7ab22bf8..ea65774ef 100644 --- a/Sources/GeneratedServices/MapsPlaces/GTLRMapsPlacesObjects.m +++ b/Sources/GeneratedServices/MapsPlaces/GTLRMapsPlacesObjects.m @@ -269,6 +269,94 @@ @implementation GTLRMapsPlaces_GoogleMapsPlacesV1Circle @end +// ---------------------------------------------------------------------------- +// +// GTLRMapsPlaces_GoogleMapsPlacesV1ContentBlock +// + +@implementation GTLRMapsPlaces_GoogleMapsPlacesV1ContentBlock +@dynamic content, references, topic; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContent +// + +@implementation GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContent +@dynamic justifications, photos, reviews; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"justifications" : [GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustification class], + @"photos" : [GTLRMapsPlaces_GoogleMapsPlacesV1Photo class], + @"reviews" : [GTLRMapsPlaces_GoogleMapsPlacesV1Review class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustification +// + +@implementation GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustification +@dynamic businessAvailabilityAttributesJustification, reviewJustification; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification +// + +@implementation GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification +@dynamic delivery, dineIn, takeout; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustificationReviewJustification +// + +@implementation GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustificationReviewJustification +@dynamic highlightedText, review; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText +// + +@implementation GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText +@dynamic highlightedTextRanges, text; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"highlightedTextRanges" : [GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange +// + +@implementation GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange +@dynamic endIndex, startIndex; +@end + + // ---------------------------------------------------------------------------- // // GTLRMapsPlaces_GoogleMapsPlacesV1EVChargeOptions @@ -361,18 +449,19 @@ @implementation GTLRMapsPlaces_GoogleMapsPlacesV1PhotoMedia @implementation GTLRMapsPlaces_GoogleMapsPlacesV1Place @dynamic accessibilityOptions, addressComponents, adrFormatAddress, allowsDogs, - attributions, businessStatus, curbsidePickup, currentOpeningHours, - currentSecondaryOpeningHours, delivery, dineIn, displayName, - editorialSummary, evChargeOptions, formattedAddress, fuelOptions, - goodForChildren, goodForGroups, goodForWatchingSports, googleMapsUri, - iconBackgroundColor, iconMaskBaseUri, identifier, - internationalPhoneNumber, liveMusic, location, menuForChildren, name, - nationalPhoneNumber, outdoorSeating, parkingOptions, paymentOptions, - photos, plusCode, priceLevel, primaryType, primaryTypeDisplayName, - rating, regularOpeningHours, regularSecondaryOpeningHours, reservable, - restroom, reviews, servesBeer, servesBreakfast, servesBrunch, - servesCocktails, servesCoffee, servesDessert, servesDinner, - servesLunch, servesVegetarianFood, servesWine, shortFormattedAddress, + areaSummary, attributions, businessStatus, curbsidePickup, + currentOpeningHours, currentSecondaryOpeningHours, delivery, dineIn, + displayName, editorialSummary, evChargeOptions, formattedAddress, + fuelOptions, generativeSummary, goodForChildren, goodForGroups, + goodForWatchingSports, googleMapsUri, iconBackgroundColor, + iconMaskBaseUri, identifier, internationalPhoneNumber, liveMusic, + location, menuForChildren, name, nationalPhoneNumber, outdoorSeating, + parkingOptions, paymentOptions, photos, plusCode, priceLevel, + primaryType, primaryTypeDisplayName, rating, regularOpeningHours, + regularSecondaryOpeningHours, reservable, restroom, reviews, + servesBeer, servesBreakfast, servesBrunch, servesCocktails, + servesCoffee, servesDessert, servesDinner, servesLunch, + servesVegetarianFood, servesWine, shortFormattedAddress, subDestinations, takeout, types, userRatingCount, utcOffsetMinutes, viewport, websiteUri; @@ -426,6 +515,24 @@ @implementation GTLRMapsPlaces_GoogleMapsPlacesV1PlaceAddressComponent @end +// ---------------------------------------------------------------------------- +// +// GTLRMapsPlaces_GoogleMapsPlacesV1PlaceAreaSummary +// + +@implementation GTLRMapsPlaces_GoogleMapsPlacesV1PlaceAreaSummary +@dynamic contentBlocks; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"contentBlocks" : [GTLRMapsPlaces_GoogleMapsPlacesV1ContentBlock class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRMapsPlaces_GoogleMapsPlacesV1PlaceAttribution @@ -436,6 +543,21 @@ @implementation GTLRMapsPlaces_GoogleMapsPlacesV1PlaceAttribution @end +// ---------------------------------------------------------------------------- +// +// GTLRMapsPlaces_GoogleMapsPlacesV1PlaceGenerativeSummary +// + +@implementation GTLRMapsPlaces_GoogleMapsPlacesV1PlaceGenerativeSummary +@dynamic descriptionProperty, overview, references; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRMapsPlaces_GoogleMapsPlacesV1PlaceOpeningHours @@ -532,6 +654,25 @@ @implementation GTLRMapsPlaces_GoogleMapsPlacesV1PlaceSubDestination @end +// ---------------------------------------------------------------------------- +// +// GTLRMapsPlaces_GoogleMapsPlacesV1References +// + +@implementation GTLRMapsPlaces_GoogleMapsPlacesV1References +@dynamic places, reviews; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"places" : [NSString class], + @"reviews" : [GTLRMapsPlaces_GoogleMapsPlacesV1Review class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRMapsPlaces_GoogleMapsPlacesV1Review @@ -601,8 +742,9 @@ @implementation GTLRMapsPlaces_GoogleMapsPlacesV1SearchNearbyResponse @implementation GTLRMapsPlaces_GoogleMapsPlacesV1SearchTextRequest @dynamic evOptions, includedType, languageCode, locationBias, - locationRestriction, maxResultCount, minRating, openNow, priceLevels, - rankPreference, regionCode, strictTypeFiltering, textQuery; + locationRestriction, maxResultCount, minRating, openNow, pageSize, + pageToken, priceLevels, rankPreference, regionCode, + strictTypeFiltering, textQuery; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -658,10 +800,11 @@ @implementation GTLRMapsPlaces_GoogleMapsPlacesV1SearchTextRequestLocationRestri // @implementation GTLRMapsPlaces_GoogleMapsPlacesV1SearchTextResponse -@dynamic places; +@dynamic contextualContents, nextPageToken, places; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"contextualContents" : [GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContent class], @"places" : [GTLRMapsPlaces_GoogleMapsPlacesV1Place class] }; return map; diff --git a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h index a84b89805..3f7d85dd2 100644 --- a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h +++ b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h @@ -23,6 +23,13 @@ @class GTLRMapsPlaces_GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange; @class GTLRMapsPlaces_GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStructuredFormat; @class GTLRMapsPlaces_GoogleMapsPlacesV1Circle; +@class GTLRMapsPlaces_GoogleMapsPlacesV1ContentBlock; +@class GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContent; +@class GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustification; +@class GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification; +@class GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustificationReviewJustification; +@class GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText; +@class GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange; @class GTLRMapsPlaces_GoogleMapsPlacesV1EVChargeOptions; @class GTLRMapsPlaces_GoogleMapsPlacesV1EVChargeOptionsConnectorAggregation; @class GTLRMapsPlaces_GoogleMapsPlacesV1FuelOptions; @@ -31,7 +38,9 @@ @class GTLRMapsPlaces_GoogleMapsPlacesV1Place; @class GTLRMapsPlaces_GoogleMapsPlacesV1PlaceAccessibilityOptions; @class GTLRMapsPlaces_GoogleMapsPlacesV1PlaceAddressComponent; +@class GTLRMapsPlaces_GoogleMapsPlacesV1PlaceAreaSummary; @class GTLRMapsPlaces_GoogleMapsPlacesV1PlaceAttribution; +@class GTLRMapsPlaces_GoogleMapsPlacesV1PlaceGenerativeSummary; @class GTLRMapsPlaces_GoogleMapsPlacesV1PlaceOpeningHours; @class GTLRMapsPlaces_GoogleMapsPlacesV1PlaceOpeningHoursPeriod; @class GTLRMapsPlaces_GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint; @@ -40,6 +49,7 @@ @class GTLRMapsPlaces_GoogleMapsPlacesV1PlacePaymentOptions; @class GTLRMapsPlaces_GoogleMapsPlacesV1PlacePlusCode; @class GTLRMapsPlaces_GoogleMapsPlacesV1PlaceSubDestination; +@class GTLRMapsPlaces_GoogleMapsPlacesV1References; @class GTLRMapsPlaces_GoogleMapsPlacesV1Review; @class GTLRMapsPlaces_GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction; @class GTLRMapsPlaces_GoogleMapsPlacesV1SearchTextRequestEVOptions; @@ -611,11 +621,11 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR /** * Optional. Included primary Place type (for example, "restaurant" or - * "gas_station") from - * https://developers.google.com/maps/documentation/places/web-service/place-types. - * A Place is only returned if its primary type is included in this list. Up to - * 5 values can be specified. If no types are specified, all Place types are - * returned. + * "gas_station") in Place Types + * (https://developers.google.com/maps/documentation/places/web-service/place-types), + * or only `(regions)`, or only `(cities)`. A Place is only returned if its + * primary type is included in this list. Up to 5 values can be specified. If + * no types are specified, all Place types are returned. */ @property(nonatomic, strong, nullable) NSArray *includedPrimaryTypes; @@ -950,6 +960,165 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR @end +/** + * A block of content that can be served individually. + */ +@interface GTLRMapsPlaces_GoogleMapsPlacesV1ContentBlock : GTLRObject + +/** Content related to the topic. */ +@property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleTypeLocalizedText *content; + +/** + * Experimental: See + * https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative + * for more details. References that are related to this block of content. + */ +@property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleMapsPlacesV1References *references; + +/** The topic of the content, for example "overview" or "restaurant". */ +@property(nonatomic, copy, nullable) NSString *topic; + +@end + + +/** + * Experimental: See + * https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative + * for more details. Content that is contextual to the place query. + */ +@interface GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContent : GTLRObject + +/** + * Experimental: See + * https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative + * for more details. Justifications for the place. + */ +@property(nonatomic, strong, nullable) NSArray *justifications; + +/** + * Information (including references) about photos of this place, contexual to + * the place query. + */ +@property(nonatomic, strong, nullable) NSArray *photos; + +/** List of reviews about this place, contexual to the place query. */ +@property(nonatomic, strong, nullable) NSArray *reviews; + +@end + + +/** + * Experimental: See + * https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative + * for more details. Justifications for the place. Justifications answers the + * question of why a place could interest an end user. + */ +@interface GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustification : GTLRObject + +/** + * Experimental: See + * https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative + * for more details. + */ +@property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification *businessAvailabilityAttributesJustification; + +/** + * Experimental: See + * https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative + * for more details. + */ +@property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustificationReviewJustification *reviewJustification; + +@end + + +/** + * Experimental: See + * https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative + * for more details. BusinessAvailabilityAttributes justifications. This shows + * some attributes a business has that could interest an end user. + */ +@interface GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification : GTLRObject + +/** + * If a place provides delivery. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *delivery; + +/** + * If a place provides dine-in. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *dineIn; + +/** + * If a place provides takeout. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *takeout; + +@end + + +/** + * Experimental: See + * https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative + * for more details. User review justifications. This highlights a section of + * the user review that would interest an end user. For instance, if the search + * query is "firewood pizza", the review justification highlights the text + * relevant to the search query. + */ +@interface GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustificationReviewJustification : GTLRObject + +@property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText *highlightedText; + +/** The review that the highlighted text is generated from. */ +@property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleMapsPlacesV1Review *review; + +@end + + +/** + * The text highlighted by the justification. This is a subset of the review + * itself. The exact word to highlight is marked by the HighlightedTextRange. + * There could be several words in the text being highlighted. + */ +@interface GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText : GTLRObject + +/** The list of the ranges of the highlighted text. */ +@property(nonatomic, strong, nullable) NSArray *highlightedTextRanges; + +@property(nonatomic, copy, nullable) NSString *text; + +@end + + +/** + * The range of highlighted text. + */ +@interface GTLRMapsPlaces_GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange : GTLRObject + +/** + * endIndex + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *endIndex; + +/** + * startIndex + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *startIndex; + +@end + + /** * Information about the EV Charge Station hosted in Place. Terminology follows * https://afdc.energy.gov/fuels/electricity_infrastructure.html One port could @@ -1217,6 +1386,13 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR */ @property(nonatomic, strong, nullable) NSNumber *allowsDogs; +/** + * Experimental: See + * https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative + * for more details. AI-generated summary of the area that the place is in. + */ +@property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleMapsPlacesV1PlaceAreaSummary *areaSummary; + /** A set of data provider that must be shown with this result. */ @property(nonatomic, strong, nullable) NSArray *attributions; @@ -1303,6 +1479,13 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR */ @property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleMapsPlacesV1FuelOptions *fuelOptions; +/** + * Experimental: See + * https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative + * for more details. AI-generated summary of the place. + */ +@property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleMapsPlacesV1PlaceGenerativeSummary *generativeSummary; + /** * Place is good for children. * @@ -1661,6 +1844,22 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR @end +/** + * Experimental: See + * https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative + * for more details. AI-generated summary of the area that the place is in. + */ +@interface GTLRMapsPlaces_GoogleMapsPlacesV1PlaceAreaSummary : GTLRObject + +/** + * Content blocks that compose the area summary. Each block has a separate + * topic about the area. + */ +@property(nonatomic, strong, nullable) NSArray *contentBlocks; + +@end + + /** * Information about data providers of this place. */ @@ -1675,6 +1874,29 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR @end +/** + * Experimental: See + * https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative + * for more details. AI-generated summary of the place. + */ +@interface GTLRMapsPlaces_GoogleMapsPlacesV1PlaceGenerativeSummary : GTLRObject + +/** + * The detailed description of the place. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleTypeLocalizedText *descriptionProperty; + +/** The overview of the place. */ +@property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleTypeLocalizedText *overview; + +/** References that are used to generate the summary description. */ +@property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleMapsPlacesV1References *references; + +@end + + /** * Information about business hour of the place. */ @@ -1958,6 +2180,25 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR @end +/** + * Experimental: See + * https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative + * for more details. Reference that the generative content is related to. + */ +@interface GTLRMapsPlaces_GoogleMapsPlacesV1References : GTLRObject + +/** + * The list of resource names of the referenced places. This name can be used + * in other APIs that accept Place resource names. + */ +@property(nonatomic, strong, nullable) NSArray *places; + +/** Reviews that serve as references. */ +@property(nonatomic, strong, nullable) NSArray *reviews; + +@end + + /** * Information about a review of a place. */ @@ -2181,14 +2422,18 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR @property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleMapsPlacesV1SearchTextRequestLocationRestriction *locationRestriction; /** - * Maximum number of results to return. It must be between 1 and 20, - * inclusively. The default is 20. If the number is unset, it falls back to the - * upper limit. If the number is set to negative or exceeds the upper limit, an - * INVALID_ARGUMENT error is returned. + * Deprecated: Use `page_size` instead. The maximum number of results per page + * that can be returned. If the number of available results is larger than + * `max_result_count`, a `next_page_token` is returned which can be passed to + * `page_token` to get the next page of results in subsequent requests. If 0 or + * no value is provided, a default of 20 is used. The maximum value is 20; + * values above 20 will be coerced to 20. Negative values will return an + * INVALID_ARGUMENT error. If both `max_result_count` and `page_size` are + * specified, `max_result_count` will be ignored. * * Uses NSNumber of intValue. */ -@property(nonatomic, strong, nullable) NSNumber *maxResultCount; +@property(nonatomic, strong, nullable) NSNumber *maxResultCount GTLR_DEPRECATED; /** * Filter out results whose average user rating is strictly less than this @@ -2209,6 +2454,29 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR */ @property(nonatomic, strong, nullable) NSNumber *openNow; +/** + * Optional. The maximum number of results per page that can be returned. If + * the number of available results is larger than `page_size`, a + * `next_page_token` is returned which can be passed to `page_token` to get the + * next page of results in subsequent requests. If 0 or no value is provided, a + * default of 20 is used. The maximum value is 20; values above 20 will be set + * to 20. Negative values will return an INVALID_ARGUMENT error. If both + * `max_result_count` and `page_size` are specified, `max_result_count` will be + * ignored. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *pageSize; + +/** + * Optional. A page token, received from a previous TextSearch call. Provide + * this to retrieve the subsequent page. When paginating, all parameters other + * than `page_token`, `page_size`, and `max_result_count` provided to + * TextSearch must match the initial call that provided the page token. + * Otherwise an INVALID_ARGUMENT error is returned. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + /** * Used to restrict the search to places that are marked as certain price * levels. Users can choose any combinations of price levels. Default to select @@ -2325,6 +2593,25 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR */ @interface GTLRMapsPlaces_GoogleMapsPlacesV1SearchTextResponse : GTLRObject +/** + * Experimental: See + * https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative + * for more details. A list of contextual contents where each entry associates + * to the corresponding place in the same index in the places field. The + * contents that are relevant to the `text_query` in the request are preferred. + * If the contextual content is not available for one of the places, it will + * return non-contextual content. It will be empty only when the content is + * unavailable for this place. This list should have as many entries as the + * list of places if requested. + */ +@property(nonatomic, strong, nullable) NSArray *contextualContents; + +/** + * A token that can be sent as `page_token` to retrieve the next page. If this + * field is omitted or empty, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + /** A list of places that meet the user's text search criteria. */ @property(nonatomic, strong, nullable) NSArray *places; diff --git a/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIObjects.h b/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIObjects.h index f0b84fb49..0b619b8bf 100644 --- a/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIObjects.h +++ b/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIObjects.h @@ -1637,7 +1637,7 @@ FOUNDATION_EXTERN NSString * const kGTLRMigrationCenterAPI_VmwareEnginePreferenc /** * Daily resource usage aggregations. Contains all of the data available for an - * asset, up to the last 40 days. Aggregations are sorted from oldest to most + * asset, up to the last 420 days. Aggregations are sorted from oldest to most * recent. */ @property(nonatomic, strong, nullable) NSArray *dailyResourceUsageAggregations; diff --git a/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h b/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h index d0f990cce..e7b629b9d 100644 --- a/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h +++ b/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h @@ -6337,7 +6337,7 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) GTLRMonitoring_TimeInterval *interval; /** - * Required. The name of the Snooze. The format is: + * Required. Identifier. The name of the Snooze. The format is: * projects/[PROJECT_ID_OR_NUMBER]/snoozes/[SNOOZE_ID] The ID of the Snooze * will be generated by the system. */ diff --git a/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringQuery.h b/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringQuery.h index 66a311a81..cdb968b00 100644 --- a/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringQuery.h +++ b/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringQuery.h @@ -3422,7 +3422,7 @@ FOUNDATION_EXTERN NSString * const kGTLRMonitoringViewViewUnspecified; @interface GTLRMonitoringQuery_ProjectsSnoozesPatch : GTLRMonitoringQuery /** - * Required. The name of the Snooze. The format is: + * Required. Identifier. The name of the Snooze. The format is: * projects/[PROJECT_ID_OR_NUMBER]/snoozes/[SNOOZE_ID] The ID of the Snooze * will be generated by the system. */ @@ -3452,7 +3452,7 @@ FOUNDATION_EXTERN NSString * const kGTLRMonitoringViewViewUnspecified; * Snooze object. * * @param object The @c GTLRMonitoring_Snooze to include in the query. - * @param name Required. The name of the Snooze. The format is: + * @param name Required. Identifier. The name of the Snooze. The format is: * projects/[PROJECT_ID_OR_NUMBER]/snoozes/[SNOOZE_ID] The ID of the Snooze * will be generated by the system. * @@ -4894,7 +4894,7 @@ FOUNDATION_EXTERN NSString * const kGTLRMonitoringViewViewUnspecified; @end /** - * Returns the list of IP addresses that checkers run from + * Returns the list of IP addresses that checkers run from. * * Method: monitoring.uptimeCheckIps.list * @@ -4924,7 +4924,7 @@ FOUNDATION_EXTERN NSString * const kGTLRMonitoringViewViewUnspecified; /** * Fetches a @c GTLRMonitoring_ListUptimeCheckIpsResponse. * - * Returns the list of IP addresses that checkers run from + * Returns the list of IP addresses that checkers run from. * * @return GTLRMonitoringQuery_UptimeCheckIpsList * diff --git a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m index bff419881..2c29e653c 100644 --- a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m +++ b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m @@ -62,6 +62,7 @@ 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_GoogleManagedService = @"GOOGLE_MANAGED_SERVICE"; NSString * const kGTLRNetworkManagement_DeliverInfo_Target_Instance = @"INSTANCE"; NSString * const kGTLRNetworkManagement_DeliverInfo_Target_Internet = @"INTERNET"; NSString * const kGTLRNetworkManagement_DeliverInfo_Target_PrivateNetwork = @"PRIVATE_NETWORK"; @@ -85,6 +86,7 @@ NSString * const kGTLRNetworkManagement_DropInfo_Cause_CloudSqlPscNegUnsupported = @"CLOUD_SQL_PSC_NEG_UNSUPPORTED"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_DroppedInsideCloudSqlService = @"DROPPED_INSIDE_CLOUD_SQL_SERVICE"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_DroppedInsideGkeService = @"DROPPED_INSIDE_GKE_SERVICE"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_DroppedInsideGoogleManagedService = @"DROPPED_INSIDE_GOOGLE_MANAGED_SERVICE"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_DroppedInsidePscServiceProducer = @"DROPPED_INSIDE_PSC_SERVICE_PRODUCER"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_FirewallBlockingLoadBalancerBackendHealthCheck = @"FIREWALL_BLOCKING_LOAD_BALANCER_BACKEND_HEALTH_CHECK"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_FirewallRule = @"FIREWALL_RULE"; @@ -304,6 +306,7 @@ NSString * const kGTLRNetworkManagement_Step_State_StartFromInternet = @"START_FROM_INTERNET"; NSString * const kGTLRNetworkManagement_Step_State_StartFromPrivateNetwork = @"START_FROM_PRIVATE_NETWORK"; NSString * const kGTLRNetworkManagement_Step_State_StartFromPscPublishedService = @"START_FROM_PSC_PUBLISHED_SERVICE"; +NSString * const kGTLRNetworkManagement_Step_State_StartFromServerlessNeg = @"START_FROM_SERVERLESS_NEG"; 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"; @@ -509,7 +512,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRNetworkManagement_DeliverInfo -@dynamic ipAddress, resourceUri, target; +@dynamic ipAddress, pscGoogleApiTarget, resourceUri, storageBucket, target; @end @@ -617,8 +620,9 @@ @implementation GTLRNetworkManagement_ForwardInfo // @implementation GTLRNetworkManagement_ForwardingRuleInfo -@dynamic displayName, matchedPortRange, matchedProtocol, networkUri, target, - uri, vip; +@dynamic displayName, loadBalancerName, matchedPortRange, matchedProtocol, + networkUri, pscGoogleApiTarget, pscServiceAttachmentUri, region, + target, uri, vip; @end @@ -1012,6 +1016,16 @@ @implementation GTLRNetworkManagement_RouteInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_ServerlessNegInfo +// + +@implementation GTLRNetworkManagement_ServerlessNegInfo +@dynamic negUri; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkManagement_SetIamPolicyRequest @@ -1064,8 +1078,8 @@ @implementation GTLRNetworkManagement_Step cloudSqlInstance, deliver, descriptionProperty, drop, endpoint, firewall, forward, forwardingRule, gkeMaster, googleService, instance, loadBalancer, loadBalancerBackendInfo, nat, network, projectId, - proxyConnection, route, state, storageBucket, vpcConnector, vpnGateway, - vpnTunnel; + proxyConnection, route, serverlessNeg, state, storageBucket, + vpcConnector, vpnGateway, vpnTunnel; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; diff --git a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h index 42dbacfc2..1d9590117 100644 --- a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h +++ b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h @@ -58,6 +58,7 @@ @class GTLRNetworkManagement_ProxyConnectionInfo; @class GTLRNetworkManagement_ReachabilityDetails; @class GTLRNetworkManagement_RouteInfo; +@class GTLRNetworkManagement_ServerlessNegInfo; @class GTLRNetworkManagement_Status; @class GTLRNetworkManagement_Status_Details_Item; @class GTLRNetworkManagement_Step; @@ -371,6 +372,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DeliverInfo_Target_Gke * Value: "GOOGLE_API" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DeliverInfo_Target_GoogleApi; +/** + * Target is a Google-managed service. Used only for return traces. + * + * Value: "GOOGLE_MANAGED_SERVICE" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DeliverInfo_Target_GoogleManagedService; /** * Target is a Compute Engine instance. * @@ -390,7 +397,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DeliverInfo_Target_Int */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DeliverInfo_Target_PrivateNetwork; /** - * Target is all Google APIs that use [Private Service + * Target is Google APIs that use [Private Service * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis). * * Value: "PSC_GOOGLE_API" @@ -514,6 +521,13 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_Dropped * Value: "DROPPED_INSIDE_GKE_SERVICE" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_DroppedInsideGkeService; +/** + * Packet is dropped due to an unspecified reason inside a Google-managed + * service. Used only for return traces. + * + * Value: "DROPPED_INSIDE_GOOGLE_MANAGED_SERVICE" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_DroppedInsideGoogleManagedService; /** * Packet was dropped inside Private Service Connect service producer. * @@ -1801,6 +1815,14 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_StartFromPr * Value: "START_FROM_PSC_PUBLISHED_SERVICE" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_StartFromPscPublishedService; +/** + * Initial state: packet originating from a serverless network endpoint group + * backend. Used only for return traces. The serverless_neg information is + * populated. + * + * Value: "START_FROM_SERVERLESS_NEG" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_StartFromServerlessNeg; /** * Initial state: packet originating from a Storage Bucket. Used only for * return traces. The storage_bucket information is populated. @@ -2401,9 +2423,17 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT /** IP address of the target (if applicable). */ @property(nonatomic, copy, nullable) NSString *ipAddress; +/** PSC Google API target the packet is delivered to (if applicable). */ +@property(nonatomic, copy, nullable) NSString *pscGoogleApiTarget; + /** URI of the resource that the packet is delivered to. */ @property(nonatomic, copy, nullable) NSString *resourceUri; +/** + * Name of the Cloud Storage Bucket the packet is delivered to (if applicable). + */ +@property(nonatomic, copy, nullable) NSString *storageBucket; + /** * Target type where the packet is delivered to. * @@ -2423,6 +2453,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * Google Kubernetes Engine cluster master. (Value: "GKE_MASTER") * @arg @c kGTLRNetworkManagement_DeliverInfo_Target_GoogleApi Target is a * Google API. (Value: "GOOGLE_API") + * @arg @c kGTLRNetworkManagement_DeliverInfo_Target_GoogleManagedService + * Target is a Google-managed service. Used only for return traces. + * (Value: "GOOGLE_MANAGED_SERVICE") * @arg @c kGTLRNetworkManagement_DeliverInfo_Target_Instance Target is a * Compute Engine instance. (Value: "INSTANCE") * @arg @c kGTLRNetworkManagement_DeliverInfo_Target_Internet Target is the @@ -2431,7 +2464,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * 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 + * Google APIs that use [Private Service * Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis). * (Value: "PSC_GOOGLE_API") * @arg @c kGTLRNetworkManagement_DeliverInfo_Target_PscPublishedService @@ -2505,6 +2538,10 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * @arg @c kGTLRNetworkManagement_DropInfo_Cause_DroppedInsideGkeService * Packet was dropped inside Google Kubernetes Engine Service. (Value: * "DROPPED_INSIDE_GKE_SERVICE") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_DroppedInsideGoogleManagedService + * Packet is dropped due to an unspecified reason inside a Google-managed + * service. Used only for return traces. (Value: + * "DROPPED_INSIDE_GOOGLE_MANAGED_SERVICE") * @arg @c kGTLRNetworkManagement_DropInfo_Cause_DroppedInsidePscServiceProducer * Packet was dropped inside Private Service Connect service producer. * (Value: "DROPPED_INSIDE_PSC_SERVICE_PRODUCER") @@ -3124,22 +3161,40 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT */ @interface GTLRNetworkManagement_ForwardingRuleInfo : GTLRObject -/** Name of a Compute Engine forwarding rule. */ +/** Name of the forwarding rule. */ @property(nonatomic, copy, nullable) NSString *displayName; -/** Port range defined in the forwarding rule that matches the test. */ +/** + * Name of the load balancer the forwarding rule belongs to. Empty for + * forwarding rules not related to load balancers (like PSC forwarding rules). + */ +@property(nonatomic, copy, nullable) NSString *loadBalancerName; + +/** Port range defined in the forwarding rule that matches the packet. */ @property(nonatomic, copy, nullable) NSString *matchedPortRange; -/** Protocol defined in the forwarding rule that matches the test. */ +/** Protocol defined in the forwarding rule that matches the packet. */ @property(nonatomic, copy, nullable) NSString *matchedProtocol; -/** Network URI. Only valid for Internal Load Balancer. */ +/** Network URI. */ @property(nonatomic, copy, nullable) NSString *networkUri; +/** PSC Google API target this forwarding rule targets (if applicable). */ +@property(nonatomic, copy, nullable) NSString *pscGoogleApiTarget; + +/** + * URI of the PSC service attachment this forwarding rule targets (if + * applicable). + */ +@property(nonatomic, copy, nullable) NSString *pscServiceAttachmentUri; + +/** Region of the forwarding rule. Set only for regional forwarding rules. */ +@property(nonatomic, copy, nullable) NSString *region; + /** Target type of the forwarding rule. */ @property(nonatomic, copy, nullable) NSString *target; -/** URI of a Compute Engine forwarding rule. */ +/** URI of the forwarding rule. */ @property(nonatomic, copy, nullable) NSString *uri; /** VIP of the forwarding rule. */ @@ -4254,6 +4309,18 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT @end +/** + * For display only. Metadata associated with the serverless network endpoint + * group backend. + */ +@interface GTLRNetworkManagement_ServerlessNegInfo : GTLRObject + +/** URI of the serverless network endpoint group. */ +@property(nonatomic, copy, nullable) NSString *negUri; + +@end + + /** * Request message for `SetIamPolicy` method. */ @@ -4413,6 +4480,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT /** Display information of a Compute Engine route. */ @property(nonatomic, strong, nullable) GTLRNetworkManagement_RouteInfo *route; +/** + * Display information of a Serverless network endpoint group backend. Used + * only for return traces. + */ +@property(nonatomic, strong, nullable) GTLRNetworkManagement_ServerlessNegInfo *serverlessNeg; + /** * Each step is in one of the pre-defined states. * @@ -4503,6 +4576,10 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * Initial state: packet originating from a published service that uses * Private Service Connect. Used only for return traces. (Value: * "START_FROM_PSC_PUBLISHED_SERVICE") + * @arg @c kGTLRNetworkManagement_Step_State_StartFromServerlessNeg Initial + * state: packet originating from a serverless network endpoint group + * backend. Used only for return traces. The serverless_neg information + * is populated. (Value: "START_FROM_SERVERLESS_NEG") * @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: diff --git a/Sources/GeneratedServices/NetworkServices/GTLRNetworkServicesObjects.m b/Sources/GeneratedServices/NetworkServices/GTLRNetworkServicesObjects.m index 43f1aa109..f32bfb12b 100644 --- a/Sources/GeneratedServices/NetworkServices/GTLRNetworkServicesObjects.m +++ b/Sources/GeneratedServices/NetworkServices/GTLRNetworkServicesObjects.m @@ -833,7 +833,7 @@ @implementation GTLRNetworkServices_HttpRouteURLRewrite @implementation GTLRNetworkServices_LbRouteExtension @dynamic createTime, descriptionProperty, extensionChains, forwardingRules, - labels, loadBalancingScheme, name, updateTime; + labels, loadBalancingScheme, metadata, name, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -864,6 +864,20 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkServices_LbRouteExtension_Metadata +// + +@implementation GTLRNetworkServices_LbRouteExtension_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkServices_LbTrafficExtension @@ -871,7 +885,7 @@ + (Class)classForAdditionalProperties { @implementation GTLRNetworkServices_LbTrafficExtension @dynamic createTime, descriptionProperty, extensionChains, forwardingRules, - labels, loadBalancingScheme, name, updateTime; + labels, loadBalancingScheme, metadata, name, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -902,6 +916,20 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkServices_LbTrafficExtension_Metadata +// + +@implementation GTLRNetworkServices_LbTrafficExtension_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkServices_ListEndpointPoliciesResponse diff --git a/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h b/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h index d21f5c166..0268a9a8d 100644 --- a/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h +++ b/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h @@ -63,8 +63,10 @@ @class GTLRNetworkServices_HttpRouteURLRewrite; @class GTLRNetworkServices_LbRouteExtension; @class GTLRNetworkServices_LbRouteExtension_Labels; +@class GTLRNetworkServices_LbRouteExtension_Metadata; @class GTLRNetworkServices_LbTrafficExtension; @class GTLRNetworkServices_LbTrafficExtension_Labels; +@class GTLRNetworkServices_LbTrafficExtension_Metadata; @class GTLRNetworkServices_Location; @class GTLRNetworkServices_Location_Labels; @class GTLRNetworkServices_Location_Metadata; @@ -976,7 +978,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_ServiceLbPolicy_LoadBala /** * Optional. A set of events during request or response processing for which * this extension is called. This field is required for the - * `LbTrafficExtension` resource. It's not relevant for the `LbRouteExtension` + * `LbTrafficExtension` resource. It must not be set for the `LbRouteExtension` * resource. */ @property(nonatomic, strong, nullable) NSArray *supportedEvents; @@ -1011,7 +1013,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_ServiceLbPolicy_LoadBala * 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: 32 + * to dictate how requests should be routed by this Gateway. Next id: 33 */ @interface GTLRNetworkServices_Gateway : GTLRObject @@ -2403,6 +2405,17 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_ServiceLbPolicy_LoadBala */ @property(nonatomic, copy, nullable) NSString *loadBalancingScheme; +/** + * Optional. The metadata provided here will be included as part of the + * `metadata_context` (of type `google.protobuf.Struct`) in the + * `ProcessingRequest` message sent to the extension server. The metadata will + * be available under the namespace `com.google.lb_route_extension.`. The + * following variables are supported in the metadata Struct: + * `{forwarding_rule_id}` - substituted with the forwarding rule's fully + * qualified resource name. + */ +@property(nonatomic, strong, nullable) GTLRNetworkServices_LbRouteExtension_Metadata *metadata; + /** * Required. Identifier. Name of the `LbRouteExtension` resource in the * following format: @@ -2431,6 +2444,24 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_ServiceLbPolicy_LoadBala @end +/** + * Optional. The metadata provided here will be included as part of the + * `metadata_context` (of type `google.protobuf.Struct`) in the + * `ProcessingRequest` message sent to the extension server. The metadata will + * be available under the namespace `com.google.lb_route_extension.`. The + * following variables are supported in the metadata Struct: + * `{forwarding_rule_id}` - substituted with the forwarding rule's fully + * qualified resource name. + * + * @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 GTLRNetworkServices_LbRouteExtension_Metadata : GTLRObject +@end + + /** * `LbTrafficExtension` is a resource that lets the extension service modify * the headers and payloads of both requests and responses without impacting @@ -2494,6 +2525,15 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_ServiceLbPolicy_LoadBala */ @property(nonatomic, copy, nullable) NSString *loadBalancingScheme; +/** + * Optional. The metadata provided here will be included in the + * `ProcessingRequest.metadata_context.filter_metadata` map field. The metadata + * will be available under the key `com.google.lb_traffic_extension.`. The + * following variables are supported in the metadata: `{forwarding_rule_id}` - + * substituted with the forwarding rule's fully qualified resource name. + */ +@property(nonatomic, strong, nullable) GTLRNetworkServices_LbTrafficExtension_Metadata *metadata; + /** * Required. Identifier. Name of the `LbTrafficExtension` resource in the * following format: @@ -2522,6 +2562,22 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_ServiceLbPolicy_LoadBala @end +/** + * Optional. The metadata provided here will be included in the + * `ProcessingRequest.metadata_context.filter_metadata` map field. The metadata + * will be available under the key `com.google.lb_traffic_extension.`. The + * following variables are supported in the metadata: `{forwarding_rule_id}` - + * substituted with the forwarding rule's fully qualified resource name. + * + * @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 GTLRNetworkServices_LbTrafficExtension_Metadata : GTLRObject +@end + + /** * Response returned by the ListEndpointPolicies method. * diff --git a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m index e1d55acba..607dc2aa9 100644 --- a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m +++ b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m @@ -53,6 +53,15 @@ NSString * const kGTLRNetworkconnectivity_Group_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRNetworkconnectivity_Group_State_Updating = @"UPDATING"; +// GTLRNetworkconnectivity_Hub.policyMode +NSString * const kGTLRNetworkconnectivity_Hub_PolicyMode_PolicyModeUnspecified = @"POLICY_MODE_UNSPECIFIED"; +NSString * const kGTLRNetworkconnectivity_Hub_PolicyMode_Preset = @"PRESET"; + +// GTLRNetworkconnectivity_Hub.presetTopology +NSString * const kGTLRNetworkconnectivity_Hub_PresetTopology_Mesh = @"MESH"; +NSString * const kGTLRNetworkconnectivity_Hub_PresetTopology_PresetTopologyUnspecified = @"PRESET_TOPOLOGY_UNSPECIFIED"; +NSString * const kGTLRNetworkconnectivity_Hub_PresetTopology_Star = @"STAR"; + // GTLRNetworkconnectivity_Hub.state NSString * const kGTLRNetworkconnectivity_Hub_State_Accepting = @"ACCEPTING"; NSString * const kGTLRNetworkconnectivity_Hub_State_Active = @"ACTIVE"; @@ -119,6 +128,7 @@ NSString * const kGTLRNetworkconnectivity_Route_State_Updating = @"UPDATING"; // GTLRNetworkconnectivity_Route.type +NSString * const kGTLRNetworkconnectivity_Route_Type_DynamicRoute = @"DYNAMIC_ROUTE"; NSString * const kGTLRNetworkconnectivity_Route_Type_RouteTypeUnspecified = @"ROUTE_TYPE_UNSPECIFIED"; NSString * const kGTLRNetworkconnectivity_Route_Type_VpcPrimarySubnet = @"VPC_PRIMARY_SUBNET"; NSString * const kGTLRNetworkconnectivity_Route_Type_VpcSecondarySubnet = @"VPC_SECONDARY_SUBNET"; @@ -253,6 +263,24 @@ @implementation GTLRNetworkconnectivity_AuditLogConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_AutoAccept +// + +@implementation GTLRNetworkconnectivity_AutoAccept +@dynamic autoAcceptProjects; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"autoAcceptProjects" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_Binding @@ -277,7 +305,22 @@ @implementation GTLRNetworkconnectivity_Binding // @implementation GTLRNetworkconnectivity_ConsumerPscConfig -@dynamic disableGlobalAccess, network, producerInstanceId, project, state; +@dynamic disableGlobalAccess, network, producerInstanceId, project, + serviceAttachmentIpAddressMap, state; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_ConsumerPscConfig_ServiceAttachmentIpAddressMap +// + +@implementation GTLRNetworkconnectivity_ConsumerPscConfig_ServiceAttachmentIpAddressMap + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + @end @@ -458,7 +501,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRNetworkconnectivity_Group -@dynamic createTime, descriptionProperty, labels, name, state, uid, updateTime; +@dynamic autoAccept, createTime, descriptionProperty, labels, name, routeTable, + state, uid, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -487,8 +531,9 @@ + (Class)classForAdditionalProperties { // @implementation GTLRNetworkconnectivity_Hub -@dynamic createTime, descriptionProperty, labels, name, routeTables, - routingVpcs, spokeSummary, state, uniqueId, updateTime; +@dynamic createTime, descriptionProperty, exportPsc, labels, name, policyMode, + presetTopology, routeTables, routingVpcs, spokeSummary, state, + uniqueId, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -1018,6 +1063,26 @@ @implementation GTLRNetworkconnectivity_LocationMetadata @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_NextHopInterconnectAttachment +// + +@implementation GTLRNetworkconnectivity_NextHopInterconnectAttachment +@dynamic siteToSiteDataTransfer, uri, vpcNetwork; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_NextHopRouterApplianceInstance +// + +@implementation GTLRNetworkconnectivity_NextHopRouterApplianceInstance +@dynamic siteToSiteDataTransfer, uri, vpcNetwork; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_NextHopVpcNetwork @@ -1028,6 +1093,16 @@ @implementation GTLRNetworkconnectivity_NextHopVpcNetwork @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_NextHopVPNTunnel +// + +@implementation GTLRNetworkconnectivity_NextHopVPNTunnel +@dynamic siteToSiteDataTransfer, uri, vpcNetwork; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_OperationMetadata @@ -1204,7 +1279,9 @@ @implementation GTLRNetworkconnectivity_RejectHubSpokeResponse @implementation GTLRNetworkconnectivity_Route @dynamic createTime, descriptionProperty, ipCidrRange, labels, location, name, - nextHopVpcNetwork, spoke, state, type, uid, updateTime; + nextHopInterconnectAttachment, nextHopRouterApplianceInstance, + nextHopVpcNetwork, nextHopVpnTunnel, priority, spoke, state, type, uid, + updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; diff --git a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityQuery.m b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityQuery.m index 334004ebd..b018ae615 100644 --- a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityQuery.m +++ b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityQuery.m @@ -223,6 +223,33 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsGlobalHubsGroupsPatch + +@dynamic name, requestId, updateMask; + ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_Group *)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}"; + GTLRNetworkconnectivityQuery_ProjectsLocationsGlobalHubsGroupsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRNetworkconnectivity_GoogleLongrunningOperation class]; + query.loggingName = @"networkconnectivity.projects.locations.global.hubs.groups.patch"; + return query; +} + +@end + @implementation GTLRNetworkconnectivityQuery_ProjectsLocationsGlobalHubsGroupsSetIamPolicy @dynamic resource; diff --git a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h index 9e08a8563..67261f8c7 100644 --- a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h +++ b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h @@ -16,8 +16,10 @@ @class GTLRNetworkconnectivity_AuditConfig; @class GTLRNetworkconnectivity_AuditLogConfig; +@class GTLRNetworkconnectivity_AutoAccept; @class GTLRNetworkconnectivity_Binding; @class GTLRNetworkconnectivity_ConsumerPscConfig; +@class GTLRNetworkconnectivity_ConsumerPscConfig_ServiceAttachmentIpAddressMap; @class GTLRNetworkconnectivity_ConsumerPscConnection; @class GTLRNetworkconnectivity_Expr; @class GTLRNetworkconnectivity_Filter; @@ -42,7 +44,10 @@ @class GTLRNetworkconnectivity_Location; @class GTLRNetworkconnectivity_Location_Labels; @class GTLRNetworkconnectivity_Location_Metadata; +@class GTLRNetworkconnectivity_NextHopInterconnectAttachment; +@class GTLRNetworkconnectivity_NextHopRouterApplianceInstance; @class GTLRNetworkconnectivity_NextHopVpcNetwork; +@class GTLRNetworkconnectivity_NextHopVPNTunnel; @class GTLRNetworkconnectivity_Policy; @class GTLRNetworkconnectivity_PolicyBasedRoute; @class GTLRNetworkconnectivity_PolicyBasedRoute_Labels; @@ -282,6 +287,49 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Group_State_StateUns */ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Group_State_Updating; +// ---------------------------------------------------------------------------- +// GTLRNetworkconnectivity_Hub.policyMode + +/** + * Policy mode is unspecified. It defaults to PRESET with preset_topology = + * MESH. + * + * Value: "POLICY_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Hub_PolicyMode_PolicyModeUnspecified; +/** + * Hub uses one of the preset topologies. + * + * Value: "PRESET" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Hub_PolicyMode_Preset; + +// ---------------------------------------------------------------------------- +// GTLRNetworkconnectivity_Hub.presetTopology + +/** + * Mesh topology is implemented. Group `default` is automatically created. All + * spokes in the hub are added to group `default`. + * + * Value: "MESH" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Hub_PresetTopology_Mesh; +/** + * Preset topology is unspecified. When policy_mode = PRESET, it defaults to + * MESH. + * + * Value: "PRESET_TOPOLOGY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Hub_PresetTopology_PresetTopologyUnspecified; +/** + * Star topology is implemented. Two groups, `center` and `edge`, are + * automatically created along with hub creation. Spokes have to join one of + * the groups during creation. + * + * Value: "STAR" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Hub_PresetTopology_Star; + // ---------------------------------------------------------------------------- // GTLRNetworkconnectivity_Hub.state @@ -460,9 +508,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_LocationMetadata_Loc /** * Use the routes from the default routing tables (system-generated routes, - * custom routes, peering route) to determine the next hop. This will - * effectively exclude matching packets being applied on other PBRs with a - * lower priority. + * custom routes, peering route) to determine the next hop. This effectively + * excludes matching packets being applied on other PBRs with a lower priority. * * Value: "DEFAULT_ROUTING" */ @@ -622,6 +669,14 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Route_State_Updating // ---------------------------------------------------------------------------- // GTLRNetworkconnectivity_Route.type +/** + * The route leads to a destination in a dynamic route. Dynamic routes are + * derived from Border Gateway Protocol (BGP) advertisements received from an + * NCC hybrid spoke. + * + * Value: "DYNAMIC_ROUTE" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Route_Type_DynamicRoute; /** * No route type information specified * @@ -999,8 +1054,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_StateReason_Code_Rej */ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_ResourceBeingModified; /** - * The policy-based route is not active and functioning. Common causes are the - * dependent network was deleted or the resource project was turned off. + * The policy-based route is not active and functioning. Common causes are that + * the dependent network was deleted or the resource project was turned off. * * Value: "RESOURCE_NOT_ACTIVE" */ @@ -1115,6 +1170,26 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * The auto-accept setting for a group controls whether proposed spokes are + * automatically attached to the hub. If auto-accept is enabled, the spoke + * immediately is attached to the hub and becomes part of the group. In this + * case, the new spoke is in the ACTIVE state. If auto-accept is disabled, the + * spoke goes to the INACTIVE state, and it must be reviewed and accepted by a + * hub administrator. + */ +@interface GTLRNetworkconnectivity_AutoAccept : GTLRObject + +/** + * A list of project ids or project numbers for which you want to enable + * auto-accept. The auto-accept setting is applied to spokes being created or + * updated in these projects. + */ +@property(nonatomic, strong, nullable) NSArray *autoAcceptProjects; + +@end + + /** * Associates `members`, or principals, with a `role`. */ @@ -1230,6 +1305,13 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin */ @property(nonatomic, copy, nullable) NSString *project; +/** + * Output only. A map to store mapping between customer vip and target service + * attachment. Only service attachment with producer specified ip addresses are + * stored here. + */ +@property(nonatomic, strong, nullable) GTLRNetworkconnectivity_ConsumerPscConfig_ServiceAttachmentIpAddressMap *serviceAttachmentIpAddressMap; + /** * Output only. Overall state of PSC Connections management for this consumer * psc config. @@ -1254,6 +1336,20 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * Output only. A map to store mapping between customer vip and target service + * attachment. Only service attachment with producer specified ip addresses are + * stored here. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRNetworkconnectivity_ConsumerPscConfig_ServiceAttachmentIpAddressMap : GTLRObject +@end + + /** * PSC connection details on consumer side. */ @@ -1437,7 +1533,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** * Required. Internet protocol versions this policy-based route applies to. For - * this version, only IPV4 is supported. + * this version, only IPV4 is supported. IPV6 is supported in preview. * * Likely values: * @arg @c kGTLRNetworkconnectivity_Filter_ProtocolVersion_Ipv4 The PBR is @@ -1680,6 +1776,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin */ @interface GTLRNetworkconnectivity_Group : GTLRObject +/** Optional. The auto-accept setting for this group. */ +@property(nonatomic, strong, nullable) GTLRNetworkconnectivity_AutoAccept *autoAccept; + /** Output only. The time the group was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -1704,6 +1803,13 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Output only. The name of the route table that corresponds to this group. + * They use the following form: + * `projects/{project_number}/locations/global/hubs/{hub_id}/routeTables/{route_table_id}` + */ +@property(nonatomic, copy, nullable) NSString *routeTable; + /** * Output only. The current lifecycle state of this group. * @@ -1777,6 +1883,16 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; +/** + * Optional. Whether Private Service Connect transitivity is enabled for the + * hub. If true, Private Service Connect endpoints in VPC spokes attached to + * the hub are made accessible to other VPC spokes attached to the hub. The + * default value is false. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *exportPsc; + /** * Optional labels in key-value pair format. For more information about labels, * see [Requirements for @@ -1790,6 +1906,40 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Optional. The policy mode of this hub. This field can be either PRESET or + * CUSTOM. If unspecified, the policy_mode defaults to PRESET. + * + * Likely values: + * @arg @c kGTLRNetworkconnectivity_Hub_PolicyMode_PolicyModeUnspecified + * Policy mode is unspecified. It defaults to PRESET with preset_topology + * = MESH. (Value: "POLICY_MODE_UNSPECIFIED") + * @arg @c kGTLRNetworkconnectivity_Hub_PolicyMode_Preset Hub uses one of the + * preset topologies. (Value: "PRESET") + */ +@property(nonatomic, copy, nullable) NSString *policyMode; + +/** + * Optional. The topology implemented in this hub. Currently, this field is + * only used when policy_mode = PRESET. The available preset topologies are + * MESH and STAR. If preset_topology is unspecified and policy_mode = PRESET, + * the preset_topology defaults to MESH. When policy_mode = CUSTOM, the + * preset_topology is set to PRESET_TOPOLOGY_UNSPECIFIED. + * + * Likely values: + * @arg @c kGTLRNetworkconnectivity_Hub_PresetTopology_Mesh Mesh topology is + * implemented. Group `default` is automatically created. All spokes in + * the hub are added to group `default`. (Value: "MESH") + * @arg @c kGTLRNetworkconnectivity_Hub_PresetTopology_PresetTopologyUnspecified + * Preset topology is unspecified. When policy_mode = PRESET, it defaults + * to MESH. (Value: "PRESET_TOPOLOGY_UNSPECIFIED") + * @arg @c kGTLRNetworkconnectivity_Hub_PresetTopology_Star Star topology is + * implemented. Two groups, `center` and `edge`, are automatically + * created along with hub creation. Spokes have to join one of the groups + * during creation. (Value: "STAR") + */ +@property(nonatomic, copy, nullable) NSString *presetTopology; + /** * Output only. The route tables that belong to this hub. They use the * following form: @@ -2617,6 +2767,53 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * A route next hop that leads to an interconnect attachment resource. + */ +@interface GTLRNetworkconnectivity_NextHopInterconnectAttachment : GTLRObject + +/** + * Indicates whether site-to-site data transfer is allowed for this + * interconnect attachment resource. Data transfer is available only in + * [supported + * locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations). + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *siteToSiteDataTransfer; + +/** The URI of the interconnect attachment resource. */ +@property(nonatomic, copy, nullable) NSString *uri; + +/** The VPC network where this interconnect attachment is located. */ +@property(nonatomic, copy, nullable) NSString *vpcNetwork; + +@end + + +/** + * A route next hop that leads to a Router appliance instance. + */ +@interface GTLRNetworkconnectivity_NextHopRouterApplianceInstance : GTLRObject + +/** + * Indicates whether site-to-site data transfer is allowed for this Router + * appliance instance resource. Data transfer is available only in [supported + * locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations). + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *siteToSiteDataTransfer; + +/** The URI of the Router appliance instance. */ +@property(nonatomic, copy, nullable) NSString *uri; + +/** The VPC network where this VM is located. */ +@property(nonatomic, copy, nullable) NSString *vpcNetwork; + +@end + + /** * GTLRNetworkconnectivity_NextHopVpcNetwork */ @@ -2628,6 +2825,29 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * A route next hop that leads to a VPN tunnel resource. + */ +@interface GTLRNetworkconnectivity_NextHopVPNTunnel : GTLRObject + +/** + * Indicates whether site-to-site data transfer is allowed for this VPN tunnel + * resource. Data transfer is available only in [supported + * locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations). + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *siteToSiteDataTransfer; + +/** The URI of the VPN tunnel resource. */ +@property(nonatomic, copy, nullable) NSString *uri; + +/** The VPC network where this VPN tunnel is located. */ +@property(nonatomic, copy, nullable) NSString *vpcNetwork; + +@end + + /** * Represents the metadata of the long-running operation. */ @@ -2761,7 +2981,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin * Policy-based routes route L4 network traffic based on not just destination * IP address, but also source IP address, protocol, and more. If a * policy-based route conflicts with other types of routes, the policy-based - * route always take precedence. + * route always takes precedence. */ @interface GTLRNetworkconnectivity_PolicyBasedRoute : GTLRObject @@ -2820,8 +3040,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin * @arg @c kGTLRNetworkconnectivity_PolicyBasedRoute_NextHopOtherRoutes_DefaultRouting * Use the routes from the default routing tables (system-generated * routes, custom routes, peering route) to determine the next hop. This - * will effectively exclude matching packets being applied on other PBRs - * with a lower priority. (Value: "DEFAULT_ROUTING") + * effectively excludes matching packets being applied on other PBRs with + * a lower priority. (Value: "DEFAULT_ROUTING") * @arg @c kGTLRNetworkconnectivity_PolicyBasedRoute_NextHopOtherRoutes_OtherRoutesUnspecified * Default value. (Value: "OTHER_ROUTES_UNSPECIFIED") */ @@ -2844,7 +3064,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** Output only. Time when the policy-based route was updated. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; -/** Optional. VM instances to which this policy-based route applies to. */ +/** Optional. VM instances that this policy-based route applies to. */ @property(nonatomic, strong, nullable) GTLRNetworkconnectivity_VirtualMachine *virtualMachine; /** @@ -3163,9 +3383,29 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin */ @property(nonatomic, copy, nullable) NSString *name; +/** Immutable. The next-hop VLAN attachment for packets on this route. */ +@property(nonatomic, strong, nullable) GTLRNetworkconnectivity_NextHopInterconnectAttachment *nextHopInterconnectAttachment; + +/** + * Immutable. The next-hop Router appliance instance for packets on this route. + */ +@property(nonatomic, strong, nullable) GTLRNetworkconnectivity_NextHopRouterApplianceInstance *nextHopRouterApplianceInstance; + /** Immutable. The destination VPC network for packets on this route. */ @property(nonatomic, strong, nullable) GTLRNetworkconnectivity_NextHopVpcNetwork *nextHopVpcNetwork; +/** Immutable. The next-hop VPN tunnel for packets on this route. */ +@property(nonatomic, strong, nullable) GTLRNetworkconnectivity_NextHopVPNTunnel *nextHopVpnTunnel; + +/** + * Output only. The priority of this route. Priority is used to break ties in + * cases where a destination matches more than one route. In these cases the + * route with the lowest-numbered priority value wins. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *priority; + /** * Immutable. The spoke that this route leads to. Example: * projects/12345/locations/global/spokes/SPOKE @@ -3203,6 +3443,10 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin * its IP address range. * * Likely values: + * @arg @c kGTLRNetworkconnectivity_Route_Type_DynamicRoute The route leads + * to a destination in a dynamic route. Dynamic routes are derived from + * Border Gateway Protocol (BGP) advertisements received from an NCC + * hybrid spoke. (Value: "DYNAMIC_ROUTE") * @arg @c kGTLRNetworkconnectivity_Route_Type_RouteTypeUnspecified No route * type information specified (Value: "ROUTE_TYPE_UNSPECIFIED") * @arg @c kGTLRNetworkconnectivity_Route_Type_VpcPrimarySubnet The route @@ -4017,13 +4261,13 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** - * VM instances to which this policy-based route applies to. + * VM instances that this policy-based route applies to. */ @interface GTLRNetworkconnectivity_VirtualMachine : GTLRObject /** - * Optional. A list of VM instance tags the this policy-based route applies to. - * VM instances that have ANY of tags specified here will install this PBR. + * Optional. A list of VM instance tags that this policy-based route applies + * to. VM instances that have ANY of tags specified here installs this PBR. */ @property(nonatomic, strong, nullable) NSArray *tags; @@ -4044,8 +4288,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin * time. (Value: "RESOURCE_BEING_MODIFIED") * @arg @c kGTLRNetworkconnectivity_Warnings_Code_ResourceNotActive The * policy-based route is not active and functioning. Common causes are - * the dependent network was deleted or the resource project was turned - * off. (Value: "RESOURCE_NOT_ACTIVE") + * that the dependent network was deleted or the resource project was + * turned off. (Value: "RESOURCE_NOT_ACTIVE") * @arg @c kGTLRNetworkconnectivity_Warnings_Code_WarningUnspecified Default * value. (Value: "WARNING_UNSPECIFIED") */ diff --git a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h index 79628a701..126c71861 100644 --- a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h +++ b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h @@ -399,6 +399,66 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @end +/** + * Updates the parameters of a Network Connectivity Center group. + * + * Method: networkconnectivity.projects.locations.global.hubs.groups.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsGlobalHubsGroupsPatch : GTLRNetworkconnectivityQuery + +/** + * Immutable. The name of the group. Group names must be unique. They use the + * following form: + * `projects/{project_number}/locations/global/hubs/{hub}/groups/{group_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. A request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server knows to ignore the request + * if it has already been completed. The server guarantees that a request + * doesn't result in creation of duplicate commitments for at least 60 minutes. + * For example, consider a situation where you make an initial request and the + * request times out. If you make the request again with the same request ID, + * the server can check to see whether the original operation was received. If + * it was, the server ignores the second request. This behavior prevents + * clients from mistakenly creating duplicate commitments. The request ID must + * be a valid UUID, with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Optional. In the case of an update to an existing group, field mask is used + * to specify the fields to be overwritten. The fields specified in the + * update_mask are relative to the resource, not the full request. A field is + * overwritten if it is in the mask. If the user does not provide a mask, then + * all fields are overwritten. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRNetworkconnectivity_GoogleLongrunningOperation. + * + * Updates the parameters of a Network Connectivity Center group. + * + * @param object The @c GTLRNetworkconnectivity_Group to include in the query. + * @param name Immutable. The name of the group. Group names must be unique. + * They use the following form: + * `projects/{project_number}/locations/global/hubs/{hub}/groups/{group_id}` + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsGlobalHubsGroupsPatch + */ ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_Group *)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 @@ -930,14 +990,14 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif /** * Optional. An optional request ID to identify requests. Specify a unique - * request ID so that if you must retry your request, the server will know to - * ignore the request if it has already been completed. The server will - * guarantee that for at least 60 minutes since the first request. For example, - * consider a situation where you make an initial request and the request times - * out. If you make the request again with the same request ID, the server can - * check if original operation with the same request ID was received, and if - * so, will ignore the second request. This prevents clients from accidentally - * creating duplicate commitments. The request ID must be a valid UUID with the + * request ID so that if you must retry your request, the server knows to + * ignore the request if it has already been completed. The server guarantees + * that for at least 60 minutes since the first request. For example, consider + * a situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, ignores + * the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the * exception that zero UUID is not supported * (00000000-0000-0000-0000-000000000000). */ @@ -974,14 +1034,14 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif /** * Optional. An optional request ID to identify requests. Specify a unique - * request ID so that if you must retry your request, the server will know to - * ignore the request if it has already been completed. The server will - * guarantee that for at least 60 minutes after the first request. For example, - * consider a situation where you make an initial request and the request times - * out. If you make the request again with the same request ID, the server can - * check if original operation with the same request ID was received, and if - * so, will ignore the second request. This prevents clients from accidentally - * creating duplicate commitments. The request ID must be a valid UUID with the + * request ID so that if you must retry your request, the server knows to + * ignore the request if it has already been completed. The server guarantees + * that for at least 60 minutes after the first request. For example, consider + * a situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, ignores + * the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the * exception that zero UUID is not supported * (00000000-0000-0000-0000-000000000000). */ diff --git a/Sources/GeneratedServices/OSConfig/GTLROSConfigQuery.m b/Sources/GeneratedServices/OSConfig/GTLROSConfigQuery.m index 50bec48ab..7530cef6b 100644 --- a/Sources/GeneratedServices/OSConfig/GTLROSConfigQuery.m +++ b/Sources/GeneratedServices/OSConfig/GTLROSConfigQuery.m @@ -191,7 +191,7 @@ + (instancetype)queryWithParent:(NSString *)parent { @implementation GTLROSConfigQuery_ProjectsLocationsOsPolicyAssignmentsCreate -@dynamic osPolicyAssignmentId, parent; +@dynamic osPolicyAssignmentId, parent, requestId; + (instancetype)queryWithObject:(GTLROSConfig_OSPolicyAssignment *)object parent:(NSString *)parent { @@ -218,7 +218,7 @@ + (instancetype)queryWithObject:(GTLROSConfig_OSPolicyAssignment *)object @implementation GTLROSConfigQuery_ProjectsLocationsOsPolicyAssignmentsDelete -@dynamic name; +@dynamic name, requestId; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; @@ -340,7 +340,7 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLROSConfigQuery_ProjectsLocationsOsPolicyAssignmentsPatch -@dynamic name, updateMask; +@dynamic allowMissing, name, requestId, updateMask; + (instancetype)queryWithObject:(GTLROSConfig_OSPolicyAssignment *)object name:(NSString *)name { diff --git a/Sources/GeneratedServices/OSConfig/Public/GoogleAPIClientForREST/GTLROSConfigQuery.h b/Sources/GeneratedServices/OSConfig/Public/GoogleAPIClientForREST/GTLROSConfigQuery.h index 640baeeb0..457e53ddf 100644 --- a/Sources/GeneratedServices/OSConfig/Public/GoogleAPIClientForREST/GTLROSConfigQuery.h +++ b/Sources/GeneratedServices/OSConfig/Public/GoogleAPIClientForREST/GTLROSConfigQuery.h @@ -502,6 +502,13 @@ FOUNDATION_EXTERN NSString * const kGTLROSConfigViewInventoryViewUnspecified; */ @property(nonatomic, copy, nullable) NSString *parent; +/** + * Optional. A unique identifier for this request. Restricted to 36 ASCII + * characters. A random UUID is recommended. This request is only idempotent if + * a `request_id` is provided. + */ +@property(nonatomic, copy, nullable) NSString *requestId; + /** * Fetches a @c GTLROSConfig_Operation. * @@ -543,6 +550,13 @@ FOUNDATION_EXTERN NSString * const kGTLROSConfigViewInventoryViewUnspecified; /** Required. The name of the OS policy assignment to be deleted */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Optional. A unique identifier for this request. Restricted to 36 ASCII + * characters. A random UUID is recommended. This request is only idempotent if + * a `request_id` is provided. + */ +@property(nonatomic, copy, nullable) NSString *requestId; + /** * Fetches a @c GTLROSConfig_Operation. * @@ -768,6 +782,13 @@ FOUNDATION_EXTERN NSString * const kGTLROSConfigViewInventoryViewUnspecified; */ @interface GTLROSConfigQuery_ProjectsLocationsOsPolicyAssignmentsPatch : GTLROSConfigQuery +/** + * Optional. If set to true, and the OS policy assignment is not found, a new + * OS policy assignment will be created. In this situation, `update_mask` is + * ignored. + */ +@property(nonatomic, assign) BOOL allowMissing; + /** * Resource name. Format: * `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}` @@ -775,6 +796,13 @@ FOUNDATION_EXTERN NSString * const kGTLROSConfigViewInventoryViewUnspecified; */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Optional. A unique identifier for this request. Restricted to 36 ASCII + * characters. A random UUID is recommended. This request is only idempotent if + * a `request_id` is provided. + */ +@property(nonatomic, copy, nullable) NSString *requestId; + /** * Optional. Field mask that controls which fields of the assignment should be * updated. diff --git a/Sources/GeneratedServices/OrgPolicyAPI/GTLROrgPolicyAPIObjects.m b/Sources/GeneratedServices/OrgPolicyAPI/GTLROrgPolicyAPIObjects.m index 929895e4c..aceb8a777 100644 --- a/Sources/GeneratedServices/OrgPolicyAPI/GTLROrgPolicyAPIObjects.m +++ b/Sources/GeneratedServices/OrgPolicyAPI/GTLROrgPolicyAPIObjects.m @@ -19,17 +19,6 @@ NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2Constraint_ConstraintDefault_ConstraintDefaultUnspecified = @"CONSTRAINT_DEFAULT_UNSPECIFIED"; NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2Constraint_ConstraintDefault_Deny = @"DENY"; -// GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint.actionType -NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint_ActionType_ActionTypeUnspecified = @"ACTION_TYPE_UNSPECIFIED"; -NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint_ActionType_Allow = @"ALLOW"; -NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint_ActionType_Deny = @"DENY"; - -// GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint.methodTypes -NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint_MethodTypes_Create = @"CREATE"; -NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint_MethodTypes_Delete = @"DELETE"; -NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint_MethodTypes_MethodTypeUnspecified = @"METHOD_TYPE_UNSPECIFIED"; -NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint_MethodTypes_Update = @"UPDATE"; - // GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2CustomConstraint.actionType NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2CustomConstraint_ActionType_ActionTypeUnspecified = @"ACTION_TYPE_UNSPECIFIED"; NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2CustomConstraint_ActionType_Allow = @"ALLOW"; @@ -60,7 +49,7 @@ @implementation GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2AlternatePolicySpec @implementation GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2Constraint @dynamic booleanConstraint, constraintDefault, descriptionProperty, displayName, - googleManagedConstraint, listConstraint, name, supportsDryRun; + listConstraint, name, supportsDryRun; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -78,25 +67,6 @@ @implementation GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintBooleanConstrai @end -// ---------------------------------------------------------------------------- -// -// GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint -// - -@implementation GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint -@dynamic actionType, condition, methodTypes, resourceTypes; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"methodTypes" : [NSString class], - @"resourceTypes" : [NSString class] - }; - return map; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintListConstraint diff --git a/Sources/GeneratedServices/OrgPolicyAPI/Public/GoogleAPIClientForREST/GTLROrgPolicyAPIObjects.h b/Sources/GeneratedServices/OrgPolicyAPI/Public/GoogleAPIClientForREST/GTLROrgPolicyAPIObjects.h index 197ca2d23..41558d55f 100644 --- a/Sources/GeneratedServices/OrgPolicyAPI/Public/GoogleAPIClientForREST/GTLROrgPolicyAPIObjects.h +++ b/Sources/GeneratedServices/OrgPolicyAPI/Public/GoogleAPIClientForREST/GTLROrgPolicyAPIObjects.h @@ -18,7 +18,6 @@ @class GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2AlternatePolicySpec; @class GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2Constraint; @class GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintBooleanConstraint; -@class GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint; @class GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintListConstraint; @class GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2CustomConstraint; @class GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2Policy; @@ -61,56 +60,6 @@ FOUNDATION_EXTERN NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2Const */ FOUNDATION_EXTERN NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2Constraint_ConstraintDefault_Deny; -// ---------------------------------------------------------------------------- -// GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint.actionType - -/** - * Unspecified. Results in an error. - * - * Value: "ACTION_TYPE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint_ActionType_ActionTypeUnspecified; -/** - * Allowed action type. - * - * Value: "ALLOW" - */ -FOUNDATION_EXTERN NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint_ActionType_Allow; -/** - * Deny action type. - * - * Value: "DENY" - */ -FOUNDATION_EXTERN NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint_ActionType_Deny; - -// ---------------------------------------------------------------------------- -// GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint.methodTypes - -/** - * Constraint applied when creating the resource. - * - * Value: "CREATE" - */ -FOUNDATION_EXTERN NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint_MethodTypes_Create; -/** - * Constraint applied when deleting the resource. Not supported yet. - * - * Value: "DELETE" - */ -FOUNDATION_EXTERN NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint_MethodTypes_Delete; -/** - * Unspecified. Results in an error. - * - * Value: "METHOD_TYPE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint_MethodTypes_MethodTypeUnspecified; -/** - * Constraint applied when updating the resource. - * - * Value: "UPDATE" - */ -FOUNDATION_EXTERN NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint_MethodTypes_Update; - // ---------------------------------------------------------------------------- // GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2CustomConstraint.actionType @@ -238,9 +187,6 @@ FOUNDATION_EXTERN NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2Custo /** The human readable name. Mutable. */ @property(nonatomic, copy, nullable) NSString *displayName; -/** Defines this constraint as being a GoogleManagedConstraint. */ -@property(nonatomic, strong, nullable) GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint *googleManagedConstraint; - /** Defines this constraint as being a ListConstraint. */ @property(nonatomic, strong, nullable) GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintListConstraint *listConstraint; @@ -272,45 +218,6 @@ FOUNDATION_EXTERN NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2Custo @end -/** - * A Google managed constraint. This represents a subset of fields missing from - * Constraint proto that are required to describe CustomConstraint - */ -@interface GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint : GTLRObject - -/** - * Allow or deny type. - * - * Likely values: - * @arg @c kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint_ActionType_ActionTypeUnspecified - * Unspecified. Results in an error. (Value: "ACTION_TYPE_UNSPECIFIED") - * @arg @c kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint_ActionType_Allow - * Allowed action type. (Value: "ALLOW") - * @arg @c kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint_ActionType_Deny - * Deny action type. (Value: "DENY") - */ -@property(nonatomic, copy, nullable) NSString *actionType; - -/** - * Org policy condition/expression. For example: - * `resource.instanceName.matches("[production|test]_.*_(\\d)+")` or, - * `resource.management.auto_upgrade == true` The max length of the condition - * is 1000 characters. - */ -@property(nonatomic, copy, nullable) NSString *condition; - -/** All the operations being applied for this constraint. */ -@property(nonatomic, strong, nullable) NSArray *methodTypes; - -/** - * The resource instance type on which this policy applies. Format will be of - * the form : `/` Example: * `compute.googleapis.com/Instance`. - */ -@property(nonatomic, strong, nullable) NSArray *resourceTypes; - -@end - - /** * A constraint that allows or disallows a list of string values, which are * configured by an Organization Policy administrator with a policy. diff --git a/Sources/GeneratedServices/PagespeedInsights/Public/GoogleAPIClientForREST/GTLRPagespeedInsightsObjects.h b/Sources/GeneratedServices/PagespeedInsights/Public/GoogleAPIClientForREST/GTLRPagespeedInsightsObjects.h index 9b069510c..06497494c 100644 --- a/Sources/GeneratedServices/PagespeedInsights/Public/GoogleAPIClientForREST/GTLRPagespeedInsightsObjects.h +++ b/Sources/GeneratedServices/PagespeedInsights/Public/GoogleAPIClientForREST/GTLRPagespeedInsightsObjects.h @@ -132,8 +132,9 @@ NS_ASSUME_NONNULL_BEGIN /** * The Progressive-Web-App (PWA) category, containing all pwa related audits. + * This is deprecated in Lighthouse's 12.0 release. */ -@property(nonatomic, strong, nullable) GTLRPagespeedInsights_LighthouseCategoryV5 *pwa; +@property(nonatomic, strong, nullable) GTLRPagespeedInsights_LighthouseCategoryV5 *pwa GTLR_DEPRECATED; /** * The Search-Engine-Optimization (SEO) category, containing all seo related diff --git a/Sources/GeneratedServices/PagespeedInsights/Public/GoogleAPIClientForREST/GTLRPagespeedInsightsQuery.h b/Sources/GeneratedServices/PagespeedInsights/Public/GoogleAPIClientForREST/GTLRPagespeedInsightsQuery.h index 1510ec5fa..26c60696f 100644 --- a/Sources/GeneratedServices/PagespeedInsights/Public/GoogleAPIClientForREST/GTLRPagespeedInsightsQuery.h +++ b/Sources/GeneratedServices/PagespeedInsights/Public/GoogleAPIClientForREST/GTLRPagespeedInsightsQuery.h @@ -58,11 +58,11 @@ FOUNDATION_EXTERN NSString * const kGTLRPagespeedInsightsCategoryCategoryUnspeci FOUNDATION_EXTERN NSString * const kGTLRPagespeedInsightsCategoryPerformance; /** * Progressive Web App (PWA), category pertaining to a website's ability to be - * run as a PWA. + * run as a PWA. This is deprecated in Lighthouse's 12.0 release. * * Value: "PWA" */ -FOUNDATION_EXTERN NSString * const kGTLRPagespeedInsightsCategoryPwa; +FOUNDATION_EXTERN NSString * const kGTLRPagespeedInsightsCategoryPwa GTLR_DEPRECATED; /** * Search Engine Optimization (SEO), category pertaining to a website's ability * to be indexed by search engines. @@ -138,8 +138,8 @@ FOUNDATION_EXTERN NSString * const kGTLRPagespeedInsightsStrategyStrategyUnspeci * @arg @c kGTLRPagespeedInsightsCategoryPerformance Performance, category * pertaining to a website's performance. (Value: "PERFORMANCE") * @arg @c kGTLRPagespeedInsightsCategoryPwa Progressive Web App (PWA), - * category pertaining to a website's ability to be run as a PWA. (Value: - * "PWA") + * category pertaining to a website's ability to be run as a PWA. This is + * deprecated in Lighthouse's 12.0 release. (Value: "PWA") * @arg @c kGTLRPagespeedInsightsCategorySeo Search Engine Optimization * (SEO), category pertaining to a website's ability to be indexed by * search engines. (Value: "SEO") diff --git a/Sources/GeneratedServices/RecaptchaEnterprise/GTLRRecaptchaEnterpriseObjects.m b/Sources/GeneratedServices/RecaptchaEnterprise/GTLRRecaptchaEnterpriseObjects.m index 986a70ea7..58d4ac45e 100644 --- a/Sources/GeneratedServices/RecaptchaEnterprise/GTLRRecaptchaEnterpriseObjects.m +++ b/Sources/GeneratedServices/RecaptchaEnterprise/GTLRRecaptchaEnterpriseObjects.m @@ -78,6 +78,10 @@ NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1RiskAnalysis_Reasons_UnexpectedEnvironment = @"UNEXPECTED_ENVIRONMENT"; NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1RiskAnalysis_Reasons_UnexpectedUsagePatterns = @"UNEXPECTED_USAGE_PATTERNS"; +// GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict.reasons +NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict_Reasons_InvalidPhoneNumber = @"INVALID_PHONE_NUMBER"; +NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict_Reasons_SmsTollFraudReasonUnspecified = @"SMS_TOLL_FRAUD_REASON_UNSPECIFIED"; + // GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1TestingOptions.testingChallenge NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1TestingOptions_TestingChallenge_Nocaptcha = @"NOCAPTCHA"; NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1TestingOptions_TestingChallenge_TestingChallengeUnspecified = @"TESTING_CHALLENGE_UNSPECIFIED"; @@ -238,7 +242,8 @@ @implementation GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1AppleDev @implementation GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1Assessment @dynamic accountDefenderAssessment, accountVerification, event, firewallPolicyAssessment, fraudPreventionAssessment, fraudSignals, - name, privatePasswordLeakVerification, riskAnalysis, tokenProperties; + name, phoneFraudAssessment, privatePasswordLeakVerification, + riskAnalysis, tokenProperties; @end @@ -620,6 +625,16 @@ @implementation GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1MigrateK @end +// ---------------------------------------------------------------------------- +// +// GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment +// + +@implementation GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment +@dynamic smsTollFraudVerdict; +@end + + // ---------------------------------------------------------------------------- // // GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification @@ -795,6 +810,24 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict +// + +@implementation GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict +@dynamic reasons, risk; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"reasons" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1TestingOptions diff --git a/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h b/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h index 2e005ded5..d54632058 100644 --- a/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h +++ b/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h @@ -41,6 +41,7 @@ @class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1IOSKeySettings; @class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1Key; @class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1Key_Labels; +@class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment; @class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification; @class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1RelatedAccountGroup; @class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership; @@ -49,6 +50,7 @@ @class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1ScoreDistribution_ScoreBuckets; @class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1ScoreMetrics; @class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1ScoreMetrics_ActionMetrics; +@class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict; @class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1TestingOptions; @class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1TokenProperties; @class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1TransactionData; @@ -443,6 +445,22 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha */ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1RiskAnalysis_Reasons_UnexpectedUsagePatterns; +// ---------------------------------------------------------------------------- +// GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict.reasons + +/** + * The provided phone number was invalid + * + * Value: "INVALID_PHONE_NUMBER" + */ +FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict_Reasons_InvalidPhoneNumber; +/** + * Default unspecified reason + * + * Value: "SMS_TOLL_FRAUD_REASON_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict_Reasons_SmsTollFraudReasonUnspecified; + // ---------------------------------------------------------------------------- // GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1TestingOptions.testingChallenge @@ -1035,6 +1053,13 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Output only. Assessment returned when a site key, a token, and a phone + * number as `user_id` are provided. Account defender and SMS toll fraud + * protection need to be enabled. + */ +@property(nonatomic, strong, nullable) GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment *phoneFraudAssessment; + /** * Optional. The private password leak verification field contains the * parameters that are used to to check for leaks privately without sharing @@ -1801,6 +1826,17 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha @end +/** + * Assessment for Phone Fraud + */ +@interface GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment : GTLRObject + +/** Output only. Assessment of this phone event for risk of SMS toll fraud. */ +@property(nonatomic, strong, nullable) GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict *smsTollFraudVerdict; + +@end + + /** * Private password leak verification info. */ @@ -2091,6 +2127,25 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha @end +/** + * Information about SMS toll fraud. + */ +@interface GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict : GTLRObject + +/** Output only. Reasons contributing to the SMS toll fraud verdict. */ +@property(nonatomic, strong, nullable) NSArray *reasons; + +/** + * Output only. Probability of an SMS event being fraudulent. Values are from + * 0.0 (lowest) to 1.0 (highest). + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *risk; + +@end + + /** * Options for user acceptance testing. */ diff --git a/Sources/GeneratedServices/SASPortal/Public/GoogleAPIClientForREST/GTLRSASPortalObjects.h b/Sources/GeneratedServices/SASPortal/Public/GoogleAPIClientForREST/GTLRSASPortalObjects.h index 34ea30cf1..f985437fb 100644 --- a/Sources/GeneratedServices/SASPortal/Public/GoogleAPIClientForREST/GTLRSASPortalObjects.h +++ b/Sources/GeneratedServices/SASPortal/Public/GoogleAPIClientForREST/GTLRSASPortalObjects.h @@ -806,10 +806,11 @@ FOUNDATION_EXTERN NSString * const kGTLRSASPortal_NrqzValidation_State_StateUnsp @property(nonatomic, strong, nullable) NSNumber *antennaDowntilt; /** - * Peak antenna gain in dBi. This parameter is an integer with a value between - * -127 and +128 (dBi) inclusive. + * Peak antenna gain in dBi. This parameter is a double with a value between + * -127 and +128 (dBi) inclusive. Part of Release 2 to support floating-point + * value * - * Uses NSNumber of intValue. + * Uses NSNumber of doubleValue. */ @property(nonatomic, strong, nullable) NSNumber *antennaGain; diff --git a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m index 087a56e3b..993830fa2 100644 --- a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m +++ b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m @@ -86,12 +86,15 @@ NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql8038 = @"MYSQL_8_0_38"; NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql8039 = @"MYSQL_8_0_39"; NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql8040 = @"MYSQL_8_0_40"; +NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql84 = @"MYSQL_8_4"; +NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql840 = @"MYSQL_8_4_0"; NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Postgres10 = @"POSTGRES_10"; NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Postgres11 = @"POSTGRES_11"; NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Postgres12 = @"POSTGRES_12"; NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Postgres13 = @"POSTGRES_13"; NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Postgres14 = @"POSTGRES_14"; NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Postgres15 = @"POSTGRES_15"; +NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Postgres16 = @"POSTGRES_16"; NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Postgres96 = @"POSTGRES_9_6"; NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_SqlDatabaseVersionUnspecified = @"SQL_DATABASE_VERSION_UNSPECIFIED"; NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Sqlserver2017Enterprise = @"SQLSERVER_2017_ENTERPRISE"; @@ -135,12 +138,15 @@ NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql8038 = @"MYSQL_8_0_38"; NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql8039 = @"MYSQL_8_0_39"; NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql8040 = @"MYSQL_8_0_40"; +NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql84 = @"MYSQL_8_4"; +NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql840 = @"MYSQL_8_4_0"; NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Postgres10 = @"POSTGRES_10"; NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Postgres11 = @"POSTGRES_11"; NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Postgres12 = @"POSTGRES_12"; NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Postgres13 = @"POSTGRES_13"; NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Postgres14 = @"POSTGRES_14"; NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Postgres15 = @"POSTGRES_15"; +NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Postgres16 = @"POSTGRES_16"; NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Postgres96 = @"POSTGRES_9_6"; NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_SqlDatabaseVersionUnspecified = @"SQL_DATABASE_VERSION_UNSPECIFIED"; NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Sqlserver2017Enterprise = @"SQLSERVER_2017_ENTERPRISE"; @@ -218,12 +224,15 @@ NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Mysql8038 = @"MYSQL_8_0_38"; NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Mysql8039 = @"MYSQL_8_0_39"; NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Mysql8040 = @"MYSQL_8_0_40"; +NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Mysql84 = @"MYSQL_8_4"; +NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Mysql840 = @"MYSQL_8_4_0"; NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Postgres10 = @"POSTGRES_10"; NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Postgres11 = @"POSTGRES_11"; NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Postgres12 = @"POSTGRES_12"; NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Postgres13 = @"POSTGRES_13"; NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Postgres14 = @"POSTGRES_14"; NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Postgres15 = @"POSTGRES_15"; +NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Postgres16 = @"POSTGRES_16"; NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Postgres96 = @"POSTGRES_9_6"; NSString * const kGTLRSQLAdmin_Flag_AppliesTo_SqlDatabaseVersionUnspecified = @"SQL_DATABASE_VERSION_UNSPECIFIED"; NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Sqlserver2017Enterprise = @"SQLSERVER_2017_ENTERPRISE"; @@ -286,6 +295,7 @@ NSString * const kGTLRSQLAdmin_Operation_OperationType_Backup = @"BACKUP"; NSString * const kGTLRSQLAdmin_Operation_OperationType_BackupVolume = @"BACKUP_VOLUME"; NSString * const kGTLRSQLAdmin_Operation_OperationType_Clone = @"CLONE"; +NSString * const kGTLRSQLAdmin_Operation_OperationType_ClusterMaintenance = @"CLUSTER_MAINTENANCE"; NSString * const kGTLRSQLAdmin_Operation_OperationType_Create = @"CREATE"; NSString * const kGTLRSQLAdmin_Operation_OperationType_CreateClone = @"CREATE_CLONE"; NSString * const kGTLRSQLAdmin_Operation_OperationType_CreateDatabase = @"CREATE_DATABASE"; @@ -313,12 +323,14 @@ NSString * const kGTLRSQLAdmin_Operation_OperationType_RescheduleMaintenance = @"RESCHEDULE_MAINTENANCE"; NSString * const kGTLRSQLAdmin_Operation_OperationType_Restart = @"RESTART"; NSString * const kGTLRSQLAdmin_Operation_OperationType_RestoreVolume = @"RESTORE_VOLUME"; +NSString * const kGTLRSQLAdmin_Operation_OperationType_SelfServiceMaintenance = @"SELF_SERVICE_MAINTENANCE"; NSString * const kGTLRSQLAdmin_Operation_OperationType_Snapshot = @"SNAPSHOT"; NSString * const kGTLRSQLAdmin_Operation_OperationType_SqlOperationTypeUnspecified = @"SQL_OPERATION_TYPE_UNSPECIFIED"; NSString * const kGTLRSQLAdmin_Operation_OperationType_StartExternalSync = @"START_EXTERNAL_SYNC"; NSString * const kGTLRSQLAdmin_Operation_OperationType_StartReplica = @"START_REPLICA"; NSString * const kGTLRSQLAdmin_Operation_OperationType_StopReplica = @"STOP_REPLICA"; NSString * const kGTLRSQLAdmin_Operation_OperationType_Switchover = @"SWITCHOVER"; +NSString * const kGTLRSQLAdmin_Operation_OperationType_SwitchoverToReplica = @"SWITCHOVER_TO_REPLICA"; NSString * const kGTLRSQLAdmin_Operation_OperationType_TruncateLog = @"TRUNCATE_LOG"; NSString * const kGTLRSQLAdmin_Operation_OperationType_Update = @"UPDATE"; NSString * const kGTLRSQLAdmin_Operation_OperationType_UpdateDatabase = @"UPDATE_DATABASE"; @@ -522,6 +534,16 @@ @implementation GTLRSQLAdmin_ApiWarning @end +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_AvailableDatabaseVersion +// + +@implementation GTLRSQLAdmin_AvailableDatabaseVersion +@dynamic displayName, majorVersion, name; +@end + + // ---------------------------------------------------------------------------- // // GTLRSQLAdmin_BackupConfiguration @@ -746,7 +768,7 @@ @implementation GTLRSQLAdmin_DatabaseInstance replicaNames, replicationCluster, rootPassword, satisfiesPzs, scheduledMaintenance, secondaryGceZone, selfLink, serverCaCert, serviceAccountEmailAddress, settings, sqlNetworkArchitecture, state, - suspensionReason, writeEndpoint; + suspensionReason, upgradableDatabaseVersions, writeEndpoint; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; @@ -757,7 +779,8 @@ @implementation GTLRSQLAdmin_DatabaseInstance @"availableMaintenanceVersions" : [NSString class], @"ipAddresses" : [GTLRSQLAdmin_IpMapping class], @"replicaNames" : [NSString class], - @"suspensionReason" : [NSString class] + @"suspensionReason" : [NSString class], + @"upgradableDatabaseVersions" : [GTLRSQLAdmin_AvailableDatabaseVersion class] }; return map; } @@ -1657,7 +1680,7 @@ + (BOOL)isKindValidForClassRegistry { // @implementation GTLRSQLAdmin_ReplicationCluster -@dynamic drReplica, failoverDrReplicaName; +@dynamic drReplica, failoverDrReplicaName, psaWriteEndpoint; @end diff --git a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h index e1c650e2e..dbc7cca02 100644 --- a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h +++ b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h @@ -18,6 +18,7 @@ @class GTLRSQLAdmin_AcquireSsrsLeaseContext; @class GTLRSQLAdmin_AdvancedMachineFeatures; @class GTLRSQLAdmin_ApiWarning; +@class GTLRSQLAdmin_AvailableDatabaseVersion; @class GTLRSQLAdmin_BackupConfiguration; @class GTLRSQLAdmin_BackupContext; @class GTLRSQLAdmin_BackupReencryptionConfig; @@ -480,6 +481,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion * Value: "MYSQL_8_0_40" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql8040; +/** + * The database version is MySQL 8.4. + * + * Value: "MYSQL_8_4" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql84; +/** + * The database version is MySQL 8.4 and the patch version is 0. + * + * Value: "MYSQL_8_4_0" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql840; /** * The database version is PostgreSQL 10. * @@ -516,6 +529,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion * Value: "POSTGRES_15" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Postgres15; +/** + * The database version is PostgreSQL 16. + * + * Value: "POSTGRES_16" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Postgres16; /** * The database version is PostgreSQL 9.6. * @@ -758,6 +777,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersio * Value: "MYSQL_8_0_40" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql8040; +/** + * The database version is MySQL 8.4. + * + * Value: "MYSQL_8_4" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql84; +/** + * The database version is MySQL 8.4 and the patch version is 0. + * + * Value: "MYSQL_8_4_0" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql840; /** * The database version is PostgreSQL 10. * @@ -794,6 +825,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersio * Value: "POSTGRES_15" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Postgres15; +/** + * The database version is PostgreSQL 16. + * + * Value: "POSTGRES_16" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Postgres16; /** * The database version is PostgreSQL 9.6. * @@ -1198,6 +1235,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Mysql8039; * Value: "MYSQL_8_0_40" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Mysql8040; +/** + * The database version is MySQL 8.4. + * + * Value: "MYSQL_8_4" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Mysql84; +/** + * The database version is MySQL 8.4 and the patch version is 0. + * + * Value: "MYSQL_8_4_0" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Mysql840; /** * The database version is PostgreSQL 10. * @@ -1234,6 +1283,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Postgres14; * Value: "POSTGRES_15" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Postgres15; +/** + * The database version is PostgreSQL 16. + * + * Value: "POSTGRES_16" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Postgres16; /** * The database version is PostgreSQL 9.6. * @@ -1570,6 +1625,15 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Operation_OperationType_BackupV * Value: "CLONE" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Operation_OperationType_Clone; +/** + * Indicates that the instance, its read replicas, and its cascading replicas + * are in maintenance. Maintenance typically gets initiated on groups of + * replicas first, followed by the primary instance. For each instance, + * maintenance typically causes the instance to be unavailable for 1-3 minutes. + * + * Value: "CLUSTER_MAINTENANCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Operation_OperationType_ClusterMaintenance; /** * Creates a new Cloud SQL instance. * @@ -1728,6 +1792,14 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Operation_OperationType_Restart * Value: "RESTORE_VOLUME" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Operation_OperationType_RestoreVolume; +/** + * Indicates that the instance (and any of its replicas) are currently in + * maintenance. This is initiated as a self-service request by using SSM. + * Maintenance typically causes the instance to be unavailable for 1-3 minutes. + * + * Value: "SELF_SERVICE_MAINTENANCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Operation_OperationType_SelfServiceMaintenance; /** Value: "SNAPSHOT" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Operation_OperationType_Snapshot GTLR_DEPRECATED; /** @@ -1756,11 +1828,19 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Operation_OperationType_StartRe */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Operation_OperationType_StopReplica; /** - * Switches over to replica instance from primary. + * Switches the roles of the primary and replica pair. The target instance + * should be the replica. * * Value: "SWITCHOVER" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Operation_OperationType_Switchover; +/** + * Switches a primary instance to a replica. This operation runs as part of a + * switchover operation to the original primary instance. + * + * Value: "SWITCHOVER_TO_REPLICA" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Operation_OperationType_SwitchoverToReplica; /** * Truncates a general or slow log table in MySQL. * @@ -2635,6 +2715,26 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @end +/** + * An available database version. It can be a major or a minor version. + */ +@interface GTLRSQLAdmin_AvailableDatabaseVersion : GTLRObject + +/** The database version's display name. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** The version's major version name. */ +@property(nonatomic, copy, nullable) NSString *majorVersion; + +/** + * The database version name. For MySQL 8.0, this string provides the database + * major and minor version. + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * Database instance backup configuration. */ @@ -3039,9 +3139,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @property(nonatomic, strong, nullable) GTLRDateTime *pointInTime; /** - * Optional. (Point-in-time recovery for PostgreSQL only) Clone to an instance - * in the specified zone. If no zone is specified, clone to the same zone as - * the source instance. + * Optional. Copy clone and point-in-time recovery clone of an instance to the + * specified zone. If no zone is specified, clone to the same primary zone as + * the source instance. This field applies to all DB types. */ @property(nonatomic, copy, nullable) NSString *preferredZone; @@ -3140,6 +3240,11 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * @arg @c kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql8040 The * database major version is MySQL 8.0 and the minor version is 40. * (Value: "MYSQL_8_0_40") + * @arg @c kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql84 The database + * version is MySQL 8.4. (Value: "MYSQL_8_4") + * @arg @c kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql840 The + * database version is MySQL 8.4 and the patch version is 0. (Value: + * "MYSQL_8_4_0") * @arg @c kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Postgres10 The * database version is PostgreSQL 10. (Value: "POSTGRES_10") * @arg @c kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Postgres11 The @@ -3152,6 +3257,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * database version is PostgreSQL 14. (Value: "POSTGRES_14") * @arg @c kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Postgres15 The * database version is PostgreSQL 15. (Value: "POSTGRES_15") + * @arg @c kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Postgres16 The + * database version is PostgreSQL 16. (Value: "POSTGRES_16") * @arg @c kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Postgres96 The * database version is PostgreSQL 9.6. (Value: "POSTGRES_9_6") * @arg @c kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_SqlDatabaseVersionUnspecified @@ -3406,6 +3513,11 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * @arg @c kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql8040 The * database major version is MySQL 8.0 and the minor version is 40. * (Value: "MYSQL_8_0_40") + * @arg @c kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql84 The + * database version is MySQL 8.4. (Value: "MYSQL_8_4") + * @arg @c kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql840 The + * database version is MySQL 8.4 and the patch version is 0. (Value: + * "MYSQL_8_4_0") * @arg @c kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Postgres10 The * database version is PostgreSQL 10. (Value: "POSTGRES_10") * @arg @c kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Postgres11 The @@ -3418,6 +3530,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * database version is PostgreSQL 14. (Value: "POSTGRES_14") * @arg @c kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Postgres15 The * database version is PostgreSQL 15. (Value: "POSTGRES_15") + * @arg @c kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Postgres16 The + * database version is PostgreSQL 16. (Value: "POSTGRES_16") * @arg @c kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Postgres96 The * database version is PostgreSQL 9.6. (Value: "POSTGRES_9_6") * @arg @c kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_SqlDatabaseVersionUnspecified @@ -3591,7 +3705,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @property(nonatomic, copy, nullable) NSString *rootPassword; /** - * The status indicating if instance satisfiesPzs. Reserved for future use. + * This status indicates whether the instance satisfies PZS. The status is + * reserved for future use. * * Uses NSNumber of boolValue. */ @@ -3667,6 +3782,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; /** If the instance state is SUSPENDED, the reason for the suspension. */ @property(nonatomic, strong, nullable) NSArray *suspensionReason; +/** Output only. All database versions that are available for upgrade. */ +@property(nonatomic, strong, nullable) NSArray *upgradableDatabaseVersions; + /** * Output only. The dns name of the primary instance in a replication group. */ @@ -5215,6 +5333,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * instance backup. (Value: "BACKUP_VOLUME") * @arg @c kGTLRSQLAdmin_Operation_OperationType_Clone Clones a Cloud SQL * instance. (Value: "CLONE") + * @arg @c kGTLRSQLAdmin_Operation_OperationType_ClusterMaintenance Indicates + * that the instance, its read replicas, and its cascading replicas are + * in maintenance. Maintenance typically gets initiated on groups of + * replicas first, followed by the primary instance. For each instance, + * maintenance typically causes the instance to be unavailable for 1-3 + * minutes. (Value: "CLUSTER_MAINTENANCE") * @arg @c kGTLRSQLAdmin_Operation_OperationType_Create Creates a new Cloud * SQL instance. (Value: "CREATE") * @arg @c kGTLRSQLAdmin_Operation_OperationType_CreateClone Creates clone @@ -5277,6 +5401,11 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * SQL instance. (Value: "RESTART") * @arg @c kGTLRSQLAdmin_Operation_OperationType_RestoreVolume Restores an * instance backup. (Value: "RESTORE_VOLUME") + * @arg @c kGTLRSQLAdmin_Operation_OperationType_SelfServiceMaintenance + * Indicates that the instance (and any of its replicas) are currently in + * maintenance. This is initiated as a self-service request by using SSM. + * Maintenance typically causes the instance to be unavailable for 1-3 + * minutes. (Value: "SELF_SERVICE_MAINTENANCE") * @arg @c kGTLRSQLAdmin_Operation_OperationType_Snapshot Value "SNAPSHOT" * @arg @c kGTLRSQLAdmin_Operation_OperationType_SqlOperationTypeUnspecified * Unknown operation type. (Value: "SQL_OPERATION_TYPE_UNSPECIFIED") @@ -5289,8 +5418,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * @arg @c kGTLRSQLAdmin_Operation_OperationType_StopReplica Stops * replication on a Cloud SQL read replica instance. (Value: * "STOP_REPLICA") - * @arg @c kGTLRSQLAdmin_Operation_OperationType_Switchover Switches over to - * replica instance from primary. (Value: "SWITCHOVER") + * @arg @c kGTLRSQLAdmin_Operation_OperationType_Switchover Switches the + * roles of the primary and replica pair. The target instance should be + * the replica. (Value: "SWITCHOVER") + * @arg @c kGTLRSQLAdmin_Operation_OperationType_SwitchoverToReplica Switches + * a primary instance to a replica. This operation runs as part of a + * switchover operation to the original primary instance. (Value: + * "SWITCHOVER_TO_REPLICA") * @arg @c kGTLRSQLAdmin_Operation_OperationType_TruncateLog Truncates a * general or slow log table in MySQL. (Value: "TRUNCATE_LOG") * @arg @c kGTLRSQLAdmin_Operation_OperationType_Update Updates the settings @@ -5625,6 +5759,17 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; */ @property(nonatomic, copy, nullable) NSString *failoverDrReplicaName; +/** + * Output only. If set, it indicates this instance has a private service access + * (PSA) dns endpoint that is pointing to the primary instance of the cluster. + * If this instance is the primary, the dns should be pointing to this + * instance. After Switchover or Replica failover, this DNS endpoint points to + * the promoted instance. This is a read-only field, returned to the user as + * information. This field can exist even if a standalone instance does not yet + * have a replica, or had a DR replica that was deleted. + */ +@property(nonatomic, copy, nullable) NSString *psaWriteEndpoint; + @end @@ -5732,7 +5877,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @property(nonatomic, strong, nullable) GTLRSQLAdmin_SqlActiveDirectoryConfig *activeDirectoryConfig; /** - * Specifies advance machine configuration for the instance relevant only for + * Specifies advanced machine configuration for the instances relevant only for * SQL Server. */ @property(nonatomic, strong, nullable) GTLRSQLAdmin_AdvancedMachineFeatures *advancedMachineFeatures; diff --git a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterQuery.m b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterQuery.m index 6734c3554..24c34e6e8 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterQuery.m +++ b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterQuery.m @@ -427,6 +427,33 @@ + (instancetype)queryWithObject:(GTLRSecurityCommandCenter_BulkMuteFindingsReque @end +@implementation GTLRSecurityCommandCenterQuery_FoldersLocationsMuteConfigsCreate + +@dynamic muteConfigId, parent; + ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig *)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}/muteConfigs"; + GTLRSecurityCommandCenterQuery_FoldersLocationsMuteConfigsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig class]; + query.loggingName = @"securitycenter.folders.locations.muteConfigs.create"; + return query; +} + +@end + @implementation GTLRSecurityCommandCenterQuery_FoldersLocationsMuteConfigsDelete @dynamic name; @@ -465,6 +492,25 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRSecurityCommandCenterQuery_FoldersLocationsMuteConfigsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}"; + GTLRSecurityCommandCenterQuery_FoldersLocationsMuteConfigsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityCommandCenter_ListMuteConfigsResponse class]; + query.loggingName = @"securitycenter.folders.locations.muteConfigs.list"; + return query; +} + +@end + @implementation GTLRSecurityCommandCenterQuery_FoldersLocationsMuteConfigsPatch @dynamic name, updateMask; @@ -1563,6 +1609,33 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRSecurityCommandCenterQuery_OrganizationsLocationsMuteConfigsCreate + +@dynamic muteConfigId, parent; + ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig *)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}/muteConfigs"; + GTLRSecurityCommandCenterQuery_OrganizationsLocationsMuteConfigsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig class]; + query.loggingName = @"securitycenter.organizations.locations.muteConfigs.create"; + return query; +} + +@end + @implementation GTLRSecurityCommandCenterQuery_OrganizationsLocationsMuteConfigsDelete @dynamic name; @@ -1601,6 +1674,25 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRSecurityCommandCenterQuery_OrganizationsLocationsMuteConfigsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}"; + GTLRSecurityCommandCenterQuery_OrganizationsLocationsMuteConfigsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityCommandCenter_ListMuteConfigsResponse class]; + query.loggingName = @"securitycenter.organizations.locations.muteConfigs.list"; + return query; +} + +@end + @implementation GTLRSecurityCommandCenterQuery_OrganizationsLocationsMuteConfigsPatch @dynamic name, updateMask; @@ -3181,6 +3273,33 @@ + (instancetype)queryWithObject:(GTLRSecurityCommandCenter_BulkMuteFindingsReque @end +@implementation GTLRSecurityCommandCenterQuery_ProjectsLocationsMuteConfigsCreate + +@dynamic muteConfigId, parent; + ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig *)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}/muteConfigs"; + GTLRSecurityCommandCenterQuery_ProjectsLocationsMuteConfigsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig class]; + query.loggingName = @"securitycenter.projects.locations.muteConfigs.create"; + return query; +} + +@end + @implementation GTLRSecurityCommandCenterQuery_ProjectsLocationsMuteConfigsDelete @dynamic name; @@ -3219,6 +3338,25 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRSecurityCommandCenterQuery_ProjectsLocationsMuteConfigsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}"; + GTLRSecurityCommandCenterQuery_ProjectsLocationsMuteConfigsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityCommandCenter_ListMuteConfigsResponse class]; + query.loggingName = @"securitycenter.projects.locations.muteConfigs.list"; + return query; +} + +@end + @implementation GTLRSecurityCommandCenterQuery_ProjectsLocationsMuteConfigsPatch @dynamic name, updateMask; diff --git a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h index bf3225f0c..5f9d82a53 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h +++ b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h @@ -7667,8 +7667,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps /** - * A resource value config (RVC) is a mapping configuration of user's resources - * to resource values. Used in Attack path simulations. + * A resource value configuration (RVC) is a mapping configuration of user's + * resources to resource values. Used in Attack path simulations. */ @interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ResourceValueConfig : GTLRObject @@ -7690,21 +7690,21 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps */ @property(nonatomic, copy, nullable) NSString *cloudProvider; -/** Output only. Timestamp this resource value config was created. */ +/** Output only. Timestamp this resource value configuration was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Description of the resource value config. + * Description of the resource value configuration. * * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; -/** Name for the resource value config */ +/** Name for the resource value configuration */ @property(nonatomic, copy, nullable) NSString *name; /** - * List of resource labels to search for, evaluated with AND. E.g. + * List of resource labels to search for, evaluated with AND. For example, * "resource_labels_selector": {"key": "value", "env": "prod"} will match * resources with labels "key": "value" AND "env": "prod" * https://cloud.google.com/resource-manager/docs/creating-managing-labels @@ -7713,7 +7713,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps /** * Apply resource_value only to resources that match resource_type. - * resource_type will be checked with "AND" of other resources. E.g. + * resource_type will be checked with AND of other resources. For example, * "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" * value only to "storage.googleapis.com/Bucket" resources. */ @@ -7737,9 +7737,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @property(nonatomic, copy, nullable) NSString *resourceValue; /** - * Project or folder to scope this config to. For example, "project/456" would - * apply this config only to resources in "project/456" scope will be checked - * with "AND" of other resources. + * Project or folder to scope this configuration to. For example, "project/456" + * would apply this configuration only to resources in "project/456" scope will + * be checked with AND of other resources. */ @property(nonatomic, copy, nullable) NSString *scope; @@ -7753,19 +7753,22 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps /** * Required. Tag values combined with AND to check against. Values in the form - * "tagValues/123" E.g. [ "tagValues/123", "tagValues/456", "tagValues/789" ] + * "tagValues/123" Example: [ "tagValues/123", "tagValues/456", "tagValues/789" + * ] * https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing */ @property(nonatomic, strong, nullable) NSArray *tagValues; -/** Output only. Timestamp this resource value config was last updated. */ +/** + * Output only. Timestamp this resource value configuration was last updated. + */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end /** - * List of resource labels to search for, evaluated with AND. E.g. + * List of resource labels to search for, evaluated with AND. For example, * "resource_labels_selector": {"key": "value", "env": "prod"} will match * resources with labels "key": "value" AND "env": "prod" * https://cloud.google.com/resource-manager/docs/creating-managing-labels @@ -10539,8 +10542,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps /** - * A resource value config (RVC) is a mapping configuration of user's resources - * to resource values. Used in Attack path simulations. + * A resource value configuration (RVC) is a mapping configuration of user's + * resources to resource values. Used in Attack path simulations. */ @interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2ResourceValueConfig : GTLRObject @@ -10562,21 +10565,21 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps */ @property(nonatomic, copy, nullable) NSString *cloudProvider; -/** Output only. Timestamp this resource value config was created. */ +/** Output only. Timestamp this resource value configuration was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Description of the resource value config. + * Description of the resource value configuration. * * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; -/** Name for the resource value config */ +/** Name for the resource value configuration */ @property(nonatomic, copy, nullable) NSString *name; /** - * List of resource labels to search for, evaluated with AND. E.g. + * List of resource labels to search for, evaluated with AND. For example, * "resource_labels_selector": {"key": "value", "env": "prod"} will match * resources with labels "key": "value" AND "env": "prod" * https://cloud.google.com/resource-manager/docs/creating-managing-labels @@ -10585,7 +10588,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps /** * Apply resource_value only to resources that match resource_type. - * resource_type will be checked with "AND" of other resources. E.g. + * resource_type will be checked with AND of other resources. For example, * "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" * value only to "storage.googleapis.com/Bucket" resources. */ @@ -10610,9 +10613,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @property(nonatomic, copy, nullable) NSString *resourceValue; /** - * Project or folder to scope this config to. For example, "project/456" would - * apply this config only to resources in "project/456" scope will be checked - * with "AND" of other resources. + * Project or folder to scope this configuration to. For example, "project/456" + * would apply this configuration only to resources in "project/456" scope will + * be checked with AND of other resources. */ @property(nonatomic, copy, nullable) NSString *scope; @@ -10626,19 +10629,22 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps /** * Required. Tag values combined with AND to check against. Values in the form - * "tagValues/123" E.g. [ "tagValues/123", "tagValues/456", "tagValues/789" ] + * "tagValues/123" Example: [ "tagValues/123", "tagValues/456", "tagValues/789" + * ] * https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing */ @property(nonatomic, strong, nullable) NSArray *tagValues; -/** Output only. Timestamp this resource value config was last updated. */ +/** + * Output only. Timestamp this resource value configuration was last updated. + */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end /** - * List of resource labels to search for, evaluated with AND. E.g. + * List of resource labels to search for, evaluated with AND. For example, * "resource_labels_selector": {"key": "value", "env": "prod"} will match * resources with labels "key": "value" AND "env": "prod" * https://cloud.google.com/resource-manager/docs/creating-managing-labels diff --git a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterQuery.h b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterQuery.h index 23772c9b0..bf7fc6fdc 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterQuery.h +++ b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterQuery.h @@ -970,6 +970,51 @@ GTLR_DEPRECATED @end +/** + * Creates a mute config. + * + * Method: securitycenter.folders.locations.muteConfigs.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_FoldersLocationsMuteConfigsCreate : GTLRSecurityCommandCenterQuery + +/** + * Required. Unique identifier provided by the client within the parent scope. + * It must consist of only lowercase letters, numbers, and hyphens, must start + * with a letter, must end with either a letter or a number, and must be 63 + * characters or less. + */ +@property(nonatomic, copy, nullable) NSString *muteConfigId; + +/** + * Required. Resource name of the new mute configs's parent. Its format is + * "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig. + * + * Creates a mute config. + * + * @param object The @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig to include + * in the query. + * @param parent Required. Resource name of the new mute configs's parent. Its + * format is "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". + * + * @return GTLRSecurityCommandCenterQuery_FoldersLocationsMuteConfigsCreate + */ ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig *)object + parent:(NSString *)parent; + +@end + /** * Deletes an existing mute config. * @@ -1051,6 +1096,57 @@ GTLR_DEPRECATED @end +/** + * Lists mute configs. + * + * Method: securitycenter.folders.locations.muteConfigs.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_FoldersLocationsMuteConfigsList : GTLRSecurityCommandCenterQuery + +/** + * The maximum number of configs to return. The service may return fewer than + * this value. If unspecified, at most 10 configs will be returned. The maximum + * value is 1000; values above 1000 will be coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous `ListMuteConfigs` call. Provide this + * to retrieve the subsequent page. When paginating, all other parameters + * provided to `ListMuteConfigs` must match the call that provided the page + * token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent, which owns the collection of mute configs. Its format + * is "organizations/[organization_id]", "folders/[folder_id]", + * "projects/[project_id]". + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecurityCommandCenter_ListMuteConfigsResponse. + * + * Lists mute configs. + * + * @param parent Required. The parent, which owns the collection of mute + * configs. Its format is "organizations/[organization_id]", + * "folders/[folder_id]", "projects/[project_id]". + * + * @return GTLRSecurityCommandCenterQuery_FoldersLocationsMuteConfigsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + /** * Updates a mute config. * @@ -3455,6 +3551,51 @@ GTLR_DEPRECATED @end +/** + * Creates a mute config. + * + * Method: securitycenter.organizations.locations.muteConfigs.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_OrganizationsLocationsMuteConfigsCreate : GTLRSecurityCommandCenterQuery + +/** + * Required. Unique identifier provided by the client within the parent scope. + * It must consist of only lowercase letters, numbers, and hyphens, must start + * with a letter, must end with either a letter or a number, and must be 63 + * characters or less. + */ +@property(nonatomic, copy, nullable) NSString *muteConfigId; + +/** + * Required. Resource name of the new mute configs's parent. Its format is + * "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig. + * + * Creates a mute config. + * + * @param object The @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig to include + * in the query. + * @param parent Required. Resource name of the new mute configs's parent. Its + * format is "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsLocationsMuteConfigsCreate + */ ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig *)object + parent:(NSString *)parent; + +@end + /** * Deletes an existing mute config. * @@ -3536,6 +3677,57 @@ GTLR_DEPRECATED @end +/** + * Lists mute configs. + * + * Method: securitycenter.organizations.locations.muteConfigs.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_OrganizationsLocationsMuteConfigsList : GTLRSecurityCommandCenterQuery + +/** + * The maximum number of configs to return. The service may return fewer than + * this value. If unspecified, at most 10 configs will be returned. The maximum + * value is 1000; values above 1000 will be coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous `ListMuteConfigs` call. Provide this + * to retrieve the subsequent page. When paginating, all other parameters + * provided to `ListMuteConfigs` must match the call that provided the page + * token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent, which owns the collection of mute configs. Its format + * is "organizations/[organization_id]", "folders/[folder_id]", + * "projects/[project_id]". + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecurityCommandCenter_ListMuteConfigsResponse. + * + * Lists mute configs. + * + * @param parent Required. The parent, which owns the collection of mute + * configs. Its format is "organizations/[organization_id]", + * "folders/[folder_id]", "projects/[project_id]". + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsLocationsMuteConfigsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + /** * Updates a mute config. * @@ -4331,7 +4523,7 @@ GTLR_DEPRECATED */ @interface GTLRSecurityCommandCenterQuery_OrganizationsResourceValueConfigsPatch : GTLRSecurityCommandCenterQuery -/** Name for the resource value config */ +/** Name for the resource value configuration */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -4351,7 +4543,7 @@ GTLR_DEPRECATED * @param object The @c * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ResourceValueConfig * to include in the query. - * @param name Name for the resource value config + * @param name Name for the resource value configuration * * @return GTLRSecurityCommandCenterQuery_OrganizationsResourceValueConfigsPatch */ @@ -6882,6 +7074,51 @@ GTLR_DEPRECATED @end +/** + * Creates a mute config. + * + * Method: securitycenter.projects.locations.muteConfigs.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_ProjectsLocationsMuteConfigsCreate : GTLRSecurityCommandCenterQuery + +/** + * Required. Unique identifier provided by the client within the parent scope. + * It must consist of only lowercase letters, numbers, and hyphens, must start + * with a letter, must end with either a letter or a number, and must be 63 + * characters or less. + */ +@property(nonatomic, copy, nullable) NSString *muteConfigId; + +/** + * Required. Resource name of the new mute configs's parent. Its format is + * "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig. + * + * Creates a mute config. + * + * @param object The @c + * GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig to include + * in the query. + * @param parent Required. Resource name of the new mute configs's parent. Its + * format is "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". + * + * @return GTLRSecurityCommandCenterQuery_ProjectsLocationsMuteConfigsCreate + */ ++ (instancetype)queryWithObject:(GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1MuteConfig *)object + parent:(NSString *)parent; + +@end + /** * Deletes an existing mute config. * @@ -6963,6 +7200,57 @@ GTLR_DEPRECATED @end +/** + * Lists mute configs. + * + * Method: securitycenter.projects.locations.muteConfigs.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_ProjectsLocationsMuteConfigsList : GTLRSecurityCommandCenterQuery + +/** + * The maximum number of configs to return. The service may return fewer than + * this value. If unspecified, at most 10 configs will be returned. The maximum + * value is 1000; values above 1000 will be coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous `ListMuteConfigs` call. Provide this + * to retrieve the subsequent page. When paginating, all other parameters + * provided to `ListMuteConfigs` must match the call that provided the page + * token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent, which owns the collection of mute configs. Its format + * is "organizations/[organization_id]", "folders/[folder_id]", + * "projects/[project_id]". + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecurityCommandCenter_ListMuteConfigsResponse. + * + * Lists mute configs. + * + * @param parent Required. The parent, which owns the collection of mute + * configs. Its format is "organizations/[organization_id]", + * "folders/[folder_id]", "projects/[project_id]". + * + * @return GTLRSecurityCommandCenterQuery_ProjectsLocationsMuteConfigsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + /** * Updates a mute config. * diff --git a/Sources/GeneratedServices/ServiceConsumerManagement/Public/GoogleAPIClientForREST/GTLRServiceConsumerManagementObjects.h b/Sources/GeneratedServices/ServiceConsumerManagement/Public/GoogleAPIClientForREST/GTLRServiceConsumerManagementObjects.h index 074ad93d1..ae0af4812 100644 --- a/Sources/GeneratedServices/ServiceConsumerManagement/Public/GoogleAPIClientForREST/GTLRServiceConsumerManagementObjects.h +++ b/Sources/GeneratedServices/ServiceConsumerManagement/Public/GoogleAPIClientForREST/GTLRServiceConsumerManagementObjects.h @@ -2220,7 +2220,7 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_V1GenerateDefa /** - * # gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC + * gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC * method and one or more HTTP REST endpoints. It allows developers to build a * single API service that supports both gRPC APIs and REST APIs. Many systems, * including [Google APIs](https://github.com/googleapis/googleapis), [Cloud @@ -2241,24 +2241,23 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_V1GenerateDefa * (Message) { option (google.api.http) = { get: "/v1/{name=messages/ *}" }; } * } message GetMessageRequest { string name = 1; // Mapped to URL path. } * message Message { string text = 1; // The resource content. } This enables - * an HTTP REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET - * /v1/messages/123456` | `GetMessage(name: "messages/123456")` Any fields in - * the request message which are not bound by the path template automatically - * become HTTP query parameters if there is no HTTP request body. For example: - * service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { get:"/v1/messages/{message_id}" }; } } message + * an HTTP REST to gRPC mapping as below: - HTTP: `GET /v1/messages/123456` - + * gRPC: `GetMessage(name: "messages/123456")` Any fields in the request + * message which are not bound by the path template automatically become HTTP + * query parameters if there is no HTTP request body. For example: service + * Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option + * (google.api.http) = { get:"/v1/messages/{message_id}" }; } } message * GetMessageRequest { message SubMessage { string subfield = 1; } string * message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL * query parameter `revision`. SubMessage sub = 3; // Mapped to URL query * parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as - * below: HTTP | gRPC -----|----- `GET - * /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: - * "123456" revision: 2 sub: SubMessage(subfield: "foo"))` Note that fields - * which are mapped to URL query parameters must have a primitive type or a - * repeated primitive type or a non-repeated message type. In the case of a - * repeated type, the parameter can be repeated in the URL as - * `...?param=A¶m=B`. In the case of a message type, each field of the - * message is mapped to a separate parameter, such as + * below: - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo` - gRPC: + * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: + * "foo"))` Note that fields which are mapped to URL query parameters must have + * a primitive type or a repeated primitive type or a non-repeated message + * type. In the case of a repeated type, the parameter can be repeated in the + * URL as `...?param=A¶m=B`. In the case of a message type, each field of + * the message is mapped to a separate parameter, such as * `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, * the `body` field specifies the mapping. Consider a REST update method on the * message resource collection: service Messaging { rpc @@ -2267,18 +2266,18 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_V1GenerateDefa * } } message UpdateMessageRequest { string message_id = 1; // mapped to the * URL Message message = 2; // mapped to the body } The following HTTP JSON to * RPC mapping is enabled, where the representation of the JSON in the request - * body is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH - * /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" - * message { text: "Hi!" })` The special name `*` can be used in the body - * mapping to define that every field not bound by the path template should be - * mapped to the request body. This enables the following alternative + * body is determined by protos JSON encoding: - HTTP: `PATCH + * /v1/messages/123456 { "text": "Hi!" }` - gRPC: `UpdateMessage(message_id: + * "123456" message { text: "Hi!" })` The special name `*` can be used in the + * body mapping to define that every field not bound by the path template + * should be mapped to the request body. This enables the following alternative * definition of the update method: service Messaging { rpc * UpdateMessage(Message) returns (Message) { option (google.api.http) = { * patch: "/v1/messages/{message_id}" body: "*" }; } } message Message { string * message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is - * enabled: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" - * }` | `UpdateMessage(message_id: "123456" text: "Hi!")` Note that when using - * `*` in the body mapping, it is not possible to have HTTP parameters, as all + * enabled: - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }` - gRPC: + * `UpdateMessage(message_id: "123456" text: "Hi!")` Note that when using `*` + * in the body mapping, it is not possible to have HTTP parameters, as all * fields not bound by the path end in the body. This makes this option more * rarely used in practice when defining REST APIs. The common usage of `*` is * in custom methods which don't use the URL at all for transferring data. It @@ -2288,35 +2287,35 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_V1GenerateDefa * { get: "/v1/messages/{message_id}" additional_bindings { get: * "/v1/users/{user_id}/messages/{message_id}" } }; } } message * GetMessageRequest { string message_id = 1; string user_id = 2; } This - * enables the following two alternative HTTP JSON to RPC mappings: HTTP | gRPC - * -----|----- `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` - * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: - * "123456")` ## Rules for HTTP mapping 1. Leaf request fields (recursive - * expansion nested messages in the request message) are classified into three - * categories: - Fields referred by the path template. They are passed via the - * URL path. - Fields referred by the HttpRule.body. They are passed via the - * HTTP request body. - All other fields are passed via the URL query - * parameters, and the parameter name is the field path in the request message. - * A repeated field can be represented as multiple query parameters under the - * same name. 2. If HttpRule.body is "*", there is no URL query parameter, all - * fields are passed via URL path and HTTP request body. 3. If HttpRule.body is - * omitted, there is no HTTP request body, all fields are passed via URL path - * and URL query parameters. ### Path template syntax Template = "/" Segments [ - * Verb ] ; Segments = Segment { "/" Segment } ; Segment = "*" | "**" | LITERAL - * | Variable ; Variable = "{" FieldPath [ "=" Segments ] "}" ; FieldPath = - * IDENT { "." IDENT } ; Verb = ":" LITERAL ; The syntax `*` matches a single - * URL path segment. The syntax `**` matches zero or more URL path segments, - * which must be the last part of the URL path except the `Verb`. The syntax - * `Variable` matches part of the URL path as specified by its template. A - * variable template must not contain other variables. If a variable matches a - * single path segment, its template may be omitted, e.g. `{var}` is equivalent - * to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If - * the `LITERAL` contains any reserved character, such characters should be - * percent-encoded before the matching. If a variable contains exactly one path - * segment, such as `"{var}"` or `"{var=*}"`, when such a variable is expanded - * into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` - * are percent-encoded. The server side does the reverse decoding. Such - * variables show up in the [Discovery + * enables the following two alternative HTTP JSON to RPC mappings: - HTTP: + * `GET /v1/messages/123456` - gRPC: `GetMessage(message_id: "123456")` - HTTP: + * `GET /v1/users/me/messages/123456` - gRPC: `GetMessage(user_id: "me" + * message_id: "123456")` Rules for HTTP mapping 1. Leaf request fields + * (recursive expansion nested messages in the request message) are classified + * into three categories: - Fields referred by the path template. They are + * passed via the URL path. - Fields referred by the HttpRule.body. They are + * passed via the HTTP request body. - All other fields are passed via the URL + * query parameters, and the parameter name is the field path in the request + * message. A repeated field can be represented as multiple query parameters + * under the same name. 2. If HttpRule.body is "*", there is no URL query + * parameter, all fields are passed via URL path and HTTP request body. 3. If + * HttpRule.body is omitted, there is no HTTP request body, all fields are + * passed via URL path and URL query parameters. Path template syntax Template + * = "/" Segments [ Verb ] ; Segments = Segment { "/" Segment } ; Segment = "*" + * | "**" | LITERAL | Variable ; Variable = "{" FieldPath [ "=" Segments ] "}" + * ; FieldPath = IDENT { "." IDENT } ; Verb = ":" LITERAL ; The syntax `*` + * matches a single URL path segment. The syntax `**` matches zero or more URL + * path segments, which must be the last part of the URL path except the + * `Verb`. The syntax `Variable` matches part of the URL path as specified by + * its template. A variable template must not contain other variables. If a + * variable matches a single path segment, its template may be omitted, e.g. + * `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal + * text in the URL path. If the `LITERAL` contains any reserved character, such + * characters should be percent-encoded before the matching. If a variable + * contains exactly one path segment, such as `"{var}"` or `"{var=*}"`, when + * such a variable is expanded into a URL path on the client side, all + * characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side + * does the reverse decoding. Such variables show up in the [Discovery * Document](https://developers.google.com/discovery/v1/reference/apis) as * `{var}`. If a variable contains multiple path segments, such as `"{var=foo/ * *}"` or `"{var=**}"`, when such a variable is expanded into a URL path on @@ -2324,7 +2323,7 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_V1GenerateDefa * percent-encoded. The server side does the reverse decoding, except "%2F" and * "%2f" are left unchanged. Such variables show up in the [Discovery * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{+var}`. ## Using gRPC API Service Configuration gRPC API Service + * `{+var}`. Using gRPC API Service Configuration gRPC API Service * Configuration (service config) is a configuration language for configuring a * gRPC service to become a user-facing product. The service config is simply * the YAML representation of the `google.api.Service` proto message. As an @@ -2334,9 +2333,9 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_V1GenerateDefa * effect as the proto annotation. This can be particularly useful if you have * a proto that is reused in multiple services. Note that any transcoding * specified in the service config will override any matching transcoding - * configuration in the proto. Example: http: rules: # Selects a gRPC method - * and applies HttpRule to it. - selector: example.v1.Messaging.GetMessage get: - * /v1/messages/{message_id}/{sub.subfield} ## Special notes When gRPC + * configuration in the proto. Example below selects a gRPC method and applies + * HttpRule to it. http: rules: - selector: example.v1.Messaging.GetMessage + * get: /v1/messages/{message_id}/{sub.subfield} Special notes When gRPC * Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON * conversion must follow the [proto3 * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). diff --git a/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h b/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h index 65d43e9a3..08049ef92 100644 --- a/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h +++ b/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h @@ -2839,7 +2839,7 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig /** - * # gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC + * gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC * method and one or more HTTP REST endpoints. It allows developers to build a * single API service that supports both gRPC APIs and REST APIs. Many systems, * including [Google APIs](https://github.com/googleapis/googleapis), [Cloud @@ -2860,24 +2860,23 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig * (Message) { option (google.api.http) = { get: "/v1/{name=messages/ *}" }; } * } message GetMessageRequest { string name = 1; // Mapped to URL path. } * message Message { string text = 1; // The resource content. } This enables - * an HTTP REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET - * /v1/messages/123456` | `GetMessage(name: "messages/123456")` Any fields in - * the request message which are not bound by the path template automatically - * become HTTP query parameters if there is no HTTP request body. For example: - * service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { get:"/v1/messages/{message_id}" }; } } message + * an HTTP REST to gRPC mapping as below: - HTTP: `GET /v1/messages/123456` - + * gRPC: `GetMessage(name: "messages/123456")` Any fields in the request + * message which are not bound by the path template automatically become HTTP + * query parameters if there is no HTTP request body. For example: service + * Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option + * (google.api.http) = { get:"/v1/messages/{message_id}" }; } } message * GetMessageRequest { message SubMessage { string subfield = 1; } string * message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL * query parameter `revision`. SubMessage sub = 3; // Mapped to URL query * parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as - * below: HTTP | gRPC -----|----- `GET - * /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: - * "123456" revision: 2 sub: SubMessage(subfield: "foo"))` Note that fields - * which are mapped to URL query parameters must have a primitive type or a - * repeated primitive type or a non-repeated message type. In the case of a - * repeated type, the parameter can be repeated in the URL as - * `...?param=A¶m=B`. In the case of a message type, each field of the - * message is mapped to a separate parameter, such as + * below: - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo` - gRPC: + * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: + * "foo"))` Note that fields which are mapped to URL query parameters must have + * a primitive type or a repeated primitive type or a non-repeated message + * type. In the case of a repeated type, the parameter can be repeated in the + * URL as `...?param=A¶m=B`. In the case of a message type, each field of + * the message is mapped to a separate parameter, such as * `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, * the `body` field specifies the mapping. Consider a REST update method on the * message resource collection: service Messaging { rpc @@ -2886,18 +2885,18 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig * } } message UpdateMessageRequest { string message_id = 1; // mapped to the * URL Message message = 2; // mapped to the body } The following HTTP JSON to * RPC mapping is enabled, where the representation of the JSON in the request - * body is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH - * /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" - * message { text: "Hi!" })` The special name `*` can be used in the body - * mapping to define that every field not bound by the path template should be - * mapped to the request body. This enables the following alternative + * body is determined by protos JSON encoding: - HTTP: `PATCH + * /v1/messages/123456 { "text": "Hi!" }` - gRPC: `UpdateMessage(message_id: + * "123456" message { text: "Hi!" })` The special name `*` can be used in the + * body mapping to define that every field not bound by the path template + * should be mapped to the request body. This enables the following alternative * definition of the update method: service Messaging { rpc * UpdateMessage(Message) returns (Message) { option (google.api.http) = { * patch: "/v1/messages/{message_id}" body: "*" }; } } message Message { string * message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is - * enabled: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" - * }` | `UpdateMessage(message_id: "123456" text: "Hi!")` Note that when using - * `*` in the body mapping, it is not possible to have HTTP parameters, as all + * enabled: - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }` - gRPC: + * `UpdateMessage(message_id: "123456" text: "Hi!")` Note that when using `*` + * in the body mapping, it is not possible to have HTTP parameters, as all * fields not bound by the path end in the body. This makes this option more * rarely used in practice when defining REST APIs. The common usage of `*` is * in custom methods which don't use the URL at all for transferring data. It @@ -2907,35 +2906,35 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig * { get: "/v1/messages/{message_id}" additional_bindings { get: * "/v1/users/{user_id}/messages/{message_id}" } }; } } message * GetMessageRequest { string message_id = 1; string user_id = 2; } This - * enables the following two alternative HTTP JSON to RPC mappings: HTTP | gRPC - * -----|----- `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` - * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: - * "123456")` ## Rules for HTTP mapping 1. Leaf request fields (recursive - * expansion nested messages in the request message) are classified into three - * categories: - Fields referred by the path template. They are passed via the - * URL path. - Fields referred by the HttpRule.body. They are passed via the - * HTTP request body. - All other fields are passed via the URL query - * parameters, and the parameter name is the field path in the request message. - * A repeated field can be represented as multiple query parameters under the - * same name. 2. If HttpRule.body is "*", there is no URL query parameter, all - * fields are passed via URL path and HTTP request body. 3. If HttpRule.body is - * omitted, there is no HTTP request body, all fields are passed via URL path - * and URL query parameters. ### Path template syntax Template = "/" Segments [ - * Verb ] ; Segments = Segment { "/" Segment } ; Segment = "*" | "**" | LITERAL - * | Variable ; Variable = "{" FieldPath [ "=" Segments ] "}" ; FieldPath = - * IDENT { "." IDENT } ; Verb = ":" LITERAL ; The syntax `*` matches a single - * URL path segment. The syntax `**` matches zero or more URL path segments, - * which must be the last part of the URL path except the `Verb`. The syntax - * `Variable` matches part of the URL path as specified by its template. A - * variable template must not contain other variables. If a variable matches a - * single path segment, its template may be omitted, e.g. `{var}` is equivalent - * to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If - * the `LITERAL` contains any reserved character, such characters should be - * percent-encoded before the matching. If a variable contains exactly one path - * segment, such as `"{var}"` or `"{var=*}"`, when such a variable is expanded - * into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` - * are percent-encoded. The server side does the reverse decoding. Such - * variables show up in the [Discovery + * enables the following two alternative HTTP JSON to RPC mappings: - HTTP: + * `GET /v1/messages/123456` - gRPC: `GetMessage(message_id: "123456")` - HTTP: + * `GET /v1/users/me/messages/123456` - gRPC: `GetMessage(user_id: "me" + * message_id: "123456")` Rules for HTTP mapping 1. Leaf request fields + * (recursive expansion nested messages in the request message) are classified + * into three categories: - Fields referred by the path template. They are + * passed via the URL path. - Fields referred by the HttpRule.body. They are + * passed via the HTTP request body. - All other fields are passed via the URL + * query parameters, and the parameter name is the field path in the request + * message. A repeated field can be represented as multiple query parameters + * under the same name. 2. If HttpRule.body is "*", there is no URL query + * parameter, all fields are passed via URL path and HTTP request body. 3. If + * HttpRule.body is omitted, there is no HTTP request body, all fields are + * passed via URL path and URL query parameters. Path template syntax Template + * = "/" Segments [ Verb ] ; Segments = Segment { "/" Segment } ; Segment = "*" + * | "**" | LITERAL | Variable ; Variable = "{" FieldPath [ "=" Segments ] "}" + * ; FieldPath = IDENT { "." IDENT } ; Verb = ":" LITERAL ; The syntax `*` + * matches a single URL path segment. The syntax `**` matches zero or more URL + * path segments, which must be the last part of the URL path except the + * `Verb`. The syntax `Variable` matches part of the URL path as specified by + * its template. A variable template must not contain other variables. If a + * variable matches a single path segment, its template may be omitted, e.g. + * `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal + * text in the URL path. If the `LITERAL` contains any reserved character, such + * characters should be percent-encoded before the matching. If a variable + * contains exactly one path segment, such as `"{var}"` or `"{var=*}"`, when + * such a variable is expanded into a URL path on the client side, all + * characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side + * does the reverse decoding. Such variables show up in the [Discovery * Document](https://developers.google.com/discovery/v1/reference/apis) as * `{var}`. If a variable contains multiple path segments, such as `"{var=foo/ * *}"` or `"{var=**}"`, when such a variable is expanded into a URL path on @@ -2943,7 +2942,7 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig * percent-encoded. The server side does the reverse decoding, except "%2F" and * "%2f" are left unchanged. Such variables show up in the [Discovery * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{+var}`. ## Using gRPC API Service Configuration gRPC API Service + * `{+var}`. Using gRPC API Service Configuration gRPC API Service * Configuration (service config) is a configuration language for configuring a * gRPC service to become a user-facing product. The service config is simply * the YAML representation of the `google.api.Service` proto message. As an @@ -2953,9 +2952,9 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig * effect as the proto annotation. This can be particularly useful if you have * a proto that is reused in multiple services. Note that any transcoding * specified in the service config will override any matching transcoding - * configuration in the proto. Example: http: rules: # Selects a gRPC method - * and applies HttpRule to it. - selector: example.v1.Messaging.GetMessage get: - * /v1/messages/{message_id}/{sub.subfield} ## Special notes When gRPC + * configuration in the proto. Example below selects a gRPC method and applies + * HttpRule to it. http: rules: - selector: example.v1.Messaging.GetMessage + * get: /v1/messages/{message_id}/{sub.subfield} Special notes When gRPC * Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON * conversion must follow the [proto3 * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). @@ -4248,7 +4247,8 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig * project - 'roles/compute.securityAdmin' applied on the shared VPC host * project - 'roles/compute.networkAdmin' applied on the shared VPC host * project - 'roles/compute.xpnAdmin' applied on the shared VPC host project - - * 'roles/dns.admin' applied on the shared VPC host project + * 'roles/dns.admin' applied on the shared VPC host project - + * 'roles/logging.admin' applied on the shared VPC host project */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/Sheets/Public/GoogleAPIClientForREST/GTLRSheetsObjects.h b/Sources/GeneratedServices/Sheets/Public/GoogleAPIClientForREST/GTLRSheetsObjects.h index fef5b7b48..7d891b880 100644 --- a/Sources/GeneratedServices/Sheets/Public/GoogleAPIClientForREST/GTLRSheetsObjects.h +++ b/Sources/GeneratedServices/Sheets/Public/GoogleAPIClientForREST/GTLRSheetsObjects.h @@ -9812,7 +9812,7 @@ GTLR_DEPRECATED /** - * The status of a refresh cancellation. You can send cancel request to + * The status of a refresh cancellation. You can send a cancel request to * explicitly cancel one or multiple data source object refreshes. */ @interface GTLRSheets_RefreshCancellationStatus : GTLRObject diff --git a/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m b/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m index eed7e9911..0c7deed18 100644 --- a/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m +++ b/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m @@ -5189,8 +5189,8 @@ @implementation GTLRShoppingContent_Product freeShippingThreshold, gender, googleProductCategory, gtin, identifier, identifierExists, imageLink, includedDestinations, installment, isBundle, itemGroupId, kind, lifestyleImageLinks, link, linkTemplate, - loyaltyProgram, material, maxEnergyEfficiencyClass, maxHandlingTime, - minEnergyEfficiencyClass, minHandlingTime, mobileLink, + loyaltyProgram, loyaltyPrograms, material, maxEnergyEfficiencyClass, + maxHandlingTime, minEnergyEfficiencyClass, minHandlingTime, mobileLink, mobileLinkTemplate, mpn, multipack, offerId, pattern, pause, pickupMethod, pickupSla, price, productDetails, productHeight, productHighlights, productLength, productTypes, productWeight, @@ -5222,6 +5222,7 @@ @implementation GTLRShoppingContent_Product @"freeShippingThreshold" : [GTLRShoppingContent_FreeShippingThreshold class], @"includedDestinations" : [NSString class], @"lifestyleImageLinks" : [NSString class], + @"loyaltyPrograms" : [GTLRShoppingContent_LoyaltyProgram class], @"productDetails" : [GTLRShoppingContent_ProductProductDetail class], @"productHighlights" : [NSString class], @"productTypes" : [NSString class], @@ -5259,7 +5260,8 @@ @implementation GTLRShoppingContent_ProductAmount // @implementation GTLRShoppingContent_ProductCertification -@dynamic certificationAuthority, certificationCode, certificationName; +@dynamic certificationAuthority, certificationCode, certificationName, + certificationValue; @end diff --git a/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentObjects.h b/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentObjects.h index 94df31f1e..186cc1c8c 100644 --- a/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentObjects.h +++ b/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentObjects.h @@ -2091,7 +2091,9 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_ReturnPolicyOnlineReturn // GTLRShoppingContent_Segments.program /** - * Buy on Google Listing. + * *Deprecated*: This value is no longer supported. Retrieving all metrics for + * the `BUY_ON_GOOGLE_LISTING` program returns 0 starting from May 2024. Buy on + * Google Listing. * * Value: "BUY_ON_GOOGLE_LISTING" */ @@ -8436,22 +8438,25 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest @interface GTLRShoppingContent_Metrics : GTLRObject /** - * Average order size - the average number of items in an order. **This metric - * cannot be segmented by product dimensions and customer_country_code.** + * *Deprecated*: This field is no longer supported and retrieving it returns 0 + * starting from May 2024. Average order size - the average number of items in + * an order. **This metric cannot be segmented by product dimensions and + * customer_country_code.** * * Uses NSNumber of doubleValue. */ @property(nonatomic, strong, nullable) NSNumber *aos; /** - * Average order value in micros (1 millionth of a standard unit, 1 USD = - * 1000000 micros) - the average value (total price of items) of all placed - * orders. The currency of the returned value is stored in the currency_code - * segment. If this metric is selected, 'segments.currency_code' is - * automatically added to the SELECT clause in the search query (unless it is - * explicitly selected by the user) and the currency_code segment is populated - * in the response. **This metric cannot be segmented by product dimensions and - * customer_country_code.** + * *Deprecated*: This field is no longer supported and retrieving it returns 0 + * starting from May 2024. Average order value in micros (1 millionth of a + * standard unit, 1 USD = 1000000 micros) - the average value (total price of + * items) of all placed orders. The currency of the returned value is stored in + * the currency_code segment. If this metric is selected, + * 'segments.currency_code' is automatically added to the SELECT clause in the + * search query (unless it is explicitly selected by the user) and the + * currency_code segment is populated in the response. **This metric cannot be + * segmented by product dimensions and customer_country_code.** * * Uses NSNumber of doubleValue. */ @@ -8467,7 +8472,7 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest /** * Number of conversions divided by the number of clicks, reported on the * impression date. The metric is currently available only for the - * FREE_PRODUCT_LISTING program. + * `FREE_PRODUCT_LISTING` program. * * Uses NSNumber of doubleValue. */ @@ -8478,7 +8483,7 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest * date. Depending on the attribution model, a conversion might be distributed * across multiple clicks, where each click gets its own credit assigned. This * metric is a sum of all such credits. The metric is currently available only - * for the FREE_PRODUCT_LISTING program. + * for the `FREE_PRODUCT_LISTING` program. * * Uses NSNumber of doubleValue. */ @@ -8487,11 +8492,12 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest /** * Value of conversions in micros (1 millionth of a standard unit, 1 USD = * 1000000 micros) attributed to the product, reported on the conversion date. - * The metric is currently available only for the FREE_PRODUCT_LISTING program. - * The currency of the returned value is stored in the currency_code segment. - * If this metric is selected, 'segments.currency_code' is automatically added - * to the SELECT clause in the search query (unless it is explicitly selected - * by the user) and the currency_code segment is populated in the response. + * The metric is currently available only for the `FREE_PRODUCT_LISTING` + * program. The currency of the returned value is stored in the currency_code + * segment. If this metric is selected, 'segments.currency_code' is + * automatically added to the SELECT clause in the search query (unless it is + * explicitly selected by the user) and the currency_code segment is populated + * in the response. * * Uses NSNumber of longLongValue. */ @@ -8507,9 +8513,11 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest @property(nonatomic, strong, nullable) NSNumber *ctr; /** - * Average number of days between an order being placed and the order being - * fully shipped, reported on the last shipment date. **This metric cannot be - * segmented by product dimensions and customer_country_code.** + * *Deprecated*: This field is no longer supported and retrieving it returns 0 + * starting from May 2024. Average number of days between an order being placed + * and the order being fully shipped, reported on the last shipment date. + * **This metric cannot be segmented by product dimensions and + * customer_country_code.** * * Uses NSNumber of doubleValue. */ @@ -8523,89 +8531,103 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest @property(nonatomic, strong, nullable) NSNumber *impressions; /** - * Average number of days between an item being ordered and the item being - * **This metric cannot be segmented by customer_country_code.** + * *Deprecated*: This field is no longer supported and retrieving it returns 0 + * starting from May 2024. Average number of days between an item being ordered + * and the item being **This metric cannot be segmented by + * customer_country_code.** * * Uses NSNumber of doubleValue. */ @property(nonatomic, strong, nullable) NSNumber *itemDaysToShip; /** - * Percentage of shipped items in relation to all finalized items (shipped or - * rejected by the merchant; unshipped items are not taken into account), - * reported on the order date. Item fill rate is lowered by merchant - * rejections. **This metric cannot be segmented by customer_country_code.** + * *Deprecated*: This field is no longer supported and retrieving it returns 0 + * starting from May 2024. Percentage of shipped items in relation to all + * finalized items (shipped or rejected by the merchant; unshipped items are + * not taken into account), reported on the order date. Item fill rate is + * lowered by merchant rejections. **This metric cannot be segmented by + * customer_country_code.** * * Uses NSNumber of doubleValue. */ @property(nonatomic, strong, nullable) NSNumber *itemFillRate; /** - * Number of ordered items. Excludes customer cancellations that happened - * within 30 minutes of placing the order. **This metric cannot be segmented by - * customer_country_code.** + * *Deprecated*: This field is no longer supported and retrieving it returns 0 + * starting from May 2024. Number of ordered items. Excludes customer + * cancellations that happened within 30 minutes of placing the order. **This + * metric cannot be segmented by customer_country_code.** * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *orderedItems; /** - * Total price of ordered items in micros (1 millionth of a standard unit, 1 - * USD = 1000000 micros). Excludes shipping, taxes (US only), and customer - * cancellations that happened within 30 minutes of placing the order. The - * currency of the returned value is stored in the currency_code segment. If - * this metric is selected, 'segments.currency_code' is automatically added to - * the SELECT clause in the search query (unless it is explicitly selected by - * the user) and the currency_code segment is populated in the response. **This - * metric cannot be segmented by customer_country_code.** + * *Deprecated*: This field is no longer supported and retrieving it returns 0 + * starting from May 2024. Total price of ordered items in micros (1 millionth + * of a standard unit, 1 USD = 1000000 micros). Excludes shipping, taxes (US + * only), and customer cancellations that happened within 30 minutes of placing + * the order. The currency of the returned value is stored in the currency_code + * segment. If this metric is selected, 'segments.currency_code' is + * automatically added to the SELECT clause in the search query (unless it is + * explicitly selected by the user) and the currency_code segment is populated + * in the response. **This metric cannot be segmented by + * customer_country_code.** * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *orderedItemSalesMicros; /** - * Number of placed orders. Excludes customer cancellations that happened - * within 30 minutes of placing the order. **This metric cannot be segmented by - * product dimensions and customer_country_code.** + * *Deprecated*: This field is no longer supported and retrieving it returns 0 + * starting from May 2024. Number of placed orders. Excludes customer + * cancellations that happened within 30 minutes of placing the order. **This + * metric cannot be segmented by product dimensions and + * customer_country_code.** * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *orders; /** - * Number of ordered items canceled by the merchant, reported on the order - * date. **This metric cannot be segmented by customer_country_code.** + * *Deprecated*: This field is no longer supported and retrieving it returns 0 + * starting from May 2024. Number of ordered items canceled by the merchant, + * reported on the order date. **This metric cannot be segmented by + * customer_country_code.** * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *rejectedItems; /** - * Number of ordered items sent back for return, reported on the date when the - * merchant accepted the return. **This metric cannot be segmented by - * customer_country_code.** + * *Deprecated*: This field is no longer supported and retrieving it returns 0 + * starting from May 2024. Number of ordered items sent back for return, + * reported on the date when the merchant accepted the return. **This metric + * cannot be segmented by customer_country_code.** * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *returnedItems; /** - * Total price of returned items divided by the total price of shipped items, - * reported on the order date. If this metric is selected, - * 'segments.currency_code' is automatically added to the SELECT clause in the - * search query (unless it is explicitly selected by the user) and the - * currency_code segment is populated in the response. **This metric cannot be - * segmented by customer_country_code.** + * *Deprecated*: This field is no longer supported and retrieving it returns 0 + * starting from May 2024. Total price of returned items divided by the total + * price of shipped items, reported on the order date. If this metric is + * selected, 'segments.currency_code' is automatically added to the SELECT + * clause in the search query (unless it is explicitly selected by the user) + * and the currency_code segment is populated in the response. **This metric + * cannot be segmented by customer_country_code.** * * Uses NSNumber of doubleValue. */ @property(nonatomic, strong, nullable) NSNumber *returnRate; /** - * Total price of ordered items sent back for return in micros (1 millionth of - * a standard unit, 1 USD = 1000000 micros), reported on the date when the - * merchant accepted the return. The currency of the returned value is stored - * in the currency_code segment. If this metric is selected, + * *Deprecated*: This field is no longer supported and retrieving it returns 0 + * starting from May 2024. Total price of ordered items sent back for return in + * micros (1 millionth of a standard unit, 1 USD = 1000000 micros), reported on + * the date when the merchant accepted the return. The currency of the returned + * value is stored in the currency_code segment. If this metric is selected, * 'segments.currency_code' is automatically added to the SELECT clause in the * search query (unless it is explicitly selected by the user) and the * currency_code segment is populated in the response. **This metric cannot be @@ -8616,30 +8638,33 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest @property(nonatomic, strong, nullable) NSNumber *returnsMicros; /** - * Number of shipped items, reported on the shipment date. **This metric cannot - * be segmented by customer_country_code.** + * *Deprecated*: This field is no longer supported and retrieving it returns 0 + * starting from May 2024. Number of shipped items, reported on the shipment + * date. **This metric cannot be segmented by customer_country_code.** * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *shippedItems; /** - * Total price of shipped items in micros (1 millionth of a standard unit, 1 - * USD = 1000000 micros), reported on the order date. Excludes shipping and - * taxes (US only). The currency of the returned value is stored in the - * currency_code segment. If this metric is selected, 'segments.currency_code' - * is automatically added to the SELECT clause in the search query (unless it - * is explicitly selected by the user) and the currency_code segment is - * populated in the response. **This metric cannot be segmented by - * customer_country_code.** + * *Deprecated*: This field is no longer supported and retrieving it returns 0 + * starting from May 2024. Total price of shipped items in micros (1 millionth + * of a standard unit, 1 USD = 1000000 micros), reported on the order date. + * Excludes shipping and taxes (US only). The currency of the returned value is + * stored in the currency_code segment. If this metric is selected, + * 'segments.currency_code' is automatically added to the SELECT clause in the + * search query (unless it is explicitly selected by the user) and the + * currency_code segment is populated in the response. **This metric cannot be + * segmented by customer_country_code.** * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *shippedItemSalesMicros; /** - * Number of fully shipped orders, reported on the last shipment date. **This - * metric cannot be segmented by product dimensions and + * *Deprecated*: This field is no longer supported and retrieving it returns 0 + * starting from May 2024. Number of fully shipped orders, reported on the last + * shipment date. **This metric cannot be segmented by product dimensions and * customer_country_code.** * * Uses NSNumber of longLongValue. @@ -8647,21 +8672,24 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest @property(nonatomic, strong, nullable) NSNumber *shippedOrders; /** - * Number of ordered items not shipped up until the end of the queried day. If - * a multi-day period is specified in the search query, the returned value is - * the average number of unshipped items over the days in the queried period. - * **This metric cannot be segmented by customer_country_code.** + * *Deprecated*: This field is no longer supported and retrieving it returns 0 + * starting from May 2024. Number of ordered items not shipped up until the end + * of the queried day. If a multi-day period is specified in the search query, + * the returned value is the average number of unshipped items over the days in + * the queried period. **This metric cannot be segmented by + * customer_country_code.** * * Uses NSNumber of doubleValue. */ @property(nonatomic, strong, nullable) NSNumber *unshippedItems; /** - * Number of orders not shipped or partially shipped up until the end of the - * queried day. If a multi-day period is specified in the search query, the - * returned value is the average number of unshipped orders over the days in - * the queried period. **This metric cannot be segmented by product dimensions - * and customer_country_code.** + * *Deprecated*: This field is no longer supported and retrieving it returns 0 + * starting from May 2024. Number of orders not shipped or partially shipped up + * until the end of the queried day. If a multi-day period is specified in the + * search query, the returned value is the average number of unshipped orders + * over the days in the queried period. **This metric cannot be segmented by + * product dimensions and customer_country_code.** * * Uses NSNumber of doubleValue. */ @@ -12683,10 +12711,20 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest /** * Loyalty program information that is used to surface loyalty benefits ( for - * example pricing, points, etc) to the user for this item. + * example, better pricing, points, etc) to the user of this item. This + * signular field points to the latest uploaded loyalty program info. This + * field will be deprecated in the coming weeks and should not be used in favor + * of the plural 'LoyaltyProgram' field below. */ @property(nonatomic, strong, nullable) GTLRShoppingContent_LoyaltyProgram *loyaltyProgram; +/** + * Optional. A list of loyalty program information that is used to surface + * loyalty benefits (for example, better pricing, points, etc) to the user of + * this item. + */ +@property(nonatomic, strong, nullable) NSArray *loyaltyPrograms; + /** The material of which the item is made. */ @property(nonatomic, copy, nullable) NSString *material; @@ -12953,6 +12991,12 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest */ @property(nonatomic, copy, nullable) NSString *certificationName; +/** + * The certification value (also known as class, level or grade), for example + * "A+", "C", "gold". Maximum length is 2000 characters. + */ +@property(nonatomic, copy, nullable) NSString *certificationValue; + @end @@ -16349,8 +16393,10 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest * Program to which metrics apply, for example, Free Product Listing. * * Likely values: - * @arg @c kGTLRShoppingContent_Segments_Program_BuyOnGoogleListing Buy on - * Google Listing. (Value: "BUY_ON_GOOGLE_LISTING") + * @arg @c kGTLRShoppingContent_Segments_Program_BuyOnGoogleListing + * *Deprecated*: This value is no longer supported. Retrieving all + * metrics for the `BUY_ON_GOOGLE_LISTING` program returns 0 starting + * from May 2024. Buy on Google Listing. (Value: "BUY_ON_GOOGLE_LISTING") * @arg @c kGTLRShoppingContent_Segments_Program_FreeLocalProductListing Free * Local Product Listing. (Value: "FREE_LOCAL_PRODUCT_LISTING") * @arg @c kGTLRShoppingContent_Segments_Program_FreeProductListing Free diff --git a/Sources/GeneratedServices/Spanner/GTLRSpannerObjects.m b/Sources/GeneratedServices/Spanner/GTLRSpannerObjects.m index 8d7716a45..335e3530f 100644 --- a/Sources/GeneratedServices/Spanner/GTLRSpannerObjects.m +++ b/Sources/GeneratedServices/Spanner/GTLRSpannerObjects.m @@ -102,6 +102,12 @@ NSString * const kGTLRSpanner_InstanceConfig_FreeInstanceAvailability_QuotaExceeded = @"QUOTA_EXCEEDED"; NSString * const kGTLRSpanner_InstanceConfig_FreeInstanceAvailability_Unsupported = @"UNSUPPORTED"; +// GTLRSpanner_InstanceConfig.quorumType +NSString * const kGTLRSpanner_InstanceConfig_QuorumType_DualRegion = @"DUAL_REGION"; +NSString * const kGTLRSpanner_InstanceConfig_QuorumType_MultiRegion = @"MULTI_REGION"; +NSString * const kGTLRSpanner_InstanceConfig_QuorumType_QuorumTypeUnspecified = @"QUORUM_TYPE_UNSPECIFIED"; +NSString * const kGTLRSpanner_InstanceConfig_QuorumType_Region = @"REGION"; + // GTLRSpanner_InstanceConfig.state NSString * const kGTLRSpanner_InstanceConfig_State_Creating = @"CREATING"; NSString * const kGTLRSpanner_InstanceConfig_State_Ready = @"READY"; @@ -122,6 +128,11 @@ NSString * const kGTLRSpanner_PlanNode_Kind_Relational = @"RELATIONAL"; NSString * const kGTLRSpanner_PlanNode_Kind_Scalar = @"SCALAR"; +// GTLRSpanner_QuorumInfo.initiator +NSString * const kGTLRSpanner_QuorumInfo_Initiator_Google = @"GOOGLE"; +NSString * const kGTLRSpanner_QuorumInfo_Initiator_InitiatorUnspecified = @"INITIATOR_UNSPECIFIED"; +NSString * const kGTLRSpanner_QuorumInfo_Initiator_User = @"USER"; + // GTLRSpanner_ReadWrite.readLockMode NSString * const kGTLRSpanner_ReadWrite_ReadLockMode_Optimistic = @"OPTIMISTIC"; NSString * const kGTLRSpanner_ReadWrite_ReadLockMode_Pessimistic = @"PESSIMISTIC"; @@ -345,6 +356,31 @@ @implementation GTLRSpanner_Binding @end +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_ChangeQuorumMetadata +// + +@implementation GTLRSpanner_ChangeQuorumMetadata +@dynamic endTime, request, startTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_ChangeQuorumRequest +// + +@implementation GTLRSpanner_ChangeQuorumRequest +@dynamic ETag, name, quorumType; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSpanner_ChildLink @@ -559,7 +595,7 @@ @implementation GTLRSpanner_CreateSessionRequest @implementation GTLRSpanner_Database @dynamic createTime, databaseDialect, defaultLeader, earliestVersionTime, enableDropProtection, encryptionConfig, encryptionInfo, name, - reconciling, restoreInfo, state, versionRetentionPeriod; + quorumInfo, reconciling, restoreInfo, state, versionRetentionPeriod; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -639,6 +675,15 @@ @implementation GTLRSpanner_DirectedReadOptions @end +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_DualRegionQuorum +// + +@implementation GTLRSpanner_DualRegionQuorum +@end + + // ---------------------------------------------------------------------------- // // GTLRSpanner_Empty @@ -968,8 +1013,8 @@ + (Class)classForAdditionalProperties { @implementation GTLRSpanner_InstanceConfig @dynamic baseConfig, configType, displayName, ETag, freeInstanceAvailability, - labels, leaderOptions, name, optionalReplicas, reconciling, replicas, - state, storageLimitPerProcessingUnit; + labels, leaderOptions, name, optionalReplicas, quorumType, reconciling, + replicas, state, storageLimitPerProcessingUnit; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; @@ -1854,6 +1899,31 @@ @implementation GTLRSpanner_QueryPlan @end +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_QuorumInfo +// + +@implementation GTLRSpanner_QuorumInfo +@dynamic ETag, initiator, quorumType, startTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_QuorumType +// + +@implementation GTLRSpanner_QuorumType +@dynamic dualRegion, singleRegion; +@end + + // ---------------------------------------------------------------------------- // // GTLRSpanner_ReadOnly @@ -2133,6 +2203,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_SingleRegionQuorum +// + +@implementation GTLRSpanner_SingleRegionQuorum +@dynamic servingLocation; +@end + + // ---------------------------------------------------------------------------- // // GTLRSpanner_Statement diff --git a/Sources/GeneratedServices/Spanner/GTLRSpannerQuery.m b/Sources/GeneratedServices/Spanner/GTLRSpannerQuery.m index 481b7fc7e..5edc70f8c 100644 --- a/Sources/GeneratedServices/Spanner/GTLRSpannerQuery.m +++ b/Sources/GeneratedServices/Spanner/GTLRSpannerQuery.m @@ -698,6 +698,33 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRSpannerQuery_ProjectsInstancesDatabasesChangequorum + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRSpanner_ChangeQuorumRequest *)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}:changequorum"; + GTLRSpannerQuery_ProjectsInstancesDatabasesChangequorum *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSpanner_Operation class]; + query.loggingName = @"spanner.projects.instances.databases.changequorum"; + return query; +} + +@end + @implementation GTLRSpannerQuery_ProjectsInstancesDatabasesCreate @dynamic parent; diff --git a/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h b/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h index 1d3240c5f..013ccccf9 100644 --- a/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h +++ b/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h @@ -21,6 +21,7 @@ @class GTLRSpanner_Backup; @class GTLRSpanner_BackupInfo; @class GTLRSpanner_Binding; +@class GTLRSpanner_ChangeQuorumRequest; @class GTLRSpanner_ChildLink; @class GTLRSpanner_CommitStats; @class GTLRSpanner_ContextValue; @@ -32,6 +33,7 @@ @class GTLRSpanner_DerivedMetric; @class GTLRSpanner_DiagnosticMessage; @class GTLRSpanner_DirectedReadOptions; +@class GTLRSpanner_DualRegionQuorum; @class GTLRSpanner_EncryptionConfig; @class GTLRSpanner_EncryptionInfo; @class GTLRSpanner_ExcludeReplicas; @@ -83,6 +85,8 @@ @class GTLRSpanner_QueryAdvisorResult; @class GTLRSpanner_QueryOptions; @class GTLRSpanner_QueryPlan; +@class GTLRSpanner_QuorumInfo; +@class GTLRSpanner_QuorumType; @class GTLRSpanner_ReadOnly; @class GTLRSpanner_ReadWrite; @class GTLRSpanner_ReplicaInfo; @@ -101,6 +105,7 @@ @class GTLRSpanner_Session_Labels; @class GTLRSpanner_ShortRepresentation; @class GTLRSpanner_ShortRepresentation_Subqueries; +@class GTLRSpanner_SingleRegionQuorum; @class GTLRSpanner_Statement; @class GTLRSpanner_Statement_Params; @class GTLRSpanner_Statement_ParamTypes; @@ -556,6 +561,40 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_InstanceConfig_FreeInstanceAvail */ FOUNDATION_EXTERN NSString * const kGTLRSpanner_InstanceConfig_FreeInstanceAvailability_Unsupported; +// ---------------------------------------------------------------------------- +// GTLRSpanner_InstanceConfig.quorumType + +/** + * An instance configuration tagged with DUAL_REGION quorum type forms a write + * quorums with exactly two read-write regions in a multi-region configuration. + * This instance configurations requires reconfiguration in the event of + * regional failures. + * + * Value: "DUAL_REGION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSpanner_InstanceConfig_QuorumType_DualRegion; +/** + * An instance configuration tagged with MULTI_REGION quorum type forms a write + * quorums from replicas are spread across more than one region in a + * multi-region configuration. + * + * Value: "MULTI_REGION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSpanner_InstanceConfig_QuorumType_MultiRegion; +/** + * Not specified. + * + * Value: "QUORUM_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSpanner_InstanceConfig_QuorumType_QuorumTypeUnspecified; +/** + * An instance configuration tagged with REGION quorum type forms a write + * quorum in a single region. + * + * Value: "REGION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSpanner_InstanceConfig_QuorumType_Region; + // ---------------------------------------------------------------------------- // GTLRSpanner_InstanceConfig.state @@ -653,6 +692,28 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_PlanNode_Kind_Relational; */ FOUNDATION_EXTERN NSString * const kGTLRSpanner_PlanNode_Kind_Scalar; +// ---------------------------------------------------------------------------- +// GTLRSpanner_QuorumInfo.initiator + +/** + * ChangeQuorum initiated by Google. + * + * Value: "GOOGLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSpanner_QuorumInfo_Initiator_Google; +/** + * Unspecified. + * + * Value: "INITIATOR_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSpanner_QuorumInfo_Initiator_InitiatorUnspecified; +/** + * ChangeQuorum initiated by User. + * + * Value: "USER" + */ +FOUNDATION_EXTERN NSString * const kGTLRSpanner_QuorumInfo_Initiator_User; + // ---------------------------------------------------------------------------- // GTLRSpanner_ReadWrite.readLockMode @@ -1441,6 +1502,52 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni @end +/** + * Metadata type for the long-running operation returned by ChangeQuorum. + */ +@interface GTLRSpanner_ChangeQuorumMetadata : GTLRObject + +/** + * If set, the time at which this operation failed or was completed + * successfully. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** The request for ChangeQuorum. */ +@property(nonatomic, strong, nullable) GTLRSpanner_ChangeQuorumRequest *request; + +/** Time the request was received. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +@end + + +/** + * The request for ChangeQuorum. + */ +@interface GTLRSpanner_ChangeQuorumRequest : GTLRObject + +/** + * Optional. The etag is the hash of the QuorumInfo. The ChangeQuorum operation + * will only be performed if the etag matches that of the QuorumInfo in the + * current database resource. Otherwise the API will return an `ABORTED` error. + * The etag is used for optimistic concurrency control as a way to help prevent + * simultaneous change quorum requests that could create a race condition. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Required. Name of the database in which to apply the ChangeQuorum. Values + * are of the form `projects//instances//databases/`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Required. The type of this Quorum. */ +@property(nonatomic, strong, nullable) GTLRSpanner_QuorumType *quorumType; + +@end + + /** * Metadata associated with a parent-child relationship appearing in a * PlanNode. @@ -2077,6 +2184,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Output only. Applicable only for databases that use dual region instance + * configurations. Contains information about the quorum. + */ +@property(nonatomic, strong, nullable) GTLRSpanner_QuorumInfo *quorumInfo; + /** * Output only. If true, the database is being updated. If false, there are no * ongoing update operations for the database. @@ -2275,6 +2388,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni @end +/** + * Message type for a dual-region quorum. Currently this type has no options. + */ +@interface GTLRSpanner_DualRegionQuorum : GTLRObject +@end + + /** * A generic empty message that you can re-use to avoid defining duplicated * empty messages in your APIs. A typical example is to use it as the request @@ -2958,8 +3078,10 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni * The number of nodes allocated to this instance. At most one of either * node_count or processing_units should be present in the message. Users can * set the node_count field to specify the target number of nodes allocated to - * the instance. This may be zero in API responses for instances that are not - * yet in state `READY`. See [the + * the instance. If autoscaling is enabled, node_count is treated as an + * OUTPUT_ONLY field and reflects the current number of nodes allocated to the + * instance. This may be zero in API responses for instances that are not yet + * in state `READY`. See [the * documentation](https://cloud.google.com/spanner/docs/compute-capacity) for * more information about nodes and processing units. * @@ -2971,8 +3093,10 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni * The number of processing units allocated to this instance. At most one of * processing_units or node_count should be present in the message. Users can * set the processing_units field to specify the target number of processing - * units allocated to the instance. This may be zero in API responses for - * instances that are not yet in state `READY`. See [the + * units allocated to the instance. If autoscaling is enabled, processing_units + * is treated as an OUTPUT_ONLY field and reflects the current number of + * processing units allocated to the instance. This may be zero in API + * responses for instances that are not yet in state `READY`. See [the * documentation](https://cloud.google.com/spanner/docs/compute-capacity) for * more information about nodes and processing units. * @@ -3134,6 +3258,27 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni */ @property(nonatomic, strong, nullable) NSArray *optionalReplicas; +/** + * Output only. The `QuorumType` of the instance configuration. + * + * Likely values: + * @arg @c kGTLRSpanner_InstanceConfig_QuorumType_DualRegion An instance + * configuration tagged with DUAL_REGION quorum type forms a write + * quorums with exactly two read-write regions in a multi-region + * configuration. This instance configurations requires reconfiguration + * in the event of regional failures. (Value: "DUAL_REGION") + * @arg @c kGTLRSpanner_InstanceConfig_QuorumType_MultiRegion An instance + * configuration tagged with MULTI_REGION quorum type forms a write + * quorums from replicas are spread across more than one region in a + * multi-region configuration. (Value: "MULTI_REGION") + * @arg @c kGTLRSpanner_InstanceConfig_QuorumType_QuorumTypeUnspecified Not + * specified. (Value: "QUORUM_TYPE_UNSPECIFIED") + * @arg @c kGTLRSpanner_InstanceConfig_QuorumType_Region An instance + * configuration tagged with REGION quorum type forms a write quorum in a + * single region. (Value: "REGION") + */ +@property(nonatomic, copy, nullable) NSString *quorumType; + /** * Output only. If true, the instance config is being created or updated. If * false, there are no ongoing operations for the instance config. @@ -3778,9 +3923,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni @property(nonatomic, copy, nullable) NSString *nextPageToken; /** - * The list of unreachable instance partitions. It includes the names of - * instance partitions whose metadata could not be retrieved within - * instance_partition_deadline. + * The list of unreachable instances or instance partitions. It includes the + * names of instances or instance partitions whose metadata could not be + * retrieved within instance_partition_deadline. */ @property(nonatomic, strong, nullable) NSArray *unreachable; @@ -4854,6 +4999,58 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni @end +/** + * Information about the dual region quorum. + */ +@interface GTLRSpanner_QuorumInfo : GTLRObject + +/** + * Output only. The etag is used for optimistic concurrency control as a way to + * help prevent simultaneous ChangeQuorum requests that could create a race + * condition. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Output only. Whether this ChangeQuorum is a Google or User initiated. + * + * Likely values: + * @arg @c kGTLRSpanner_QuorumInfo_Initiator_Google ChangeQuorum initiated by + * Google. (Value: "GOOGLE") + * @arg @c kGTLRSpanner_QuorumInfo_Initiator_InitiatorUnspecified + * Unspecified. (Value: "INITIATOR_UNSPECIFIED") + * @arg @c kGTLRSpanner_QuorumInfo_Initiator_User ChangeQuorum initiated by + * User. (Value: "USER") + */ +@property(nonatomic, copy, nullable) NSString *initiator; + +/** + * Output only. The type of this quorum. See QuorumType for more information + * about quorum type specifications. + */ +@property(nonatomic, strong, nullable) GTLRSpanner_QuorumType *quorumType; + +/** Output only. The timestamp when the request was triggered. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +@end + + +/** + * Information about the database quorum type. this applies only for dual + * region instance configs. + */ +@interface GTLRSpanner_QuorumType : GTLRObject + +/** Dual region quorum type. */ +@property(nonatomic, strong, nullable) GTLRSpanner_DualRegionQuorum *dualRegion; + +/** Single region quorum type. */ +@property(nonatomic, strong, nullable) GTLRSpanner_SingleRegionQuorum *singleRegion; + +@end + + /** * Message type to initiate a read-only transaction. */ @@ -5638,6 +5835,23 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni @end +/** + * Message type for a single-region quorum. + */ +@interface GTLRSpanner_SingleRegionQuorum : GTLRObject + +/** + * Required. The location of the serving region, e.g. "us-central1". The + * location must be one of the regions within the dual region instance + * configuration of your database. The list of valid locations is available via + * [GetInstanceConfig[InstanceAdmin.GetInstanceConfig] API. This should only be + * used if you plan to change quorum in single-region quorum type. + */ +@property(nonatomic, copy, nullable) NSString *servingLocation; + +@end + + /** * A single DML statement. */ @@ -5841,7 +6055,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni * see the effects of all transactions that have committed before the start of * the read). Snapshot read-only transactions do not need to be committed. * Queries on change streams must be performed with the snapshot read-only - * transaction mode, specifying a strong read. Please see + * transaction mode, specifying a strong read. See * TransactionOptions.ReadOnly.strong for more details. 3. Partitioned DML. * This type of transaction is used to execute a single Partitioned DML * statement. Partitioned DML partitions the key space and runs the DML diff --git a/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerQuery.h b/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerQuery.h index a5d62bb38..e32209ff2 100644 --- a/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerQuery.h +++ b/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerQuery.h @@ -1647,6 +1647,54 @@ FOUNDATION_EXTERN NSString * const kGTLRSpannerViewViewUnspecified; @end +/** + * ChangeQuorum is strictly restricted to databases that use dual region + * instance configurations. Initiates a background operation to change quorum a + * database from dual-region mode to single-region mode and vice versa. The + * returned long-running operation will have a name of the format + * `projects//instances//databases//operations/` and can be used to track + * execution of the ChangeQuorum. The metadata field type is + * ChangeQuorumMetadata. Authorization requires + * `spanner.databases.changequorum` permission on the resource database. + * + * Method: spanner.projects.instances.databases.changequorum + * + * Authorization scope(s): + * @c kGTLRAuthScopeSpannerAdmin + * @c kGTLRAuthScopeSpannerCloudPlatform + */ +@interface GTLRSpannerQuery_ProjectsInstancesDatabasesChangequorum : GTLRSpannerQuery + +/** + * Required. Name of the database in which to apply the ChangeQuorum. Values + * are of the form `projects//instances//databases/`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSpanner_Operation. + * + * ChangeQuorum is strictly restricted to databases that use dual region + * instance configurations. Initiates a background operation to change quorum a + * database from dual-region mode to single-region mode and vice versa. The + * returned long-running operation will have a name of the format + * `projects//instances//databases//operations/` and can be used to track + * execution of the ChangeQuorum. The metadata field type is + * ChangeQuorumMetadata. Authorization requires + * `spanner.databases.changequorum` permission on the resource database. + * + * @param object The @c GTLRSpanner_ChangeQuorumRequest to include in the + * query. + * @param name Required. Name of the database in which to apply the + * ChangeQuorum. Values are of the form `projects//instances//databases/`. + * + * @return GTLRSpannerQuery_ProjectsInstancesDatabasesChangequorum + */ ++ (instancetype)queryWithObject:(GTLRSpanner_ChangeQuorumRequest *)object + name:(NSString *)name; + +@end + /** * Creates a new Cloud Spanner database and starts to prepare it for serving. * The returned long-running operation will have a name of the format @@ -3521,7 +3569,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSpannerViewViewUnspecified; /** * Required. The instance whose instance partitions should be listed. Values - * are of the form `projects//instances/`. + * are of the form `projects//instances/`. Use `{instance} = '-'` to list + * instance partitions for all Instances in a project, e.g., + * `projects/myproject/instances/-`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -3531,7 +3581,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSpannerViewViewUnspecified; * Lists all instance partitions for the given instance. * * @param parent Required. The instance whose instance partitions should be - * listed. Values are of the form `projects//instances/`. + * listed. Values are of the form `projects//instances/`. Use `{instance} = + * '-'` to list instance partitions for all Instances in a project, e.g., + * `projects/myproject/instances/-`. * * @return GTLRSpannerQuery_ProjectsInstancesInstancePartitionsList * diff --git a/Sources/GeneratedServices/Storage/GTLRStorageObjects.m b/Sources/GeneratedServices/Storage/GTLRStorageObjects.m index f881ac8ae..fc4cec50f 100644 --- a/Sources/GeneratedServices/Storage/GTLRStorageObjects.m +++ b/Sources/GeneratedServices/Storage/GTLRStorageObjects.m @@ -402,6 +402,45 @@ @implementation GTLRStorage_Buckets @end +// ---------------------------------------------------------------------------- +// +// GTLRStorage_BucketStorageLayout +// + +@implementation GTLRStorage_BucketStorageLayout +@dynamic bucket, customPlacementConfig, hierarchicalNamespace, kind, location, + locationType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRStorage_BucketStorageLayout_CustomPlacementConfig +// + +@implementation GTLRStorage_BucketStorageLayout_CustomPlacementConfig +@dynamic dataLocations; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dataLocations" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRStorage_BucketStorageLayout_HierarchicalNamespace +// + +@implementation GTLRStorage_BucketStorageLayout_HierarchicalNamespace +@dynamic enabled; +@end + + // ---------------------------------------------------------------------------- // // GTLRStorage_BulkRestoreObjectsRequest diff --git a/Sources/GeneratedServices/Storage/GTLRStorageQuery.m b/Sources/GeneratedServices/Storage/GTLRStorageQuery.m index 1d07c97a6..8162ca9f6 100644 --- a/Sources/GeneratedServices/Storage/GTLRStorageQuery.m +++ b/Sources/GeneratedServices/Storage/GTLRStorageQuery.m @@ -431,6 +431,25 @@ + (instancetype)queryWithBucket:(NSString *)bucket { @end +@implementation GTLRStorageQuery_BucketsGetStorageLayout + +@dynamic bucket, prefix; + ++ (instancetype)queryWithBucket:(NSString *)bucket { + NSArray *pathParams = @[ @"bucket" ]; + NSString *pathURITemplate = @"b/{bucket}/storageLayout"; + GTLRStorageQuery_BucketsGetStorageLayout *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.bucket = bucket; + query.expectedObjectClass = [GTLRStorage_BucketStorageLayout class]; + query.loggingName = @"storage.buckets.getStorageLayout"; + return query; +} + +@end + @implementation GTLRStorageQuery_BucketsInsert @dynamic enableObjectRetention, predefinedAcl, predefinedDefaultObjectAcl, diff --git a/Sources/GeneratedServices/Storage/GTLRStorageService.m b/Sources/GeneratedServices/Storage/GTLRStorageService.m index 9cb7ded6b..bb495280b 100644 --- a/Sources/GeneratedServices/Storage/GTLRStorageService.m +++ b/Sources/GeneratedServices/Storage/GTLRStorageService.m @@ -65,6 +65,7 @@ - (instancetype)init { @"storage#policy" : [GTLRStorage_Policy class], @"storage#rewriteResponse" : [GTLRStorage_RewriteResponse class], @"storage#serviceAccount" : [GTLRStorage_ServiceAccount class], + @"storage#storageLayout" : [GTLRStorage_BucketStorageLayout class], @"storage#testIamPermissionsResponse" : [GTLRStorage_TestIamPermissionsResponse class], }; } diff --git a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h index 8eaef0f86..9fe6b6785 100644 --- a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h +++ b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h @@ -39,6 +39,8 @@ @class GTLRStorage_Bucket_Website; @class GTLRStorage_BucketAccessControl; @class GTLRStorage_BucketAccessControl_ProjectTeam; +@class GTLRStorage_BucketStorageLayout_CustomPlacementConfig; +@class GTLRStorage_BucketStorageLayout_HierarchicalNamespace; @class GTLRStorage_Channel_Params; @class GTLRStorage_ComposeRequest_SourceObjects_Item; @class GTLRStorage_ComposeRequest_SourceObjects_Item_ObjectPreconditions; @@ -994,6 +996,61 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * The storage layout configuration of a bucket. + */ +@interface GTLRStorage_BucketStorageLayout : GTLRObject + +/** The name of the bucket. */ +@property(nonatomic, copy, nullable) NSString *bucket; + +/** The bucket's custom placement configuration for Custom Dual Regions. */ +@property(nonatomic, strong, nullable) GTLRStorage_BucketStorageLayout_CustomPlacementConfig *customPlacementConfig; + +/** The bucket's hierarchical namespace configuration. */ +@property(nonatomic, strong, nullable) GTLRStorage_BucketStorageLayout_HierarchicalNamespace *hierarchicalNamespace; + +/** + * The kind of item this is. For storage layout, this is always + * storage#storageLayout. + */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** The location of the bucket. */ +@property(nonatomic, copy, nullable) NSString *location; + +/** The type of the bucket location. */ +@property(nonatomic, copy, nullable) NSString *locationType; + +@end + + +/** + * The bucket's custom placement configuration for Custom Dual Regions. + */ +@interface GTLRStorage_BucketStorageLayout_CustomPlacementConfig : GTLRObject + +/** The list of regional locations in which data is placed. */ +@property(nonatomic, strong, nullable) NSArray *dataLocations; + +@end + + +/** + * The bucket's hierarchical namespace configuration. + */ +@interface GTLRStorage_BucketStorageLayout_HierarchicalNamespace : GTLRObject + +/** + * When set to true, hierarchical namespace is enabled for this bucket. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enabled; + +@end + + /** * A bulk restore objects request. */ diff --git a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageQuery.h b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageQuery.h index 088a34600..9164051b3 100644 --- a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageQuery.h +++ b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageQuery.h @@ -805,6 +805,44 @@ FOUNDATION_EXTERN NSString * const kGTLRStorageProjectionNoAcl; @end +/** + * Returns the storage layout configuration for the specified bucket. Note that + * this operation requires storage.objects.list permission. + * + * Method: storage.buckets.getStorageLayout + * + * Authorization scope(s): + * @c kGTLRAuthScopeStorageCloudPlatform + * @c kGTLRAuthScopeStorageCloudPlatformReadOnly + * @c kGTLRAuthScopeStorageDevstorageFullControl + * @c kGTLRAuthScopeStorageDevstorageReadOnly + * @c kGTLRAuthScopeStorageDevstorageReadWrite + */ +@interface GTLRStorageQuery_BucketsGetStorageLayout : GTLRStorageQuery + +/** Name of a bucket. */ +@property(nonatomic, copy, nullable) NSString *bucket; + +/** + * An optional prefix used for permission check. It is useful when the caller + * only has storage.objects.list permission under a specific prefix. + */ +@property(nonatomic, copy, nullable) NSString *prefix; + +/** + * Fetches a @c GTLRStorage_BucketStorageLayout. + * + * Returns the storage layout configuration for the specified bucket. Note that + * this operation requires storage.objects.list permission. + * + * @param bucket Name of a bucket. + * + * @return GTLRStorageQuery_BucketsGetStorageLayout + */ ++ (instancetype)queryWithBucket:(NSString *)bucket; + +@end + /** * Creates a new bucket. * diff --git a/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h b/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h index b67b02e4d..d9540d74a 100644 --- a/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h +++ b/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h @@ -1449,36 +1449,29 @@ FOUNDATION_EXTERN NSString * const kGTLRStorageTransfer_TransferOptions_Overwrit /** - * Specifies the logging behavior for transfer operations. For cloud-to-cloud - * transfers, logs are sent to Cloud Logging. See [Read transfer + * Specifies the logging behavior for transfer operations. Logs can be sent to + * Cloud Logging for all transfer types. See [Read transfer * logs](https://cloud.google.com/storage-transfer/docs/read-transfer-logs) for - * details. For transfers to or from a POSIX file system, logs are stored in - * the Cloud Storage bucket that is the source or sink of the transfer. See - * [Managing Transfer for on-premises jobs] - * (https://cloud.google.com/storage-transfer/docs/managing-on-prem-jobs#viewing-logs) - * for details. + * details. */ @interface GTLRStorageTransfer_LoggingConfig : GTLRObject /** - * For transfers with a PosixFilesystem source, this option enables the Cloud - * Storage transfer logs for this transfer. + * For PosixFilesystem transfers, enables [file system transfer + * logs](https://cloud.google.com/storage-transfer/docs/on-prem-transfer-log-format) + * instead of, or in addition to, Cloud Logging. This option ignores + * [LoggableAction] and [LoggableActionState]. If these are set, Cloud Logging + * will also be enabled for this transfer. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *enableOnpremGcsTransferLogs; -/** - * Specifies the actions to be logged. If empty, no logs are generated. Not - * supported for transfers with PosixFilesystem data sources; use - * enable_onprem_gcs_transfer_logs instead. - */ +/** Specifies the actions to be logged. If empty, no logs are generated. */ @property(nonatomic, strong, nullable) NSArray *logActions; /** * States in which `log_actions` are logged. If empty, no logs are generated. - * Not supported for transfers with PosixFilesystem data sources; use - * enable_onprem_gcs_transfer_logs instead. */ @property(nonatomic, strong, nullable) NSArray *logActionStates; diff --git a/Sources/GeneratedServices/Tasks/Public/GoogleAPIClientForREST/GTLRTasksObjects.h b/Sources/GeneratedServices/Tasks/Public/GoogleAPIClientForREST/GTLRTasksObjects.h index 6875bbed6..515318462 100644 --- a/Sources/GeneratedServices/Tasks/Public/GoogleAPIClientForREST/GTLRTasksObjects.h +++ b/Sources/GeneratedServices/Tasks/Public/GoogleAPIClientForREST/GTLRTasksObjects.h @@ -70,10 +70,10 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *identifier; -/** Type of the resource. This is always "tasks#task". */ +/** Output only. Type of the resource. This is always "tasks#task". */ @property(nonatomic, copy, nullable) NSString *kind; -/** Collection of links. This collection is read-only. */ +/** Output only. Collection of links. This collection is read-only. */ @property(nonatomic, strong, nullable) NSArray *links; /** @@ -83,24 +83,25 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *notes; /** - * Parent task identifier. This field is omitted if it is a top-level task. - * This field is read-only. Use the "move" method to move the task under a - * different parent or to the top level. + * Output only. Parent task identifier. This field is omitted if it is a + * top-level task. This field is read-only. Use the "move" method to move the + * task under a different parent or to the top level. */ @property(nonatomic, copy, nullable) NSString *parent; /** - * String indicating the position of the task among its sibling tasks under the - * same parent task or at the top level. If this string is greater than another - * task's corresponding position string according to lexicographical ordering, - * the task is positioned after the other task under the same parent task (or - * at the top level). This field is read-only. Use the "move" method to move + * Output only. String indicating the position of the task among its sibling + * tasks under the same parent task or at the top level. If this string is + * greater than another task's corresponding position string according to + * lexicographical ordering, the task is positioned after the other task under + * the same parent task (or at the top level). Use the "move" method to move * the task to another position. */ @property(nonatomic, copy, nullable) NSString *position; /** - * URL pointing to this task. Used to retrieve, update, or delete this task. + * Output only. URL pointing to this task. Used to retrieve, update, or delete + * this task. */ @property(nonatomic, copy, nullable) NSString *selfLink; @@ -110,13 +111,12 @@ NS_ASSUME_NONNULL_BEGIN /** Title of the task. Maximum length allowed: 1024 characters. */ @property(nonatomic, copy, nullable) NSString *title; -/** Last modification time of the task (as a RFC 3339 timestamp). */ -@property(nonatomic, copy, nullable) NSString *updated; - /** - * An absolute link to the task in the Google Tasks Web UI. This field is - * read-only. + * Output only. Last modification time of the task (as a RFC 3339 timestamp). */ +@property(nonatomic, copy, nullable) NSString *updated; + +/** Output only. An absolute link to the task in the Google Tasks Web UI. */ @property(nonatomic, copy, nullable) NSString *webViewLink; @end @@ -158,19 +158,22 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *identifier; -/** Type of the resource. This is always "tasks#taskList". */ +/** Output only. Type of the resource. This is always "tasks#taskList". */ @property(nonatomic, copy, nullable) NSString *kind; /** - * URL pointing to this task list. Used to retrieve, update, or delete this - * task list. + * Output only. URL pointing to this task list. Used to retrieve, update, or + * delete this task list. */ @property(nonatomic, copy, nullable) NSString *selfLink; /** Title of the task list. Maximum length allowed: 1024 characters. */ @property(nonatomic, copy, nullable) NSString *title; -/** Last modification time of the task list (as a RFC 3339 timestamp). */ +/** + * Output only. Last modification time of the task list (as a RFC 3339 + * timestamp). + */ @property(nonatomic, copy, nullable) NSString *updated; @end diff --git a/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryObjects.m b/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryObjects.m index 8f2e82327..4bfeba034 100644 --- a/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryObjects.m +++ b/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryObjects.m @@ -167,7 +167,7 @@ @implementation GTLRVersionHistory_Platform // @implementation GTLRVersionHistory_Release -@dynamic fraction, fractionGroup, name, serving, version; +@dynamic fraction, fractionGroup, name, pinnable, serving, version; @end diff --git a/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryObjects.h b/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryObjects.h index f14fa4784..418c0565c 100644 --- a/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryObjects.h +++ b/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryObjects.h @@ -434,6 +434,13 @@ FOUNDATION_EXTERN NSString * const kGTLRVersionHistory_Platform_PlatformType_Win */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Whether or not the release was available for version pinning. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *pinnable; + /** * Timestamp interval of when the release was live. If end_time is unspecified, * the release is currently live. diff --git a/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsObjects.m b/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsObjects.m index 397036c96..9c3032651 100644 --- a/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsObjects.m +++ b/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsObjects.m @@ -304,6 +304,7 @@ NSString * const kGTLRWalletobjects_Message_MessageType_ExpirationNotification = @"expirationNotification"; NSString * const kGTLRWalletobjects_Message_MessageType_MessageTypeUnspecified = @"MESSAGE_TYPE_UNSPECIFIED"; NSString * const kGTLRWalletobjects_Message_MessageType_Text = @"text"; +NSString * const kGTLRWalletobjects_Message_MessageType_TextAndNotify = @"TEXT_AND_NOTIFY"; // GTLRWalletobjects_OfferClass.multipleDevicesAndHoldersAllowedStatus NSString * const kGTLRWalletobjects_OfferClass_MultipleDevicesAndHoldersAllowedStatus_MultipleHolders = @"multipleHolders"; @@ -937,13 +938,13 @@ + (BOOL)isKindValidForClassRegistry { // @implementation GTLRWalletobjects_EventTicketClass -@dynamic allowMultipleUsersPerObject, callbackOptions, classTemplateInfo, - confirmationCodeLabel, countryCode, customConfirmationCodeLabel, - customGateLabel, customRowLabel, customSeatLabel, customSectionLabel, - dateTime, enableSmartTap, eventId, eventName, finePrint, gateLabel, - heroImage, hexBackgroundColor, homepageUri, identifier, - imageModulesData, infoModuleData, issuerName, kind, linksModuleData, - localizedIssuerName, locations, logo, messages, +@dynamic allowMultipleUsersPerObject, appLinkData, callbackOptions, + classTemplateInfo, confirmationCodeLabel, countryCode, + customConfirmationCodeLabel, customGateLabel, customRowLabel, + customSeatLabel, customSectionLabel, dateTime, enableSmartTap, eventId, + eventName, finePrint, gateLabel, heroImage, hexBackgroundColor, + homepageUri, identifier, imageModulesData, infoModuleData, issuerName, + kind, linksModuleData, localizedIssuerName, locations, logo, messages, multipleDevicesAndHoldersAllowedStatus, redemptionIssuers, review, reviewStatus, rowLabel, seatLabel, sectionLabel, securityAnimation, textModulesData, venue, version, viewUnlockRequirement, wideLogo, @@ -1157,12 +1158,12 @@ + (BOOL)isKindValidForClassRegistry { // @implementation GTLRWalletobjects_FlightClass -@dynamic allowMultipleUsersPerObject, boardingAndSeatingPolicy, callbackOptions, - classTemplateInfo, countryCode, destination, enableSmartTap, - flightHeader, flightStatus, heroImage, hexBackgroundColor, homepageUri, - identifier, imageModulesData, infoModuleData, issuerName, kind, - languageOverride, linksModuleData, localBoardingDateTime, - localEstimatedOrActualArrivalDateTime, +@dynamic allowMultipleUsersPerObject, appLinkData, boardingAndSeatingPolicy, + callbackOptions, classTemplateInfo, countryCode, destination, + enableSmartTap, flightHeader, flightStatus, heroImage, + hexBackgroundColor, homepageUri, identifier, imageModulesData, + infoModuleData, issuerName, kind, languageOverride, linksModuleData, + localBoardingDateTime, localEstimatedOrActualArrivalDateTime, localEstimatedOrActualDepartureDateTime, localGateClosingDateTime, localizedIssuerName, localScheduledArrivalDateTime, localScheduledDepartureDateTime, locations, messages, @@ -1328,8 +1329,8 @@ + (BOOL)isKindValidForClassRegistry { // @implementation GTLRWalletobjects_GenericClass -@dynamic callbackOptions, classTemplateInfo, enableSmartTap, identifier, - imageModulesData, linksModuleData, messages, +@dynamic appLinkData, callbackOptions, classTemplateInfo, enableSmartTap, + identifier, imageModulesData, linksModuleData, messages, multipleDevicesAndHoldersAllowedStatus, redemptionIssuers, securityAnimation, textModulesData, viewUnlockRequirement; @@ -1439,13 +1440,13 @@ @implementation GTLRWalletobjects_GenericObjectListResponse // @implementation GTLRWalletobjects_GiftCardClass -@dynamic allowBarcodeRedemption, allowMultipleUsersPerObject, callbackOptions, - cardNumberLabel, classTemplateInfo, countryCode, enableSmartTap, - eventNumberLabel, heroImage, hexBackgroundColor, homepageUri, - identifier, imageModulesData, infoModuleData, issuerName, kind, - linksModuleData, localizedCardNumberLabel, localizedEventNumberLabel, - localizedIssuerName, localizedMerchantName, localizedPinLabel, - locations, merchantName, messages, +@dynamic allowBarcodeRedemption, allowMultipleUsersPerObject, appLinkData, + callbackOptions, cardNumberLabel, classTemplateInfo, countryCode, + enableSmartTap, eventNumberLabel, heroImage, hexBackgroundColor, + homepageUri, identifier, imageModulesData, infoModuleData, issuerName, + kind, linksModuleData, localizedCardNumberLabel, + localizedEventNumberLabel, localizedIssuerName, localizedMerchantName, + localizedPinLabel, locations, merchantName, messages, multipleDevicesAndHoldersAllowedStatus, pinLabel, programLogo, redemptionIssuers, review, reviewStatus, securityAnimation, textModulesData, version, viewUnlockRequirement, wideProgramLogo, @@ -1824,18 +1825,18 @@ + (BOOL)isKindValidForClassRegistry { @implementation GTLRWalletobjects_LoyaltyClass @dynamic accountIdLabel, accountNameLabel, allowMultipleUsersPerObject, - callbackOptions, classTemplateInfo, countryCode, discoverableProgram, - enableSmartTap, heroImage, hexBackgroundColor, homepageUri, identifier, - imageModulesData, infoModuleData, issuerName, kind, linksModuleData, - localizedAccountIdLabel, localizedAccountNameLabel, - localizedIssuerName, localizedProgramName, localizedRewardsTier, - localizedRewardsTierLabel, localizedSecondaryRewardsTier, - localizedSecondaryRewardsTierLabel, locations, messages, - multipleDevicesAndHoldersAllowedStatus, programLogo, programName, - redemptionIssuers, review, reviewStatus, rewardsTier, rewardsTierLabel, - secondaryRewardsTier, secondaryRewardsTierLabel, securityAnimation, - textModulesData, version, viewUnlockRequirement, wideProgramLogo, - wordMark; + appLinkData, callbackOptions, classTemplateInfo, countryCode, + discoverableProgram, enableSmartTap, heroImage, hexBackgroundColor, + homepageUri, identifier, imageModulesData, infoModuleData, issuerName, + kind, linksModuleData, localizedAccountIdLabel, + localizedAccountNameLabel, localizedIssuerName, localizedProgramName, + localizedRewardsTier, localizedRewardsTierLabel, + localizedSecondaryRewardsTier, localizedSecondaryRewardsTierLabel, + locations, messages, multipleDevicesAndHoldersAllowedStatus, + programLogo, programName, redemptionIssuers, review, reviewStatus, + rewardsTier, rewardsTierLabel, secondaryRewardsTier, + secondaryRewardsTierLabel, securityAnimation, textModulesData, version, + viewUnlockRequirement, wideProgramLogo, wordMark; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -2122,16 +2123,16 @@ @implementation GTLRWalletobjects_ObjectId // @implementation GTLRWalletobjects_OfferClass -@dynamic allowMultipleUsersPerObject, callbackOptions, classTemplateInfo, - countryCode, details, enableSmartTap, finePrint, helpUri, heroImage, - hexBackgroundColor, homepageUri, identifier, imageModulesData, - infoModuleData, issuerName, kind, linksModuleData, localizedDetails, - localizedFinePrint, localizedIssuerName, localizedProvider, - localizedShortTitle, localizedTitle, locations, messages, - multipleDevicesAndHoldersAllowedStatus, provider, redemptionChannel, - redemptionIssuers, review, reviewStatus, securityAnimation, shortTitle, - textModulesData, title, titleImage, version, viewUnlockRequirement, - wideTitleImage, wordMark; +@dynamic allowMultipleUsersPerObject, appLinkData, callbackOptions, + classTemplateInfo, countryCode, details, enableSmartTap, finePrint, + helpUri, heroImage, hexBackgroundColor, homepageUri, identifier, + imageModulesData, infoModuleData, issuerName, kind, linksModuleData, + localizedDetails, localizedFinePrint, localizedIssuerName, + localizedProvider, localizedShortTitle, localizedTitle, locations, + messages, multipleDevicesAndHoldersAllowedStatus, provider, + redemptionChannel, redemptionIssuers, review, reviewStatus, + securityAnimation, shortTitle, textModulesData, title, titleImage, + version, viewUnlockRequirement, wideTitleImage, wordMark; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -2608,10 +2609,11 @@ + (BOOL)isKindValidForClassRegistry { // @implementation GTLRWalletobjects_TransitClass -@dynamic activationOptions, allowMultipleUsersPerObject, callbackOptions, - classTemplateInfo, countryCode, customCarriageLabel, customCoachLabel, - customConcessionCategoryLabel, customConfirmationCodeLabel, - customDiscountMessageLabel, customFareClassLabel, customFareNameLabel, +@dynamic activationOptions, allowMultipleUsersPerObject, appLinkData, + callbackOptions, classTemplateInfo, countryCode, customCarriageLabel, + customCoachLabel, customConcessionCategoryLabel, + customConfirmationCodeLabel, customDiscountMessageLabel, + customFareClassLabel, customFareNameLabel, customOtherRestrictionsLabel, customPlatformLabel, customPurchaseFaceValueLabel, customPurchasePriceLabel, customPurchaseReceiptNumberLabel, customRouteRestrictionsDetailsLabel, diff --git a/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h index 887515080..1db5c85ae 100644 --- a/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h +++ b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h @@ -1445,6 +1445,13 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Message_MessageType_Messag * Value: "text" */ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Message_MessageType_Text GTLR_DEPRECATED; +/** + * Renders the message as text on the card details screen and as an Android + * notification. + * + * Value: "TEXT_AND_NOTIFY" + */ +FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_Message_MessageType_TextAndNotify; // ---------------------------------------------------------------------------- // GTLRWalletobjects_OfferClass.multipleDevicesAndHoldersAllowedStatus @@ -2156,19 +2163,13 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri */ @interface GTLRWalletobjects_AppLinkData : GTLRObject -/** - * Optional information about the partner app link. If included, the app link - * link module will be rendered on the valuable details on the android client. - */ +/** Optional information about the partner app link. */ @property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkDataAppLinkInfo *androidAppLinkInfo; /** Deprecated. Links to open iOS apps are not supported. */ @property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkDataAppLinkInfo *iosAppLinkInfo GTLR_DEPRECATED; -/** - * Optional information about the partner app link. If included, the app link - * link module will be rendered on the valuable details on the web client. - */ +/** Optional information about the partner web link. */ @property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkDataAppLinkInfo *webAppLinkInfo; @end @@ -2179,24 +2180,24 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri */ @interface GTLRWalletobjects_AppLinkDataAppLinkInfo : GTLRObject -/** Optional image to be displayed in the App Link Module */ -@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *appLogoImage; +/** Deprecated. Image isn't supported in the app link module. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_Image *appLogoImage GTLR_DEPRECATED; /** - * Url to follow when opening the App Link Module on clients. It will be used - * by partners to open their webpage or deeplink into their app. + * Target to follow when opening the app link on clients. It will be used by + * partners to open their app or webpage. */ @property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkDataAppLinkInfoAppTarget *appTarget; /** - * String to be displayed in the description of the App Link Module Required + * Deprecated. Description isn't supported in the app link module. * * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. */ -@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *descriptionProperty; +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *descriptionProperty GTLR_DEPRECATED; -/** String to be displayed in the title of the App Link Module Required */ -@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *title; +/** Deprecated. Title isn't supported in the app link module. */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_LocalizedString *title GTLR_DEPRECATED; @end @@ -3294,6 +3295,13 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri */ @property(nonatomic, strong, nullable) NSNumber *allowMultipleUsersPerObject GTLR_DEPRECATED; +/** + * Optional app or website link that will be displayed as a button on the front + * of the pass. If AppLinkData is provided for the corresponding object that + * will be used instead. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkData *appLinkData; + /** * Callback options to be used to call the issuer back for every save/delete of * an object for this class by the end-user. All objects of this class are @@ -3719,7 +3727,11 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri */ @interface GTLRWalletobjects_EventTicketObject : GTLRObject -/** Optional information about the partner app link. */ +/** + * Optional app or website link that will be displayed as a button on the front + * of the pass. If AppLinkData is provided for the corresponding class only + * object AppLinkData will be displayed. + */ @property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkData *appLinkData; /** The barcode type and value. */ @@ -4141,6 +4153,13 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri */ @property(nonatomic, strong, nullable) NSNumber *allowMultipleUsersPerObject GTLR_DEPRECATED; +/** + * Optional app or website link that will be displayed as a button on the front + * of the pass. If AppLinkData is provided for the corresponding object that + * will be used instead. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkData *appLinkData; + /** * Policies for boarding and seating. These will inform which labels will be * shown to users. @@ -4551,7 +4570,11 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri */ @interface GTLRWalletobjects_FlightObject : GTLRObject -/** Optional information about the partner app link. */ +/** + * Optional app or website link that will be displayed as a button on the front + * of the pass. If AppLinkData is provided for the corresponding class only + * object AppLinkData will be displayed. + */ @property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkData *appLinkData; /** The barcode type and value. */ @@ -4788,6 +4811,13 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri */ @interface GTLRWalletobjects_GenericClass : GTLRObject +/** + * Optional app or website link that will be displayed as a button on the front + * of the pass. If AppLinkData is provided for the corresponding object that + * will be used instead. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkData *appLinkData; + /** * Callback options to be used to call the issuer back for every save/delete of * an object for this class by the end-user. All objects of this class are @@ -4937,8 +4967,9 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri @interface GTLRWalletobjects_GenericObject : GTLRObject /** - * Information about the partner app link. The maximum number of these fields - * displayed is 10. + * Optional app or website link that will be displayed as a button on the front + * of the pass. If AppLinkData is provided for the corresponding class only + * object AppLinkData will be displayed. */ @property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkData *appLinkData; @@ -5174,6 +5205,13 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri */ @property(nonatomic, strong, nullable) NSNumber *allowMultipleUsersPerObject GTLR_DEPRECATED; +/** + * Optional app or website link that will be displayed as a button on the front + * of the pass. If AppLinkData is provided for the corresponding object that + * will be used instead. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkData *appLinkData; + /** * Callback options to be used to call the issuer back for every save/delete of * an object for this class by the end-user. All objects of this class are @@ -5460,7 +5498,11 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri */ @interface GTLRWalletobjects_GiftCardObject : GTLRObject -/** Optional information about the partner app link. */ +/** + * Optional app or website link that will be displayed as a button on the front + * of the pass. If AppLinkData is provided for the corresponding class only + * object AppLinkData will be displayed. + */ @property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkData *appLinkData; /** The card's monetary balance. */ @@ -6070,6 +6112,13 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri */ @property(nonatomic, strong, nullable) NSNumber *allowMultipleUsersPerObject GTLR_DEPRECATED; +/** + * Optional app or website link that will be displayed as a button on the front + * of the pass. If AppLinkData is provided for the corresponding object that + * will be used instead. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkData *appLinkData; + /** * Callback options to be used to call the issuer back for every save/delete of * an object for this class by the end-user. All objects of this class are @@ -6406,7 +6455,11 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri */ @property(nonatomic, copy, nullable) NSString *accountName; -/** Optional information about the partner app link. */ +/** + * Optional app or website link that will be displayed as a button on the front + * of the pass. If AppLinkData is provided for the corresponding class only + * object AppLinkData will be displayed. + */ @property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkData *appLinkData; /** The barcode type and value. */ @@ -7081,6 +7134,9 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri * Value "MESSAGE_TYPE_UNSPECIFIED" * @arg @c kGTLRWalletobjects_Message_MessageType_Text Legacy alias for * `TEXT`. Deprecated. (Value: "text") + * @arg @c kGTLRWalletobjects_Message_MessageType_TextAndNotify Renders the + * message as text on the card details screen and as an Android + * notification. (Value: "TEXT_AND_NOTIFY") */ @property(nonatomic, copy, nullable) NSString *messageType; @@ -7198,6 +7254,13 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri */ @property(nonatomic, strong, nullable) NSNumber *allowMultipleUsersPerObject GTLR_DEPRECATED; +/** + * Optional app or website link that will be displayed as a button on the front + * of the pass. If AppLinkData is provided for the corresponding object that + * will be used instead. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkData *appLinkData; + /** * Callback options to be used to call the issuer back for every save/delete of * an object for this class by the end-user. All objects of this class are @@ -7530,7 +7593,11 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri */ @interface GTLRWalletobjects_OfferObject : GTLRObject -/** Optional information about the partner app link. */ +/** + * Optional app or website link that will be displayed as a button on the front + * of the pass. If AppLinkData is provided for the corresponding class only + * object AppLinkData will be displayed. + */ @property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkData *appLinkData; /** The barcode type and value. */ @@ -8521,6 +8588,13 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri */ @property(nonatomic, strong, nullable) NSNumber *allowMultipleUsersPerObject GTLR_DEPRECATED; +/** + * Optional app or website link that will be displayed as a button on the front + * of the pass. If AppLinkData is provided for the corresponding object that + * will be used instead. + */ +@property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkData *appLinkData; + /** * Callback options to be used to call the issuer back for every save/delete of * an object for this class by the end-user. All objects of this class are @@ -8929,7 +9003,11 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri */ @property(nonatomic, strong, nullable) GTLRWalletobjects_ActivationStatus *activationStatus; -/** Optional information about the partner app link. */ +/** + * Optional app or website link that will be displayed as a button on the front + * of the pass. If AppLinkData is provided for the corresponding class only + * object AppLinkData will be displayed. + */ @property(nonatomic, strong, nullable) GTLRWalletobjects_AppLinkData *appLinkData; /** The barcode type and value. */ diff --git a/Sources/GeneratedServices/Webfonts/GTLRWebfontsObjects.m b/Sources/GeneratedServices/Webfonts/GTLRWebfontsObjects.m index 4a7982372..24ee87066 100644 --- a/Sources/GeneratedServices/Webfonts/GTLRWebfontsObjects.m +++ b/Sources/GeneratedServices/Webfonts/GTLRWebfontsObjects.m @@ -27,12 +27,13 @@ @implementation GTLRWebfonts_Axis // @implementation GTLRWebfonts_Webfont -@dynamic axes, category, family, files, kind, lastModified, menu, subsets, - variants, version; +@dynamic axes, category, colorCapabilities, family, files, kind, lastModified, + menu, subsets, variants, version; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"axes" : [GTLRWebfonts_Axis class], + @"colorCapabilities" : [NSString class], @"subsets" : [NSString class], @"variants" : [NSString class] }; diff --git a/Sources/GeneratedServices/Webfonts/Public/GoogleAPIClientForREST/GTLRWebfontsObjects.h b/Sources/GeneratedServices/Webfonts/Public/GoogleAPIClientForREST/GTLRWebfontsObjects.h index b0a61e6f5..7db8add12 100644 --- a/Sources/GeneratedServices/Webfonts/Public/GoogleAPIClientForREST/GTLRWebfontsObjects.h +++ b/Sources/GeneratedServices/Webfonts/Public/GoogleAPIClientForREST/GTLRWebfontsObjects.h @@ -62,6 +62,9 @@ NS_ASSUME_NONNULL_BEGIN /** The category of the font. */ @property(nonatomic, copy, nullable) NSString *category; +/** The color format(s) available for this family. */ +@property(nonatomic, strong, nullable) NSArray *colorCapabilities; + /** The name of the font. */ @property(nonatomic, copy, nullable) NSString *family; diff --git a/Sources/GeneratedServices/WorkflowExecutions/GTLRWorkflowExecutionsObjects.m b/Sources/GeneratedServices/WorkflowExecutions/GTLRWorkflowExecutionsObjects.m index 282c2cb02..5cd2fffe3 100644 --- a/Sources/GeneratedServices/WorkflowExecutions/GTLRWorkflowExecutionsObjects.m +++ b/Sources/GeneratedServices/WorkflowExecutions/GTLRWorkflowExecutionsObjects.m @@ -353,7 +353,7 @@ @implementation GTLRWorkflowExecutions_StepEntry // @implementation GTLRWorkflowExecutions_StepEntryMetadata -@dynamic progressNumber, progressType, threadId; +@dynamic expectedIteration, progressNumber, progressType, threadId; @end diff --git a/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsObjects.h b/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsObjects.h index 42b3c6d36..373d39638 100644 --- a/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsObjects.h +++ b/Sources/GeneratedServices/WorkflowExecutions/Public/GoogleAPIClientForREST/GTLRWorkflowExecutionsObjects.h @@ -981,6 +981,14 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkflowExecutions_StepEntryMetadata_Pro */ @interface GTLRWorkflowExecutions_StepEntryMetadata : GTLRObject +/** + * Expected iteration represents the expected number of iterations in the + * step's progress. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *expectedIteration; + /** * Progress number represents the current state of the current progress. eg: A * step entry represents the 4th iteration in a progress of PROGRESS_TYPE_FOR. diff --git a/Sources/GeneratedServices/Workflows/GTLRWorkflowsObjects.m b/Sources/GeneratedServices/Workflows/GTLRWorkflowsObjects.m index f0649bf28..1b73d4c51 100644 --- a/Sources/GeneratedServices/Workflows/GTLRWorkflowsObjects.m +++ b/Sources/GeneratedServices/Workflows/GTLRWorkflowsObjects.m @@ -261,14 +261,23 @@ + (Class)classForAdditionalProperties { // @implementation GTLRWorkflows_Workflow -@dynamic callLogLevel, createTime, cryptoKeyName, descriptionProperty, labels, - name, revisionCreateTime, revisionId, serviceAccount, sourceContents, - state, stateError, updateTime, userEnvVars; +@dynamic allKmsKeys, allKmsKeysVersions, callLogLevel, createTime, + cryptoKeyName, cryptoKeyVersion, descriptionProperty, labels, name, + revisionCreateTime, revisionId, serviceAccount, sourceContents, state, + stateError, updateTime, userEnvVars; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; } ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"allKmsKeys" : [NSString class], + @"allKmsKeysVersions" : [NSString class] + }; + return map; +} + @end diff --git a/Sources/GeneratedServices/Workflows/Public/GoogleAPIClientForREST/GTLRWorkflowsObjects.h b/Sources/GeneratedServices/Workflows/Public/GoogleAPIClientForREST/GTLRWorkflowsObjects.h index 897562af6..2bc8571c1 100644 --- a/Sources/GeneratedServices/Workflows/Public/GoogleAPIClientForREST/GTLRWorkflowsObjects.h +++ b/Sources/GeneratedServices/Workflows/Public/GoogleAPIClientForREST/GTLRWorkflowsObjects.h @@ -456,6 +456,18 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkflows_Workflow_State_Unavailable; */ @interface GTLRWorkflows_Workflow : GTLRObject +/** + * Output only. A list of all KMS crypto keys used to encrypt or decrpt the + * data associated with the workflow. + */ +@property(nonatomic, strong, nullable) NSArray *allKmsKeys; + +/** + * Output only. A list of all KMS crypto keys versions used to encrypt or + * decrpt the data associated with the workflow. + */ +@property(nonatomic, strong, nullable) NSArray *allKmsKeysVersions; + /** * Optional. Describes the level of platform logging to apply to calls and call * responses during executions of this workflow. If both the workflow and the @@ -491,6 +503,13 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkflows_Workflow_State_Unavailable; */ @property(nonatomic, copy, nullable) NSString *cryptoKeyName; +/** + * Output only. The resource name of a KMS crypto key version used to encrypt + * or decrypt the data associated with the workflow. Format: + * projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion} + */ +@property(nonatomic, copy, nullable) NSString *cryptoKeyVersion; + /** * Description of the workflow provided by the user. Must be at most 1000 * Unicode characters long. This is a workflow-wide field and is not tied to a diff --git a/Sources/GeneratedServices/YouTube/GTLRYouTubeQuery.m b/Sources/GeneratedServices/YouTube/GTLRYouTubeQuery.m index 3cfd908d1..16b780019 100644 --- a/Sources/GeneratedServices/YouTube/GTLRYouTubeQuery.m +++ b/Sources/GeneratedServices/YouTube/GTLRYouTubeQuery.m @@ -1225,6 +1225,27 @@ + (instancetype)queryWithLiveChatId:(NSString *)liveChatId @end +@implementation GTLRYouTubeQuery_LiveChatMessagesTransition + +@dynamic identifier, status; + ++ (NSDictionary *)parameterNameMap { + return @{ @"identifier" : @"id" }; +} + ++ (instancetype)query { + NSString *pathURITemplate = @"youtube/v3/liveChat/messages/transition"; + GTLRYouTubeQuery_LiveChatMessagesTransition *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRYouTube_LiveChatMessage class]; + query.loggingName = @"youtube.liveChatMessages.transition"; + return query; +} + +@end + @implementation GTLRYouTubeQuery_LiveChatModeratorsDelete @dynamic identifier; @@ -2431,27 +2452,6 @@ + (instancetype)queryWithChannelId:(NSString *)channelId { @end -@implementation GTLRYouTubeQuery_YoutubeV3LiveChatMessagesTransition - -@dynamic identifier, status; - -+ (NSDictionary *)parameterNameMap { - return @{ @"identifier" : @"id" }; -} - -+ (instancetype)query { - NSString *pathURITemplate = @"youtube/v3/liveChat/messages/transition"; - GTLRYouTubeQuery_YoutubeV3LiveChatMessagesTransition *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:nil]; - query.expectedObjectClass = [GTLRYouTube_LiveChatMessage class]; - query.loggingName = @"youtube.youtube.v3.liveChat.messages.transition"; - return query; -} - -@end - @implementation GTLRYouTubeQuery_YoutubeV3UpdateCommentThreads @dynamic part; diff --git a/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeQuery.h b/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeQuery.h index 84b251d70..40094726e 100644 --- a/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeQuery.h +++ b/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeQuery.h @@ -2849,6 +2849,46 @@ FOUNDATION_EXTERN NSString * const kGTLRYouTubeVideoTypeVideoTypeUnspecified; @end +/** + * Transition a durable chat event. + * + * Method: youtube.liveChatMessages.transition + * + * Authorization scope(s): + * @c kGTLRAuthScopeYouTube + * @c kGTLRAuthScopeYouTubeForceSsl + */ +@interface GTLRYouTubeQuery_LiveChatMessagesTransition : GTLRYouTubeQuery + +/** + * The ID that uniquely identify the chat message event to transition. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * The status to which the chat event is going to transition. + * + * Likely values: + * @arg @c kGTLRYouTubeStatusStatusUnspecified Default unknown enum value. + * (Value: "statusUnspecified") + * @arg @c kGTLRYouTubeStatusClosed The durable chat event is over. (Value: + * "closed") + */ +@property(nonatomic, copy, nullable) NSString *status; + +/** + * Fetches a @c GTLRYouTube_LiveChatMessage. + * + * Transition a durable chat event. + * + * @return GTLRYouTubeQuery_LiveChatMessagesTransition + */ ++ (instancetype)query; + +@end + /** * Deletes a chat moderator. * @@ -5706,42 +5746,6 @@ FOUNDATION_EXTERN NSString * const kGTLRYouTubeVideoTypeVideoTypeUnspecified; @end -/** - * Transition a durable chat event. - * - * Method: youtube.youtube.v3.liveChat.messages.transition - */ -@interface GTLRYouTubeQuery_YoutubeV3LiveChatMessagesTransition : GTLRYouTubeQuery - -/** - * The ID that uniquely identify the chat message event to transition. - * - * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). - */ -@property(nonatomic, copy, nullable) NSString *identifier; - -/** - * The status to which the chat event is going to transition. - * - * Likely values: - * @arg @c kGTLRYouTubeStatusStatusUnspecified Default unknown enum value. - * (Value: "statusUnspecified") - * @arg @c kGTLRYouTubeStatusClosed The durable chat event is over. (Value: - * "closed") - */ -@property(nonatomic, copy, nullable) NSString *status; - -/** - * Fetches a @c GTLRYouTube_LiveChatMessage. - * - * Transition a durable chat event. - * - * @return GTLRYouTubeQuery_YoutubeV3LiveChatMessagesTransition - */ -+ (instancetype)query; - -@end - /** * Updates an existing resource. *