diff --git a/GoogleAPIClientForREST.podspec b/GoogleAPIClientForREST.podspec index 9795e8e12..d889e7560 100644 --- a/GoogleAPIClientForREST.podspec +++ b/GoogleAPIClientForREST.podspec @@ -415,6 +415,11 @@ Pod::Spec.new do |s| sp.source_files = 'Sources/GeneratedServices/Cloudchannel/**/*.{h,m}' sp.public_header_files = 'Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/*.h' end + s.subspec 'CloudCommercePartnerProcurementService' do |sp| + sp.dependency 'GoogleAPIClientForREST/Core' + sp.source_files = 'Sources/GeneratedServices/CloudCommercePartnerProcurementService/**/*.{h,m}' + sp.public_header_files = 'Sources/GeneratedServices/CloudCommercePartnerProcurementService/Public/GoogleAPIClientForREST/*.h' + end s.subspec 'CloudComposer' do |sp| sp.dependency 'GoogleAPIClientForREST/Core' sp.source_files = 'Sources/GeneratedServices/CloudComposer/**/*.{h,m}' diff --git a/Package.swift b/Package.swift index 7d2eba9f2..4c0cbe66e 100644 --- a/Package.swift +++ b/Package.swift @@ -301,6 +301,10 @@ let package = Package( name: "GoogleAPIClientForREST_Cloudchannel", targets: ["GoogleAPIClientForREST_Cloudchannel"] ), + .library( + name: "GoogleAPIClientForREST_CloudCommercePartnerProcurementService", + targets: ["GoogleAPIClientForREST_CloudCommercePartnerProcurementService"] + ), .library( name: "GoogleAPIClientForREST_CloudComposer", targets: ["GoogleAPIClientForREST_CloudComposer"] @@ -1689,6 +1693,12 @@ let package = Package( path: "Sources/GeneratedServices/Cloudchannel", publicHeadersPath: "Public" ), + .target( + name: "GoogleAPIClientForREST_CloudCommercePartnerProcurementService", + dependencies: ["GoogleAPIClientForRESTCore"], + path: "Sources/GeneratedServices/CloudCommercePartnerProcurementService", + publicHeadersPath: "Public" + ), .target( name: "GoogleAPIClientForREST_CloudComposer", dependencies: ["GoogleAPIClientForRESTCore"], diff --git a/Sources/GeneratedServices/APIGateway/Public/GoogleAPIClientForREST/GTLRAPIGatewayQuery.h b/Sources/GeneratedServices/APIGateway/Public/GoogleAPIClientForREST/GTLRAPIGatewayQuery.h index 6a10d8256..a19ace342 100644 --- a/Sources/GeneratedServices/APIGateway/Public/GoogleAPIClientForREST/GTLRAPIGatewayQuery.h +++ b/Sources/GeneratedServices/APIGateway/Public/GoogleAPIClientForREST/GTLRAPIGatewayQuery.h @@ -1065,8 +1065,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIGatewayViewFull; @interface GTLRAPIGatewayQuery_ProjectsLocationsList : GTLRAPIGatewayQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h index e47dcab0c..0de38b028 100644 --- a/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h +++ b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h @@ -3026,8 +3026,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRAPIhubQuery_ProjectsLocationsList : GTLRAPIhubQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m index 6fd746548..b8f4583ba 100644 --- a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m +++ b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m @@ -77,6 +77,10 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1BatchPredictionJob_State_JobStateUnspecified = @"JOB_STATE_UNSPECIFIED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1BatchPredictionJob_State_JobStateUpdating = @"JOB_STATE_UPDATING"; +// GTLRAiplatform_GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig.samplingMethod +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig_SamplingMethod_Random = @"RANDOM"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig_SamplingMethod_SamplingMethodUnspecified = @"SAMPLING_METHOD_UNSPECIFIED"; + // GTLRAiplatform_GoogleCloudAiplatformV1Candidate.finishReason NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Blocklist = @"BLOCKLIST"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_FinishReasonUnspecified = @"FINISH_REASON_UNSPECIFIED"; @@ -181,6 +185,33 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluatedAnnotation_Type_FalsePositive = @"FALSE_POSITIVE"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluatedAnnotation_Type_TruePositive = @"TRUE_POSITIVE"; +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem.evaluationItemType +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem_EvaluationItemType_EvaluationItemTypeUnspecified = @"EVALUATION_ITEM_TYPE_UNSPECIFIED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem_EvaluationItemType_Request = @"REQUEST"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem_EvaluationItemType_Result = @"RESULT"; + +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun.state +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_State_Cancelled = @"CANCELLED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_State_Failed = @"FAILED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_State_GeneratingRubrics = @"GENERATING_RUBRICS"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_State_Inference = @"INFERENCE"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_State_Pending = @"PENDING"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_State_Running = @"RUNNING"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_State_Succeeded = @"SUCCEEDED"; + +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec.type +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec_Type_Bleu = @"BLEU"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec_Type_ComputationBasedMetricTypeUnspecified = @"COMPUTATION_BASED_METRIC_TYPE_UNSPECIFIED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec_Type_ExactMatch = @"EXACT_MATCH"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec_Type_Rouge = @"ROUGE"; + +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec.rubricContentType +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec_RubricContentType_NlQuestionAnswer = @"NL_QUESTION_ANSWER"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec_RubricContentType_Property = @"PROPERTY"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec_RubricContentType_PythonCodeAssertion = @"PYTHON_CODE_ASSERTION"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec_RubricContentType_RubricContentTypeUnspecified = @"RUBRIC_CONTENT_TYPE_UNSPECIFIED"; + // GTLRAiplatform_GoogleCloudAiplatformV1Event.type NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Event_Type_Input = @"INPUT"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Event_Type_Output = @"OUTPUT"; @@ -614,6 +645,13 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntimeTemplate_NotebookRuntimeType_OneClick = @"ONE_CLICK"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntimeTemplate_NotebookRuntimeType_UserDefined = @"USER_DEFINED"; +// GTLRAiplatform_GoogleCloudAiplatformV1OutputFieldSpec.fieldType +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1OutputFieldSpec_FieldType_Audio = @"AUDIO"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1OutputFieldSpec_FieldType_Content = @"CONTENT"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1OutputFieldSpec_FieldType_FieldTypeUnspecified = @"FIELD_TYPE_UNSPECIFIED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1OutputFieldSpec_FieldType_Image = @"IMAGE"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1OutputFieldSpec_FieldType_Text = @"TEXT"; + // GTLRAiplatform_GoogleCloudAiplatformV1PairwiseMetricResult.pairwiseChoice NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1PairwiseMetricResult_PairwiseChoice_Baseline = @"BASELINE"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1PairwiseMetricResult_PairwiseChoice_Candidate = @"CANDIDATE"; @@ -728,6 +766,18 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ReservationAffinity_ReservationAffinityType_SpecificReservation = @"SPECIFIC_RESERVATION"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ReservationAffinity_ReservationAffinityType_TypeUnspecified = @"TYPE_UNSPECIFIED"; +// GTLRAiplatform_GoogleCloudAiplatformV1Rubric.importance +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Rubric_Importance_High = @"HIGH"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Rubric_Importance_ImportanceUnspecified = @"IMPORTANCE_UNSPECIFIED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Rubric_Importance_Low = @"LOW"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Rubric_Importance_Medium = @"MEDIUM"; + +// GTLRAiplatform_GoogleCloudAiplatformV1RubricGenerationSpec.rubricContentType +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1RubricGenerationSpec_RubricContentType_NlQuestionAnswer = @"NL_QUESTION_ANSWER"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1RubricGenerationSpec_RubricContentType_Property = @"PROPERTY"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1RubricGenerationSpec_RubricContentType_PythonCodeAssertion = @"PYTHON_CODE_ASSERTION"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1RubricGenerationSpec_RubricContentType_RubricContentTypeUnspecified = @"RUBRIC_CONTENT_TYPE_UNSPECIFIED"; + // GTLRAiplatform_GoogleCloudAiplatformV1SafetyRating.category NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryCivicIntegrity = @"HARM_CATEGORY_CIVIC_INTEGRITY"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryDangerousContent = @"HARM_CATEGORY_DANGEROUS_CONTENT"; @@ -2138,6 +2188,41 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1BigQueryDestination @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1BigQueryRequestSet +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1BigQueryRequestSet +@dynamic candidateResponseColumns, promptColumn, rubricsColumn, samplingConfig, + uri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1BigQueryRequestSet_CandidateResponseColumns +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1BigQueryRequestSet_CandidateResponseColumns + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig +@dynamic samplingCount, samplingDuration, samplingMethod; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1BigQuerySource @@ -2321,6 +2406,15 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1CancelDataLabelingJobReque @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1CancelEvaluationRunRequest +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1CancelEvaluationRunRequest +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1CancelHyperparameterTuningJobRequest @@ -2386,6 +2480,35 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1Candidate @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1CandidateResponse +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1CandidateResponse +@dynamic candidate, text, value; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1CandidateResult +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1CandidateResult +@dynamic additionalResults, candidate, explanation, metric, rubricVerdicts, + score; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"rubricVerdicts" : [GTLRAiplatform_GoogleCloudAiplatformV1RubricVerdict class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1Checkpoint @@ -4166,7 +4289,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluateDatasetRequest @implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluateInstancesRequest @dynamic autoraterConfig, bleuInput, coherenceInput, cometInput, exactMatchInput, fluencyInput, fulfillmentInput, groundednessInput, - metricxInput, pairwiseMetricInput, + instance, metrics, metricxInput, pairwiseMetricInput, pairwiseQuestionAnsweringQualityInput, pairwiseSummarizationQualityInput, pointwiseMetricInput, questionAnsweringCorrectnessInput, questionAnsweringHelpfulnessInput, @@ -4178,6 +4301,14 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluateInstancesRequest trajectoryAnyOrderMatchInput, trajectoryExactMatchInput, trajectoryInOrderMatchInput, trajectoryPrecisionInput, trajectoryRecallInput, trajectorySingleToolUseInput; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"metrics" : [GTLRAiplatform_GoogleCloudAiplatformV1Metric class] + }; + return map; +} + @end @@ -4188,8 +4319,9 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluateInstancesRequest @implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluateInstancesResponse @dynamic bleuResults, coherenceResult, cometResult, exactMatchResults, - fluencyResult, fulfillmentResult, groundednessResult, metricxResult, - pairwiseMetricResult, pairwiseQuestionAnsweringQualityResult, + fluencyResult, fulfillmentResult, groundednessResult, metricResults, + metricxResult, pairwiseMetricResult, + pairwiseQuestionAnsweringQualityResult, pairwiseSummarizationQualityResult, pointwiseMetricResult, questionAnsweringCorrectnessResult, questionAnsweringHelpfulnessResult, questionAnsweringQualityResult, questionAnsweringRelevanceResult, @@ -4201,6 +4333,14 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluateInstancesResponse trajectoryExactMatchResults, trajectoryInOrderMatchResults, trajectoryPrecisionResults, trajectoryRecallResults, trajectorySingleToolUseResults; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"metricResults" : [GTLRAiplatform_GoogleCloudAiplatformV1MetricResult class] + }; + return map; +} + @end @@ -4214,6 +4354,471 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationDataset @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstance +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstance +@dynamic otherData, prompt, reference, response, rubricGroups; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstance_RubricGroups +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstance_RubricGroups + ++ (Class)classForAdditionalProperties { + return [GTLRAiplatform_GoogleCloudAiplatformV1RubricGroup class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstanceInstanceData +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstanceInstanceData +@dynamic contents, text; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstanceInstanceDataContents +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstanceInstanceDataContents +@dynamic contents; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"contents" : [GTLRAiplatform_GoogleCloudAiplatformV1Content class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstanceMapInstance +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstanceMapInstance +@dynamic mapInstance; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstanceMapInstance_MapInstance +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstanceMapInstance_MapInstance + ++ (Class)classForAdditionalProperties { + return [GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstanceInstanceData class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem +@dynamic createTime, displayName, error, evaluationItemType, evaluationRequest, + evaluationResponse, gcsUri, labels, metadata, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem_Labels +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationPrompt +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationPrompt +@dynamic promptTemplateData, text, value; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData +@dynamic values; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData_Values +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData_Values + ++ (Class)classForAdditionalProperties { + return [GTLRAiplatform_GoogleCloudAiplatformV1Content class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRequest +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRequest +@dynamic candidateResponses, goldenResponse, prompt, rubrics; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"candidateResponses" : [GTLRAiplatform_GoogleCloudAiplatformV1CandidateResponse class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRequest_Rubrics +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRequest_Rubrics + ++ (Class)classForAdditionalProperties { + return [GTLRAiplatform_GoogleCloudAiplatformV1RubricGroup class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationResult +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationResult +@dynamic candidateResults, evaluationRequest, evaluationRun, metadata, metric, + request; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"candidateResults" : [GTLRAiplatform_GoogleCloudAiplatformV1CandidateResult class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationResults +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationResults +@dynamic evaluationSet, summaryMetrics; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRubricConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRubricConfig +@dynamic predefinedRubricGenerationSpec, rubricGenerationSpec, rubricGroupKey; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun +@dynamic completionTime, createTime, dataSource, displayName, error, + evaluationConfig, evaluationResults, evaluationSetSnapshot, + inferenceConfigs, labels, metadata, name, state; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_InferenceConfigs +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_InferenceConfigs + ++ (Class)classForAdditionalProperties { + return [GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunInferenceConfig class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_Labels +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunDataSource +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunDataSource +@dynamic bigqueryRequestSet, evaluationSet; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunEvaluationConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunEvaluationConfig +@dynamic autoraterConfig, metrics, outputConfig, promptTemplate, rubricConfigs; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"metrics" : [GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetric class], + @"rubricConfigs" : [GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRubricConfig class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig +@dynamic autoraterModel, generationConfig, sampleCount; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunEvaluationConfigOutputConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunEvaluationConfigOutputConfig +@dynamic bigqueryDestination, gcsDestination; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunEvaluationConfigPromptTemplate +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunEvaluationConfigPromptTemplate +@dynamic gcsUri, promptTemplate; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunInferenceConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunInferenceConfig +@dynamic generationConfig, model; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetric +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetric +@dynamic computationBasedMetricSpec, llmBasedMetricSpec, metric, + predefinedMetricSpec, rubricBasedMetricSpec; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec +@dynamic parameters, type; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec_Parameters +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec_Parameters + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec +@dynamic additionalConfig, judgeAutoraterConfig, metricPromptTemplate, + predefinedRubricGenerationSpec, rubricGenerationSpec, rubricGroupKey, + systemInstruction; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec_AdditionalConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec_AdditionalConfig + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec +@dynamic metricSpecName, parameters; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec_Parameters +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec_Parameters + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpec +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpec +@dynamic inlineRubrics, judgeAutoraterConfig, metricPromptTemplate, + rubricGenerationSpec, rubricGroupKey; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpecRepeatedRubrics +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpecRepeatedRubrics +@dynamic rubrics; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"rubrics" : [GTLRAiplatform_GoogleCloudAiplatformV1Rubric class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec +@dynamic modelConfig, promptTemplate, rubricContentType, rubricTypeOntology; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"rubricTypeOntology" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationSet +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluationSet +@dynamic createTime, displayName, evaluationItems, metadata, name, updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"evaluationItems" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1Event @@ -5983,18 +6588,93 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfi // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest +// GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest +@dynamic cachedContent, contents, generationConfig, labels, modelArmorConfig, + safetySettings, systemInstruction, toolConfig, tools; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"contents" : [GTLRAiplatform_GoogleCloudAiplatformV1Content class], + @"safetySettings" : [GTLRAiplatform_GoogleCloudAiplatformV1SafetySetting class], + @"tools" : [GTLRAiplatform_GoogleCloudAiplatformV1Tool class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest_Labels +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponse +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponse +@dynamic candidates, createTime, modelVersion, promptFeedback, responseId, + usageMetadata; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"candidates" : [GTLRAiplatform_GoogleCloudAiplatformV1Candidate class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback +@dynamic blockReason, blockReasonMessage, safetyRatings; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"safetyRatings" : [GTLRAiplatform_GoogleCloudAiplatformV1SafetyRating class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest -@dynamic cachedContent, contents, generationConfig, labels, modelArmorConfig, - safetySettings, systemInstruction, toolConfig, tools; +@implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata +@dynamic cachedContentTokenCount, cacheTokensDetails, candidatesTokenCount, + candidatesTokensDetails, promptTokenCount, promptTokensDetails, + thoughtsTokenCount, toolUsePromptTokenCount, + toolUsePromptTokensDetails, totalTokenCount, trafficType; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"contents" : [GTLRAiplatform_GoogleCloudAiplatformV1Content class], - @"safetySettings" : [GTLRAiplatform_GoogleCloudAiplatformV1SafetySetting class], - @"tools" : [GTLRAiplatform_GoogleCloudAiplatformV1Tool class] + @"cacheTokensDetails" : [GTLRAiplatform_GoogleCloudAiplatformV1ModalityTokenCount class], + @"candidatesTokensDetails" : [GTLRAiplatform_GoogleCloudAiplatformV1ModalityTokenCount class], + @"promptTokensDetails" : [GTLRAiplatform_GoogleCloudAiplatformV1ModalityTokenCount class], + @"toolUsePromptTokensDetails" : [GTLRAiplatform_GoogleCloudAiplatformV1ModalityTokenCount class] }; return map; } @@ -6004,13 +6684,17 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest_Labels +// GTLRAiplatform_GoogleCloudAiplatformV1GenerateInstanceRubricsRequest // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest_Labels +@implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateInstanceRubricsRequest +@dynamic contents, predefinedRubricGenerationSpec, rubricGenerationSpec; -+ (Class)classForAdditionalProperties { - return [NSString class]; ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"contents" : [GTLRAiplatform_GoogleCloudAiplatformV1Content class] + }; + return map; } @end @@ -6018,16 +6702,15 @@ + (Class)classForAdditionalProperties { // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponse +// GTLRAiplatform_GoogleCloudAiplatformV1GenerateInstanceRubricsResponse // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponse -@dynamic candidates, createTime, modelVersion, promptFeedback, responseId, - usageMetadata; +@implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateInstanceRubricsResponse +@dynamic generatedRubrics; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"candidates" : [GTLRAiplatform_GoogleCloudAiplatformV1Candidate class] + @"generatedRubrics" : [GTLRAiplatform_GoogleCloudAiplatformV1Rubric class] }; return map; } @@ -6037,15 +6720,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponse // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback +// GTLRAiplatform_GoogleCloudAiplatformV1GenerateSyntheticDataRequest // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback -@dynamic blockReason, blockReasonMessage, safetyRatings; +@implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateSyntheticDataRequest +@dynamic count, examples, outputFieldSpecs, taskDescription; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"safetyRatings" : [GTLRAiplatform_GoogleCloudAiplatformV1SafetyRating class] + @"examples" : [GTLRAiplatform_GoogleCloudAiplatformV1SyntheticExample class], + @"outputFieldSpecs" : [GTLRAiplatform_GoogleCloudAiplatformV1OutputFieldSpec class] }; return map; } @@ -6055,21 +6739,15 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePro // ---------------------------------------------------------------------------- // -// GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata +// GTLRAiplatform_GoogleCloudAiplatformV1GenerateSyntheticDataResponse // -@implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata -@dynamic cachedContentTokenCount, cacheTokensDetails, candidatesTokenCount, - candidatesTokensDetails, promptTokenCount, promptTokensDetails, - thoughtsTokenCount, toolUsePromptTokenCount, - toolUsePromptTokensDetails, totalTokenCount, trafficType; +@implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateSyntheticDataResponse +@dynamic syntheticExamples; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"cacheTokensDetails" : [GTLRAiplatform_GoogleCloudAiplatformV1ModalityTokenCount class], - @"candidatesTokensDetails" : [GTLRAiplatform_GoogleCloudAiplatformV1ModalityTokenCount class], - @"promptTokensDetails" : [GTLRAiplatform_GoogleCloudAiplatformV1ModalityTokenCount class], - @"toolUsePromptTokensDetails" : [GTLRAiplatform_GoogleCloudAiplatformV1ModalityTokenCount class] + @"syntheticExamples" : [GTLRAiplatform_GoogleCloudAiplatformV1SyntheticExample class] }; return map; } @@ -7243,6 +7921,72 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ListEvaluationItemsResponse +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ListEvaluationItemsResponse +@dynamic evaluationItems, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"evaluationItems" : [GTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"evaluationItems"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ListEvaluationRunsResponse +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ListEvaluationRunsResponse +@dynamic evaluationRuns, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"evaluationRuns" : [GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"evaluationRuns"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ListEvaluationSetsResponse +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ListEvaluationSetsResponse +@dynamic evaluationSets, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"evaluationSets" : [GTLRAiplatform_GoogleCloudAiplatformV1EvaluationSet class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"evaluationSets"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1ListExecutionsResponse @@ -8311,7 +9055,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1MetadataStoreMetadataStore @implementation GTLRAiplatform_GoogleCloudAiplatformV1Metric @dynamic aggregationMetrics, bleuSpec, exactMatchSpec, pairwiseMetricSpec, - pointwiseMetricSpec, rougeSpec; + pointwiseMetricSpec, predefinedMetricSpec, rougeSpec; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -8323,6 +9067,24 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1Metric @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1MetricResult +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1MetricResult +@dynamic error, explanation, rubricVerdicts, score; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"rubricVerdicts" : [GTLRAiplatform_GoogleCloudAiplatformV1RubricVerdict class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1MetricxInput @@ -9698,6 +10460,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1OutputConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1OutputFieldSpec +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1OutputFieldSpec +@dynamic fieldName, fieldType, guidance; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1PairwiseMetricInput @@ -10229,6 +11001,30 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1PrebuiltVoiceConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1PredefinedMetricSpec +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1PredefinedMetricSpec +@dynamic metricSpecName, metricSpecParameters; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1PredefinedMetricSpec_MetricSpecParameters +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1PredefinedMetricSpec_MetricSpecParameters + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1PredefinedSplit @@ -11641,7 +12437,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ReadTensorboardUsageRespon @implementation GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngine @dynamic createTime, descriptionProperty, displayName, encryptionSpec, ETag, - name, spec, updateTime; + labels, name, spec, updateTime; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -11654,6 +12450,20 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngine @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngine_Labels +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngine_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpec @@ -12084,6 +12894,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1RougeSpec @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1Rubric +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1Rubric +@dynamic content, importance, rubricId, type; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1RubricBasedInstructionFollowingInput @@ -12131,6 +12951,31 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1RubricBasedInstructionFoll @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1RubricContent +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1RubricContent +@dynamic property; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1RubricContentProperty +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1RubricContentProperty +@dynamic descriptionProperty; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1RubricCritiqueResult @@ -12141,6 +12986,52 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1RubricCritiqueResult @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1RubricGenerationSpec +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1RubricGenerationSpec +@dynamic modelConfig, promptTemplate, rubricContentType, rubricTypeOntology; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"rubricTypeOntology" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1RubricGroup +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1RubricGroup +@dynamic displayName, groupId, rubrics; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"rubrics" : [GTLRAiplatform_GoogleCloudAiplatformV1Rubric class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1RubricVerdict +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1RubricVerdict +@dynamic evaluatedRubric, reasoning, verdict; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1SafetyInput @@ -15587,6 +16478,30 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1SummarizationVerbositySpec @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1SummaryMetrics +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1SummaryMetrics +@dynamic failedItems, metrics, totalItems; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1SummaryMetrics_Metrics +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1SummaryMetrics_Metrics + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1SupervisedHyperParameters @@ -15680,6 +16595,44 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1SyncFeatureViewResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1SyntheticExample +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1SyntheticExample +@dynamic fields; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"fields" : [GTLRAiplatform_GoogleCloudAiplatformV1SyntheticField class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1SyntheticField +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1SyntheticField +@dynamic content, fieldName; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TaskDescriptionStrategy +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TaskDescriptionStrategy +@dynamic taskDescription; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1Tensor diff --git a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m index 1ffdaa4dc..3b118104c 100644 --- a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m +++ b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m @@ -3181,6 +3181,312 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1EvaluateI @end +@implementation GTLRAiplatformQuery_ProjectsLocationsEvaluationItemsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem *)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}/evaluationItems"; + GTLRAiplatformQuery_ProjectsLocationsEvaluationItemsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem class]; + query.loggingName = @"aiplatform.projects.locations.evaluationItems.create"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEvaluationItemsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsEvaluationItemsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.evaluationItems.delete"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEvaluationItemsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsEvaluationItemsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem class]; + query.loggingName = @"aiplatform.projects.locations.evaluationItems.get"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEvaluationItemsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/evaluationItems"; + GTLRAiplatformQuery_ProjectsLocationsEvaluationItemsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1ListEvaluationItemsResponse class]; + query.loggingName = @"aiplatform.projects.locations.evaluationItems.list"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEvaluationRunsCancel + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1CancelEvaluationRunRequest *)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"; + GTLRAiplatformQuery_ProjectsLocationsEvaluationRunsCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleProtobufEmpty class]; + query.loggingName = @"aiplatform.projects.locations.evaluationRuns.cancel"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEvaluationRunsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun *)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}/evaluationRuns"; + GTLRAiplatformQuery_ProjectsLocationsEvaluationRunsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun class]; + query.loggingName = @"aiplatform.projects.locations.evaluationRuns.create"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEvaluationRunsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsEvaluationRunsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.evaluationRuns.delete"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEvaluationRunsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsEvaluationRunsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun class]; + query.loggingName = @"aiplatform.projects.locations.evaluationRuns.get"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEvaluationRunsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/evaluationRuns"; + GTLRAiplatformQuery_ProjectsLocationsEvaluationRunsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1ListEvaluationRunsResponse class]; + query.loggingName = @"aiplatform.projects.locations.evaluationRuns.list"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEvaluationSetsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1EvaluationSet *)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}/evaluationSets"; + GTLRAiplatformQuery_ProjectsLocationsEvaluationSetsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1EvaluationSet class]; + query.loggingName = @"aiplatform.projects.locations.evaluationSets.create"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEvaluationSetsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsEvaluationSetsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.evaluationSets.delete"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEvaluationSetsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsEvaluationSetsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1EvaluationSet class]; + query.loggingName = @"aiplatform.projects.locations.evaluationSets.get"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEvaluationSetsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/evaluationSets"; + GTLRAiplatformQuery_ProjectsLocationsEvaluationSetsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1ListEvaluationSetsResponse class]; + query.loggingName = @"aiplatform.projects.locations.evaluationSets.list"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsEvaluationSetsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1EvaluationSet *)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_ProjectsLocationsEvaluationSetsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1EvaluationSet class]; + query.loggingName = @"aiplatform.projects.locations.evaluationSets.patch"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_ProjectsLocationsFeatureGroupsCreate @dynamic featureGroupId, parent; @@ -5337,6 +5643,60 @@ + (instancetype)queryWithResource:(NSString *)resource { @end +@implementation GTLRAiplatformQuery_ProjectsLocationsGenerateInstanceRubrics + +@dynamic location; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1GenerateInstanceRubricsRequest *)object + location:(NSString *)location { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"location" ]; + NSString *pathURITemplate = @"v1/{+location}:generateInstanceRubrics"; + GTLRAiplatformQuery_ProjectsLocationsGenerateInstanceRubrics *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.location = location; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1GenerateInstanceRubricsResponse class]; + query.loggingName = @"aiplatform.projects.locations.generateInstanceRubrics"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsGenerateSyntheticData + +@dynamic location; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1GenerateSyntheticDataRequest *)object + location:(NSString *)location { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"location" ]; + NSString *pathURITemplate = @"v1/{+location}:generateSyntheticData"; + GTLRAiplatformQuery_ProjectsLocationsGenerateSyntheticData *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.location = location; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1GenerateSyntheticDataResponse class]; + query.loggingName = @"aiplatform.projects.locations.generateSyntheticData"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_ProjectsLocationsGet @dynamic name; diff --git a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h index 49cf208ce..e64e824e2 100644 --- a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h +++ b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h @@ -60,6 +60,9 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1BatchReadFeatureValuesRequestEntityTypeSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1BatchReadFeatureValuesRequestPassThroughField; @class GTLRAiplatform_GoogleCloudAiplatformV1BigQueryDestination; +@class GTLRAiplatform_GoogleCloudAiplatformV1BigQueryRequestSet; +@class GTLRAiplatform_GoogleCloudAiplatformV1BigQueryRequestSet_CandidateResponseColumns; +@class GTLRAiplatform_GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1BigQuerySource; @class GTLRAiplatform_GoogleCloudAiplatformV1BleuInput; @class GTLRAiplatform_GoogleCloudAiplatformV1BleuInstance; @@ -72,6 +75,8 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1CachedContent; @class GTLRAiplatform_GoogleCloudAiplatformV1CachedContentUsageMetadata; @class GTLRAiplatform_GoogleCloudAiplatformV1Candidate; +@class GTLRAiplatform_GoogleCloudAiplatformV1CandidateResponse; +@class GTLRAiplatform_GoogleCloudAiplatformV1CandidateResult; @class GTLRAiplatform_GoogleCloudAiplatformV1Checkpoint; @class GTLRAiplatform_GoogleCloudAiplatformV1Citation; @class GTLRAiplatform_GoogleCloudAiplatformV1CitationMetadata; @@ -160,6 +165,42 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1EvaluatedAnnotation; @class GTLRAiplatform_GoogleCloudAiplatformV1EvaluatedAnnotationExplanation; @class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationDataset; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstance; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstance_RubricGroups; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstanceInstanceData; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstanceInstanceDataContents; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstanceMapInstance; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstanceMapInstance_MapInstance; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem_Labels; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationPrompt; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData_Values; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRequest; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRequest_Rubrics; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationResult; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationResults; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRubricConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_InferenceConfigs; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_Labels; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunDataSource; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunEvaluationConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunEvaluationConfigOutputConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunEvaluationConfigPromptTemplate; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunInferenceConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetric; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec_Parameters; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec_AdditionalConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec_Parameters; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpecRepeatedRubrics; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1EvaluationSet; @class GTLRAiplatform_GoogleCloudAiplatformV1Event; @class GTLRAiplatform_GoogleCloudAiplatformV1Event_Labels; @class GTLRAiplatform_GoogleCloudAiplatformV1ExactMatchInput; @@ -345,6 +386,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1MetadataStoreDataplexConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1MetadataStoreMetadataStoreState; @class GTLRAiplatform_GoogleCloudAiplatformV1Metric; +@class GTLRAiplatform_GoogleCloudAiplatformV1MetricResult; @class GTLRAiplatform_GoogleCloudAiplatformV1MetricxInput; @class GTLRAiplatform_GoogleCloudAiplatformV1MetricxInstance; @class GTLRAiplatform_GoogleCloudAiplatformV1MetricxResult; @@ -445,6 +487,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntimeTemplateRef; @class GTLRAiplatform_GoogleCloudAiplatformV1NotebookSoftwareConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1OutputConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1OutputFieldSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1PairwiseMetricInput; @class GTLRAiplatform_GoogleCloudAiplatformV1PairwiseMetricInstance; @class GTLRAiplatform_GoogleCloudAiplatformV1PairwiseMetricResult; @@ -486,6 +529,8 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1Port; @class GTLRAiplatform_GoogleCloudAiplatformV1PostStartupScriptConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1PrebuiltVoiceConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1PredefinedMetricSpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1PredefinedMetricSpec_MetricSpecParameters; @class GTLRAiplatform_GoogleCloudAiplatformV1PredefinedSplit; @class GTLRAiplatform_GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1PredictSchemata; @@ -575,6 +620,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData; @class GTLRAiplatform_GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData; @class GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngine; +@class GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngine_Labels; @class GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpec_ClassMethods_Item; @class GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec; @@ -597,11 +643,17 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1RougeMetricValue; @class GTLRAiplatform_GoogleCloudAiplatformV1RougeResults; @class GTLRAiplatform_GoogleCloudAiplatformV1RougeSpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1Rubric; @class GTLRAiplatform_GoogleCloudAiplatformV1RubricBasedInstructionFollowingInput; @class GTLRAiplatform_GoogleCloudAiplatformV1RubricBasedInstructionFollowingInstance; @class GTLRAiplatform_GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult; @class GTLRAiplatform_GoogleCloudAiplatformV1RubricBasedInstructionFollowingSpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1RubricContent; +@class GTLRAiplatform_GoogleCloudAiplatformV1RubricContentProperty; @class GTLRAiplatform_GoogleCloudAiplatformV1RubricCritiqueResult; +@class GTLRAiplatform_GoogleCloudAiplatformV1RubricGenerationSpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1RubricGroup; +@class GTLRAiplatform_GoogleCloudAiplatformV1RubricVerdict; @class GTLRAiplatform_GoogleCloudAiplatformV1SafetyInput; @class GTLRAiplatform_GoogleCloudAiplatformV1SafetyInstance; @class GTLRAiplatform_GoogleCloudAiplatformV1SafetyRating; @@ -779,11 +831,16 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1SummarizationVerbosityInstance; @class GTLRAiplatform_GoogleCloudAiplatformV1SummarizationVerbosityResult; @class GTLRAiplatform_GoogleCloudAiplatformV1SummarizationVerbositySpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1SummaryMetrics; +@class GTLRAiplatform_GoogleCloudAiplatformV1SummaryMetrics_Metrics; @class GTLRAiplatform_GoogleCloudAiplatformV1SupervisedHyperParameters; @class GTLRAiplatform_GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution; @class GTLRAiplatform_GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket; @class GTLRAiplatform_GoogleCloudAiplatformV1SupervisedTuningDataStats; @class GTLRAiplatform_GoogleCloudAiplatformV1SupervisedTuningSpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1SyntheticExample; +@class GTLRAiplatform_GoogleCloudAiplatformV1SyntheticField; +@class GTLRAiplatform_GoogleCloudAiplatformV1TaskDescriptionStrategy; @class GTLRAiplatform_GoogleCloudAiplatformV1Tensor; @class GTLRAiplatform_GoogleCloudAiplatformV1Tensor_StructVal; @class GTLRAiplatform_GoogleCloudAiplatformV1Tensorboard; @@ -1254,6 +1311,22 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1BatchP */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1BatchPredictionJob_State_JobStateUpdating; +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig.samplingMethod + +/** + * Random sampling. + * + * Value: "RANDOM" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig_SamplingMethod_Random; +/** + * Unspecified sampling method. + * + * Value: "SAMPLING_METHOD_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig_SamplingMethod_SamplingMethodUnspecified; + // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1Candidate.finishReason @@ -1295,7 +1368,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candid */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ImageSafety; /** - * The function call generated by the model is invalid. + * The function call generated by the model is syntaxtically invalid (e.g. the + * function call generated is not parsable). * * Value: "MALFORMED_FUNCTION_CALL" */ @@ -1353,7 +1427,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candid */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Stop; /** - * The tool call generated by the model is invalid. + * The function call generated by the model is semantically invalid (e.g. a + * function call is generated when function calling is not enabled or the + * function is not in the function declaration). * * Value: "UNEXPECTED_TOOL_CALL" */ @@ -1797,6 +1873,136 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Evalua */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluatedAnnotation_Type_TruePositive; +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem.evaluationItemType + +/** + * The default value. This value is unused. + * + * Value: "EVALUATION_ITEM_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem_EvaluationItemType_EvaluationItemTypeUnspecified; +/** + * The EvaluationItem is a request to evaluate. + * + * Value: "REQUEST" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem_EvaluationItemType_Request; +/** + * The EvaluationItem is the result of evaluation. + * + * Value: "RESULT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem_EvaluationItemType_Result; + +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun.state + +/** + * The evaluation run has been cancelled. + * + * Value: "CANCELLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_State_Cancelled; +/** + * The evaluation run has failed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_State_Failed; +/** + * The evaluation run is performing rubric generation. + * + * Value: "GENERATING_RUBRICS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_State_GeneratingRubrics; +/** + * The evaluation run is performing inference. + * + * Value: "INFERENCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_State_Inference; +/** + * The evaluation run is pending. + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_State_Pending; +/** + * The evaluation run is running. + * + * Value: "RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_State_Running; +/** + * Unspecified state. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_State_StateUnspecified; +/** + * The evaluation run has succeeded. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_State_Succeeded; + +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec.type + +/** + * BLEU metric. + * + * Value: "BLEU" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec_Type_Bleu; +/** + * Unspecified computation based metric type. + * + * Value: "COMPUTATION_BASED_METRIC_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec_Type_ComputationBasedMetricTypeUnspecified; +/** + * Exact match metric. + * + * Value: "EXACT_MATCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec_Type_ExactMatch; +/** + * ROUGE metric. + * + * Value: "ROUGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec_Type_Rouge; + +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec.rubricContentType + +/** + * Generate rubrics in an NL question answer format. + * + * Value: "NL_QUESTION_ANSWER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec_RubricContentType_NlQuestionAnswer; +/** + * Generate rubrics based on properties. + * + * Value: "PROPERTY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec_RubricContentType_Property; +/** + * Generate rubrics in a unit test format. + * + * Value: "PYTHON_CODE_ASSERTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec_RubricContentType_PythonCodeAssertion; +/** + * The content type to generate is not specified. + * + * Value: "RUBRIC_CONTENT_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec_RubricContentType_RubricContentTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1Event.type @@ -4028,6 +4234,40 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Notebo */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntimeTemplate_NotebookRuntimeType_UserDefined; +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1OutputFieldSpec.fieldType + +/** + * Audio field type. + * + * Value: "AUDIO" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1OutputFieldSpec_FieldType_Audio; +/** + * Arbitrary content field type. + * + * Value: "CONTENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1OutputFieldSpec_FieldType_Content; +/** + * Field type is unspecified. + * + * Value: "FIELD_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1OutputFieldSpec_FieldType_FieldTypeUnspecified; +/** + * Image field type. + * + * Value: "IMAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1OutputFieldSpec_FieldType_Image; +/** + * Text field type. + * + * Value: "TEXT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1OutputFieldSpec_FieldType_Text; + // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1PairwiseMetricResult.pairwiseChoice @@ -4605,6 +4845,62 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Reserv */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ReservationAffinity_ReservationAffinityType_TypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1Rubric.importance + +/** + * High importance. + * + * Value: "HIGH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Rubric_Importance_High; +/** + * Importance is not specified. + * + * Value: "IMPORTANCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Rubric_Importance_ImportanceUnspecified; +/** + * Low importance. + * + * Value: "LOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Rubric_Importance_Low; +/** + * Medium importance. + * + * Value: "MEDIUM" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Rubric_Importance_Medium; + +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1RubricGenerationSpec.rubricContentType + +/** + * Generate rubrics in an NL question answer format. + * + * Value: "NL_QUESTION_ANSWER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1RubricGenerationSpec_RubricContentType_NlQuestionAnswer; +/** + * Generate rubrics based on properties. + * + * Value: "PROPERTY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1RubricGenerationSpec_RubricContentType_Property; +/** + * Generate rubrics in a unit test format. + * + * Value: "PYTHON_CODE_ASSERTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1RubricGenerationSpec_RubricContentType_PythonCodeAssertion; +/** + * The content type to generate is not specified. + * + * Value: "RUBRIC_CONTENT_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1RubricGenerationSpec_RubricContentType_RubricContentTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1SafetyRating.category @@ -8399,6 +8695,87 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet @end +/** + * The request set for the evaluation run. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1BigQueryRequestSet : GTLRObject + +/** + * Optional. Map of candidate name to candidate response column name. The + * column will be in evaluation_item.CandidateResponse format. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1BigQueryRequestSet_CandidateResponseColumns *candidateResponseColumns; + +/** + * Optional. The name of the column that contains the requests to evaluate. + * This will be in evaluation_item.EvalPrompt format. + */ +@property(nonatomic, copy, nullable) NSString *promptColumn; + +/** + * Optional. The name of the column that contains the rubrics. This will be in + * evaluation_rubric.RubricGroup format (cl/762595858). + */ +@property(nonatomic, copy, nullable) NSString *rubricsColumn; + +/** Optional. The sampling config for the bigquery resource. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig *samplingConfig; + +/** + * Required. The URI of a BigQuery table. e.g. + * bq://projectId.bqDatasetId.bqTableId + */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + +/** + * Optional. Map of candidate name to candidate response column name. The + * column will be in evaluation_item.CandidateResponse format. + * + * @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_GoogleCloudAiplatformV1BigQueryRequestSet_CandidateResponseColumns : GTLRObject +@end + + +/** + * The sampling config. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig : GTLRObject + +/** + * Optional. The total number of logged data to import. If available data is + * less than the sampling count, all data will be imported. Default is 100. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *samplingCount; + +/** + * Optional. How long to wait before sampling data from the BigQuery table. If + * not specified, defaults to 0. + */ +@property(nonatomic, strong, nullable) GTLRDuration *samplingDuration; + +/** + * Optional. The sampling method to use. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig_SamplingMethod_Random + * Random sampling. (Value: "RANDOM") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig_SamplingMethod_SamplingMethodUnspecified + * Unspecified sampling method. (Value: "SAMPLING_METHOD_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *samplingMethod; + +@end + + /** * The BigQuery location for the input content. */ @@ -8710,6 +9087,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet @end +/** + * Request message for EvaluationManagementService.CancelEvaluationRun. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1CancelEvaluationRunRequest : GTLRObject +@end + + /** * Request message for JobService.CancelHyperparameterTuningJob. */ @@ -8792,7 +9176,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet * Token generation stopped because generated images has safety * violations. (Value: "IMAGE_SAFETY") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_MalformedFunctionCall - * The function call generated by the model is invalid. (Value: + * The function call generated by the model is syntaxtically invalid + * (e.g. the function call generated is not parsable). (Value: * "MALFORMED_FUNCTION_CALL") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_MaxTokens * Token generation reached the configured maximum output tokens. (Value: @@ -8818,7 +9203,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet * Token generation reached a natural stopping point or a configured stop * sequence. (Value: "STOP") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_UnexpectedToolCall - * The tool call generated by the model is invalid. (Value: + * The function call generated by the model is semantically invalid (e.g. + * a function call is generated when function calling is not enabled or + * the function is not in the function declaration). (Value: * "UNEXPECTED_TOOL_CALL") */ @property(nonatomic, copy, nullable) NSString *finishReason; @@ -8852,6 +9239,64 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet @end +/** + * Responses from model or agent. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1CandidateResponse : GTLRObject + +/** Required. The name of the candidate that produced the response. */ +@property(nonatomic, copy, nullable) NSString *candidate; + +/** Text response. */ +@property(nonatomic, copy, nullable) NSString *text; + +/** + * Fields and values that can be used to populate the response template. + * + * Can be any valid JSON type. + */ +@property(nonatomic, strong, nullable) id value; + +@end + + +/** + * Result for a single candidate. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1CandidateResult : GTLRObject + +/** + * Optional. Additional results for the metric. + * + * Can be any valid JSON type. + */ +@property(nonatomic, strong, nullable) id additionalResults; + +/** + * Required. The candidate that is being evaluated. The value is the same as + * the candidate name in the EvaluationRequest. + */ +@property(nonatomic, copy, nullable) NSString *candidate; + +/** Optional. The explanation for the metric. */ +@property(nonatomic, copy, nullable) NSString *explanation; + +/** Required. The metric that was evaluated. */ +@property(nonatomic, copy, nullable) NSString *metric; + +/** Optional. The rubric verdicts for the metric. */ +@property(nonatomic, strong, nullable) NSArray *rubricVerdicts; + +/** + * Optional. The score for the metric. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +@end + + /** * Describes the machine learning model version checkpoint. */ @@ -12899,6 +13344,16 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet /** Input for groundedness metric. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GroundednessInput *groundednessInput; +/** The instance to be evaluated. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstance *instance; + +/** + * The metrics used for evaluation. Currently, we only support evaluating a + * single metric. If multiple metrics are provided, only the first one will be + * evaluated. + */ +@property(nonatomic, strong, nullable) NSArray *metrics; + /** Input for Metricx metric. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1MetricxInput *metricxInput; @@ -13006,6 +13461,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet /** Result for groundedness metric. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GroundednessResult *groundednessResult; +/** + * Metric results for each instance. The order of the metric results is + * guaranteed to be the same as the order of the instances in the request. + */ +@property(nonatomic, strong, nullable) NSArray *metricResults; + /** Result for Metricx metric. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1MetricxResult *metricxResult; @@ -13104,6 +13565,851 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet @end +/** + * A single instance to be evaluated. Instances are used to specify the input + * data for evaluation, from simple string comparisons to complex, multi-turn + * model evaluations + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstance : GTLRObject + +/** Optional. Other data used to populate placeholders based on their key. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstanceMapInstance *otherData; + +/** + * Optional. Data used to populate placeholder `prompt` in a metric prompt + * template. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstanceInstanceData *prompt; + +/** + * Optional. Data used to populate placeholder `reference` in a metric prompt + * template. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstanceInstanceData *reference; + +/** + * Required. Data used to populate placeholder `response` in a metric prompt + * template. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstanceInstanceData *response; + +/** + * Optional. Named groups of rubrics associated with the prompt. This is used + * for rubric-based evaluations where rubrics can be referenced by a key. The + * key could represent versions, associated metrics, etc. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstance_RubricGroups *rubricGroups; + +@end + + +/** + * Optional. Named groups of rubrics associated with the prompt. This is used + * for rubric-based evaluations where rubrics can be referenced by a key. The + * key could represent versions, associated metrics, etc. + * + * @note This class is documented as having more properties of + * GTLRAiplatform_GoogleCloudAiplatformV1RubricGroup. 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_GoogleCloudAiplatformV1EvaluationInstance_RubricGroups : GTLRObject +@end + + +/** + * Instance data used to populate placeholders in a metric prompt template. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstanceInstanceData : GTLRObject + +/** List of Gemini content data. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstanceInstanceDataContents *contents; + +/** Text data. */ +@property(nonatomic, copy, nullable) NSString *text; + +@end + + +/** + * List of standard Content messages from Gemini API. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstanceInstanceDataContents : GTLRObject + +/** Optional. Repeated contents. */ +@property(nonatomic, strong, nullable) NSArray *contents; + +@end + + +/** + * Instance data specified as a map. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstanceMapInstance : GTLRObject + +/** Optional. Map of instance data. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstanceMapInstance_MapInstance *mapInstance; + +@end + + +/** + * Optional. Map of instance data. + * + * @note This class is documented as having more properties of + * GTLRAiplatform_GoogleCloudAiplatformV1EvaluationInstanceInstanceData. + * 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_GoogleCloudAiplatformV1EvaluationInstanceMapInstance_MapInstance : GTLRObject +@end + + +/** + * EvaluationItem is a single evaluation request or result. The content of an + * EvaluationItem is immutable - it cannot be updated once created. + * EvaluationItems can be deleted when no longer needed. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem : GTLRObject + +/** Output only. Timestamp when this item was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Required. The display name of the EvaluationItem. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Output only. Error for the evaluation item. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleRpcStatus *error; + +/** + * Required. The type of the EvaluationItem. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem_EvaluationItemType_EvaluationItemTypeUnspecified + * The default value. This value is unused. (Value: + * "EVALUATION_ITEM_TYPE_UNSPECIFIED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem_EvaluationItemType_Request + * The EvaluationItem is a request to evaluate. (Value: "REQUEST") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem_EvaluationItemType_Result + * The EvaluationItem is the result of evaluation. (Value: "RESULT") + */ +@property(nonatomic, copy, nullable) NSString *evaluationItemType; + +/** The request to evaluate. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRequest *evaluationRequest; + +/** Output only. The response from evaluation. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationResult *evaluationResponse; + +/** The GCS object where the request or response is stored. */ +@property(nonatomic, copy, nullable) NSString *gcsUri; + +/** Optional. Labels for the EvaluationItem. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem_Labels *labels; + +/** + * Optional. Metadata for the EvaluationItem. + * + * Can be any valid JSON type. + */ +@property(nonatomic, strong, nullable) id metadata; + +/** + * Identifier. The resource name of the EvaluationItem. Format: + * `projects/{project}/locations/{location}/evaluationItems/{evaluation_item}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * Optional. Labels for the EvaluationItem. + * + * @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_GoogleCloudAiplatformV1EvaluationItem_Labels : GTLRObject +@end + + +/** + * Prompt to be evaluated. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationPrompt : GTLRObject + +/** Prompt template data. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData *promptTemplateData; + +/** Text prompt. */ +@property(nonatomic, copy, nullable) NSString *text; + +/** + * Fields and values that can be used to populate the prompt template. + * + * Can be any valid JSON type. + */ +@property(nonatomic, strong, nullable) id value; + +@end + + +/** + * Message to hold a prompt template and the values to populate the template. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData : GTLRObject + +/** The values for fields in the prompt template. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData_Values *values; + +@end + + +/** + * The values for fields in the prompt template. + * + * @note This class is documented as having more properties of + * GTLRAiplatform_GoogleCloudAiplatformV1Content. 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_GoogleCloudAiplatformV1EvaluationPromptPromptTemplateData_Values : GTLRObject +@end + + +/** + * Single evaluation request. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRequest : GTLRObject + +/** + * Optional. Responses from model under test and other baseline models for + * comparison. + */ +@property(nonatomic, strong, nullable) NSArray *candidateResponses; + +/** Optional. The Ideal response or ground truth. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1CandidateResponse *goldenResponse; + +/** Required. The request/prompt to evaluate. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationPrompt *prompt; + +/** + * Optional. Named groups of rubrics associated with this prompt. The key is a + * user-defined name for the rubric group. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRequest_Rubrics *rubrics; + +@end + + +/** + * Optional. Named groups of rubrics associated with this prompt. The key is a + * user-defined name for the rubric group. + * + * @note This class is documented as having more properties of + * GTLRAiplatform_GoogleCloudAiplatformV1RubricGroup. 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_GoogleCloudAiplatformV1EvaluationRequest_Rubrics : GTLRObject +@end + + +/** + * Evaluation result. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationResult : GTLRObject + +/** Optional. The results for the metric. */ +@property(nonatomic, strong, nullable) NSArray *candidateResults; + +/** + * Required. The request item that was evaluated. Format: + * projects/{project}/locations/{location}/evaluationItems/{evaluation_item} + */ +@property(nonatomic, copy, nullable) NSString *evaluationRequest; + +/** + * Required. The evaluation run that was used to generate the result. Format: + * projects/{project}/locations/{location}/evaluationRuns/{evaluation_run} + */ +@property(nonatomic, copy, nullable) NSString *evaluationRun; + +/** + * Optional. Metadata about the evaluation result. + * + * Can be any valid JSON type. + */ +@property(nonatomic, strong, nullable) id metadata; + +/** Required. The metric that was evaluated. */ +@property(nonatomic, copy, nullable) NSString *metric; + +/** Required. The request that was evaluated. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRequest *request; + +@end + + +/** + * The results of the evaluation run. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationResults : GTLRObject + +/** The evaluation set where item level results are stored. */ +@property(nonatomic, copy, nullable) NSString *evaluationSet; + +/** Optional. The summary metrics for the evaluation run. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1SummaryMetrics *summaryMetrics; + +@end + + +/** + * Configuration for a rubric group to be generated/saved for evaluation. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRubricConfig : GTLRObject + +/** Dynamically generate rubrics using a predefined spec. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec *predefinedRubricGenerationSpec; + +/** Dynamically generate rubrics using this specification. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec *rubricGenerationSpec; + +/** + * Required. The key used to save the generated rubrics. If a generation spec + * is provided, this key will be used for the name of the generated rubric + * group. Otherwise, this key will be used to look up the existing rubric group + * on the evaluation item. Note that if a rubric group key is specified on both + * a rubric config and an evaluation metric, the key from the metric will be + * used to select the rubrics for evaluation. + */ +@property(nonatomic, copy, nullable) NSString *rubricGroupKey; + +@end + + +/** + * EvaluationRun is a resource that represents a single evaluation run, which + * includes a set of prompts, model responses, evaluation configuration and the + * resulting metrics. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun : GTLRObject + +/** Output only. Time when the evaluation run was completed. */ +@property(nonatomic, strong, nullable) GTLRDateTime *completionTime; + +/** Output only. Time when the evaluation run was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Required. The data source for the evaluation run. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunDataSource *dataSource; + +/** Required. The display name of the Evaluation Run. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Output only. Only populated when the evaluation run's state is FAILED or + * CANCELLED. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleRpcStatus *error; + +/** Required. The configuration used for the evaluation. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunEvaluationConfig *evaluationConfig; + +/** + * Output only. The results of the evaluation run. Only populated when the + * evaluation run's state is SUCCEEDED. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationResults *evaluationResults; + +/** + * Output only. The specific evaluation set of the evaluation run. For runs + * with an evaluation set input, this will be that same set. For runs with + * BigQuery input, it's the sampled BigQuery dataset. + */ +@property(nonatomic, copy, nullable) NSString *evaluationSetSnapshot; + +/** + * Optional. The candidate to inference config map for the evaluation run. The + * candidate can be up to 128 characters long and can consist of any UTF-8 + * characters. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_InferenceConfigs *inferenceConfigs; + +/** Optional. Labels for the evaluation run. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_Labels *labels; + +/** + * Optional. Metadata about the evaluation run, can be used by the caller to + * store additional tracking information about the evaluation run. + * + * Can be any valid JSON type. + */ +@property(nonatomic, strong, nullable) id metadata; + +/** + * Identifier. The resource name of the EvaluationRun. This is a unique + * identifier. Format: + * `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The state of the evaluation run. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_State_Cancelled + * The evaluation run has been cancelled. (Value: "CANCELLED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_State_Failed + * The evaluation run has failed. (Value: "FAILED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_State_GeneratingRubrics + * The evaluation run is performing rubric generation. (Value: + * "GENERATING_RUBRICS") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_State_Inference + * The evaluation run is performing inference. (Value: "INFERENCE") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_State_Pending + * The evaluation run is pending. (Value: "PENDING") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_State_Running + * The evaluation run is running. (Value: "RUNNING") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_State_StateUnspecified + * Unspecified state. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun_State_Succeeded + * The evaluation run has succeeded. (Value: "SUCCEEDED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + +/** + * Optional. The candidate to inference config map for the evaluation run. The + * candidate can be up to 128 characters long and can consist of any UTF-8 + * characters. + * + * @note This class is documented as having more properties of + * GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunInferenceConfig. + * 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_GoogleCloudAiplatformV1EvaluationRun_InferenceConfigs : GTLRObject +@end + + +/** + * Optional. Labels for the evaluation run. + * + * @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_GoogleCloudAiplatformV1EvaluationRun_Labels : GTLRObject +@end + + +/** + * The data source for the evaluation run. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunDataSource : GTLRObject + +/** Evaluation data in bigquery. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1BigQueryRequestSet *bigqueryRequestSet; + +/** + * The EvaluationSet resource name. Format: + * `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` + */ +@property(nonatomic, copy, nullable) NSString *evaluationSet; + +@end + + +/** + * The Evalution configuration used for the evaluation run. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunEvaluationConfig : GTLRObject + +/** Optional. The autorater config for the evaluation run. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig *autoraterConfig; + +/** Required. The metrics to be calculated in the evaluation run. */ +@property(nonatomic, strong, nullable) NSArray *metrics; + +/** Optional. The output config for the evaluation run. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunEvaluationConfigOutputConfig *outputConfig; + +/** + * The prompt template used for inference. The values for variables in the + * prompt template are defined in + * EvaluationItem.EvaluationPrompt.PromptTemplateData.values. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunEvaluationConfigPromptTemplate *promptTemplate; + +/** + * Optional. The rubric configs for the evaluation run. They are used to + * generate rubrics which can be used by rubric-based metrics. Multiple rubric + * configs can be specified for rubric generation but only one rubric config + * can be used for a rubric-based metric. If more than one rubric config is + * provided, the evaluation metric must specify a rubric group key. Note that + * if a generation spec is specified on both a rubric config and an evaluation + * metric, the rubrics generated for the metric will be used for evaluation. + */ +@property(nonatomic, strong, nullable) NSArray *rubricConfigs; + +@end + + +/** + * The autorater config used for the evaluation run. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig : GTLRObject + +/** + * Optional. The fully qualified name of the publisher model or tuned autorater + * endpoint to use. Publisher model format: + * `projects/{project}/locations/{location}/publishers/ * /models/ *` Tuned + * model endpoint format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}` + */ +@property(nonatomic, copy, nullable) NSString *autoraterModel; + +/** Optional. Configuration options for model generation and outputs. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig *generationConfig; + +/** + * Optional. Number of samples for each instance in the dataset. If not + * specified, the default is 4. Minimum value is 1, maximum value is 32. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *sampleCount; + +@end + + +/** + * The output config for the evaluation run. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunEvaluationConfigOutputConfig : GTLRObject + +/** BigQuery destination for evaluation output. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1BigQueryDestination *bigqueryDestination; + +/** Cloud Storage destination for evaluation output. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GcsDestination *gcsDestination; + +@end + + +/** + * Prompt template used for inference. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunEvaluationConfigPromptTemplate : GTLRObject + +/** + * Prompt template stored in Cloud Storage. Format: + * "gs://my-bucket/file-name.txt". + */ +@property(nonatomic, copy, nullable) NSString *gcsUri; + +/** + * Inline prompt template. Template variables should be in the format + * "{var_name}". Example: "Translate the following from {source_lang} to + * {target_lang}: {text}" + */ +@property(nonatomic, copy, nullable) NSString *promptTemplate; + +@end + + +/** + * An inference config used for model inference during the evaluation run. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunInferenceConfig : GTLRObject + +/** Optional. Generation config. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig *generationConfig; + +/** + * Required. The fully qualified name of the publisher model or endpoint to + * use. Publisher model format: + * `projects/{project}/locations/{location}/publishers/ * /models/ *` Endpoint + * format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + */ +@property(nonatomic, copy, nullable) NSString *model; + +@end + + +/** + * The metric used for evaluation runs. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetric : GTLRObject + +/** Spec for a computation based metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec *computationBasedMetricSpec; + +/** Spec for an LLM based metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec *llmBasedMetricSpec; + +/** Required. The name of the metric. */ +@property(nonatomic, copy, nullable) NSString *metric; + +/** Spec for a pre-defined metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec *predefinedMetricSpec; + +/** Spec for rubric based metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpec *rubricBasedMetricSpec; + +@end + + +/** + * Specification for a computation based metric. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec : GTLRObject + +/** + * Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec_Parameters *parameters; + +/** + * Required. The type of the computation based metric. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec_Type_Bleu + * BLEU metric. (Value: "BLEU") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec_Type_ComputationBasedMetricTypeUnspecified + * Unspecified computation based metric type. (Value: + * "COMPUTATION_BASED_METRIC_TYPE_UNSPECIFIED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec_Type_ExactMatch + * Exact match metric. (Value: "EXACT_MATCH") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec_Type_Rouge + * ROUGE metric. (Value: "ROUGE") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}. + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec_Parameters : GTLRObject +@end + + +/** + * Specification for an LLM based metric. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec : GTLRObject + +/** Optional. Optional additional configuration for the metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec_AdditionalConfig *additionalConfig; + +/** Optional. Optional configuration for the judge LLM (Autorater). */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig *judgeAutoraterConfig; + +/** Required. Template for the prompt sent to the judge model. */ +@property(nonatomic, copy, nullable) NSString *metricPromptTemplate; + +/** Dynamically generate rubrics using a predefined spec. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec *predefinedRubricGenerationSpec; + +/** Dynamically generate rubrics using this specification. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec *rubricGenerationSpec; + +/** + * Use a pre-defined group of rubrics associated with the input. Refers to a + * key in the rubric_groups map of EvaluationInstance. + */ +@property(nonatomic, copy, nullable) NSString *rubricGroupKey; + +/** Optional. System instructions for the judge model. */ +@property(nonatomic, copy, nullable) NSString *systemInstruction; + +@end + + +/** + * Optional. Optional additional configuration for the metric. + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricLLMBasedMetricSpec_AdditionalConfig : GTLRObject +@end + + +/** + * Specification for a pre-defined metric. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec : GTLRObject + +/** + * Required. The name of a pre-defined metric, such as + * "instruction_following_v1" or "text_quality_v1". + */ +@property(nonatomic, copy, nullable) NSString *metricSpecName; + +/** Optional. The parameters needed to run the pre-defined metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec_Parameters *parameters; + +@end + + +/** + * Optional. The parameters needed to run the pre-defined metric. + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricPredefinedMetricSpec_Parameters : GTLRObject +@end + + +/** + * Specification for a metric that is based on rubrics. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpec : GTLRObject + +/** Use rubrics provided directly in the spec. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpecRepeatedRubrics *inlineRubrics; + +/** + * Optional. Optional configuration for the judge LLM (Autorater). The + * definition of AutoraterConfig needs to be provided. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig *judgeAutoraterConfig; + +/** + * Optional. Template for the prompt used by the judge model to evaluate + * against rubrics. + */ +@property(nonatomic, copy, nullable) NSString *metricPromptTemplate; + +/** Dynamically generate rubrics for evaluation using this specification. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec *rubricGenerationSpec; + +/** + * Use a pre-defined group of rubrics associated with the input content. This + * refers to a key in the `rubric_groups` map of `RubricEnhancedContents`. + */ +@property(nonatomic, copy, nullable) NSString *rubricGroupKey; + +@end + + +/** + * Defines a list of rubrics, used when providing rubrics inline. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpecRepeatedRubrics : GTLRObject + +/** The list of rubrics. */ +@property(nonatomic, strong, nullable) NSArray *rubrics; + +@end + + +/** + * Specification for how rubrics should be generated. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec : GTLRObject + +/** + * Optional. Configuration for the model used in rubric generation. Configs + * including sampling count and base model can be specified here. Flipping is + * not supported for rubric generation. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig *modelConfig; + +/** + * Optional. Template for the prompt used to generate rubrics. The details + * should be updated based on the most-recent recipe requirements. + */ +@property(nonatomic, copy, nullable) NSString *promptTemplate; + +/** + * Optional. The type of rubric content to be generated. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec_RubricContentType_NlQuestionAnswer + * Generate rubrics in an NL question answer format. (Value: + * "NL_QUESTION_ANSWER") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec_RubricContentType_Property + * Generate rubrics based on properties. (Value: "PROPERTY") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec_RubricContentType_PythonCodeAssertion + * Generate rubrics in a unit test format. (Value: + * "PYTHON_CODE_ASSERTION") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1EvaluationRunMetricRubricGenerationSpec_RubricContentType_RubricContentTypeUnspecified + * The content type to generate is not specified. (Value: + * "RUBRIC_CONTENT_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *rubricContentType; + +/** + * Optional. An optional, pre-defined list of allowed types for generated + * rubrics. If this field is provided, it implies `include_rubric_type` should + * be true, and the generated rubric types should be chosen from this ontology. + */ +@property(nonatomic, strong, nullable) NSArray *rubricTypeOntology; + +@end + + +/** + * EvaluationSet is a collection of related EvaluationItems that are evaluated + * together. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1EvaluationSet : GTLRObject + +/** Output only. Timestamp when this item was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Required. The display name of the EvaluationSet. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Required. The EvaluationItems that are part of this dataset. */ +@property(nonatomic, strong, nullable) NSArray *evaluationItems; + +/** + * Optional. Metadata for the EvaluationSet. + * + * Can be any valid JSON type. + */ +@property(nonatomic, strong, nullable) id metadata; + +/** + * Identifier. The resource name of the EvaluationSet. Format: + * `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. Timestamp when this item was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * An edge describing the relationship between an Artifact and an Execution in * a lineage graph. @@ -17425,6 +18731,86 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet @end +/** + * Request message for EvaluationService.GenerateInstanceRubrics. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1GenerateInstanceRubricsRequest : GTLRObject + +/** + * Required. The prompt to generate rubrics from. For single-turn queries, this + * is a single instance. For multi-turn queries, this is a repeated field that + * contains conversation history + latest request. + */ +@property(nonatomic, strong, nullable) NSArray *contents; + +/** + * Optional. Specification for using the rubric generation configs of a + * pre-defined metric, e.g. "generic_quality_v1" and + * "instruction_following_v1". Some of the configs may be only used in rubric + * generation and not supporting evaluation, e.g. + * "fully_customized_generic_quality_v1". If this field is set, the + * `rubric_generation_spec` field will be ignored. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1PredefinedMetricSpec *predefinedRubricGenerationSpec; + +/** Optional. Specification for how the rubrics should be generated. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1RubricGenerationSpec *rubricGenerationSpec; + +@end + + +/** + * Response message for EvaluationService.GenerateInstanceRubrics. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1GenerateInstanceRubricsResponse : GTLRObject + +/** Output only. A list of generated rubrics. */ +@property(nonatomic, strong, nullable) NSArray *generatedRubrics; + +@end + + +/** + * Request message for DataFoundryService.GenerateSyntheticData. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1GenerateSyntheticDataRequest : GTLRObject + +/** + * Required. The number of synthetic examples to generate. For this stateless + * API, the count is limited to a small number. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *count; + +/** + * Optional. A list of few-shot examples to guide the model's output style and + * format. + */ +@property(nonatomic, strong, nullable) NSArray *examples; + +/** + * Required. The schema of the desired output, defined by a list of fields. + */ +@property(nonatomic, strong, nullable) NSArray *outputFieldSpecs; + +/** Generate data from a high-level task description. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1TaskDescriptionStrategy *taskDescription; + +@end + + +/** + * The response containing the generated data. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1GenerateSyntheticDataResponse : GTLRObject + +/** A list of generated synthetic examples. */ +@property(nonatomic, strong, nullable) NSArray *syntheticExamples; + +@end + + /** * Generate video response. */ @@ -19772,6 +21158,78 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet @end +/** + * Response message for EvaluationManagementService.ListEvaluationItems. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "evaluationItems" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ListEvaluationItemsResponse : GTLRCollectionObject + +/** + * List of EvaluationItems in the requested page. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *evaluationItems; + +/** A token to retrieve the next page of results. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * Response message for EvaluationManagementService.ListEvaluationRuns. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "evaluationRuns" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ListEvaluationRunsResponse : GTLRCollectionObject + +/** + * List of EvaluationRuns in the requested page. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *evaluationRuns; + +/** A token to retrieve the next page of results. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * Response message for EvaluationManagementService.ListEvaluationSets. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "evaluationSets" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ListEvaluationSetsResponse : GTLRCollectionObject + +/** + * List of EvaluationSets in the requested page. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *evaluationSets; + +/** A token to retrieve the next page of results. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * Response message for MetadataService.ListExecutions. * @@ -21239,12 +22697,40 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet /** Spec for pointwise metric. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1PointwiseMetricSpec *pointwiseMetricSpec; +/** The spec for a pre-defined metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1PredefinedMetricSpec *predefinedMetricSpec; + /** Spec for rouge metric. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1RougeSpec *rougeSpec; @end +/** + * Result for a single metric on a single instance. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1MetricResult : GTLRObject + +/** Output only. The error status for the metric result. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleRpcStatus *error; + +/** Output only. The explanation for the metric result. */ +@property(nonatomic, copy, nullable) NSString *explanation; + +/** Output only. For rubric-based metrics, the verdicts for each rubric. */ +@property(nonatomic, strong, nullable) NSArray *rubricVerdicts; + +/** + * Output only. The score for the metric. Please refer to each metric's + * documentation for the meaning of the score. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +@end + + /** * Input for MetricX metric. */ @@ -25003,6 +26489,42 @@ GTLR_DEPRECATED @end +/** + * Defines a specification for a single output field. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1OutputFieldSpec : GTLRObject + +/** Required. The name of the output field. */ +@property(nonatomic, copy, nullable) NSString *fieldName; + +/** + * Optional. The data type of the field. Defaults to CONTENT if not set. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1OutputFieldSpec_FieldType_Audio + * Audio field type. (Value: "AUDIO") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1OutputFieldSpec_FieldType_Content + * Arbitrary content field type. (Value: "CONTENT") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1OutputFieldSpec_FieldType_FieldTypeUnspecified + * Field type is unspecified. (Value: "FIELD_TYPE_UNSPECIFIED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1OutputFieldSpec_FieldType_Image + * Image field type. (Value: "IMAGE") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1OutputFieldSpec_FieldType_Text + * Text field type. (Value: "TEXT") + */ +@property(nonatomic, copy, nullable) NSString *fieldType; + +/** + * Optional. Optional, but recommended. Additional guidance specific to this + * field to provide targeted instructions for the LLM to generate the content + * of a single output field. While the LLM can sometimes infer content from the + * field name, providing explicit guidance is preferred. + */ +@property(nonatomic, copy, nullable) NSString *guidance; + +@end + + /** * Input for pairwise metric. */ @@ -26289,6 +27811,35 @@ GTLR_DEPRECATED @end +/** + * The spec for a pre-defined metric. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1PredefinedMetricSpec : GTLRObject + +/** + * Required. The name of a pre-defined metric, such as + * "instruction_following_v1" or "text_quality_v1". + */ +@property(nonatomic, copy, nullable) NSString *metricSpecName; + +/** Optional. The parameters needed to run the pre-defined metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1PredefinedMetricSpec_MetricSpecParameters *metricSpecParameters; + +@end + + +/** + * Optional. The parameters needed to run the pre-defined metric. + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1PredefinedMetricSpec_MetricSpecParameters : GTLRObject +@end + + /** * Assigns input data to training, validation, and test sets based on the value * of a provided key. Supported only for tabular Datasets. @@ -28913,6 +30464,9 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *ETag; +/** Labels for the ReasoningEngine. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngine_Labels *labels; + /** * Identifier. The resource name of the ReasoningEngine. Format: * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` @@ -28930,6 +30484,18 @@ GTLR_DEPRECATED @end +/** + * Labels for the ReasoningEngine. + * + * @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_GoogleCloudAiplatformV1ReasoningEngine_Labels : GTLRObject +@end + + /** * ReasoningEngine configurations */ @@ -29602,6 +31168,47 @@ GTLR_DEPRECATED @end +/** + * Message representing a single testable criterion for evaluation. One input + * prompt could have multiple rubrics. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1Rubric : GTLRObject + +/** Required. The actual testable criteria for the rubric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1RubricContent *content; + +/** + * Optional. The relative importance of this rubric. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Rubric_Importance_High High + * importance. (Value: "HIGH") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Rubric_Importance_ImportanceUnspecified + * Importance is not specified. (Value: "IMPORTANCE_UNSPECIFIED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Rubric_Importance_Low Low + * importance. (Value: "LOW") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Rubric_Importance_Medium + * Medium importance. (Value: "MEDIUM") + */ +@property(nonatomic, copy, nullable) NSString *importance; + +/** + * Unique identifier for the rubric. This ID is used to refer to this rubric, + * e.g., in RubricVerdict. + */ +@property(nonatomic, copy, nullable) NSString *rubricId; + +/** + * Optional. A type designator for the rubric, which can inform how it's + * evaluated or interpreted by systems or users. It's recommended to use + * consistent, well-defined, upper snake_case strings. Examples: + * "SUMMARIZATION_QUALITY", "SAFETY_HARMFUL_CONTENT", "INSTRUCTION_ADHERENCE". + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + /** * Instance and metric spec for RubricBasedInstructionFollowing metric. */ @@ -29658,6 +31265,33 @@ GTLR_DEPRECATED @end +/** + * Content of the rubric, defining the testable criteria. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1RubricContent : GTLRObject + +/** Evaluation criteria based on a specific property. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1RubricContentProperty *property; + +@end + + +/** + * Defines criteria based on a specific property. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1RubricContentProperty : GTLRObject + +/** + * Description of the property being evaluated. Example: "The model's response + * is grammatically correct." + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +@end + + /** * Rubric critique result. */ @@ -29677,6 +31311,104 @@ GTLR_DEPRECATED @end +/** + * Specification for how rubrics should be generated. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1RubricGenerationSpec : GTLRObject + +/** + * Configuration for the model used in rubric generation. Configs including + * sampling count and base model can be specified here. Flipping is not + * supported for rubric generation. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1AutoraterConfig *modelConfig; + +/** + * Template for the prompt used to generate rubrics. The details should be + * updated based on the most-recent recipe requirements. + */ +@property(nonatomic, copy, nullable) NSString *promptTemplate; + +/** + * The type of rubric content to be generated. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1RubricGenerationSpec_RubricContentType_NlQuestionAnswer + * Generate rubrics in an NL question answer format. (Value: + * "NL_QUESTION_ANSWER") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1RubricGenerationSpec_RubricContentType_Property + * Generate rubrics based on properties. (Value: "PROPERTY") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1RubricGenerationSpec_RubricContentType_PythonCodeAssertion + * Generate rubrics in a unit test format. (Value: + * "PYTHON_CODE_ASSERTION") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1RubricGenerationSpec_RubricContentType_RubricContentTypeUnspecified + * The content type to generate is not specified. (Value: + * "RUBRIC_CONTENT_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *rubricContentType; + +/** + * Optional. An optional, pre-defined list of allowed types for generated + * rubrics. If this field is provided, it implies `include_rubric_type` should + * be true, and the generated rubric types should be chosen from this ontology. + */ +@property(nonatomic, strong, nullable) NSArray *rubricTypeOntology; + +@end + + +/** + * A group of rubrics, used for grouping rubrics based on a metric or a + * version. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1RubricGroup : GTLRObject + +/** + * Human-readable name for the group. This should be unique within a given + * context if used for display or selection. Example: "Instruction Following + * V1", "Content Quality - Summarization Task". + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Unique identifier for the group. */ +@property(nonatomic, copy, nullable) NSString *groupId; + +/** Rubrics that are part of this group. */ +@property(nonatomic, strong, nullable) NSArray *rubrics; + +@end + + +/** + * Represents the verdict of an evaluation against a single rubric. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1RubricVerdict : GTLRObject + +/** + * Required. The full rubric definition that was evaluated. Storing this + * ensures the verdict is self-contained and understandable, especially if the + * original rubric definition changes or was dynamically generated. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Rubric *evaluatedRubric; + +/** + * Optional. Human-readable reasoning or explanation for the verdict. This can + * include specific examples or details from the evaluated content that justify + * the given verdict. + */ +@property(nonatomic, copy, nullable) NSString *reasoning; + +/** + * Required. Outcome of the evaluation against the rubric, represented as a + * boolean. `true` indicates a "Pass", `false` indicates a "Fail". + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *verdict; + +@end + + /** * Input for safety metric. */ @@ -37864,6 +39596,43 @@ GTLR_DEPRECATED @end +/** + * The summary metrics for the evaluation run. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1SummaryMetrics : GTLRObject + +/** + * Optional. The number of items that failed to be evaluated. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *failedItems; + +/** Optional. Map of metric name to metric value. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1SummaryMetrics_Metrics *metrics; + +/** + * Optional. The total number of items that were evaluated. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *totalItems; + +@end + + +/** + * Optional. Map of metric name to metric value. + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1SummaryMetrics_Metrics : GTLRObject +@end + + /** * Hyperparameters for SFT. */ @@ -38140,6 +39909,46 @@ GTLR_DEPRECATED @end +/** + * Represents a single synthetic example, composed of multiple fields. Used for + * providing few-shot examples in the request and for returning generated + * examples in the response. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1SyntheticExample : GTLRObject + +/** Required. A list of fields that constitute an example. */ +@property(nonatomic, strong, nullable) NSArray *fields; + +@end + + +/** + * Represents a single named field within a SyntheticExample. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1SyntheticField : GTLRObject + +/** Required. The content of the field. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Content *content; + +/** Optional. The name of the field. */ +@property(nonatomic, copy, nullable) NSString *fieldName; + +@end + + +/** + * Defines a generation strategy based on a high-level task description. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TaskDescriptionStrategy : GTLRObject + +/** + * Required. A high-level description of the synthetic data to be generated. + */ +@property(nonatomic, copy, nullable) NSString *taskDescription; + +@end + + /** * A tensor value type. */ diff --git a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h index 71c2d5627..e7438a35a 100644 --- a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h +++ b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h @@ -5719,6 +5719,537 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * Creates an Evaluation Item. + * + * Method: aiplatform.projects.locations.evaluationItems.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEvaluationItemsCreate : GTLRAiplatformQuery + +/** + * Required. The resource name of the Location to create the Evaluation Item + * in. Format: `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem. + * + * Creates an Evaluation Item. + * + * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem to + * include in the query. + * @param parent Required. The resource name of the Location to create the + * Evaluation Item in. Format: `projects/{project}/locations/{location}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsEvaluationItemsCreate + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes an Evaluation Item. + * + * Method: aiplatform.projects.locations.evaluationItems.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEvaluationItemsDelete : GTLRAiplatformQuery + +/** + * Required. The name of the EvaluationItem resource to be deleted. Format: + * `projects/{project}/locations/{location}/evaluationItems/{evaluation_item}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Deletes an Evaluation Item. + * + * @param name Required. The name of the EvaluationItem resource to be deleted. + * Format: + * `projects/{project}/locations/{location}/evaluationItems/{evaluation_item}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsEvaluationItemsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets an Evaluation Item. + * + * Method: aiplatform.projects.locations.evaluationItems.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEvaluationItemsGet : GTLRAiplatformQuery + +/** + * Required. The name of the EvaluationItem resource. Format: + * `projects/{project}/locations/{location}/evaluationItems/{evaluation_item}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1EvaluationItem. + * + * Gets an Evaluation Item. + * + * @param name Required. The name of the EvaluationItem resource. Format: + * `projects/{project}/locations/{location}/evaluationItems/{evaluation_item}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsEvaluationItemsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists Evaluation Items. + * + * Method: aiplatform.projects.locations.evaluationItems.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEvaluationItemsList : GTLRAiplatformQuery + +/** + * Optional. Filter expression that matches a subset of the EvaluationItems to + * show. For field names both snake_case and camelCase are supported. For more + * information about filter syntax, see [AIP-160](https://google.aip.dev/160). + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. A comma-separated list of fields to order by, sorted in ascending + * order by default. Use `desc` after a field name for descending. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** Optional. The maximum number of Evaluation Items to return. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListEvaluationItems` call. + * Provide this to retrieve the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource name of the Location from which to list the + * Evaluation Items. Format: `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRAiplatform_GoogleCloudAiplatformV1ListEvaluationItemsResponse. + * + * Lists Evaluation Items. + * + * @param parent Required. The resource name of the Location from which to list + * the Evaluation Items. Format: `projects/{project}/locations/{location}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsEvaluationItemsList + * + * @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 + +/** + * Cancels an Evaluation Run. Attempts to cancel a running Evaluation Run + * asynchronously. Status of run can be checked via GetEvaluationRun. + * + * Method: aiplatform.projects.locations.evaluationRuns.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEvaluationRunsCancel : GTLRAiplatformQuery + +/** + * Required. The name of the EvaluationRun resource to be cancelled. Format: + * `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleProtobufEmpty. + * + * Cancels an Evaluation Run. Attempts to cancel a running Evaluation Run + * asynchronously. Status of run can be checked via GetEvaluationRun. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1CancelEvaluationRunRequest to + * include in the query. + * @param name Required. The name of the EvaluationRun resource to be + * cancelled. Format: + * `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsEvaluationRunsCancel + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1CancelEvaluationRunRequest *)object + name:(NSString *)name; + +@end + +/** + * Creates an Evaluation Run. + * + * Method: aiplatform.projects.locations.evaluationRuns.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEvaluationRunsCreate : GTLRAiplatformQuery + +/** + * Required. The resource name of the Location to create the Evaluation Run in. + * Format: `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun. + * + * Creates an Evaluation Run. + * + * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun to + * include in the query. + * @param parent Required. The resource name of the Location to create the + * Evaluation Run in. Format: `projects/{project}/locations/{location}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsEvaluationRunsCreate + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes an Evaluation Run. + * + * Method: aiplatform.projects.locations.evaluationRuns.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEvaluationRunsDelete : GTLRAiplatformQuery + +/** + * Required. The name of the EvaluationRun resource to be deleted. Format: + * `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Deletes an Evaluation Run. + * + * @param name Required. The name of the EvaluationRun resource to be deleted. + * Format: + * `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsEvaluationRunsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets an Evaluation Run. + * + * Method: aiplatform.projects.locations.evaluationRuns.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEvaluationRunsGet : GTLRAiplatformQuery + +/** + * Required. The name of the EvaluationRun resource. Format: + * `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1EvaluationRun. + * + * Gets an Evaluation Run. + * + * @param name Required. The name of the EvaluationRun resource. Format: + * `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsEvaluationRunsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists Evaluation Runs. + * + * Method: aiplatform.projects.locations.evaluationRuns.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEvaluationRunsList : GTLRAiplatformQuery + +/** + * Optional. Filter expression that matches a subset of the EvaluationRuns to + * show. For field names both snake_case and camelCase are supported. For more + * information about filter syntax, see [AIP-160](https://google.aip.dev/160). + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. A comma-separated list of fields to order by, sorted in ascending + * order by default. Use `desc` after a field name for descending. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** Optional. The maximum number of Evaluation Runs to return. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListEvaluationRuns` call. + * Provide this to retrieve the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource name of the Location from which to list the + * Evaluation Runs. Format: `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRAiplatform_GoogleCloudAiplatformV1ListEvaluationRunsResponse. + * + * Lists Evaluation Runs. + * + * @param parent Required. The resource name of the Location from which to list + * the Evaluation Runs. Format: `projects/{project}/locations/{location}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsEvaluationRunsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Creates an Evaluation Set. + * + * Method: aiplatform.projects.locations.evaluationSets.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEvaluationSetsCreate : GTLRAiplatformQuery + +/** + * Required. The resource name of the Location to create the Evaluation Set in. + * Format: `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1EvaluationSet. + * + * Creates an Evaluation Set. + * + * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1EvaluationSet to + * include in the query. + * @param parent Required. The resource name of the Location to create the + * Evaluation Set in. Format: `projects/{project}/locations/{location}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsEvaluationSetsCreate + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1EvaluationSet *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes an Evaluation Set. + * + * Method: aiplatform.projects.locations.evaluationSets.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEvaluationSetsDelete : GTLRAiplatformQuery + +/** + * Required. The name of the EvaluationSet resource to be deleted. Format: + * `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Deletes an Evaluation Set. + * + * @param name Required. The name of the EvaluationSet resource to be deleted. + * Format: + * `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsEvaluationSetsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets an Evaluation Set. + * + * Method: aiplatform.projects.locations.evaluationSets.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEvaluationSetsGet : GTLRAiplatformQuery + +/** + * Required. The name of the EvaluationSet resource. Format: + * `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1EvaluationSet. + * + * Gets an Evaluation Set. + * + * @param name Required. The name of the EvaluationSet resource. Format: + * `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsEvaluationSetsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists Evaluation Sets. + * + * Method: aiplatform.projects.locations.evaluationSets.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEvaluationSetsList : GTLRAiplatformQuery + +/** + * Optional. Filter expression that matches a subset of the EvaluationSets to + * show. For field names both snake_case and camelCase are supported. For more + * information about filter syntax, see [AIP-160](https://google.aip.dev/160). + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. A comma-separated list of fields to order by, sorted in ascending + * order by default. Use `desc` after a field name for descending. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** Optional. The maximum number of Evaluation Sets to return. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListEvaluationSets` call. + * Provide this to retrieve the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource name of the Location from which to list the + * Evaluation Sets. Format: `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRAiplatform_GoogleCloudAiplatformV1ListEvaluationSetsResponse. + * + * Lists Evaluation Sets. + * + * @param parent Required. The resource name of the Location from which to list + * the Evaluation Sets. Format: `projects/{project}/locations/{location}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsEvaluationSetsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates an Evaluation Set. + * + * Method: aiplatform.projects.locations.evaluationSets.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsEvaluationSetsPatch : GTLRAiplatformQuery + +/** + * Identifier. The resource name of the EvaluationSet. Format: + * `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The update mask applies to the resource. For the `FieldMask` + * definition, see google.protobuf.FieldMask. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1EvaluationSet. + * + * Updates an Evaluation Set. + * + * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1EvaluationSet to + * include in the query. + * @param name Identifier. The resource name of the EvaluationSet. Format: + * `projects/{project}/locations/{location}/evaluationSets/{evaluation_set}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsEvaluationSetsPatch + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1EvaluationSet *)object + name:(NSString *)name; + +@end + /** * Creates a new FeatureGroup in a given project and location. * @@ -10024,6 +10555,82 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * Generates rubrics for a given prompt. A rubric represents a single testable + * criterion for evaluation. One input prompt could have multiple rubrics This + * RPC allows users to get suggested rubrics based on provided prompt, which + * can then be reviewed and used for subsequent evaluations. + * + * Method: aiplatform.projects.locations.generateInstanceRubrics + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsGenerateInstanceRubrics : GTLRAiplatformQuery + +/** + * Required. The resource name of the Location to generate rubrics from. + * Format: `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *location; + +/** + * Fetches a @c + * GTLRAiplatform_GoogleCloudAiplatformV1GenerateInstanceRubricsResponse. + * + * Generates rubrics for a given prompt. A rubric represents a single testable + * criterion for evaluation. One input prompt could have multiple rubrics This + * RPC allows users to get suggested rubrics based on provided prompt, which + * can then be reviewed and used for subsequent evaluations. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1GenerateInstanceRubricsRequest to + * include in the query. + * @param location Required. The resource name of the Location to generate + * rubrics from. Format: `projects/{project}/locations/{location}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsGenerateInstanceRubrics + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1GenerateInstanceRubricsRequest *)object + location:(NSString *)location; + +@end + +/** + * Generates synthetic data based on the provided configuration. + * + * Method: aiplatform.projects.locations.generateSyntheticData + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsGenerateSyntheticData : GTLRAiplatformQuery + +/** + * Required. The resource name of the Location to run the job. Format: + * `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *location; + +/** + * Fetches a @c + * GTLRAiplatform_GoogleCloudAiplatformV1GenerateSyntheticDataResponse. + * + * Generates synthetic data based on the provided configuration. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1GenerateSyntheticDataRequest to + * include in the query. + * @param location Required. The resource name of the Location to run the job. + * Format: `projects/{project}/locations/{location}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsGenerateSyntheticData + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1GenerateSyntheticDataRequest *)object + location:(NSString *)location; + +@end + /** * Gets information about a location. * @@ -11525,8 +12132,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @interface GTLRAiplatformQuery_ProjectsLocationsList : GTLRAiplatformQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubObjects.m b/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubObjects.m index 63dbd0d48..5396802c2 100644 --- a/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubObjects.m +++ b/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubObjects.m @@ -73,6 +73,15 @@ NSString * const kGTLRAnalyticsHub_QueryTemplate_State_Pending = @"PENDING"; NSString * const kGTLRAnalyticsHub_QueryTemplate_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRAnalyticsHub_Replica.primaryState +NSString * const kGTLRAnalyticsHub_Replica_PrimaryState_PrimaryReplica = @"PRIMARY_REPLICA"; +NSString * const kGTLRAnalyticsHub_Replica_PrimaryState_PrimaryStateUnspecified = @"PRIMARY_STATE_UNSPECIFIED"; + +// GTLRAnalyticsHub_Replica.replicaState +NSString * const kGTLRAnalyticsHub_Replica_ReplicaState_ReadyToUse = @"READY_TO_USE"; +NSString * const kGTLRAnalyticsHub_Replica_ReplicaState_ReplicaStateUnspecified = @"REPLICA_STATE_UNSPECIFIED"; +NSString * const kGTLRAnalyticsHub_Replica_ReplicaState_Unavailable = @"UNAVAILABLE"; + // GTLRAnalyticsHub_Routine.routineType NSString * const kGTLRAnalyticsHub_Routine_RoutineType_RoutineTypeUnspecified = @"ROUTINE_TYPE_UNSPECIFIED"; NSString * const kGTLRAnalyticsHub_Routine_RoutineType_TableValuedFunction = @"TABLE_VALUED_FUNCTION"; @@ -160,10 +169,13 @@ @implementation GTLRAnalyticsHub_BigQueryConfig // @implementation GTLRAnalyticsHub_BigQueryDatasetSource -@dynamic dataset, restrictedExportPolicy, selectedResources; +@dynamic dataset, effectiveReplicas, replicaLocations, restrictedExportPolicy, + selectedResources; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"effectiveReplicas" : [GTLRAnalyticsHub_Replica class], + @"replicaLocations" : [NSString class], @"selectedResources" : [GTLRAnalyticsHub_SelectedResource class] }; return map; @@ -265,12 +277,20 @@ @implementation GTLRAnalyticsHub_DefaultExchangeConfig // @implementation GTLRAnalyticsHub_DestinationDataset -@dynamic datasetReference, descriptionProperty, friendlyName, labels, location; +@dynamic datasetReference, descriptionProperty, friendlyName, labels, location, + replicaLocations; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; } ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"replicaLocations" : [NSString class] + }; + return map; +} + @end @@ -814,6 +834,16 @@ @implementation GTLRAnalyticsHub_RefreshSubscriptionResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsHub_Replica +// + +@implementation GTLRAnalyticsHub_Replica +@dynamic location, primaryState, replicaState; +@end + + // ---------------------------------------------------------------------------- // // GTLRAnalyticsHub_RestrictedExportConfig diff --git a/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h b/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h index c5c6ace9e..1917e32f3 100644 --- a/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h +++ b/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h @@ -54,6 +54,7 @@ @class GTLRAnalyticsHub_PushConfig; @class GTLRAnalyticsHub_PushConfig_Attributes; @class GTLRAnalyticsHub_QueryTemplate; +@class GTLRAnalyticsHub_Replica; @class GTLRAnalyticsHub_RestrictedExportConfig; @class GTLRAnalyticsHub_RestrictedExportPolicy; @class GTLRAnalyticsHub_RetryPolicy; @@ -289,6 +290,44 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_QueryTemplate_State_Pending */ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_QueryTemplate_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAnalyticsHub_Replica.primaryState + +/** + * The replica is the primary replica. + * + * Value: "PRIMARY_REPLICA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Replica_PrimaryState_PrimaryReplica; +/** + * Default value. This value is unused. + * + * Value: "PRIMARY_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Replica_PrimaryState_PrimaryStateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAnalyticsHub_Replica.replicaState + +/** + * The replica is backfilled and ready to use. + * + * Value: "READY_TO_USE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Replica_ReplicaState_ReadyToUse; +/** + * Default value. This value is unused. + * + * Value: "REPLICA_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Replica_ReplicaState_ReplicaStateUnspecified; +/** + * The replica is unavailable, does not exist, or has not been backfilled yet. + * + * Value: "UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Replica_ReplicaState_Unavailable; + // ---------------------------------------------------------------------------- // GTLRAnalyticsHub_Routine.routineType @@ -538,6 +577,19 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns */ @property(nonatomic, copy, nullable) NSString *dataset; +/** + * Output only. Server-owned effective state of replicas. Contains both primary + * and secondary replicas. Each replica includes a system-computed + * (output-only) state and primary designation. + */ +@property(nonatomic, strong, nullable) NSArray *effectiveReplicas; + +/** + * Optional. A list of regions where the publisher has created shared dataset + * replicas. + */ +@property(nonatomic, strong, nullable) NSArray *replicaLocations; + /** * Optional. If set, restricted export policy will be propagated and enforced * on the linked dataset. @@ -938,6 +990,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns */ @property(nonatomic, copy, nullable) NSString *location; +/** + * Optional. The geographic locations where the dataset should be replicated. + * See [BigQuery locations](https://cloud.google.com/bigquery/docs/locations) + * for supported locations. + */ +@property(nonatomic, strong, nullable) NSArray *replicaLocations; + @end @@ -2189,6 +2248,51 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns @end +/** + * Represents the state of a replica of a shared dataset. It includes the + * geographic location of the replica and system-computed, output-only fields + * indicating its replication state and whether it is the primary replica. + */ +@interface GTLRAnalyticsHub_Replica : GTLRObject + +/** + * Output only. The geographic location where the replica resides. See + * [BigQuery locations](https://cloud.google.com/bigquery/docs/locations) for + * supported locations. Eg. "us-central1". + */ +@property(nonatomic, copy, nullable) NSString *location; + +/** + * Output only. Indicates that this replica is the primary replica. + * + * Likely values: + * @arg @c kGTLRAnalyticsHub_Replica_PrimaryState_PrimaryReplica The replica + * is the primary replica. (Value: "PRIMARY_REPLICA") + * @arg @c kGTLRAnalyticsHub_Replica_PrimaryState_PrimaryStateUnspecified + * Default value. This value is unused. (Value: + * "PRIMARY_STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *primaryState; + +/** + * Output only. Assigned by Analytics Hub based on real BigQuery replication + * state. + * + * Likely values: + * @arg @c kGTLRAnalyticsHub_Replica_ReplicaState_ReadyToUse The replica is + * backfilled and ready to use. (Value: "READY_TO_USE") + * @arg @c kGTLRAnalyticsHub_Replica_ReplicaState_ReplicaStateUnspecified + * Default value. This value is unused. (Value: + * "REPLICA_STATE_UNSPECIFIED") + * @arg @c kGTLRAnalyticsHub_Replica_ReplicaState_Unavailable The replica is + * unavailable, does not exist, or has not been backfilled yet. (Value: + * "UNAVAILABLE") + */ +@property(nonatomic, copy, nullable) NSString *replicaState; + +@end + + /** * Restricted export config, used to configure restricted export on linked * dataset. diff --git a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m index a24f52ca5..32f3597e7 100644 --- a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m +++ b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m @@ -204,6 +204,7 @@ // GTLRAndroidManagement_ApplicationPolicy.installType NSString * const kGTLRAndroidManagement_ApplicationPolicy_InstallType_Available = @"AVAILABLE"; NSString * const kGTLRAndroidManagement_ApplicationPolicy_InstallType_Blocked = @"BLOCKED"; +NSString * const kGTLRAndroidManagement_ApplicationPolicy_InstallType_Custom = @"CUSTOM"; NSString * const kGTLRAndroidManagement_ApplicationPolicy_InstallType_ForceInstalled = @"FORCE_INSTALLED"; NSString * const kGTLRAndroidManagement_ApplicationPolicy_InstallType_InstallTypeUnspecified = @"INSTALL_TYPE_UNSPECIFIED"; NSString * const kGTLRAndroidManagement_ApplicationPolicy_InstallType_Kiosk = @"KIOSK"; @@ -231,6 +232,7 @@ // GTLRAndroidManagement_ApplicationReport.applicationSource NSString * const kGTLRAndroidManagement_ApplicationReport_ApplicationSource_ApplicationSourceUnspecified = @"APPLICATION_SOURCE_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_ApplicationReport_ApplicationSource_Custom = @"CUSTOM"; NSString * const kGTLRAndroidManagement_ApplicationReport_ApplicationSource_InstalledFromPlayStore = @"INSTALLED_FROM_PLAY_STORE"; NSString * const kGTLRAndroidManagement_ApplicationReport_ApplicationSource_SystemAppFactoryVersion = @"SYSTEM_APP_FACTORY_VERSION"; NSString * const kGTLRAndroidManagement_ApplicationReport_ApplicationSource_SystemAppUpdatedVersion = @"SYSTEM_APP_UPDATED_VERSION"; @@ -322,6 +324,11 @@ NSString * const kGTLRAndroidManagement_CrossProfilePolicies_WorkProfileWidgetsDefault_WorkProfileWidgetsDefaultDisallowed = @"WORK_PROFILE_WIDGETS_DEFAULT_DISALLOWED"; NSString * const kGTLRAndroidManagement_CrossProfilePolicies_WorkProfileWidgetsDefault_WorkProfileWidgetsDefaultUnspecified = @"WORK_PROFILE_WIDGETS_DEFAULT_UNSPECIFIED"; +// GTLRAndroidManagement_CustomAppConfig.userUninstallSettings +NSString * const kGTLRAndroidManagement_CustomAppConfig_UserUninstallSettings_AllowUninstallByUser = @"ALLOW_UNINSTALL_BY_USER"; +NSString * const kGTLRAndroidManagement_CustomAppConfig_UserUninstallSettings_DisallowUninstallByUser = @"DISALLOW_UNINSTALL_BY_USER"; +NSString * const kGTLRAndroidManagement_CustomAppConfig_UserUninstallSettings_UserUninstallSettingsUnspecified = @"USER_UNINSTALL_SETTINGS_UNSPECIFIED"; + // GTLRAndroidManagement_Device.appliedState NSString * const kGTLRAndroidManagement_Device_AppliedState_Active = @"ACTIVE"; NSString * const kGTLRAndroidManagement_Device_AppliedState_DeactivatedByDeviceFinance = @"DEACTIVATED_BY_DEVICE_FINANCE"; @@ -602,6 +609,7 @@ NSString * const kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_AppInstalled = @"APP_INSTALLED"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_AppNotInstalled = @"APP_NOT_INSTALLED"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_AppNotUpdated = @"APP_NOT_UPDATED"; +NSString * const kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_AppSigningCertMismatch = @"APP_SIGNING_CERT_MISMATCH"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_DeviceIncompatible = @"DEVICE_INCOMPATIBLE"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_InvalidValue = @"INVALID_VALUE"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_ManagementMode = @"MANAGEMENT_MODE"; @@ -631,6 +639,7 @@ NSString * const kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_AppInstalled = @"APP_INSTALLED"; NSString * const kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_AppNotInstalled = @"APP_NOT_INSTALLED"; NSString * const kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_AppNotUpdated = @"APP_NOT_UPDATED"; +NSString * const kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_AppSigningCertMismatch = @"APP_SIGNING_CERT_MISMATCH"; NSString * const kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_DeviceIncompatible = @"DEVICE_INCOMPATIBLE"; NSString * const kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_InvalidValue = @"INVALID_VALUE"; NSString * const kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_ManagementMode = @"MANAGEMENT_MODE"; @@ -1224,11 +1233,11 @@ @implementation GTLRAndroidManagement_ApplicationPermission @implementation GTLRAndroidManagement_ApplicationPolicy @dynamic accessibleTrackIds, alwaysOnVpnLockdownExemption, autoUpdateMode, - connectedWorkAndPersonalApp, credentialProviderPolicy, + connectedWorkAndPersonalApp, credentialProviderPolicy, customAppConfig, defaultPermissionPolicy, delegatedScopes, disabled, extensionConfig, installConstraint, installPriority, installType, lockTaskAllowed, managedConfiguration, managedConfigurationTemplate, minimumVersionCode, - packageName, permissionGrants, preferentialNetworkId, + packageName, permissionGrants, preferentialNetworkId, signingKeyCerts, userControlSettings, workProfileWidgets; + (NSDictionary *)arrayPropertyToClassMap { @@ -1236,7 +1245,8 @@ @implementation GTLRAndroidManagement_ApplicationPolicy @"accessibleTrackIds" : [NSString class], @"delegatedScopes" : [NSString class], @"installConstraint" : [GTLRAndroidManagement_InstallConstraint class], - @"permissionGrants" : [GTLRAndroidManagement_PermissionGrant class] + @"permissionGrants" : [GTLRAndroidManagement_PermissionGrant class], + @"signingKeyCerts" : [GTLRAndroidManagement_ApplicationSigningKeyCert class] }; return map; } @@ -1301,6 +1311,16 @@ @implementation GTLRAndroidManagement_ApplicationReportingSettings @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_ApplicationSigningKeyCert +// + +@implementation GTLRAndroidManagement_ApplicationSigningKeyCert +@dynamic signingKeyCertFingerprintSha256; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidManagement_AppProcessInfo @@ -1598,6 +1618,16 @@ @implementation GTLRAndroidManagement_CryptoSelfTestCompletedEvent @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_CustomAppConfig +// + +@implementation GTLRAndroidManagement_CustomAppConfig +@dynamic userUninstallSettings; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidManagement_Date diff --git a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h index 4fcfe89dc..dedce30f4 100644 --- a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h +++ b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h @@ -30,6 +30,7 @@ @class GTLRAndroidManagement_ApplicationPolicyChange; @class GTLRAndroidManagement_ApplicationReport; @class GTLRAndroidManagement_ApplicationReportingSettings; +@class GTLRAndroidManagement_ApplicationSigningKeyCert; @class GTLRAndroidManagement_AppProcessInfo; @class GTLRAndroidManagement_AppProcessStartEvent; @class GTLRAndroidManagement_AppTrackInfo; @@ -50,6 +51,7 @@ @class GTLRAndroidManagement_ContentProviderEndpoint; @class GTLRAndroidManagement_CrossProfilePolicies; @class GTLRAndroidManagement_CryptoSelfTestCompletedEvent; +@class GTLRAndroidManagement_CustomAppConfig; @class GTLRAndroidManagement_Date; @class GTLRAndroidManagement_Device; @class GTLRAndroidManagement_Device_SystemProperties; @@ -1256,6 +1258,27 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_Inst * Value: "BLOCKED" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_InstallType_Blocked; +/** + * The app can only be installed and updated via AMAPI SDK command + * (https://developers.google.com/android/management/extensibility-sdk-integration).Note: + * This only affects fully managed devices. Play related fields + * minimumVersionCode, accessibleTrackIds, autoUpdateMode, installConstraint + * and installPriority cannot be set for the app. The app isn't available in + * the Play Store. The app installed on the device has applicationSource set to + * CUSTOM. The signing key certificate fingerprint of the app on the device + * must match one of the entries in ApplicationPolicy.signingKeyCerts . + * Otherwise, a NonComplianceDetail with APP_SIGNING_CERT_MISMATCH is reported. + * Changing the installType to and from CUSTOM uninstalls the existing app if + * its signing key certificate fingerprint doesn't match the one from the new + * app source. Removing the app from applications doesn't uninstall the + * existing app if it conforms to playStoreMode. See also customAppConfig. This + * is different from the Google Play Custom App Publishing + * (https://developers.google.com/android/work/play/custom-app-api/get-started) + * feature. + * + * Value: "CUSTOM" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_InstallType_Custom; /** * The app is automatically installed regardless of a set maintenance window * and can't be removed by the user. @@ -1406,6 +1429,14 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_Work * Value: "APPLICATION_SOURCE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationReport_ApplicationSource_ApplicationSourceUnspecified; +/** + * The app was installed using the AMAPI SDK command + * (https://developers.google.com/android/management/extensibility-sdk-integration). + * See also: CUSTOM + * + * Value: "CUSTOM" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationReport_ApplicationSource_Custom; /** * The app was installed from the Google Play Store. * @@ -1900,6 +1931,28 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_CrossProfilePolicies_W */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_CrossProfilePolicies_WorkProfileWidgetsDefault_WorkProfileWidgetsDefaultUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_CustomAppConfig.userUninstallSettings + +/** + * User is allowed to uninstall the custom app. + * + * Value: "ALLOW_UNINSTALL_BY_USER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_CustomAppConfig_UserUninstallSettings_AllowUninstallByUser; +/** + * User is not allowed to uninstall the custom app. + * + * Value: "DISALLOW_UNINSTALL_BY_USER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_CustomAppConfig_UserUninstallSettings_DisallowUninstallByUser; +/** + * Unspecified. Defaults to DISALLOW_UNINSTALL_BY_USER. + * + * Value: "USER_UNINSTALL_SETTINGS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_CustomAppConfig_UserUninstallSettings_UserUninstallSettingsUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidManagement_Device.appliedState @@ -3467,6 +3520,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetail_No * Value: "APP_NOT_UPDATED" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_AppNotUpdated; +/** + * The app's signing certificate does not match the setting value. + * + * Value: "APP_SIGNING_CERT_MISMATCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_AppSigningCertMismatch; /** * The device is incompatible with the policy requirements. * @@ -3653,6 +3712,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetailCon * Value: "APP_NOT_UPDATED" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_AppNotUpdated; +/** + * The app's signing certificate does not match the setting value. + * + * Value: "APP_SIGNING_CERT_MISMATCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_AppSigningCertMismatch; /** * The device is incompatible with the policy requirements. * @@ -6026,7 +6091,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WorkAccountSetupConfig /** * Controls access to developer settings: developer options and safe boot. * Replaces safeBootDisabled (deprecated) and debuggingFeaturesAllowed - * (deprecated). + * (deprecated). On personally-owned devices with a work profile, setting this + * policy will not disable safe boot. In this case, a NonComplianceDetail with + * MANAGEMENT_MODE is reported. * * Likely values: * @arg @c kGTLRAndroidManagement_AdvancedSecurityOverrides_DeveloperSettings_DeveloperSettingsAllowed @@ -6737,6 +6804,12 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *credentialProviderPolicy; +/** + * Optional. Configuration for this custom app.install_type must be set to + * CUSTOM for this to be set. + */ +@property(nonatomic, strong, nullable) GTLRAndroidManagement_CustomAppConfig *customAppConfig; + /** * The default policy for all permissions requested by the app. If specified, * this overrides the policy-level default_permission_policy which applies to @@ -6791,11 +6864,13 @@ GTLR_DEPRECATED * Configuration to enable this app as an extension app, with the capability of * interacting with Android Device Policy offline.This field can be set for at * most one app.The signing key certificate fingerprint of the app on the - * device must match one of the entries in signingKeyFingerprintsSha256 or the - * signing key certificate fingerprints obtained from Play Store for the app to - * be able to communicate with Android Device Policy. If the app is not on Play - * Store and signingKeyFingerprintsSha256 is not set, a NonComplianceDetail - * with INVALID_VALUE is reported. + * device must match one of the entries in ApplicationPolicy.signingKeyCerts or + * ExtensionConfig.signingKeyFingerprintsSha256 (deprecated) or the signing key + * certificate fingerprints obtained from Play Store for the app to be able to + * communicate with Android Device Policy. If the app is not on Play Store and + * if ApplicationPolicy.signingKeyCerts and + * ExtensionConfig.signingKeyFingerprintsSha256 (deprecated) are not set, a + * NonComplianceDetail with INVALID_VALUE is reported. */ @property(nonatomic, strong, nullable) GTLRAndroidManagement_ExtensionConfig *extensionConfig; @@ -6826,6 +6901,24 @@ GTLR_DEPRECATED * app is blocked and can't be installed. If the app was installed under * a previous policy, it will be uninstalled. This also blocks its * instant app functionality. (Value: "BLOCKED") + * @arg @c kGTLRAndroidManagement_ApplicationPolicy_InstallType_Custom The + * app can only be installed and updated via AMAPI SDK command + * (https://developers.google.com/android/management/extensibility-sdk-integration).Note: + * This only affects fully managed devices. Play related fields + * minimumVersionCode, accessibleTrackIds, autoUpdateMode, + * installConstraint and installPriority cannot be set for the app. The + * app isn't available in the Play Store. The app installed on the device + * has applicationSource set to CUSTOM. The signing key certificate + * fingerprint of the app on the device must match one of the entries in + * ApplicationPolicy.signingKeyCerts . Otherwise, a NonComplianceDetail + * with APP_SIGNING_CERT_MISMATCH is reported. Changing the installType + * to and from CUSTOM uninstalls the existing app if its signing key + * certificate fingerprint doesn't match the one from the new app source. + * Removing the app from applications doesn't uninstall the existing app + * if it conforms to playStoreMode. See also customAppConfig. This is + * different from the Google Play Custom App Publishing + * (https://developers.google.com/android/work/play/custom-app-api/get-started) + * feature. (Value: "CUSTOM") * @arg @c kGTLRAndroidManagement_ApplicationPolicy_InstallType_ForceInstalled * The app is automatically installed regardless of a set maintenance * window and can't be removed by the user. (Value: "FORCE_INSTALLED") @@ -6936,6 +7029,21 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *preferentialNetworkId; +/** + * Optional. Signing key certificates of the app.This field is required in the + * following cases: The app has installType set to CUSTOM (i.e. a custom app). + * The app has extensionConfig set (i.e. an extension app) but + * ExtensionConfig.signingKeyFingerprintsSha256 (deprecated) is not set and the + * app does not exist on the Play Store.If this field is not set for a custom + * app, the policy is rejected. If it is not set when required for a non-custom + * app, a NonComplianceDetail with INVALID_VALUE is reported.For other cases, + * this field is optional and the signing key certificates obtained from Play + * Store are used.See following policy settings to see how this field is used: + * choosePrivateKeyRules ApplicationPolicy.InstallType.CUSTOM + * ApplicationPolicy.extensionConfig + */ +@property(nonatomic, strong, nullable) NSArray *signingKeyCerts; + /** * Optional. Specifies whether user control is permitted for the app. User * control includes user actions like force-stopping and clearing app data. @@ -7038,6 +7146,10 @@ GTLR_DEPRECATED * @arg @c kGTLRAndroidManagement_ApplicationReport_ApplicationSource_ApplicationSourceUnspecified * The app was sideloaded from an unspecified source. (Value: * "APPLICATION_SOURCE_UNSPECIFIED") + * @arg @c kGTLRAndroidManagement_ApplicationReport_ApplicationSource_Custom + * The app was installed using the AMAPI SDK command + * (https://developers.google.com/android/management/extensibility-sdk-integration). + * See also: CUSTOM (Value: "CUSTOM") * @arg @c kGTLRAndroidManagement_ApplicationReport_ApplicationSource_InstalledFromPlayStore * The app was installed from the Google Play Store. (Value: * "INSTALLED_FROM_PLAY_STORE") @@ -7135,6 +7247,24 @@ GTLR_DEPRECATED @end +/** + * The application signing key certificate. + */ +@interface GTLRAndroidManagement_ApplicationSigningKeyCert : GTLRObject + +/** + * Required. The SHA-256 hash value of the signing key certificate of the app. + * This must be a valid SHA-256 hash value, i.e. 32 bytes. Otherwise, the + * policy is rejected. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *signingKeyCertFingerprintSha256; + +@end + + /** * Information about a process. It contains process name, start time, app Uid, * app Pid, seinfo tag, hash of the base APK. @@ -7433,10 +7563,11 @@ GTLR_DEPRECATED @interface GTLRAndroidManagement_ChoosePrivateKeyRule : GTLRObject /** - * The package names to which this rule applies. The hash of the signing - * certificate for each app is verified against the hash provided by Play. If - * no package names are specified, then the alias is provided to all apps that - * call KeyChain.choosePrivateKeyAlias + * The package names to which this rule applies. The signing key certificate + * fingerprint of the app is verified against the signing key certificate + * fingerprints provided by Play Store and ApplicationPolicy.signingKeyCerts . + * If no package names are specified, then the alias is provided to all apps + * that call KeyChain.choosePrivateKeyAlias * (https://developer.android.com/reference/android/security/KeyChain#choosePrivateKeyAlias%28android.app.Activity,%20android.security.KeyChainAliasCallback,%20java.lang.String[],%20java.security.Principal[],%20java.lang.String,%20int,%20java.lang.String%29) * or any overloads (but not without calling KeyChain.choosePrivateKeyAlias, * even on Android 11 and above). Any app with the same Android UID as a @@ -8059,6 +8190,30 @@ GTLR_DEPRECATED @end +/** + * Configuration for a custom app. + */ +@interface GTLRAndroidManagement_CustomAppConfig : GTLRObject + +/** + * Optional. User uninstall settings of the custom app. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_CustomAppConfig_UserUninstallSettings_AllowUninstallByUser + * User is allowed to uninstall the custom app. (Value: + * "ALLOW_UNINSTALL_BY_USER") + * @arg @c kGTLRAndroidManagement_CustomAppConfig_UserUninstallSettings_DisallowUninstallByUser + * User is not allowed to uninstall the custom app. (Value: + * "DISALLOW_UNINSTALL_BY_USER") + * @arg @c kGTLRAndroidManagement_CustomAppConfig_UserUninstallSettings_UserUninstallSettingsUnspecified + * Unspecified. Defaults to DISALLOW_UNINSTALL_BY_USER. (Value: + * "USER_UNINSTALL_SETTINGS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *userUninstallSettings; + +@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 @@ -8119,9 +8274,12 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) NSArray *applicationReports; /** - * The password requirements currently applied to the device. The applied - * requirements may be slightly different from those specified in - * passwordPolicies in some cases. fieldPath is set based on passwordPolicies. + * The password requirements currently applied to the device. This field exists + * because the applied requirements may be slightly different from those + * specified in passwordPolicies in some cases. Note that this field does not + * provide information about password compliance. For non-compliance + * information, see nonComplianceDetails. NonComplianceDetail.fieldPath, is set + * based on passwordPolicies, not based on this field. */ @property(nonatomic, strong, nullable) NSArray *appliedPasswordPolicies; @@ -9308,7 +9466,7 @@ GTLR_DEPRECATED * to be able to communicate with Android Device Policy.In production use * cases, it is recommended to leave this empty. */ -@property(nonatomic, strong, nullable) NSArray *signingKeyFingerprintsSha256; +@property(nonatomic, strong, nullable) NSArray *signingKeyFingerprintsSha256 GTLR_DEPRECATED; @end @@ -9547,7 +9705,10 @@ GTLR_DEPRECATED /** The model of the device. For example, Asus Nexus 7. */ @property(nonatomic, copy, nullable) NSString *model; -/** The device serial number. */ +/** + * The device serial number. However, for personally-owned devices running + * Android 12 and above, this is the same as the enterpriseSpecificId. + */ @property(nonatomic, copy, nullable) NSString *serialNumber; /** @@ -10875,6 +11036,9 @@ GTLR_DEPRECATED * @arg @c kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_AppNotUpdated * The app is installed, but it hasn't been updated to the minimum * version code specified by policy. (Value: "APP_NOT_UPDATED") + * @arg @c kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_AppSigningCertMismatch + * The app's signing certificate does not match the setting value. + * (Value: "APP_SIGNING_CERT_MISMATCH") * @arg @c kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_DeviceIncompatible * The device is incompatible with the policy requirements. (Value: * "DEVICE_INCOMPATIBLE") @@ -11012,6 +11176,9 @@ GTLR_DEPRECATED * @arg @c kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_AppNotUpdated * The app is installed, but it hasn't been updated to the minimum * version code specified by policy. (Value: "APP_NOT_UPDATED") + * @arg @c kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_AppSigningCertMismatch + * The app's signing certificate does not match the setting value. + * (Value: "APP_SIGNING_CERT_MISMATCH") * @arg @c kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_DeviceIncompatible * The device is incompatible with the policy requirements. (Value: * "DEVICE_INCOMPATIBLE") diff --git a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m index 4330a39fd..f64521719 100644 --- a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m +++ b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m @@ -74,6 +74,11 @@ NSString * const kGTLRAndroidPublisher_BasePlan_State_Inactive = @"INACTIVE"; NSString * const kGTLRAndroidPublisher_BasePlan_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRAndroidPublisher_CancellationContext.cancellationType +NSString * const kGTLRAndroidPublisher_CancellationContext_CancellationType_CancellationTypeUnspecified = @"CANCELLATION_TYPE_UNSPECIFIED"; +NSString * const kGTLRAndroidPublisher_CancellationContext_CancellationType_DeveloperRequestedStopPayments = @"DEVELOPER_REQUESTED_STOP_PAYMENTS"; +NSString * const kGTLRAndroidPublisher_CancellationContext_CancellationType_UserRequestedStopRenewals = @"USER_REQUESTED_STOP_RENEWALS"; + // GTLRAndroidPublisher_CancelOneTimeProductOfferRequest.latencyTolerance NSString * const kGTLRAndroidPublisher_CancelOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE"; NSString * const kGTLRAndroidPublisher_CancelOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; @@ -271,6 +276,12 @@ NSString * const kGTLRAndroidPublisher_PrepaidBasePlanType_TimeExtension_TimeExtensionInactive = @"TIME_EXTENSION_INACTIVE"; NSString * const kGTLRAndroidPublisher_PrepaidBasePlanType_TimeExtension_TimeExtensionUnspecified = @"TIME_EXTENSION_UNSPECIFIED"; +// GTLRAndroidPublisher_PriceStepUpConsentDetails.state +NSString * const kGTLRAndroidPublisher_PriceStepUpConsentDetails_State_Completed = @"COMPLETED"; +NSString * const kGTLRAndroidPublisher_PriceStepUpConsentDetails_State_Confirmed = @"CONFIRMED"; +NSString * const kGTLRAndroidPublisher_PriceStepUpConsentDetails_State_ConsentStateUnspecified = @"CONSENT_STATE_UNSPECIFIED"; +NSString * const kGTLRAndroidPublisher_PriceStepUpConsentDetails_State_Pending = @"PENDING"; + // GTLRAndroidPublisher_ProductOfferDetails.consumptionState NSString * const kGTLRAndroidPublisher_ProductOfferDetails_ConsumptionState_ConsumptionStateConsumed = @"CONSUMPTION_STATE_CONSUMED"; NSString * const kGTLRAndroidPublisher_ProductOfferDetails_ConsumptionState_ConsumptionStateUnspecified = @"CONSUMPTION_STATE_UNSPECIFIED"; @@ -835,7 +846,7 @@ @implementation GTLRAndroidPublisher_AutoRenewingBasePlanType @implementation GTLRAndroidPublisher_AutoRenewingPlan @dynamic autoRenewEnabled, installmentDetails, priceChangeDetails, - recurringPrice; + priceStepUpConsentDetails, recurringPrice; @end @@ -1437,6 +1448,16 @@ @implementation GTLRAndroidPublisher_CanceledStateContext @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_CancellationContext +// + +@implementation GTLRAndroidPublisher_CancellationContext +@dynamic cancellationType; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_CancellationEvent @@ -1457,6 +1478,25 @@ @implementation GTLRAndroidPublisher_CancelOneTimeProductOfferRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_CancelSubscriptionPurchaseRequest +// + +@implementation GTLRAndroidPublisher_CancelSubscriptionPurchaseRequest +@dynamic cancellationContext; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_CancelSubscriptionPurchaseResponse +// + +@implementation GTLRAndroidPublisher_CancelSubscriptionPurchaseResponse +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_CancelSurveyResult @@ -3190,6 +3230,16 @@ @implementation GTLRAndroidPublisher_Price @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_PriceStepUpConsentDetails +// + +@implementation GTLRAndroidPublisher_PriceStepUpConsentDetails +@dynamic consentDeadlineTime, newPrice, state; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_ProcessedEvent diff --git a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m index 841410006..7584d9fd3 100644 --- a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m +++ b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m @@ -3375,6 +3375,37 @@ + (instancetype)queryWithPackageName:(NSString *)packageName @end +@implementation GTLRAndroidPublisherQuery_PurchasesSubscriptionsv2Cancel + +@dynamic packageName, token; + ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_CancelSubscriptionPurchaseRequest *)object + packageName:(NSString *)packageName + token:(NSString *)token { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"packageName", @"token" + ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}:cancel"; + GTLRAndroidPublisherQuery_PurchasesSubscriptionsv2Cancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.packageName = packageName; + query.token = token; + query.expectedObjectClass = [GTLRAndroidPublisher_CancelSubscriptionPurchaseResponse class]; + query.loggingName = @"androidpublisher.purchases.subscriptionsv2.cancel"; + return query; +} + +@end + @implementation GTLRAndroidPublisherQuery_PurchasesSubscriptionsv2Get @dynamic packageName, token; diff --git a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h index e76c87e64..d92d3b23c 100644 --- a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h +++ b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h @@ -41,6 +41,7 @@ @class GTLRAndroidPublisher_Bundle; @class GTLRAndroidPublisher_BuyerAddress; @class GTLRAndroidPublisher_CanceledStateContext; +@class GTLRAndroidPublisher_CancellationContext; @class GTLRAndroidPublisher_CancellationEvent; @class GTLRAndroidPublisher_CancelOneTimeProductOfferRequest; @class GTLRAndroidPublisher_CancelSurveyResult; @@ -148,6 +149,7 @@ @class GTLRAndroidPublisher_PrepaidBasePlanType; @class GTLRAndroidPublisher_PrepaidPlan; @class GTLRAndroidPublisher_Price; +@class GTLRAndroidPublisher_PriceStepUpConsentDetails; @class GTLRAndroidPublisher_ProcessedEvent; @class GTLRAndroidPublisher_ProductLineItem; @class GTLRAndroidPublisher_ProductOfferDetails; @@ -548,6 +550,36 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_BasePlan_State_Inactive */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_BasePlan_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_CancellationContext.cancellationType + +/** + * Cancellation type unspecified. + * + * Value: "CANCELLATION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_CancellationContext_CancellationType_CancellationTypeUnspecified; +/** + * Cancellation requested by the developer, and the subscription cannot be + * restored. It stops the subscription's next payment. For an installment + * subscription, users will not need to pay the next payment and finish the + * commitment period. For more details on renewals and payments, see + * https://developer.android.com/google/play/billing/subscriptions#installments + * + * Value: "DEVELOPER_REQUESTED_STOP_PAYMENTS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_CancellationContext_CancellationType_DeveloperRequestedStopPayments; +/** + * Cancellation requested by the user, and the subscription can be restored. It + * only stops the subscription's next renewal. For an installment subscription, + * users still need to finish the commitment period. For more details on + * renewals and payments, see + * https://developer.android.com/google/play/billing/subscriptions#installments + * + * Value: "USER_REQUESTED_STOP_RENEWALS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_CancellationContext_CancellationType_UserRequestedStopRenewals; + // ---------------------------------------------------------------------------- // GTLRAndroidPublisher_CancelOneTimeProductOfferRequest.latencyTolerance @@ -1513,6 +1545,34 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PrepaidBasePlanType_Tim */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PrepaidBasePlanType_TimeExtension_TimeExtensionUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_PriceStepUpConsentDetails.state + +/** + * The user has consented, and the new price has taken effect. + * + * Value: "COMPLETED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PriceStepUpConsentDetails_State_Completed; +/** + * The user has consented, and the new price is waiting to take effect. + * + * Value: "CONFIRMED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PriceStepUpConsentDetails_State_Confirmed; +/** + * Unspecified consent state. + * + * Value: "CONSENT_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PriceStepUpConsentDetails_State_ConsentStateUnspecified; +/** + * The user has not yet provided consent. + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PriceStepUpConsentDetails_State_Pending; + // ---------------------------------------------------------------------------- // GTLRAndroidPublisher_ProductOfferDetails.consumptionState @@ -3242,10 +3302,14 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRAndroidPublisher_SubscriptionItemPriceChangeDetails *priceChangeDetails; +/** The information of the latest price step-up consent. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_PriceStepUpConsentDetails *priceStepUpConsentDetails; + /** * The current recurring price of the auto renewing plan. Note that the price - * does not take into account discounts and taxes, call orders.get API instead - * if transaction details are needed. + * does not take into account discounts and does not include taxes for + * tax-exclusive pricing, please call orders.get API instead if transaction + * details are needed. */ @property(nonatomic, strong, nullable) GTLRAndroidPublisher_Money *recurringPrice; @@ -3795,6 +3859,39 @@ GTLR_DEPRECATED @end +/** + * Cancellation context of the purchases.subscriptionsv2.cancel API. + */ +@interface GTLRAndroidPublisher_CancellationContext : GTLRObject + +/** + * Required. The type of cancellation for the purchased subscription. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_CancellationContext_CancellationType_CancellationTypeUnspecified + * Cancellation type unspecified. (Value: + * "CANCELLATION_TYPE_UNSPECIFIED") + * @arg @c kGTLRAndroidPublisher_CancellationContext_CancellationType_DeveloperRequestedStopPayments + * Cancellation requested by the developer, and the subscription cannot + * be restored. It stops the subscription's next payment. For an + * installment subscription, users will not need to pay the next payment + * and finish the commitment period. For more details on renewals and + * payments, see + * https://developer.android.com/google/play/billing/subscriptions#installments + * (Value: "DEVELOPER_REQUESTED_STOP_PAYMENTS") + * @arg @c kGTLRAndroidPublisher_CancellationContext_CancellationType_UserRequestedStopRenewals + * Cancellation requested by the user, and the subscription can be + * restored. It only stops the subscription's next renewal. For an + * installment subscription, users still need to finish the commitment + * period. For more details on renewals and payments, see + * https://developer.android.com/google/play/billing/subscriptions#installments + * (Value: "USER_REQUESTED_STOP_RENEWALS") + */ +@property(nonatomic, copy, nullable) NSString *cancellationType; + +@end + + /** * Details of when the order was canceled. */ @@ -3847,6 +3944,24 @@ GTLR_DEPRECATED @end +/** + * Request for the purchases.subscriptionsv2.cancel API. + */ +@interface GTLRAndroidPublisher_CancelSubscriptionPurchaseRequest : GTLRObject + +/** Required. Additional details around the subscription revocation. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_CancellationContext *cancellationContext; + +@end + + +/** + * Response for the purchases.subscriptionsv2.cancel API. + */ +@interface GTLRAndroidPublisher_CancelSubscriptionPurchaseResponse : GTLRObject +@end + + /** * Result of the cancel survey when the subscription was canceled by the user. */ @@ -7376,6 +7491,40 @@ GTLR_DEPRECATED @end +/** + * Information related to a price step-up that requires user consent. + */ +@interface GTLRAndroidPublisher_PriceStepUpConsentDetails : GTLRObject + +/** + * The deadline by which the user must provide consent. If consent is not + * provided by this time, the subscription will be canceled. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *consentDeadlineTime; + +/** The new price which requires user consent. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_Money *newPrice NS_RETURNS_NOT_RETAINED; + +/** + * Output only. The state of the price step-up consent. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_PriceStepUpConsentDetails_State_Completed + * The user has consented, and the new price has taken effect. (Value: + * "COMPLETED") + * @arg @c kGTLRAndroidPublisher_PriceStepUpConsentDetails_State_Confirmed + * The user has consented, and the new price is waiting to take effect. + * (Value: "CONFIRMED") + * @arg @c kGTLRAndroidPublisher_PriceStepUpConsentDetails_State_ConsentStateUnspecified + * Unspecified consent state. (Value: "CONSENT_STATE_UNSPECIFIED") + * @arg @c kGTLRAndroidPublisher_PriceStepUpConsentDetails_State_Pending The + * user has not yet provided consent. (Value: "PENDING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + /** * Details of when the order was processed. */ @@ -9940,7 +10089,10 @@ GTLR_DEPRECATED */ @interface GTLRAndroidPublisher_TrackRelease : GTLRObject -/** Restricts a release to a specific set of countries. */ +/** + * Restricts a release to a specific set of countries. Note this is only + * allowed to be set for inProgress releases in the production track. + */ @property(nonatomic, strong, nullable) GTLRAndroidPublisher_CountryTargeting *countryTargeting; /** diff --git a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h index e6b9f2e57..635507593 100644 --- a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h +++ b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h @@ -5610,7 +5610,8 @@ GTLR_DEPRECATED /** * Cancels a user's subscription purchase. The subscription remains valid until - * its expiration time. + * its expiration time. Newer version is available at + * purchases.subscriptionsv2.cancel for better client library support. * * Method: androidpublisher.purchases.subscriptions.cancel * @@ -5642,7 +5643,8 @@ GTLR_DEPRECATED * be nil. This query does not fetch an object. * * Cancels a user's subscription purchase. The subscription remains valid until - * its expiration time. + * its expiration time. Newer version is available at + * purchases.subscriptionsv2.cancel for better client library support. * * @param packageName The package name of the application for which this * subscription was purchased (for example, 'com.some.thing'). @@ -5856,6 +5858,48 @@ GTLR_DEPRECATED @end +/** + * Cancel a subscription purchase for the user. + * + * Method: androidpublisher.purchases.subscriptionsv2.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_PurchasesSubscriptionsv2Cancel : GTLRAndroidPublisherQuery + +/** + * Required. The package of the application for which this subscription was + * purchased (for example, 'com.some.thing'). + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Required. The token provided to the user's device when the subscription was + * purchased. + */ +@property(nonatomic, copy, nullable) NSString *token; + +/** + * Fetches a @c GTLRAndroidPublisher_CancelSubscriptionPurchaseResponse. + * + * Cancel a subscription purchase for the user. + * + * @param object The @c GTLRAndroidPublisher_CancelSubscriptionPurchaseRequest + * to include in the query. + * @param packageName Required. The package of the application for which this + * subscription was purchased (for example, 'com.some.thing'). + * @param token Required. The token provided to the user's device when the + * subscription was purchased. + * + * @return GTLRAndroidPublisherQuery_PurchasesSubscriptionsv2Cancel + */ ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_CancelSubscriptionPurchaseRequest *)object + packageName:(NSString *)packageName + token:(NSString *)token; + +@end + /** * Get metadata about a subscription * diff --git a/Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m b/Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m index 6f036a02d..5df495f85 100644 --- a/Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m +++ b/Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m @@ -320,6 +320,24 @@ NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation_Weight_Moderate = @"MODERATE"; NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation_Weight_WeightUnspecified = @"WEIGHT_UNSPECIFIED"; +// GTLRApigee_GoogleCloudApigeeV1SecurityFeedback.feedbackType +NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityFeedback_FeedbackType_ExcludedDetection = @"EXCLUDED_DETECTION"; +NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityFeedback_FeedbackType_FeedbackTypeUnspecified = @"FEEDBACK_TYPE_UNSPECIFIED"; + +// GTLRApigee_GoogleCloudApigeeV1SecurityFeedback.reason +NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityFeedback_Reason_InternalSystem = @"INTERNAL_SYSTEM"; +NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityFeedback_Reason_Nat = @"NAT"; +NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityFeedback_Reason_NonRiskClient = @"NON_RISK_CLIENT"; +NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityFeedback_Reason_Other = @"OTHER"; +NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityFeedback_Reason_PenetrationTest = @"PENETRATION_TEST"; +NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityFeedback_Reason_ReasonUnspecified = @"REASON_UNSPECIFIED"; + +// GTLRApigee_GoogleCloudApigeeV1SecurityFeedbackFeedbackContext.attribute +NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityFeedbackFeedbackContext_Attribute_AttributeApiKeys = @"ATTRIBUTE_API_KEYS"; +NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityFeedbackFeedbackContext_Attribute_AttributeEnvironments = @"ATTRIBUTE_ENVIRONMENTS"; +NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityFeedbackFeedbackContext_Attribute_AttributeIpAddressRanges = @"ATTRIBUTE_IP_ADDRESS_RANGES"; +NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityFeedbackFeedbackContext_Attribute_AttributeUnspecified = @"ATTRIBUTE_UNSPECIFIED"; + // GTLRApigee_GoogleCloudApigeeV1SecurityIncident.observability NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityIncident_Observability_Active = @"ACTIVE"; NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityIncident_Observability_Archived = @"ARCHIVED"; @@ -3076,6 +3094,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRApigee_GoogleCloudApigeeV1ListSecurityFeedbackResponse +// + +@implementation GTLRApigee_GoogleCloudApigeeV1ListSecurityFeedbackResponse +@dynamic nextPageToken, securityFeedback; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"securityFeedback" : [GTLRApigee_GoogleCloudApigeeV1SecurityFeedback class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"securityFeedback"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRApigee_GoogleCloudApigeeV1ListSecurityIncidentsResponse @@ -4560,6 +4600,43 @@ @implementation GTLRApigee_GoogleCloudApigeeV1SecurityAssessmentResultScoringRes @end +// ---------------------------------------------------------------------------- +// +// GTLRApigee_GoogleCloudApigeeV1SecurityFeedback +// + +@implementation GTLRApigee_GoogleCloudApigeeV1SecurityFeedback +@dynamic comment, createTime, displayName, feedbackContexts, feedbackType, name, + reason, updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"feedbackContexts" : [GTLRApigee_GoogleCloudApigeeV1SecurityFeedbackFeedbackContext class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRApigee_GoogleCloudApigeeV1SecurityFeedbackFeedbackContext +// + +@implementation GTLRApigee_GoogleCloudApigeeV1SecurityFeedbackFeedbackContext +@dynamic attribute, values; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"values" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRApigee_GoogleCloudApigeeV1SecurityIncident diff --git a/Sources/GeneratedServices/Apigee/GTLRApigeeQuery.m b/Sources/GeneratedServices/Apigee/GTLRApigeeQuery.m index ffda09252..e501e16c7 100644 --- a/Sources/GeneratedServices/Apigee/GTLRApigeeQuery.m +++ b/Sources/GeneratedServices/Apigee/GTLRApigeeQuery.m @@ -6520,6 +6520,117 @@ + (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1BatchComputeSecur @end +@implementation GTLRApigeeQuery_OrganizationsSecurityFeedbackCreate + +@dynamic parent, securityFeedbackId; + ++ (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1SecurityFeedback *)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}/securityFeedback"; + GTLRApigeeQuery_OrganizationsSecurityFeedbackCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRApigee_GoogleCloudApigeeV1SecurityFeedback class]; + query.loggingName = @"apigee.organizations.securityFeedback.create"; + return query; +} + +@end + +@implementation GTLRApigeeQuery_OrganizationsSecurityFeedbackDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRApigeeQuery_OrganizationsSecurityFeedbackDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRApigee_GoogleProtobufEmpty class]; + query.loggingName = @"apigee.organizations.securityFeedback.delete"; + return query; +} + +@end + +@implementation GTLRApigeeQuery_OrganizationsSecurityFeedbackGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRApigeeQuery_OrganizationsSecurityFeedbackGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRApigee_GoogleCloudApigeeV1SecurityFeedback class]; + query.loggingName = @"apigee.organizations.securityFeedback.get"; + return query; +} + +@end + +@implementation GTLRApigeeQuery_OrganizationsSecurityFeedbackList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/securityFeedback"; + GTLRApigeeQuery_OrganizationsSecurityFeedbackList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRApigee_GoogleCloudApigeeV1ListSecurityFeedbackResponse class]; + query.loggingName = @"apigee.organizations.securityFeedback.list"; + return query; +} + +@end + +@implementation GTLRApigeeQuery_OrganizationsSecurityFeedbackPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1SecurityFeedback *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRApigeeQuery_OrganizationsSecurityFeedbackPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRApigee_GoogleCloudApigeeV1SecurityFeedback class]; + query.loggingName = @"apigee.organizations.securityFeedback.patch"; + return query; +} + +@end + @implementation GTLRApigeeQuery_OrganizationsSecurityMonitoringConditionsCreate @dynamic parent, securityMonitoringConditionId; diff --git a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h index 89efe10b3..b9de7fe1b 100644 --- a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h +++ b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h @@ -185,6 +185,8 @@ @class GTLRApigee_GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation; @class GTLRApigee_GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendation; @class GTLRApigee_GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendationLink; +@class GTLRApigee_GoogleCloudApigeeV1SecurityFeedback; +@class GTLRApigee_GoogleCloudApigeeV1SecurityFeedbackFeedbackContext; @class GTLRApigee_GoogleCloudApigeeV1SecurityIncident; @class GTLRApigee_GoogleCloudApigeeV1SecurityMonitoringCondition; @class GTLRApigee_GoogleCloudApigeeV1SecurityProfile; @@ -1656,6 +1658,90 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityAssess */ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation_Weight_WeightUnspecified; +// ---------------------------------------------------------------------------- +// GTLRApigee_GoogleCloudApigeeV1SecurityFeedback.feedbackType + +/** + * Feedback identifying attributes to be excluded from detections. + * + * Value: "EXCLUDED_DETECTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityFeedback_FeedbackType_ExcludedDetection; +/** + * Unspecified feedback type. + * + * Value: "FEEDBACK_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityFeedback_FeedbackType_FeedbackTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRApigee_GoogleCloudApigeeV1SecurityFeedback.reason + +/** + * The feedback is created for an internal system. + * + * Value: "INTERNAL_SYSTEM" + */ +FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityFeedback_Reason_InternalSystem; +/** + * The feedback is created for to label NAT. + * + * Value: "NAT" + */ +FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityFeedback_Reason_Nat; +/** + * The feedback is created for a non-risk client. + * + * Value: "NON_RISK_CLIENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityFeedback_Reason_NonRiskClient; +/** + * The feedback is created for other reasons. + * + * Value: "OTHER" + */ +FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityFeedback_Reason_Other; +/** + * The feedback is created for a penetration test. + * + * Value: "PENETRATION_TEST" + */ +FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityFeedback_Reason_PenetrationTest; +/** + * Unspecified reason. + * + * Value: "REASON_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityFeedback_Reason_ReasonUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRApigee_GoogleCloudApigeeV1SecurityFeedbackFeedbackContext.attribute + +/** + * Values will be a list of API keys. + * + * Value: "ATTRIBUTE_API_KEYS" + */ +FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityFeedbackFeedbackContext_Attribute_AttributeApiKeys; +/** + * Values will be a list of environments. + * + * Value: "ATTRIBUTE_ENVIRONMENTS" + */ +FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityFeedbackFeedbackContext_Attribute_AttributeEnvironments; +/** + * Values will be a list of IP addresses. This could be either IPv4 or IPv6. + * + * Value: "ATTRIBUTE_IP_ADDRESS_RANGES" + */ +FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityFeedbackFeedbackContext_Attribute_AttributeIpAddressRanges; +/** + * Unspecified attribute. + * + * Value: "ATTRIBUTE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1SecurityFeedbackFeedbackContext_Attribute_AttributeUnspecified; + // ---------------------------------------------------------------------------- // GTLRApigee_GoogleCloudApigeeV1SecurityIncident.observability @@ -2278,7 +2364,11 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType * adjust the balance for an under-charged developer i.e. the balance of the * developer will decrease. * A negative value of `adjustment` means that that * the API provider wants to adjust the balance for an over-charged developer - * i.e. the balance of the developer will increase. + * i.e. the balance of the developer will increase. NOTE: An adjustment cannot + * increase the balance of the developer beyond the balance as of the most + * recent credit. For example, if a developer's balance is updated to be $100, + * and they spend $10, a negative adjustment can only increase the balance of + * the developer to $100. */ @property(nonatomic, strong, nullable) GTLRApigee_GoogleTypeMoney *adjustment; @@ -3716,7 +3806,7 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType @property(nonatomic, copy, nullable) NSString *profile; /** - * Required. Scope of the resources for the computation. For Apigee, the + * Optional. Scope of the resources for the computation. For Apigee, the * environment is the scope of the resources. */ @property(nonatomic, copy, nullable) NSString *scope; @@ -7538,6 +7628,34 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType @end +/** + * Response for ListSecurityFeedback + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "securityFeedback" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRApigee_GoogleCloudApigeeV1ListSecurityFeedbackResponse : GTLRCollectionObject + +/** + * A token that can be sent as `page_token` in `ListSecurityFeedbackRequest` to + * retrieve the next page. If this field is omitted, there are no subsequent + * pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * List of SecurityFeedback reports. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *securityFeedback; + +@end + + /** * Response for ListSecurityIncidents. * @@ -10607,6 +10725,104 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType @end +/** + * Represents a feedback report from an Advanced API Security customer. + */ +@interface GTLRApigee_GoogleCloudApigeeV1SecurityFeedback : GTLRObject + +/** + * Optional. Optional text the user can provide for additional, unstructured + * context. + */ +@property(nonatomic, copy, nullable) NSString *comment; + +/** Output only. The time when this specific feedback id was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Optional. The display name of the feedback. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Required. One or more attribute/value pairs for constraining the feedback. + */ +@property(nonatomic, strong, nullable) NSArray *feedbackContexts; + +/** + * Required. The type of feedback being submitted. + * + * Likely values: + * @arg @c kGTLRApigee_GoogleCloudApigeeV1SecurityFeedback_FeedbackType_ExcludedDetection + * Feedback identifying attributes to be excluded from detections. + * (Value: "EXCLUDED_DETECTION") + * @arg @c kGTLRApigee_GoogleCloudApigeeV1SecurityFeedback_FeedbackType_FeedbackTypeUnspecified + * Unspecified feedback type. (Value: "FEEDBACK_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *feedbackType; + +/** + * Output only. Identifier. The feedback name is intended to be a + * system-generated uuid. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The reason for the feedback. + * + * Likely values: + * @arg @c kGTLRApigee_GoogleCloudApigeeV1SecurityFeedback_Reason_InternalSystem + * The feedback is created for an internal system. (Value: + * "INTERNAL_SYSTEM") + * @arg @c kGTLRApigee_GoogleCloudApigeeV1SecurityFeedback_Reason_Nat The + * feedback is created for to label NAT. (Value: "NAT") + * @arg @c kGTLRApigee_GoogleCloudApigeeV1SecurityFeedback_Reason_NonRiskClient + * The feedback is created for a non-risk client. (Value: + * "NON_RISK_CLIENT") + * @arg @c kGTLRApigee_GoogleCloudApigeeV1SecurityFeedback_Reason_Other The + * feedback is created for other reasons. (Value: "OTHER") + * @arg @c kGTLRApigee_GoogleCloudApigeeV1SecurityFeedback_Reason_PenetrationTest + * The feedback is created for a penetration test. (Value: + * "PENETRATION_TEST") + * @arg @c kGTLRApigee_GoogleCloudApigeeV1SecurityFeedback_Reason_ReasonUnspecified + * Unspecified reason. (Value: "REASON_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *reason; + +/** Output only. The time when this specific feedback id was updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * FeedbackContext captures the intent of the submitted feedback. + */ +@interface GTLRApigee_GoogleCloudApigeeV1SecurityFeedbackFeedbackContext : GTLRObject + +/** + * Required. The attribute the user is providing feedback about. + * + * Likely values: + * @arg @c kGTLRApigee_GoogleCloudApigeeV1SecurityFeedbackFeedbackContext_Attribute_AttributeApiKeys + * Values will be a list of API keys. (Value: "ATTRIBUTE_API_KEYS") + * @arg @c kGTLRApigee_GoogleCloudApigeeV1SecurityFeedbackFeedbackContext_Attribute_AttributeEnvironments + * Values will be a list of environments. (Value: + * "ATTRIBUTE_ENVIRONMENTS") + * @arg @c kGTLRApigee_GoogleCloudApigeeV1SecurityFeedbackFeedbackContext_Attribute_AttributeIpAddressRanges + * Values will be a list of IP addresses. This could be either IPv4 or + * IPv6. (Value: "ATTRIBUTE_IP_ADDRESS_RANGES") + * @arg @c kGTLRApigee_GoogleCloudApigeeV1SecurityFeedbackFeedbackContext_Attribute_AttributeUnspecified + * Unspecified attribute. (Value: "ATTRIBUTE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *attribute; + +/** + * Required. The values of the attribute the user is providing feedback about. + */ +@property(nonatomic, strong, nullable) NSArray *values; + +@end + + /** * Represents an SecurityIncident resource. */ @@ -10709,7 +10925,7 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType @property(nonatomic, copy, nullable) NSString *profile; /** - * Required. Scope of the security monitoring condition. For Apigee, the + * Optional. Scope of the security monitoring condition. For Apigee, the * environment is the scope of the resources. */ @property(nonatomic, copy, nullable) NSString *scope; diff --git a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h index 53ec40b47..58c17e079 100644 --- a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h +++ b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h @@ -12679,6 +12679,204 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; @end +/** + * Creates a new report containing customer feedback. + * + * Method: apigee.organizations.securityFeedback.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeApigeeCloudPlatform + */ +@interface GTLRApigeeQuery_OrganizationsSecurityFeedbackCreate : GTLRApigeeQuery + +/** + * Required. Name of the organization. Use the following structure in your + * request: `organizations/{org}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. The id for this feedback report. If not provided, it will be set + * to a system-generated UUID. + */ +@property(nonatomic, copy, nullable) NSString *securityFeedbackId; + +/** + * Fetches a @c GTLRApigee_GoogleCloudApigeeV1SecurityFeedback. + * + * Creates a new report containing customer feedback. + * + * @param object The @c GTLRApigee_GoogleCloudApigeeV1SecurityFeedback to + * include in the query. + * @param parent Required. Name of the organization. Use the following + * structure in your request: `organizations/{org}`. + * + * @return GTLRApigeeQuery_OrganizationsSecurityFeedbackCreate + */ ++ (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1SecurityFeedback *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a specific feedback report. Used for "undo" of a feedback + * submission. + * + * Method: apigee.organizations.securityFeedback.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeApigeeCloudPlatform + */ +@interface GTLRApigeeQuery_OrganizationsSecurityFeedbackDelete : GTLRApigeeQuery + +/** + * Required. Name of the SecurityFeedback to delete. Use the following + * structure in your request: + * `organizations/{org}/securityFeedback/{feedback_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRApigee_GoogleProtobufEmpty. + * + * Deletes a specific feedback report. Used for "undo" of a feedback + * submission. + * + * @param name Required. Name of the SecurityFeedback to delete. Use the + * following structure in your request: + * `organizations/{org}/securityFeedback/{feedback_id}` + * + * @return GTLRApigeeQuery_OrganizationsSecurityFeedbackDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets a specific customer feedback report. + * + * Method: apigee.organizations.securityFeedback.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeApigeeCloudPlatform + */ +@interface GTLRApigeeQuery_OrganizationsSecurityFeedbackGet : GTLRApigeeQuery + +/** + * Required. Name of the SecurityFeedback. Format: + * `organizations/{org}/securityFeedback/{feedback_id}` Example: + * organizations/apigee-organization-name/securityFeedback/feedback-id + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRApigee_GoogleCloudApigeeV1SecurityFeedback. + * + * Gets a specific customer feedback report. + * + * @param name Required. Name of the SecurityFeedback. Format: + * `organizations/{org}/securityFeedback/{feedback_id}` Example: + * organizations/apigee-organization-name/securityFeedback/feedback-id + * + * @return GTLRApigeeQuery_OrganizationsSecurityFeedbackGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists all feedback reports which have already been submitted. + * + * Method: apigee.organizations.securityFeedback.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeApigeeCloudPlatform + */ +@interface GTLRApigeeQuery_OrganizationsSecurityFeedbackList : GTLRApigeeQuery + +/** + * Optional. The maximum number of feedback reports to return. The service may + * return fewer than this value. LINT.IfChange(documented_page_size_limits) If + * unspecified, at most 10 feedback reports will be returned. The maximum value + * is 100; values above 100 will be coerced to 100. LINT.ThenChange( + * //depot/google3/edge/sense/boq/service/v1/securityfeedback/securityfeedback_rpc.go:page_size_limits + * ) + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListSecurityFeedback` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListSecurityFeedback` must match the call that + * provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Name of the organization. Format: `organizations/{org}`. Example: + * organizations/apigee-organization-name/securityFeedback + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRApigee_GoogleCloudApigeeV1ListSecurityFeedbackResponse. + * + * Lists all feedback reports which have already been submitted. + * + * @param parent Required. Name of the organization. Format: + * `organizations/{org}`. Example: + * organizations/apigee-organization-name/securityFeedback + * + * @return GTLRApigeeQuery_OrganizationsSecurityFeedbackList + * + * @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 specific feedback report. + * + * Method: apigee.organizations.securityFeedback.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeApigeeCloudPlatform + */ +@interface GTLRApigeeQuery_OrganizationsSecurityFeedbackPatch : GTLRApigeeQuery + +/** + * Output only. Identifier. The feedback name is intended to be a + * system-generated uuid. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The list of fields to update. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRApigee_GoogleCloudApigeeV1SecurityFeedback. + * + * Updates a specific feedback report. + * + * @param object The @c GTLRApigee_GoogleCloudApigeeV1SecurityFeedback to + * include in the query. + * @param name Output only. Identifier. The feedback name is intended to be a + * system-generated uuid. + * + * @return GTLRApigeeQuery_OrganizationsSecurityFeedbackPatch + */ ++ (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1SecurityFeedback *)object + name:(NSString *)name; + +@end + /** * Create a security monitoring condition. * diff --git a/Sources/GeneratedServices/AppHub/Public/GoogleAPIClientForREST/GTLRAppHubQuery.h b/Sources/GeneratedServices/AppHub/Public/GoogleAPIClientForREST/GTLRAppHubQuery.h index e88ed4bbf..2fc5d6fac 100644 --- a/Sources/GeneratedServices/AppHub/Public/GoogleAPIClientForREST/GTLRAppHubQuery.h +++ b/Sources/GeneratedServices/AppHub/Public/GoogleAPIClientForREST/GTLRAppHubQuery.h @@ -1222,8 +1222,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRAppHubQuery_ProjectsLocationsList : GTLRAppHubQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h b/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h index f3309f843..2c374fa99 100644 --- a/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h +++ b/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h @@ -1051,8 +1051,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *appsId; /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/AuthorizedBuyersMarketplace/Public/GoogleAPIClientForREST/GTLRAuthorizedBuyersMarketplaceObjects.h b/Sources/GeneratedServices/AuthorizedBuyersMarketplace/Public/GoogleAPIClientForREST/GTLRAuthorizedBuyersMarketplaceObjects.h index 9b2c69c21..6bfd668f4 100644 --- a/Sources/GeneratedServices/AuthorizedBuyersMarketplace/Public/GoogleAPIClientForREST/GTLRAuthorizedBuyersMarketplaceObjects.h +++ b/Sources/GeneratedServices/AuthorizedBuyersMarketplace/Public/GoogleAPIClientForREST/GTLRAuthorizedBuyersMarketplaceObjects.h @@ -3024,7 +3024,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthorizedBuyersMarketplace_VideoTargeti /** Geo criteria IDs to be targeted. Refer to Geo tables. */ @property(nonatomic, strong, nullable) GTLRAuthorizedBuyersMarketplace_CriteriaTargeting *geoTargeting; -/** Inventory sizes to be targeted. */ +/** + * Inventory sizes to be targeted. Only PIXEL inventory size type is supported. + */ @property(nonatomic, strong, nullable) GTLRAuthorizedBuyersMarketplace_InventorySizeTargeting *inventorySizeTargeting; /** diff --git a/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m b/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m index ef4347929..245ef03a1 100644 --- a/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m +++ b/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m @@ -219,6 +219,7 @@ NSString * const kGTLRBackupdr_LocationMetadata_UnsupportedFeatures_ComputeInstance = @"COMPUTE_INSTANCE"; NSString * const kGTLRBackupdr_LocationMetadata_UnsupportedFeatures_FeatureUnspecified = @"FEATURE_UNSPECIFIED"; NSString * const kGTLRBackupdr_LocationMetadata_UnsupportedFeatures_ManagementServer = @"MANAGEMENT_SERVER"; +NSString * const kGTLRBackupdr_LocationMetadata_UnsupportedFeatures_ProtectionSummary = @"PROTECTION_SUMMARY"; // GTLRBackupdr_ManagementServer.state NSString * const kGTLRBackupdr_ManagementServer_State_Creating = @"CREATING"; @@ -265,6 +266,8 @@ // GTLRBackupdr_ResourceBackupConfig.targetResourceType NSString * const kGTLRBackupdr_ResourceBackupConfig_TargetResourceType_CloudSqlInstance = @"CLOUD_SQL_INSTANCE"; +NSString * const kGTLRBackupdr_ResourceBackupConfig_TargetResourceType_ComputeEngineDisk = @"COMPUTE_ENGINE_DISK"; +NSString * const kGTLRBackupdr_ResourceBackupConfig_TargetResourceType_ComputeEngineRegionalDisk = @"COMPUTE_ENGINE_REGIONAL_DISK"; NSString * const kGTLRBackupdr_ResourceBackupConfig_TargetResourceType_ComputeEngineVm = @"COMPUTE_ENGINE_VM"; NSString * const kGTLRBackupdr_ResourceBackupConfig_TargetResourceType_ResourceTypeUnspecified = @"RESOURCE_TYPE_UNSPECIFIED"; @@ -328,6 +331,19 @@ NSString * const kGTLRBackupdr_StandardSchedule_RecurrenceType_Weekly = @"WEEKLY"; NSString * const kGTLRBackupdr_StandardSchedule_RecurrenceType_Yearly = @"YEARLY"; +// GTLRBackupdr_Trial.endReason +NSString * const kGTLRBackupdr_Trial_EndReason_Discontinued = @"DISCONTINUED"; +NSString * const kGTLRBackupdr_Trial_EndReason_EndReasonUnspecified = @"END_REASON_UNSPECIFIED"; +NSString * const kGTLRBackupdr_Trial_EndReason_MoveToPaid = @"MOVE_TO_PAID"; + +// GTLRBackupdr_Trial.state +NSString * const kGTLRBackupdr_Trial_State_Eligible = @"ELIGIBLE"; +NSString * const kGTLRBackupdr_Trial_State_Expired = @"EXPIRED"; +NSString * const kGTLRBackupdr_Trial_State_NotEligible = @"NOT_ELIGIBLE"; +NSString * const kGTLRBackupdr_Trial_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRBackupdr_Trial_State_Subscribed = @"SUBSCRIBED"; +NSString * const kGTLRBackupdr_Trial_State_Unsubscribed = @"UNSUBSCRIBED"; + // GTLRBackupdr_WeekDayOfMonth.dayOfWeek NSString * const kGTLRBackupdr_WeekDayOfMonth_DayOfWeek_DayOfWeekUnspecified = @"DAY_OF_WEEK_UNSPECIFIED"; NSString * const kGTLRBackupdr_WeekDayOfMonth_DayOfWeek_Friday = @"FRIDAY"; @@ -2255,6 +2271,15 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_SubscribeTrialRequest +// + +@implementation GTLRBackupdr_SubscribeTrialRequest +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupdr_Tags @@ -2329,6 +2354,16 @@ @implementation GTLRBackupdr_TestIamPermissionsResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_Trial +// + +@implementation GTLRBackupdr_Trial +@dynamic endReason, endTime, name, startTime, state; +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupdr_TriggerBackupRequest diff --git a/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m b/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m index 8c8dcf2e7..9d6e60d9d 100644 --- a/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m +++ b/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m @@ -893,6 +893,25 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRBackupdrQuery_ProjectsLocationsGetTrial + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRBackupdrQuery_ProjectsLocationsGetTrial *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRBackupdr_Trial class]; + query.loggingName = @"backupdr.projects.locations.getTrial"; + return query; +} + +@end + @implementation GTLRBackupdrQuery_ProjectsLocationsList @dynamic extraLocationTypes, filter, name, pageSize, pageToken; @@ -1236,3 +1255,30 @@ + (instancetype)queryWithObject:(GTLRBackupdr_InitializeServiceRequest *)object } @end + +@implementation GTLRBackupdrQuery_ProjectsLocationsTrialSubscribe + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRBackupdr_SubscribeTrialRequest *)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}/trial:subscribe"; + GTLRBackupdrQuery_ProjectsLocationsTrialSubscribe *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRBackupdr_Trial class]; + query.loggingName = @"backupdr.projects.locations.trial.subscribe"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h index 624ebc264..987c67b92 100644 --- a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h +++ b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h @@ -1125,6 +1125,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_LocationMetadata_UnsupportedFea FOUNDATION_EXTERN NSString * const kGTLRBackupdr_LocationMetadata_UnsupportedFeatures_FeatureUnspecified; /** Value: "MANAGEMENT_SERVER" */ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_LocationMetadata_UnsupportedFeatures_ManagementServer; +/** Value: "PROTECTION_SUMMARY" */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_LocationMetadata_UnsupportedFeatures_ProtectionSummary; // ---------------------------------------------------------------------------- // GTLRBackupdr_ManagementServer.state @@ -1334,6 +1336,18 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_NodeAffinity_OperatorProperty_O * Value: "CLOUD_SQL_INSTANCE" */ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_ResourceBackupConfig_TargetResourceType_CloudSqlInstance; +/** + * Compute Engine Disk. + * + * Value: "COMPUTE_ENGINE_DISK" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_ResourceBackupConfig_TargetResourceType_ComputeEngineDisk; +/** + * Compute Engine Regional Disk. + * + * Value: "COMPUTE_ENGINE_REGIONAL_DISK" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_ResourceBackupConfig_TargetResourceType_ComputeEngineRegionalDisk; /** * Compute Engine VM. * @@ -1647,6 +1661,68 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_StandardSchedule_RecurrenceType */ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_StandardSchedule_RecurrenceType_Yearly; +// ---------------------------------------------------------------------------- +// GTLRBackupdr_Trial.endReason + +/** + * Trial is discontinued before expiration. + * + * Value: "DISCONTINUED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_Trial_EndReason_Discontinued; +/** + * End reason not set. + * + * Value: "END_REASON_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_Trial_EndReason_EndReasonUnspecified; +/** + * Trial is deliberately ended by the user to transition to paid usage. + * + * Value: "MOVE_TO_PAID" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_Trial_EndReason_MoveToPaid; + +// ---------------------------------------------------------------------------- +// GTLRBackupdr_Trial.state + +/** + * Trial is eligible for enablement. + * + * Value: "ELIGIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_Trial_State_Eligible; +/** + * Trial is expired post 30 days of subscription. + * + * Value: "EXPIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_Trial_State_Expired; +/** + * Trial is not eligible for enablement. + * + * Value: "NOT_ELIGIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_Trial_State_NotEligible; +/** + * State not set. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_Trial_State_StateUnspecified; +/** + * Trial is subscribed. + * + * Value: "SUBSCRIBED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_Trial_State_Subscribed; +/** + * Trial is unsubscribed before expiration. + * + * Value: "UNSUBSCRIBED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_Trial_State_Unsubscribed; + // ---------------------------------------------------------------------------- // GTLRBackupdr_WeekDayOfMonth.dayOfWeek @@ -2885,7 +2961,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week * defined in “days”. The value should be greater than or equal to minimum * enforced retention of the backup vault. Minimum value is 1 and maximum value * is 36159 for custom retention on-demand backup. Minimum and maximum values - * are workload specific for all other rules. + * are workload specific for all other rules. Note: Longer retention can lead + * to higher storage costs post introductory trial. We recommend starting with + * a short duration of 3 days or less. * * Uses NSNumber of intValue. */ @@ -2954,6 +3032,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week /** * Required. The default and minimum enforced retention for each backup within * the backup vault. The enforced retention for each backup can be extended. + * Note: Longer minimum enforced retention period impacts potential storage + * costs post introductory trial. We recommend starting with a short duration + * of 3 days or less. */ @property(nonatomic, strong, nullable) GTLRDuration *backupMinimumEnforcedRetentionDuration; @@ -6025,6 +6106,10 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week * Likely values: * @arg @c kGTLRBackupdr_ResourceBackupConfig_TargetResourceType_CloudSqlInstance * Cloud SQL instance. (Value: "CLOUD_SQL_INSTANCE") + * @arg @c kGTLRBackupdr_ResourceBackupConfig_TargetResourceType_ComputeEngineDisk + * Compute Engine Disk. (Value: "COMPUTE_ENGINE_DISK") + * @arg @c kGTLRBackupdr_ResourceBackupConfig_TargetResourceType_ComputeEngineRegionalDisk + * Compute Engine Regional Disk. (Value: "COMPUTE_ENGINE_REGIONAL_DISK") * @arg @c kGTLRBackupdr_ResourceBackupConfig_TargetResourceType_ComputeEngineVm * Compute Engine VM. (Value: "COMPUTE_ENGINE_VM") * @arg @c kGTLRBackupdr_ResourceBackupConfig_TargetResourceType_ResourceTypeUnspecified @@ -6513,6 +6598,13 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week @end +/** + * Request message for subscribing to a trial. + */ +@interface GTLRBackupdr_SubscribeTrialRequest : GTLRObject +@end + + /** * A set of instance tags. */ @@ -6587,6 +6679,58 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week @end +/** + * Represents a Trial for a project. + */ +@interface GTLRBackupdr_Trial : GTLRObject + +/** + * Output only. The reason for ending the trial. + * + * Likely values: + * @arg @c kGTLRBackupdr_Trial_EndReason_Discontinued Trial is discontinued + * before expiration. (Value: "DISCONTINUED") + * @arg @c kGTLRBackupdr_Trial_EndReason_EndReasonUnspecified End reason not + * set. (Value: "END_REASON_UNSPECIFIED") + * @arg @c kGTLRBackupdr_Trial_EndReason_MoveToPaid Trial is deliberately + * ended by the user to transition to paid usage. (Value: "MOVE_TO_PAID") + */ +@property(nonatomic, copy, nullable) NSString *endReason; + +/** Output only. The time when the trial will expire. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** + * Identifier. The resource name of the trial. Format: + * projects/{project}/locations/{location}/trial + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. The time when the trial was subscribed. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +/** + * Output only. The state of the trial. + * + * Likely values: + * @arg @c kGTLRBackupdr_Trial_State_Eligible Trial is eligible for + * enablement. (Value: "ELIGIBLE") + * @arg @c kGTLRBackupdr_Trial_State_Expired Trial is expired post 30 days of + * subscription. (Value: "EXPIRED") + * @arg @c kGTLRBackupdr_Trial_State_NotEligible Trial is not eligible for + * enablement. (Value: "NOT_ELIGIBLE") + * @arg @c kGTLRBackupdr_Trial_State_StateUnspecified State not set. (Value: + * "STATE_UNSPECIFIED") + * @arg @c kGTLRBackupdr_Trial_State_Subscribed Trial is subscribed. (Value: + * "SUBSCRIBED") + * @arg @c kGTLRBackupdr_Trial_State_Unsubscribed Trial is unsubscribed + * before expiration. (Value: "UNSUBSCRIBED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + /** * Request message for triggering a backup. */ diff --git a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h index f96dd0e84..18d46f2a9 100644 --- a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h +++ b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h @@ -1953,6 +1953,32 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdrViewBackupViewUnspecified; @end +/** + * Gets the Trial state for a given project + * + * Method: backupdr.projects.locations.getTrial + * + * Authorization scope(s): + * @c kGTLRAuthScopeBackupdrCloudPlatform + */ +@interface GTLRBackupdrQuery_ProjectsLocationsGetTrial : GTLRBackupdrQuery + +/** Required. The name of the trial to retrieve. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRBackupdr_Trial. + * + * Gets the Trial state for a given project + * + * @param name Required. The name of the trial to retrieve. + * + * @return GTLRBackupdrQuery_ProjectsLocationsGetTrial + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Lists information about the supported locations for this service. * @@ -1964,8 +1990,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdrViewBackupViewUnspecified; @interface GTLRBackupdrQuery_ProjectsLocationsList : GTLRBackupdrQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; @@ -2600,6 +2626,36 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdrViewBackupViewUnspecified; @end +/** + * Subscribes to a trial for a project + * + * Method: backupdr.projects.locations.trial.subscribe + * + * Authorization scope(s): + * @c kGTLRAuthScopeBackupdrCloudPlatform + */ +@interface GTLRBackupdrQuery_ProjectsLocationsTrialSubscribe : GTLRBackupdrQuery + +/** Required. The parent resource where this trial will be created. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRBackupdr_Trial. + * + * Subscribes to a trial for a project + * + * @param object The @c GTLRBackupdr_SubscribeTrialRequest to include in the + * query. + * @param parent Required. The parent resource where this trial will be + * created. + * + * @return GTLRBackupdrQuery_ProjectsLocationsTrialSubscribe + */ ++ (instancetype)queryWithObject:(GTLRBackupdr_SubscribeTrialRequest *)object + parent:(NSString *)parent; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEQuery.h b/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEQuery.h index e5200ce99..8f0126052 100644 --- a/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEQuery.h +++ b/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEQuery.h @@ -1326,8 +1326,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRBackupforGKEQuery_ProjectsLocationsList : GTLRBackupforGKEQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpQuery.h b/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpQuery.h index 6a6316de8..07b1f12e6 100644 --- a/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpQuery.h +++ b/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpQuery.h @@ -1486,8 +1486,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRBeyondCorpQuery_ProjectsLocationsList : GTLRBeyondCorpQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferQuery.h b/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferQuery.h index 9771bff72..7dfe4b2bb 100644 --- a/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferQuery.h +++ b/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferQuery.h @@ -525,8 +525,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateU @interface GTLRBigQueryDataTransferQuery_ProjectsLocationsList : GTLRBigQueryDataTransferQuery /** - * Optional. Do not use this field. It is unsupported and is ignored unless - * explicitly documented otherwise. This is primarily for internal usage. + * Optional. Unless explicitly documented otherwise, don't use this unsupported + * field which is primarily intended for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationObjects.m b/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationObjects.m index c7df03ddc..ceb5e8e54 100644 --- a/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationObjects.m +++ b/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationObjects.m @@ -15,6 +15,9 @@ // GTLRBigQueryReservation_Assignment.jobType NSString * const kGTLRBigQueryReservation_Assignment_JobType_Background = @"BACKGROUND"; +NSString * const kGTLRBigQueryReservation_Assignment_JobType_BackgroundChangeDataCapture = @"BACKGROUND_CHANGE_DATA_CAPTURE"; +NSString * const kGTLRBigQueryReservation_Assignment_JobType_BackgroundColumnMetadataIndex = @"BACKGROUND_COLUMN_METADATA_INDEX"; +NSString * const kGTLRBigQueryReservation_Assignment_JobType_BackgroundSearchIndexRefresh = @"BACKGROUND_SEARCH_INDEX_REFRESH"; NSString * const kGTLRBigQueryReservation_Assignment_JobType_Continuous = @"CONTINUOUS"; NSString * const kGTLRBigQueryReservation_Assignment_JobType_JobTypeUnspecified = @"JOB_TYPE_UNSPECIFIED"; NSString * const kGTLRBigQueryReservation_Assignment_JobType_MlExternal = @"ML_EXTERNAL"; diff --git a/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationObjects.h b/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationObjects.h index 52e2a50f4..780a49c03 100644 --- a/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationObjects.h +++ b/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationObjects.h @@ -49,6 +49,30 @@ NS_ASSUME_NONNULL_BEGIN * Value: "BACKGROUND" */ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Assignment_JobType_Background; +/** + * Finer granularity background jobs for capturing changes in a source database + * and streaming them into BigQuery. Reservations with this job type take + * priority over a default BACKGROUND reservation assignment (if it exists). + * + * Value: "BACKGROUND_CHANGE_DATA_CAPTURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Assignment_JobType_BackgroundChangeDataCapture; +/** + * Finer granularity background jobs for refreshing cached metadata for + * BigQuery tables. Reservations with this job type take priority over a + * default BACKGROUND reservation assignment (if it exists). + * + * Value: "BACKGROUND_COLUMN_METADATA_INDEX" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Assignment_JobType_BackgroundColumnMetadataIndex; +/** + * Finer granularity background jobs for refreshing search indexes upon + * BigQuery table columns. Reservations with this job type take priority over a + * default BACKGROUND reservation assignment (if it exists). + * + * Value: "BACKGROUND_SEARCH_INDEX_REFRESH" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Assignment_JobType_BackgroundSearchIndexRefresh; /** * Continuous SQL jobs will use this reservation. Reservations with continuous * assignments cannot be mixed with non-continuous assignments. @@ -379,7 +403,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_FailoverReservationR FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_FailoverReservationRequest_FailoverMode_Hard; /** * When customers initiate a soft failover, BigQuery will wait until all - * committed writes are replicated to the secondary. + * committed writes are replicated to the secondary. This mode requires both + * regions to be available for the failover to succeed and prevents data loss. * * Value: "SOFT" */ @@ -505,6 +530,21 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_ScalingM * @arg @c kGTLRBigQueryReservation_Assignment_JobType_Background Background * jobs that BigQuery runs for the customers in the background. (Value: * "BACKGROUND") + * @arg @c kGTLRBigQueryReservation_Assignment_JobType_BackgroundChangeDataCapture + * Finer granularity background jobs for capturing changes in a source + * database and streaming them into BigQuery. Reservations with this job + * type take priority over a default BACKGROUND reservation assignment + * (if it exists). (Value: "BACKGROUND_CHANGE_DATA_CAPTURE") + * @arg @c kGTLRBigQueryReservation_Assignment_JobType_BackgroundColumnMetadataIndex + * Finer granularity background jobs for refreshing cached metadata for + * BigQuery tables. Reservations with this job type take priority over a + * default BACKGROUND reservation assignment (if it exists). (Value: + * "BACKGROUND_COLUMN_METADATA_INDEX") + * @arg @c kGTLRBigQueryReservation_Assignment_JobType_BackgroundSearchIndexRefresh + * Finer granularity background jobs for refreshing search indexes upon + * BigQuery table columns. Reservations with this job type take priority + * over a default BACKGROUND reservation assignment (if it exists). + * (Value: "BACKGROUND_SEARCH_INDEX_REFRESH") * @arg @c kGTLRBigQueryReservation_Assignment_JobType_Continuous Continuous * SQL jobs will use this reservation. Reservations with continuous * assignments cannot be mixed with non-continuous assignments. (Value: @@ -1027,7 +1067,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_ScalingM @interface GTLRBigQueryReservation_FailoverReservationRequest : GTLRObject /** - * Optional. failover mode for the failover operation. + * Optional. A parameter that determines how writes that are pending + * replication are handled after a failover is initiated. If not specified, + * HARD failover mode is used by default. * * Likely values: * @arg @c kGTLRBigQueryReservation_FailoverReservationRequest_FailoverMode_FailoverModeUnspecified @@ -1038,7 +1080,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_ScalingM * data loss for hard failover. (Value: "HARD") * @arg @c kGTLRBigQueryReservation_FailoverReservationRequest_FailoverMode_Soft * When customers initiate a soft failover, BigQuery will wait until all - * committed writes are replicated to the secondary. (Value: "SOFT") + * committed writes are replicated to the secondary. This mode requires + * both regions to be available for the failover to succeed and prevents + * data loss. (Value: "SOFT") */ @property(nonatomic, copy, nullable) NSString *failoverMode; diff --git a/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m b/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m index 5ef5336b1..aa7a6ac0a 100644 --- a/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m +++ b/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m @@ -26,6 +26,7 @@ // GTLRBigquery_ArimaForecastingMetrics.seasonalPeriods NSString * const kGTLRBigquery_ArimaForecastingMetrics_SeasonalPeriods_Daily = @"DAILY"; +NSString * const kGTLRBigquery_ArimaForecastingMetrics_SeasonalPeriods_Hourly = @"HOURLY"; NSString * const kGTLRBigquery_ArimaForecastingMetrics_SeasonalPeriods_Monthly = @"MONTHLY"; NSString * const kGTLRBigquery_ArimaForecastingMetrics_SeasonalPeriods_NoSeasonality = @"NO_SEASONALITY"; NSString * const kGTLRBigquery_ArimaForecastingMetrics_SeasonalPeriods_Quarterly = @"QUARTERLY"; @@ -35,6 +36,7 @@ // GTLRBigquery_ArimaModelInfo.seasonalPeriods NSString * const kGTLRBigquery_ArimaModelInfo_SeasonalPeriods_Daily = @"DAILY"; +NSString * const kGTLRBigquery_ArimaModelInfo_SeasonalPeriods_Hourly = @"HOURLY"; NSString * const kGTLRBigquery_ArimaModelInfo_SeasonalPeriods_Monthly = @"MONTHLY"; NSString * const kGTLRBigquery_ArimaModelInfo_SeasonalPeriods_NoSeasonality = @"NO_SEASONALITY"; NSString * const kGTLRBigquery_ArimaModelInfo_SeasonalPeriods_Quarterly = @"QUARTERLY"; @@ -44,6 +46,7 @@ // GTLRBigquery_ArimaResult.seasonalPeriods NSString * const kGTLRBigquery_ArimaResult_SeasonalPeriods_Daily = @"DAILY"; +NSString * const kGTLRBigquery_ArimaResult_SeasonalPeriods_Hourly = @"HOURLY"; NSString * const kGTLRBigquery_ArimaResult_SeasonalPeriods_Monthly = @"MONTHLY"; NSString * const kGTLRBigquery_ArimaResult_SeasonalPeriods_NoSeasonality = @"NO_SEASONALITY"; NSString * const kGTLRBigquery_ArimaResult_SeasonalPeriods_Quarterly = @"QUARTERLY"; @@ -53,6 +56,7 @@ // GTLRBigquery_ArimaSingleModelForecastingMetrics.seasonalPeriods NSString * const kGTLRBigquery_ArimaSingleModelForecastingMetrics_SeasonalPeriods_Daily = @"DAILY"; +NSString * const kGTLRBigquery_ArimaSingleModelForecastingMetrics_SeasonalPeriods_Hourly = @"HOURLY"; NSString * const kGTLRBigquery_ArimaSingleModelForecastingMetrics_SeasonalPeriods_Monthly = @"MONTHLY"; NSString * const kGTLRBigquery_ArimaSingleModelForecastingMetrics_SeasonalPeriods_NoSeasonality = @"NO_SEASONALITY"; NSString * const kGTLRBigquery_ArimaSingleModelForecastingMetrics_SeasonalPeriods_Quarterly = @"QUARTERLY"; @@ -2115,7 +2119,7 @@ @implementation GTLRBigquery_JobCancelResponse @implementation GTLRBigquery_JobConfiguration @dynamic copyProperty, dryRun, extract, jobTimeoutMs, jobType, labels, load, - query, reservation; + maxSlots, query, reservation; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"copyProperty" : @"copy" }; @@ -3157,9 +3161,9 @@ @implementation GTLRBigquery_QueryRequest @dynamic connectionProperties, continuous, createSession, defaultDataset, destinationEncryptionConfiguration, dryRun, formatOptions, jobCreationMode, jobTimeoutMs, kind, labels, location, - maximumBytesBilled, maxResults, parameterMode, preserveNulls, query, - queryParameters, requestId, reservation, timeoutMs, useLegacySql, - useQueryCache, writeIncrementalResults; + maximumBytesBilled, maxResults, maxSlots, parameterMode, preserveNulls, + query, queryParameters, requestId, reservation, timeoutMs, + useLegacySql, useQueryCache, writeIncrementalResults; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h index 4b218bfd8..f37017232 100644 --- a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h +++ b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h @@ -308,6 +308,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_Argument_Mode_Out; * Value: "DAILY" */ FOUNDATION_EXTERN NSString * const kGTLRBigquery_ArimaForecastingMetrics_SeasonalPeriods_Daily; +/** + * Hourly period, 1 hour. + * + * Value: "HOURLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ArimaForecastingMetrics_SeasonalPeriods_Hourly; /** * Monthly period, 30 days or irregular. * @@ -354,6 +360,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_ArimaForecastingMetrics_Seasona * Value: "DAILY" */ FOUNDATION_EXTERN NSString * const kGTLRBigquery_ArimaModelInfo_SeasonalPeriods_Daily; +/** + * Hourly period, 1 hour. + * + * Value: "HOURLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ArimaModelInfo_SeasonalPeriods_Hourly; /** * Monthly period, 30 days or irregular. * @@ -400,6 +412,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_ArimaModelInfo_SeasonalPeriods_ * Value: "DAILY" */ FOUNDATION_EXTERN NSString * const kGTLRBigquery_ArimaResult_SeasonalPeriods_Daily; +/** + * Hourly period, 1 hour. + * + * Value: "HOURLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ArimaResult_SeasonalPeriods_Hourly; /** * Monthly period, 30 days or irregular. * @@ -446,6 +464,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_ArimaResult_SeasonalPeriods_Yea * Value: "DAILY" */ FOUNDATION_EXTERN NSString * const kGTLRBigquery_ArimaSingleModelForecastingMetrics_SeasonalPeriods_Daily; +/** + * Hourly period, 1 hour. + * + * Value: "HOURLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_ArimaSingleModelForecastingMetrics_SeasonalPeriods_Hourly; /** * Monthly period, 30 days or irregular. * @@ -5353,8 +5377,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * Data policy option proto, it currently supports name only, will support - * precedence later. + * Data policy option. For more information, see [Mask data by applying data + * policies to a + * column](https://cloud.google.com/bigquery/docs/column-data-masking#data-policies-on-column/). */ @interface GTLRBigquery_DataPolicyOption : GTLRObject @@ -7976,6 +8001,15 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** [Pick one] Configures a load job. */ @property(nonatomic, strong, nullable) GTLRBigquery_JobConfigurationLoad *load; +/** + * Optional. INTERNAL: DO NOT USE. The maximum rate of slot consumption to + * allow for this job. If set, the number of slots used to execute the job will + * be throttled to try and keep its slot consumption below the requested rate. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxSlots; + /** [Pick one] Configures a query job. */ @property(nonatomic, strong, nullable) GTLRBigquery_JobConfigurationQuery *query; @@ -11140,6 +11174,16 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, strong, nullable) NSNumber *maxResults; +/** + * Optional. INTERNAL: DO NOT USE. The maximum rate of slot consumption to + * allow for this job. If set, the number of slots used to execute the job will + * be throttled to try and keep its slot consumption below the requested rate. + * This limit is best effort. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxSlots; + /** * GoogleSQL only. Set to POSITIONAL to use positional (?) query parameters or * to NAMED to use named (\@myparam) query parameters in this query. @@ -11809,15 +11853,17 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** * Required. The body of the routine. For functions, this is the expression in - * the AS clause. If language=SQL, it is the substring inside (but excluding) - * the parentheses. For example, for the function created with the following - * statement: `CREATE FUNCTION JoinLines(x string, y string) as (concat(x, - * "\\n", y))` The definition_body is `concat(x, "\\n", y)` (\\n is not - * replaced with linebreak). If language=JAVASCRIPT, it is the evaluated string - * in the AS clause. For example, for the function created with the following - * statement: `CREATE FUNCTION f() RETURNS STRING LANGUAGE js AS 'return - * "\\n";\\n'` The definition_body is `return "\\n";\\n` Note that both \\n are - * replaced with linebreaks. + * the AS clause. If `language = "SQL"`, it is the substring inside (but + * excluding) the parentheses. For example, for the function created with the + * following statement: `CREATE FUNCTION JoinLines(x string, y string) as + * (concat(x, "\\n", y))` The definition_body is `concat(x, "\\n", y)` (\\n is + * not replaced with linebreak). If `language="JAVASCRIPT"`, it is the + * evaluated string in the AS clause. For example, for the function created + * with the following statement: `CREATE FUNCTION f() RETURNS STRING LANGUAGE + * js AS 'return "\\n";\\n'` The definition_body is `return "\\n";\\n` Note + * that both \\n are replaced with linebreaks. If `definition_body` references + * another routine, then that routine must be fully qualified with its project + * ID. */ @property(nonatomic, copy, nullable) NSString *definitionBody; @@ -13544,7 +13590,10 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, copy, nullable) NSString *collation; -/** Optional. Data policy options, will replace the data_policies. */ +/** + * Optional. Data policies attached to this field, used for field-level access + * control. + */ @property(nonatomic, strong, nullable) NSArray *dataPolicies; /** diff --git a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryQuery.h b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryQuery.h index ce9651c48..a1d8c35a0 100644 --- a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryQuery.h +++ b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryQuery.h @@ -1618,7 +1618,6 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * Authorization scope(s): * @c kGTLRAuthScopeBigquery * @c kGTLRAuthScopeBigqueryCloudPlatform - * @c kGTLRAuthScopeBigqueryCloudPlatformReadOnly */ @interface GTLRBigqueryQuery_RowAccessPoliciesBatchDelete : GTLRBigqueryQuery @@ -1663,7 +1662,6 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * Authorization scope(s): * @c kGTLRAuthScopeBigquery * @c kGTLRAuthScopeBigqueryCloudPlatform - * @c kGTLRAuthScopeBigqueryCloudPlatformReadOnly */ @interface GTLRBigqueryQuery_RowAccessPoliciesDelete : GTLRBigqueryQuery @@ -1802,7 +1800,6 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * Authorization scope(s): * @c kGTLRAuthScopeBigquery * @c kGTLRAuthScopeBigqueryCloudPlatform - * @c kGTLRAuthScopeBigqueryCloudPlatformReadOnly */ @interface GTLRBigqueryQuery_RowAccessPoliciesInsert : GTLRBigqueryQuery @@ -1944,7 +1941,6 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * Authorization scope(s): * @c kGTLRAuthScopeBigquery * @c kGTLRAuthScopeBigqueryCloudPlatform - * @c kGTLRAuthScopeBigqueryCloudPlatformReadOnly */ @interface GTLRBigqueryQuery_RowAccessPoliciesUpdate : GTLRBigqueryQuery diff --git a/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminQuery.m b/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminQuery.m index b489e2380..39cde1524 100644 --- a/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminQuery.m +++ b/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminQuery.m @@ -35,44 +35,6 @@ @implementation GTLRBigtableAdminQuery @end -@implementation GTLRBigtableAdminQuery_OperationsCancel - -@dynamic name; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v2/{+name}:cancel"; - GTLRBigtableAdminQuery_OperationsCancel *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRBigtableAdmin_Empty class]; - query.loggingName = @"bigtableadmin.operations.cancel"; - return query; -} - -@end - -@implementation GTLRBigtableAdminQuery_OperationsDelete - -@dynamic name; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v2/{+name}"; - GTLRBigtableAdminQuery_OperationsDelete *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"DELETE" - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRBigtableAdmin_Empty class]; - query.loggingName = @"bigtableadmin.operations.delete"; - return query; -} - -@end - @implementation GTLRBigtableAdminQuery_OperationsGet @dynamic name; @@ -1955,25 +1917,6 @@ + (instancetype)queryWithObject:(GTLRBigtableAdmin_Instance *)object @end -@implementation GTLRBigtableAdminQuery_ProjectsLocationsGet - -@dynamic name; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v2/{+name}"; - GTLRBigtableAdminQuery_ProjectsLocationsGet *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRBigtableAdmin_Location class]; - query.loggingName = @"bigtableadmin.projects.locations.get"; - return query; -} - -@end - @implementation GTLRBigtableAdminQuery_ProjectsLocationsList @dynamic extraLocationTypes, filter, name, pageSize, pageToken; diff --git a/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h b/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h index 84b153b66..072566638 100644 --- a/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h +++ b/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h @@ -2614,9 +2614,9 @@ GTLR_DEPRECATED /** * Optional. Input only. Immutable. Tag keys/values directly bound to this - * resource. For example: "123/environment": "production", "123/costCenter": - * "marketing" Tags and Labels (above) are both used to bind metadata to - * resources, with different use-cases. See + * resource. For example: - "123/environment": "production", - + * "123/costCenter": "marketing" Tags and Labels (above) are both used to bind + * metadata to resources, with different use-cases. See * https://cloud.google.com/resource-manager/docs/tags/tags-overview for an * in-depth overview on the difference between tags and labels. */ @@ -2664,9 +2664,9 @@ GTLR_DEPRECATED /** * Optional. Input only. Immutable. Tag keys/values directly bound to this - * resource. For example: "123/environment": "production", "123/costCenter": - * "marketing" Tags and Labels (above) are both used to bind metadata to - * resources, with different use-cases. See + * resource. For example: - "123/environment": "production", - + * "123/costCenter": "marketing" Tags and Labels (above) are both used to bind + * metadata to resources, with different use-cases. See * https://cloud.google.com/resource-manager/docs/tags/tags-overview for an * in-depth overview on the difference between tags and labels. * @@ -3131,7 +3131,8 @@ GTLR_DEPRECATED @interface GTLRBigtableAdmin_MaterializedView : GTLRObject /** - * Set to true to make the MaterializedView protected against deletion. + * Set to true to make the MaterializedView protected against deletion. Views: + * `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`. * * Uses NSNumber of boolValue. */ @@ -3140,17 +3141,22 @@ GTLR_DEPRECATED /** * Optional. The etag for this materialized view. This may be sent on update * requests to ensure that the client has an up-to-date value before - * proceeding. The server returns an ABORTED error on a mismatched etag. + * proceeding. The server returns an ABORTED error on a mismatched etag. Views: + * `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`. */ @property(nonatomic, copy, nullable) NSString *ETag; /** * Identifier. The unique name of the materialized view. Format: * `projects/{project}/instances/{instance}/materializedViews/{materialized_view}` + * Views: `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`. */ @property(nonatomic, copy, nullable) NSString *name; -/** Required. Immutable. The materialized view's select query. */ +/** + * Required. Immutable. The materialized view's select query. Views: + * `SCHEMA_VIEW`, `FULL`. + */ @property(nonatomic, copy, nullable) NSString *query; @end diff --git a/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminQuery.h b/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminQuery.h index 3a72f3a20..154b70104 100644 --- a/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminQuery.h +++ b/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminQuery.h @@ -97,90 +97,6 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdminViewViewUnspecified; @end -/** - * Starts asynchronous cancellation on a long-running operation. The server - * makes a best effort to cancel the operation, but success is not guaranteed. - * If the server doesn't support this method, it returns - * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or - * other methods to check whether the cancellation succeeded or whether the - * operation completed despite cancellation. On successful cancellation, the - * operation is not deleted; instead, it becomes an operation with an - * Operation.error value with a google.rpc.Status.code of `1`, corresponding to - * `Code.CANCELLED`. - * - * Method: bigtableadmin.operations.cancel - * - * Authorization scope(s): - * @c kGTLRAuthScopeBigtableAdminBigtableAdmin - * @c kGTLRAuthScopeBigtableAdminBigtableAdminCluster - * @c kGTLRAuthScopeBigtableAdminBigtableAdminInstance - * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdmin - * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdminCluster - * @c kGTLRAuthScopeBigtableAdminCloudPlatform - */ -@interface GTLRBigtableAdminQuery_OperationsCancel : GTLRBigtableAdminQuery - -/** The name of the operation resource to be cancelled. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Fetches a @c GTLRBigtableAdmin_Empty. - * - * Starts asynchronous cancellation on a long-running operation. The server - * makes a best effort to cancel the operation, but success is not guaranteed. - * If the server doesn't support this method, it returns - * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or - * other methods to check whether the cancellation succeeded or whether the - * operation completed despite cancellation. On successful cancellation, the - * operation is not deleted; instead, it becomes an operation with an - * Operation.error value with a google.rpc.Status.code of `1`, corresponding to - * `Code.CANCELLED`. - * - * @param name The name of the operation resource to be cancelled. - * - * @return GTLRBigtableAdminQuery_OperationsCancel - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - -/** - * Deletes a long-running operation. This method indicates that the client is - * no longer interested in the operation result. It does not cancel the - * operation. If the server doesn't support this method, it returns - * `google.rpc.Code.UNIMPLEMENTED`. - * - * Method: bigtableadmin.operations.delete - * - * Authorization scope(s): - * @c kGTLRAuthScopeBigtableAdminBigtableAdmin - * @c kGTLRAuthScopeBigtableAdminBigtableAdminCluster - * @c kGTLRAuthScopeBigtableAdminBigtableAdminInstance - * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdmin - * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdminCluster - * @c kGTLRAuthScopeBigtableAdminCloudPlatform - */ -@interface GTLRBigtableAdminQuery_OperationsDelete : GTLRBigtableAdminQuery - -/** The name of the operation resource to be deleted. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Fetches a @c GTLRBigtableAdmin_Empty. - * - * Deletes a long-running operation. This method indicates that the client is - * no longer interested in the operation result. It does not cancel the - * operation. If the server doesn't support this method, it returns - * `google.rpc.Code.UNIMPLEMENTED`. - * - * @param name The name of the operation resource to be deleted. - * - * @return GTLRBigtableAdminQuery_OperationsDelete - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - /** * Gets the latest state of a long-running operation. Clients can use this * method to poll the operation result at intervals as recommended by the API @@ -2068,6 +1984,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdminViewViewUnspecified; /** * Identifier. The unique name of the materialized view. Format: * `projects/{project}/instances/{instance}/materializedViews/{materialized_view}` + * Views: `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -2087,6 +2004,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdminViewViewUnspecified; * query. * @param name Identifier. The unique name of the materialized view. Format: * `projects/{project}/instances/{instance}/materializedViews/{materialized_view}` + * Views: `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`. * * @return GTLRBigtableAdminQuery_ProjectsInstancesMaterializedViewsPatch */ @@ -3767,38 +3685,6 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdminViewViewUnspecified; @end -/** - * Gets information about a location. - * - * Method: bigtableadmin.projects.locations.get - * - * Authorization scope(s): - * @c kGTLRAuthScopeBigtableAdminBigtableAdmin - * @c kGTLRAuthScopeBigtableAdminBigtableAdminCluster - * @c kGTLRAuthScopeBigtableAdminBigtableAdminInstance - * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdmin - * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdminCluster - * @c kGTLRAuthScopeBigtableAdminCloudPlatform - * @c kGTLRAuthScopeBigtableAdminCloudPlatformReadOnly - */ -@interface GTLRBigtableAdminQuery_ProjectsLocationsGet : GTLRBigtableAdminQuery - -/** Resource name for the location. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Fetches a @c GTLRBigtableAdmin_Location. - * - * Gets information about a location. - * - * @param name Resource name for the location. - * - * @return GTLRBigtableAdminQuery_ProjectsLocationsGet - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - /** * Lists information about the supported locations for this service. * @@ -3816,8 +3702,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdminViewViewUnspecified; @interface GTLRBigtableAdminQuery_ProjectsLocationsList : GTLRBigtableAdminQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/CCAIPlatform/GTLRCCAIPlatformObjects.m b/Sources/GeneratedServices/CCAIPlatform/GTLRCCAIPlatformObjects.m index ae05378f5..5293007c8 100644 --- a/Sources/GeneratedServices/CCAIPlatform/GTLRCCAIPlatformObjects.m +++ b/Sources/GeneratedServices/CCAIPlatform/GTLRCCAIPlatformObjects.m @@ -143,9 +143,10 @@ @implementation GTLRCCAIPlatform_Component @implementation GTLRCCAIPlatform_ContactCenter @dynamic adminUser, advancedReportingEnabled, ccaipManagedUsers, createTime, - critical, customerDomainPrefix, displayName, early, instanceConfig, - kmsKey, labels, name, normal, privateAccess, privateComponents, - releaseVersion, samlParams, state, updateTime, uris, userEmail; + critical, customerDomainPrefix, displayName, early, featureConfig, + instanceConfig, kmsKey, labels, name, normal, privateAccess, + privateComponents, releaseVersion, samlParams, state, updateTime, uris, + userEmail; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -225,6 +226,16 @@ @implementation GTLRCCAIPlatform_Empty @end +// ---------------------------------------------------------------------------- +// +// GTLRCCAIPlatform_FeatureConfig +// + +@implementation GTLRCCAIPlatform_FeatureConfig +@dynamic agentDesktopEnabled; +@end + + // ---------------------------------------------------------------------------- // // GTLRCCAIPlatform_GoogleCloudCommonOperationMetadata diff --git a/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformObjects.h b/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformObjects.h index 720fd0913..b9023458e 100644 --- a/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformObjects.h +++ b/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformObjects.h @@ -18,6 +18,7 @@ @class GTLRCCAIPlatform_ContactCenter_Labels; @class GTLRCCAIPlatform_Critical; @class GTLRCCAIPlatform_Early; +@class GTLRCCAIPlatform_FeatureConfig; @class GTLRCCAIPlatform_InstanceConfig; @class GTLRCCAIPlatform_Location; @class GTLRCCAIPlatform_Location_Labels; @@ -676,6 +677,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_WeeklySchedule_Days_Wednesd /** Optional. Early release channel. */ @property(nonatomic, strong, nullable) GTLRCCAIPlatform_Early *early; +/** Optional. Feature configuration to populate the feature flags. */ +@property(nonatomic, strong, nullable) GTLRCCAIPlatform_FeatureConfig *featureConfig; + /** * The configuration of this instance, it is currently immutable once created. */ @@ -825,6 +829,21 @@ FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_WeeklySchedule_Days_Wednesd @end +/** + * GTLRCCAIPlatform_FeatureConfig + */ +@interface GTLRCCAIPlatform_FeatureConfig : GTLRObject + +/** + * Optional. If true - enables the agent desktop feature. Default is false. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *agentDesktopEnabled; + +@end + + /** * Represents the metadata of the long-running operation. */ diff --git a/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformQuery.h b/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformQuery.h index 163438d4d..8bd2f5a21 100644 --- a/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformQuery.h +++ b/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformQuery.h @@ -284,8 +284,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCCAIPlatformQuery_ProjectsLocationsList : GTLRCCAIPlatformQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/CertificateAuthorityService/GTLRCertificateAuthorityServiceObjects.m b/Sources/GeneratedServices/CertificateAuthorityService/GTLRCertificateAuthorityServiceObjects.m index 6c89fde82..29e6b14e8 100644 --- a/Sources/GeneratedServices/CertificateAuthorityService/GTLRCertificateAuthorityServiceObjects.m +++ b/Sources/GeneratedServices/CertificateAuthorityService/GTLRCertificateAuthorityServiceObjects.m @@ -102,11 +102,6 @@ NSString * const kGTLRCertificateAuthorityService_PublishingOptions_EncodingFormat_EncodingFormatUnspecified = @"ENCODING_FORMAT_UNSPECIFIED"; NSString * const kGTLRCertificateAuthorityService_PublishingOptions_EncodingFormat_Pem = @"PEM"; -// GTLRCertificateAuthorityService_ReconciliationOperationMetadata.exclusiveAction -NSString * const kGTLRCertificateAuthorityService_ReconciliationOperationMetadata_ExclusiveAction_Delete = @"DELETE"; -NSString * const kGTLRCertificateAuthorityService_ReconciliationOperationMetadata_ExclusiveAction_Retry = @"RETRY"; -NSString * const kGTLRCertificateAuthorityService_ReconciliationOperationMetadata_ExclusiveAction_UnknownRepairAction = @"UNKNOWN_REPAIR_ACTION"; - // GTLRCertificateAuthorityService_RevocationDetails.revocationState NSString * const kGTLRCertificateAuthorityService_RevocationDetails_RevocationState_AffiliationChanged = @"AFFILIATION_CHANGED"; NSString * const kGTLRCertificateAuthorityService_RevocationDetails_RevocationState_AttributeAuthorityCompromise = @"ATTRIBUTE_AUTHORITY_COMPROMISE"; @@ -267,7 +262,7 @@ @implementation GTLRCertificateAuthorityService_CaOptions // @implementation GTLRCertificateAuthorityService_CaPool -@dynamic issuancePolicy, labels, name, publishingOptions, tier; +@dynamic encryptionSpec, issuancePolicy, labels, name, publishingOptions, tier; @end @@ -558,6 +553,16 @@ @implementation GTLRCertificateAuthorityService_EnableCertificateAuthorityReques @end +// ---------------------------------------------------------------------------- +// +// GTLRCertificateAuthorityService_EncryptionSpec +// + +@implementation GTLRCertificateAuthorityService_EncryptionSpec +@dynamic cloudKmsKey; +@end + + // ---------------------------------------------------------------------------- // // GTLRCertificateAuthorityService_Expr @@ -1035,16 +1040,6 @@ @implementation GTLRCertificateAuthorityService_PublishingOptions @end -// ---------------------------------------------------------------------------- -// -// GTLRCertificateAuthorityService_ReconciliationOperationMetadata -// - -@implementation GTLRCertificateAuthorityService_ReconciliationOperationMetadata -@dynamic deleteResource, exclusiveAction; -@end - - // ---------------------------------------------------------------------------- // // GTLRCertificateAuthorityService_RelativeDistinguishedName diff --git a/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceObjects.h b/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceObjects.h index 27e43bb5f..77c391e4f 100644 --- a/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceObjects.h +++ b/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceObjects.h @@ -42,6 +42,7 @@ @class GTLRCertificateAuthorityService_CertificateTemplate; @class GTLRCertificateAuthorityService_CertificateTemplate_Labels; @class GTLRCertificateAuthorityService_EcKeyType; +@class GTLRCertificateAuthorityService_EncryptionSpec; @class GTLRCertificateAuthorityService_Expr; @class GTLRCertificateAuthorityService_ExtendedKeyUsageOptions; @class GTLRCertificateAuthorityService_IssuanceModes; @@ -553,33 +554,6 @@ FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_PublishingOp */ FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_PublishingOptions_EncodingFormat_Pem; -// ---------------------------------------------------------------------------- -// GTLRCertificateAuthorityService_ReconciliationOperationMetadata.exclusiveAction - -/** - * The resource has to be deleted. When using this bit, the CLH should fail the - * operation. DEPRECATED. Instead use DELETE_RESOURCE OperationSignal in - * SideChannel. - * - * Value: "DELETE" - */ -FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_ReconciliationOperationMetadata_ExclusiveAction_Delete GTLR_DEPRECATED; -/** - * This resource could not be repaired but the repair should be tried again at - * a later time. This can happen if there is a dependency that needs to be - * resolved first- e.g. if a parent resource must be repaired before a child - * resource. - * - * Value: "RETRY" - */ -FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_ReconciliationOperationMetadata_ExclusiveAction_Retry; -/** - * Unknown repair action. - * - * Value: "UNKNOWN_REPAIR_ACTION" - */ -FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_ReconciliationOperationMetadata_ExclusiveAction_UnknownRepairAction; - // ---------------------------------------------------------------------------- // GTLRCertificateAuthorityService_RevocationDetails.revocationState @@ -1075,6 +1049,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_RevokedCerti */ @interface GTLRCertificateAuthorityService_CaPool : GTLRObject +/** + * Optional. When EncryptionSpec is provided, the Subject, SubjectAltNames, and + * the PEM-encoded certificate fields will be encrypted at rest. + */ +@property(nonatomic, strong, nullable) GTLRCertificateAuthorityService_EncryptionSpec *encryptionSpec; + /** * Optional. The IssuancePolicy to control how Certificates will be issued from * this CaPool. @@ -1870,6 +1850,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_RevokedCerti @end +/** + * The configuration used for encrypting data at rest. + */ +@interface GTLRCertificateAuthorityService_EncryptionSpec : GTLRObject + +/** + * The resource name for a Cloud KMS key in the format `projects/ * /locations/ + * * /keyRings/ * /cryptoKeys/ *`. + */ +@property(nonatomic, copy, nullable) NSString *cloudKmsKey; + +@end + + /** * Represents a textual expression in the Common Expression Language (CEL) * syntax. CEL is a C-like expression language. The syntax and semantics of CEL @@ -2938,39 +2932,6 @@ FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_RevokedCerti @end -/** - * Operation metadata returned by the CLH during resource state reconciliation. - */ -@interface GTLRCertificateAuthorityService_ReconciliationOperationMetadata : GTLRObject - -/** - * DEPRECATED. Use exclusive_action instead. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *deleteResource GTLR_DEPRECATED; - -/** - * Excluisive action returned by the CLH. - * - * Likely values: - * @arg @c kGTLRCertificateAuthorityService_ReconciliationOperationMetadata_ExclusiveAction_Delete - * The resource has to be deleted. When using this bit, the CLH should - * fail the operation. DEPRECATED. Instead use DELETE_RESOURCE - * OperationSignal in SideChannel. (Value: "DELETE") - * @arg @c kGTLRCertificateAuthorityService_ReconciliationOperationMetadata_ExclusiveAction_Retry - * This resource could not be repaired but the repair should be tried - * again at a later time. This can happen if there is a dependency that - * needs to be resolved first- e.g. if a parent resource must be repaired - * before a child resource. (Value: "RETRY") - * @arg @c kGTLRCertificateAuthorityService_ReconciliationOperationMetadata_ExclusiveAction_UnknownRepairAction - * Unknown repair action. (Value: "UNKNOWN_REPAIR_ACTION") - */ -@property(nonatomic, copy, nullable) NSString *exclusiveAction; - -@end - - /** * RelativeDistinguishedName specifies a relative distinguished name which will * be used to build a distinguished name. diff --git a/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceQuery.h b/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceQuery.h index 14f123ce4..4f5af6877 100644 --- a/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceQuery.h +++ b/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceQuery.h @@ -1822,8 +1822,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCertificateAuthorityServiceQuery_ProjectsLocationsList : GTLRCertificateAuthorityServiceQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/CertificateManager/Public/GoogleAPIClientForREST/GTLRCertificateManagerQuery.h b/Sources/GeneratedServices/CertificateManager/Public/GoogleAPIClientForREST/GTLRCertificateManagerQuery.h index 5ff232887..d3868e2e2 100644 --- a/Sources/GeneratedServices/CertificateManager/Public/GoogleAPIClientForREST/GTLRCertificateManagerQuery.h +++ b/Sources/GeneratedServices/CertificateManager/Public/GoogleAPIClientForREST/GTLRCertificateManagerQuery.h @@ -1066,8 +1066,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCertificateManagerQuery_ProjectsLocationsList : GTLRCertificateManagerQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m b/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m index 451eada9b..3f0317226 100644 --- a/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m +++ b/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m @@ -422,6 +422,7 @@ NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1AttestationCredential_KeyType_RsaKey = @"RSA_KEY"; // GTLRChromeManagement_GoogleChromeManagementVersionsV1CertificateProvisioningProcess.signatureAlgorithm +NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1CertificateProvisioningProcess_SignatureAlgorithm_SignatureAlgorithmEcdsaSha256 = @"SIGNATURE_ALGORITHM_ECDSA_SHA256"; NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1CertificateProvisioningProcess_SignatureAlgorithm_SignatureAlgorithmRsaPkcs1V15Sha256 = @"SIGNATURE_ALGORITHM_RSA_PKCS1_V1_5_SHA256"; NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1CertificateProvisioningProcess_SignatureAlgorithm_SignatureAlgorithmUnspecified = @"SIGNATURE_ALGORITHM_UNSPECIFIED"; @@ -486,6 +487,18 @@ NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ReportingDataPolicyData_Source_UserCloud = @"USER_CLOUD"; NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ReportingDataPolicyData_Source_UserPlatform = @"USER_PLATFORM"; +// GTLRChromeManagement_GoogleChromeManagementVersionsV1ScepProfile.keyUsages +NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ScepProfile_KeyUsages_KeyUsageKeyEncipherment = @"KEY_USAGE_KEY_ENCIPHERMENT"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ScepProfile_KeyUsages_KeyUsageSigning = @"KEY_USAGE_SIGNING"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ScepProfile_KeyUsages_KeyUsageUnspecified = @"KEY_USAGE_UNSPECIFIED"; + +// GTLRChromeManagement_GoogleChromeManagementVersionsV1SubjectAltName.type +NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1SubjectAltName_Type_DnsName = @"DNS_NAME"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1SubjectAltName_Type_OtherNameUserPrincipalName = @"OTHER_NAME_USER_PRINCIPAL_NAME"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1SubjectAltName_Type_Rfc822Name = @"RFC822_NAME"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1SubjectAltName_Type_SubjectAltNameTypeUnspecified = @"SUBJECT_ALT_NAME_TYPE_UNSPECIFIED"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1SubjectAltName_Type_UniformResourceIdentifier = @"UNIFORM_RESOURCE_IDENTIFIER"; + // ---------------------------------------------------------------------------- // // GTLRChromeManagement_GoogleChromeManagementV1AndroidAppInfo @@ -1882,8 +1895,8 @@ @implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1Attestation @implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1CertificateProvisioningProcess @dynamic chromeOsDevice, chromeOsUserSession, failureMessage, genericCaConnection, genericProfile, issuedCertificate, name, - provisioningProfileId, signature, signatureAlgorithm, signData, - startTime, subjectPublicKeyInfo; + provisioningProfileId, scepCaConnection, scepProfile, signature, + signatureAlgorithm, signData, startTime, subjectPublicKeyInfo; @end @@ -2148,6 +2161,37 @@ @implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1ReportingDa @end +// ---------------------------------------------------------------------------- +// +// GTLRChromeManagement_GoogleChromeManagementVersionsV1ScepCaConnection +// + +@implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1ScepCaConnection +@dynamic caConnectionAdapterConfigReference; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRChromeManagement_GoogleChromeManagementVersionsV1ScepProfile +// + +@implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1ScepProfile +@dynamic certificateTemplateName, country, keyUsages, locality, organization, + organizationalUnits, state, subjectAltNames, subjectCommonName; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"keyUsages" : [NSString class], + @"organizationalUnits" : [NSString class], + @"subjectAltNames" : [GTLRChromeManagement_GoogleChromeManagementVersionsV1SubjectAltName class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRChromeManagement_GoogleChromeManagementVersionsV1SignDataMetadata @@ -2168,6 +2212,16 @@ @implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1SignDataRes @end +// ---------------------------------------------------------------------------- +// +// GTLRChromeManagement_GoogleChromeManagementVersionsV1SubjectAltName +// + +@implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1SubjectAltName +@dynamic type, value; +@end + + // ---------------------------------------------------------------------------- // // GTLRChromeManagement_GoogleChromeManagementVersionsV1ThirdPartyProfileUser diff --git a/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h b/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h index df9ec7ff8..40fb25435 100644 --- a/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h +++ b/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h @@ -108,6 +108,9 @@ @class GTLRChromeManagement_GoogleChromeManagementVersionsV1ReportingDataExtensionData; @class GTLRChromeManagement_GoogleChromeManagementVersionsV1ReportingDataExtensionPolicyData; @class GTLRChromeManagement_GoogleChromeManagementVersionsV1ReportingDataPolicyData; +@class GTLRChromeManagement_GoogleChromeManagementVersionsV1ScepCaConnection; +@class GTLRChromeManagement_GoogleChromeManagementVersionsV1ScepProfile; +@class GTLRChromeManagement_GoogleChromeManagementVersionsV1SubjectAltName; @class GTLRChromeManagement_GoogleChromeManagementVersionsV1ThirdPartyProfileUser; @class GTLRChromeManagement_GoogleRpcStatus; @class GTLRChromeManagement_GoogleRpcStatus_Details_Item; @@ -2243,6 +2246,14 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV // ---------------------------------------------------------------------------- // GTLRChromeManagement_GoogleChromeManagementVersionsV1CertificateProvisioningProcess.signatureAlgorithm +/** + * The PKCS#1 digest info is built by the server-side and sent to the client + * unhashed. The client is responsible for signing and hashing. Uses the P-256 + * curve. + * + * Value: "SIGNATURE_ALGORITHM_ECDSA_SHA256" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1CertificateProvisioningProcess_SignatureAlgorithm_SignatureAlgorithmEcdsaSha256; /** * The server-side builds the PKCS#1 DigestInfo, i.e., the SHA256 hash is * constructed on the server-side. The client should sign using RSA with PKCS#1 @@ -2559,6 +2570,62 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ReportingDataPolicyData_Source_UserPlatform; +// ---------------------------------------------------------------------------- +// GTLRChromeManagement_GoogleChromeManagementVersionsV1ScepProfile.keyUsages + +/** + * The key can be used for key encipherment. + * + * Value: "KEY_USAGE_KEY_ENCIPHERMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ScepProfile_KeyUsages_KeyUsageKeyEncipherment; +/** + * The key can be used for signing. + * + * Value: "KEY_USAGE_SIGNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ScepProfile_KeyUsages_KeyUsageSigning; +/** + * The key usage is unspecified. + * + * Value: "KEY_USAGE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ScepProfile_KeyUsages_KeyUsageUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRChromeManagement_GoogleChromeManagementVersionsV1SubjectAltName.type + +/** + * The subject alternative name type is a a Domain Name System (DNS). + * + * Value: "DNS_NAME" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1SubjectAltName_Type_DnsName; +/** + * The subject alternative name type is a User Principal Name (UPN). + * + * Value: "OTHER_NAME_USER_PRINCIPAL_NAME" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1SubjectAltName_Type_OtherNameUserPrincipalName; +/** + * The subject alternative name type is an email address adhering to RFC822. + * + * Value: "RFC822_NAME" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1SubjectAltName_Type_Rfc822Name; +/** + * The subject alternative name type is unspecified. + * + * Value: "SUBJECT_ALT_NAME_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1SubjectAltName_Type_SubjectAltNameTypeUnspecified; +/** + * The subject alternative name type is a Uniform Resource Identifier (URI). + * + * Value: "UNIFORM_RESOURCE_IDENTIFIER" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1SubjectAltName_Type_UniformResourceIdentifier; + /** * Android app information. */ @@ -6668,6 +6735,12 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV /** Output only. The ID of the certificate provisioning profile. */ @property(nonatomic, copy, nullable) NSString *provisioningProfileId; +/** Output only. The CA connection is a SCEP CA connection. */ +@property(nonatomic, strong, nullable) GTLRChromeManagement_GoogleChromeManagementVersionsV1ScepCaConnection *scepCaConnection; + +/** Output only. The profile is a SCEP certificate provisioning profile. */ +@property(nonatomic, strong, nullable) GTLRChromeManagement_GoogleChromeManagementVersionsV1ScepProfile *scepProfile; + /** * Output only. The signature of `signature_algorithm`, generated using the * client's private key using `signature_algorithm`. This field is only present @@ -6684,6 +6757,10 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV * present after the `SignData` operation has been initiated. * * Likely values: + * @arg @c kGTLRChromeManagement_GoogleChromeManagementVersionsV1CertificateProvisioningProcess_SignatureAlgorithm_SignatureAlgorithmEcdsaSha256 + * The PKCS#1 digest info is built by the server-side and sent to the + * client unhashed. The client is responsible for signing and hashing. + * Uses the P-256 curve. (Value: "SIGNATURE_ALGORITHM_ECDSA_SHA256") * @arg @c kGTLRChromeManagement_GoogleChromeManagementVersionsV1CertificateProvisioningProcess_SignatureAlgorithm_SignatureAlgorithmRsaPkcs1V15Sha256 * The server-side builds the PKCS#1 DigestInfo, i.e., the SHA256 hash is * constructed on the server-side. The client should sign using RSA with @@ -7391,6 +7468,59 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV @end +/** + * Describes a SCEP Certificate Authority Connection. + */ +@interface GTLRChromeManagement_GoogleChromeManagementVersionsV1ScepCaConnection : GTLRObject + +/** + * Output only. A string that references the administrator-provided + * configuration for the certification authority service. This field can be + * missing if no configuration was given. + */ +@property(nonatomic, copy, nullable) NSString *caConnectionAdapterConfigReference; + +@end + + +/** + * Describes a SCEP certificate provisioning profile. + */ +@interface GTLRChromeManagement_GoogleChromeManagementVersionsV1ScepProfile : GTLRObject + +/** + * Output only. The certificate template name as defined by the admin on their + * on-prem infrastructure. This is identifiable by the customer's CA. + */ +@property(nonatomic, copy, nullable) NSString *certificateTemplateName; + +/** Output only. The country of the subject. */ +@property(nonatomic, copy, nullable) NSString *country; + +/** Output only. The allowed key usages for certificate's key. */ +@property(nonatomic, strong, nullable) NSArray *keyUsages; + +/** Output only. The locality of the subject. */ +@property(nonatomic, copy, nullable) NSString *locality; + +/** Output only. The name of the organization the subject belongs to. */ +@property(nonatomic, copy, nullable) NSString *organization; + +/** Output only. The organizational units of the subject. */ +@property(nonatomic, strong, nullable) NSArray *organizationalUnits; + +/** Output only. The state of the subject. */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. The subject alternative names. */ +@property(nonatomic, strong, nullable) NSArray *subjectAltNames; + +/** Output only. The common name of the subject. */ +@property(nonatomic, copy, nullable) NSString *subjectCommonName; + +@end + + /** * Metadata for the long-running operation returned by signData. */ @@ -7418,6 +7548,42 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV @end +/** + * Describes a subject alternative name. + */ +@interface GTLRChromeManagement_GoogleChromeManagementVersionsV1SubjectAltName : GTLRObject + +/** + * Output only. The type of the SubjectAltName extension. + * + * Likely values: + * @arg @c kGTLRChromeManagement_GoogleChromeManagementVersionsV1SubjectAltName_Type_DnsName + * The subject alternative name type is a a Domain Name System (DNS). + * (Value: "DNS_NAME") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementVersionsV1SubjectAltName_Type_OtherNameUserPrincipalName + * The subject alternative name type is a User Principal Name (UPN). + * (Value: "OTHER_NAME_USER_PRINCIPAL_NAME") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementVersionsV1SubjectAltName_Type_Rfc822Name + * The subject alternative name type is an email address adhering to + * RFC822. (Value: "RFC822_NAME") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementVersionsV1SubjectAltName_Type_SubjectAltNameTypeUnspecified + * The subject alternative name type is unspecified. (Value: + * "SUBJECT_ALT_NAME_TYPE_UNSPECIFIED") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementVersionsV1SubjectAltName_Type_UniformResourceIdentifier + * The subject alternative name type is a Uniform Resource Identifier + * (URI). (Value: "UNIFORM_RESOURCE_IDENTIFIER") + */ +@property(nonatomic, copy, nullable) NSString *type; + +/** + * Output only. The value of the subject alternative name with respoect to the + * `type`. + */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + + /** * A representation of non-Google (third party) user that is associated with a * managed Chrome profile. diff --git a/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomQuery.h b/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomQuery.h index dea6a793f..f87257594 100644 --- a/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomQuery.h +++ b/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomQuery.h @@ -1035,7 +1035,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * returns the following error codes: * `PERMISSION_DENIED` if the requesting * user is not permitted to access the requested course or course work or for * access errors. * `INVALID_ARGUMENT` if the request is malformed. * - * `NOT_FOUND` if the requested course or course work does not exist. + * `NOT_FOUND` if the requested course or course work does not exist. * + * `FAILED_PRECONDITION` for the following request error: * EmptyAssignees * * Method: classroom.courses.announcements.modifyAssignees * @@ -1065,7 +1066,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * returns the following error codes: * `PERMISSION_DENIED` if the requesting * user is not permitted to access the requested course or course work or for * access errors. * `INVALID_ARGUMENT` if the request is malformed. * - * `NOT_FOUND` if the requested course or course work does not exist. + * `NOT_FOUND` if the requested course or course work does not exist. * + * `FAILED_PRECONDITION` for the following request error: * EmptyAssignees * * @param object The @c GTLRClassroom_ModifyAnnouncementAssigneesRequest to * include in the query. @@ -2612,7 +2614,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * returns the following error codes: * `PERMISSION_DENIED` if the requesting * user is not permitted to access the requested course or course work or for * access errors. * `INVALID_ARGUMENT` if the request is malformed. * - * `NOT_FOUND` if the requested course or course work does not exist. + * `NOT_FOUND` if the requested course or course work does not exist. * + * `FAILED_PRECONDITION` for the following request error: * EmptyAssignees * * Method: classroom.courses.courseWork.modifyAssignees * @@ -2642,7 +2645,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * returns the following error codes: * `PERMISSION_DENIED` if the requesting * user is not permitted to access the requested course or course work or for * access errors. * `INVALID_ARGUMENT` if the request is malformed. * - * `NOT_FOUND` if the requested course or course work does not exist. + * `NOT_FOUND` if the requested course or course work does not exist. * + * `FAILED_PRECONDITION` for the following request error: * EmptyAssignees * * @param object The @c GTLRClassroom_ModifyCourseWorkAssigneesRequest to * include in the query. diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m b/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m index 04caa6535..c324aab04 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m @@ -29,6 +29,7 @@ NSString * const kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion_Postgres14 = @"POSTGRES_14"; NSString * const kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion_Postgres15 = @"POSTGRES_15"; NSString * const kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion_Postgres16 = @"POSTGRES_16"; +NSString * const kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion_Postgres17 = @"POSTGRES_17"; // GTLRCloudAlloyDBAdmin_Backup.state NSString * const kGTLRCloudAlloyDBAdmin_Backup_State_Creating = @"CREATING"; @@ -59,6 +60,7 @@ NSString * const kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersion_Postgres14 = @"POSTGRES_14"; NSString * const kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersion_Postgres15 = @"POSTGRES_15"; NSString * const kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersion_Postgres16 = @"POSTGRES_16"; +NSString * const kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersion_Postgres17 = @"POSTGRES_17"; // GTLRCloudAlloyDBAdmin_Cluster.state NSString * const kGTLRCloudAlloyDBAdmin_Cluster_State_Bootstrapping = @"BOOTSTRAPPING"; @@ -88,6 +90,7 @@ NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_DatabaseVersion_Postgres14 = @"POSTGRES_14"; NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_DatabaseVersion_Postgres15 = @"POSTGRES_15"; NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_DatabaseVersion_Postgres16 = @"POSTGRES_16"; +NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_DatabaseVersion_Postgres17 = @"POSTGRES_17"; // GTLRCloudAlloyDBAdmin_ClusterUpgradeDetails.upgradeStatus NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_UpgradeStatus_CancelInProgress = @"CANCEL_IN_PROGRESS"; @@ -410,6 +413,7 @@ // GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.edition NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_Edition_EditionEnterprise = @"EDITION_ENTERPRISE"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_Edition_EditionEnterprisePlus = @"EDITION_ENTERPRISE_PLUS"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_Edition_EditionStandard = @"EDITION_STANDARD"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_Edition_EditionUnspecified = @"EDITION_UNSPECIFIED"; // GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.expectedState @@ -554,6 +558,20 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeWeakPasswordHashAlgorithm = @"SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeWeakRootPassword = @"SIGNAL_TYPE_WEAK_ROOT_PASSWORD"; +// GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData.signalState +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalState_Active = @"ACTIVE"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalState_Dismissed = @"DISMISSED"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalState_Inactive = @"INACTIVE"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalState_SignalStateUnspecified = @"SIGNAL_STATE_UNSPECIFIED"; + +// GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData.signalType +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalType_SignalTypeDatabaseAuditingDisabled = @"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalType_SignalTypeExposedToPublicAccess = @"SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalType_SignalTypeNoRootPassword = @"SIGNAL_TYPE_NO_ROOT_PASSWORD"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalType_SignalTypeOutdatedMinorVersion = @"SIGNAL_TYPE_OUTDATED_MINOR_VERSION"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalType_SignalTypeUnencryptedConnections = @"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalType_SignalTypeUnspecified = @"SIGNAL_TYPE_UNSPECIFIED"; + // GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainEntitlement.entitlementState NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainEntitlement_EntitlementState_Entitled = @"ENTITLED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainEntitlement_EntitlementState_EntitlementStateUnspecified = @"ENTITLEMENT_STATE_UNSPECIFIED"; @@ -647,6 +665,7 @@ NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_SupportedDbVersions_Postgres14 = @"POSTGRES_14"; NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_SupportedDbVersions_Postgres15 = @"POSTGRES_15"; NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_SupportedDbVersions_Postgres16 = @"POSTGRES_16"; +NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_SupportedDbVersions_Postgres17 = @"POSTGRES_17"; // GTLRCloudAlloyDBAdmin_SupportedDatabaseFlag.valueType NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_ValueType_Float = @"FLOAT"; @@ -661,6 +680,7 @@ NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterRequest_Version_Postgres14 = @"POSTGRES_14"; NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterRequest_Version_Postgres15 = @"POSTGRES_15"; NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterRequest_Version_Postgres16 = @"POSTGRES_16"; +NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterRequest_Version_Postgres17 = @"POSTGRES_17"; // GTLRCloudAlloyDBAdmin_UpgradeClusterResponse.status NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterResponse_Status_CancelInProgress = @"CANCEL_IN_PROGRESS"; @@ -678,6 +698,7 @@ NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterStatus_SourceVersion_Postgres14 = @"POSTGRES_14"; NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterStatus_SourceVersion_Postgres15 = @"POSTGRES_15"; NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterStatus_SourceVersion_Postgres16 = @"POSTGRES_16"; +NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterStatus_SourceVersion_Postgres17 = @"POSTGRES_17"; // GTLRCloudAlloyDBAdmin_UpgradeClusterStatus.state NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterStatus_State_CancelInProgress = @"CANCEL_IN_PROGRESS"; @@ -695,6 +716,7 @@ NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterStatus_TargetVersion_Postgres14 = @"POSTGRES_14"; NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterStatus_TargetVersion_Postgres15 = @"POSTGRES_15"; NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterStatus_TargetVersion_Postgres16 = @"POSTGRES_16"; +NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterStatus_TargetVersion_Postgres17 = @"POSTGRES_17"; // GTLRCloudAlloyDBAdmin_User.userType NSString * const kGTLRCloudAlloyDBAdmin_User_UserType_AlloydbBuiltIn = @"ALLOYDB_BUILT_IN"; @@ -2001,9 +2023,10 @@ @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainCusto // @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed -@dynamic backupdrMetadata, configBasedSignalData, feedTimestamp, feedType, - observabilityMetricData, recommendationSignalData, - resourceHealthSignalData, resourceId, resourceMetadata, skipIngestion; +@dynamic backupdrMetadata, configBasedSignalData, databaseResourceSignalData, + feedTimestamp, feedType, observabilityMetricData, + recommendationSignalData, resourceHealthSignalData, resourceId, + resourceMetadata, skipIngestion; @end @@ -2066,10 +2089,14 @@ @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatab entitlements, expectedState, gcbdrConfiguration, identifier, instanceType, location, machineConfiguration, primaryResourceId, primaryResourceLocation, product, resourceContainer, resourceName, - suspensionReason, tagsSet, updationTime, userLabelSet; + suspensionReason, tagsSet, updationTime, userLabelSet, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { - return @{ @"identifier" : @"id" }; + NSDictionary *map = @{ + @"identifier" : @"id", + @"zoneProperty" : @"zone" + }; + return map; } + (NSDictionary *)arrayPropertyToClassMap { @@ -2107,6 +2134,17 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData +// + +@implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData +@dynamic fullResourceName, lastRefreshTime, resourceId, signalBoolValue, + signalState, signalType; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainEntitlement diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h index 662d0c3f9..62f194520 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h @@ -105,6 +105,7 @@ @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_AdditionalMetadata; +@class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainEntitlement; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata; @@ -170,6 +171,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion * Value: "POSTGRES_16" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion_Postgres16; +/** + * The database version is Postgres 17. + * + * Value: "POSTGRES_17" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion_Postgres17; // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_Backup.state @@ -318,6 +325,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersio * Value: "POSTGRES_16" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersion_Postgres16; +/** + * The database version is Postgres 17. + * + * Value: "POSTGRES_17" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersion_Postgres17; // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_Cluster.state @@ -467,6 +480,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_ * Value: "POSTGRES_16" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_DatabaseVersion_Postgres16; +/** + * The database version is Postgres 17. + * + * Value: "POSTGRES_17" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_DatabaseVersion_Postgres17; // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_ClusterUpgradeDetails.upgradeStatus @@ -2217,6 +2236,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "EDITION_ENTERPRISE_PLUS" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_Edition_EditionEnterprisePlus; +/** + * Represents the standard edition. + * + * Value: "EDITION_STANDARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_Edition_EditionStandard; /** * Default, to make it consistent with instance edition enum. * @@ -3077,6 +3102,76 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeWeakRootPassword; +// ---------------------------------------------------------------------------- +// GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData.signalState + +/** + * Signal is active and requires attention. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalState_Active; +/** + * Signal is dismissed by the user and should not be shown to the user again. + * + * Value: "DISMISSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalState_Dismissed; +/** + * Signal is inactive and does not require attention. + * + * Value: "INACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalState_Inactive; +/** + * Unspecified signal state. + * + * Value: "SIGNAL_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalState_SignalStateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData.signalType + +/** + * Represents database auditing is disabled. + * + * Value: "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalType_SignalTypeDatabaseAuditingDisabled; +/** + * Represents if a resource is exposed to public access. + * + * Value: "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalType_SignalTypeExposedToPublicAccess; +/** + * Represents if a database has a password configured for the root account or + * not. + * + * Value: "SIGNAL_TYPE_NO_ROOT_PASSWORD" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalType_SignalTypeNoRootPassword; +/** + * Outdated Minor Version + * + * Value: "SIGNAL_TYPE_OUTDATED_MINOR_VERSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalType_SignalTypeOutdatedMinorVersion; +/** + * Represents if a resources requires all incoming connections to use SSL or + * not. + * + * Value: "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalType_SignalTypeUnencryptedConnections; +/** + * Unspecified signal type. + * + * Value: "SIGNAL_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalType_SignalTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainEntitlement.entitlementState @@ -3570,6 +3665,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_ * Value: "POSTGRES_16" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_SupportedDbVersions_Postgres16; +/** + * The database version is Postgres 17. + * + * Value: "POSTGRES_17" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_SupportedDatabaseFlag_SupportedDbVersions_Postgres17; // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_SupportedDatabaseFlag.valueType @@ -3638,6 +3739,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterRequest_ * Value: "POSTGRES_16" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterRequest_Version_Postgres16; +/** + * The database version is Postgres 17. + * + * Value: "POSTGRES_17" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterRequest_Version_Postgres17; // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_UpgradeClusterResponse.status @@ -3724,6 +3831,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterStatus_S * Value: "POSTGRES_16" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterStatus_SourceVersion_Postgres16; +/** + * The database version is Postgres 17. + * + * Value: "POSTGRES_17" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterStatus_SourceVersion_Postgres17; // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_UpgradeClusterStatus.state @@ -3810,6 +3923,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterStatus_T * Value: "POSTGRES_16" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterStatus_TargetVersion_Postgres16; +/** + * The database version is Postgres 17. + * + * Value: "POSTGRES_17" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_UpgradeClusterStatus_TargetVersion_Postgres17; // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_User.userType @@ -4007,6 +4126,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * database version is Postgres 15. (Value: "POSTGRES_15") * @arg @c kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion_Postgres16 The * database version is Postgres 16. (Value: "POSTGRES_16") + * @arg @c kGTLRCloudAlloyDBAdmin_Backup_DatabaseVersion_Postgres17 The + * database version is Postgres 17. (Value: "POSTGRES_17") */ @property(nonatomic, copy, nullable) NSString *databaseVersion; @@ -4364,6 +4485,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * database version is Postgres 15. (Value: "POSTGRES_15") * @arg @c kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersion_Postgres16 The * database version is Postgres 16. (Value: "POSTGRES_16") + * @arg @c kGTLRCloudAlloyDBAdmin_Cluster_DatabaseVersion_Postgres17 The + * database version is Postgres 17. (Value: "POSTGRES_17") */ @property(nonatomic, copy, nullable) NSString *databaseVersion; @@ -4614,6 +4737,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * The database version is Postgres 15. (Value: "POSTGRES_15") * @arg @c kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_DatabaseVersion_Postgres16 * The database version is Postgres 16. (Value: "POSTGRES_16") + * @arg @c kGTLRCloudAlloyDBAdmin_ClusterUpgradeDetails_DatabaseVersion_Postgres17 + * The database version is Postgres 17. (Value: "POSTGRES_17") */ @property(nonatomic, copy, nullable) NSString *databaseVersion; @@ -7209,7 +7334,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW /** * DatabaseResourceFeed is the top level proto to be used to ingest different - * database resource level events into Condor platform. Next ID: 11 + * database resource level events into Condor platform. Next ID: 12 */ @interface GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed : GTLRObject @@ -7222,6 +7347,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW */ @property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData *configBasedSignalData; +/** + * Database resource signal data is used to ingest signals from database + * resource signal feeds. + */ +@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData *databaseResourceSignalData; + /** Required. Timestamp when feed is generated. */ @property(nonatomic, strong, nullable) GTLRDateTime *feedTimestamp; @@ -7857,7 +7988,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW /** - * Common model for database resource instance metadata. Next ID: 26 + * Common model for database resource instance metadata. Next ID: 27 */ @interface GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata : GTLRObject @@ -7913,6 +8044,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_Edition_EditionEnterprisePlus * Represents the enterprise plus edition. (Value: * "EDITION_ENTERPRISE_PLUS") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_Edition_EditionStandard + * Represents the standard edition. (Value: "EDITION_STANDARD") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata_Edition_EditionUnspecified * Default, to make it consistent with instance edition enum. (Value: * "EDITION_UNSPECIFIED") @@ -8062,6 +8195,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW /** User-provided labels associated with the resource */ @property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainUserLabels *userLabelSet; +/** + * The resource zone. This is only applicable for zonal resources and will be + * empty for regional and multi-regional resources. + * + * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. + */ +@property(nonatomic, copy, nullable) NSString *zoneProperty; + @end @@ -8492,6 +8633,71 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW @end +/** + * Database resource signal data. This is used to send signals to Condor which + * are based on the DB/Instance/Fleet level configurations. These will be used + * to send signals for all inventory types. Next ID: 7 + */ +@interface GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData : GTLRObject + +/** Required. Full Resource name of the source resource. */ +@property(nonatomic, copy, nullable) NSString *fullResourceName; + +/** Required. Last time signal was refreshed */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastRefreshTime; + +/** Database resource id. */ +@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceId *resourceId; + +/** + * Signal data for boolean signals. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *signalBoolValue; + +/** + * Required. Output only. Signal state of the signal + * + * Likely values: + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalState_Active + * Signal is active and requires attention. (Value: "ACTIVE") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalState_Dismissed + * Signal is dismissed by the user and should not be shown to the user + * again. (Value: "DISMISSED") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalState_Inactive + * Signal is inactive and does not require attention. (Value: "INACTIVE") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalState_SignalStateUnspecified + * Unspecified signal state. (Value: "SIGNAL_STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *signalState; + +/** + * Required. Signal type of the signal + * + * Likely values: + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalType_SignalTypeDatabaseAuditingDisabled + * Represents database auditing is disabled. (Value: + * "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalType_SignalTypeExposedToPublicAccess + * Represents if a resource is exposed to public access. (Value: + * "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalType_SignalTypeNoRootPassword + * Represents if a database has a password configured for the root + * account or not. (Value: "SIGNAL_TYPE_NO_ROOT_PASSWORD") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalType_SignalTypeOutdatedMinorVersion + * Outdated Minor Version (Value: "SIGNAL_TYPE_OUTDATED_MINOR_VERSION") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalType_SignalTypeUnencryptedConnections + * Represents if a resources requires all incoming connections to use SSL + * or not. (Value: "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData_SignalType_SignalTypeUnspecified + * Unspecified signal type. (Value: "SIGNAL_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *signalType; + +@end + + /** * Proto representing the access that a user has to a specific feature/service. * NextId: 3. @@ -9204,6 +9410,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * The database version is Postgres 15. (Value: "POSTGRES_15") * @arg @c kGTLRCloudAlloyDBAdmin_UpgradeClusterRequest_Version_Postgres16 * The database version is Postgres 16. (Value: "POSTGRES_16") + * @arg @c kGTLRCloudAlloyDBAdmin_UpgradeClusterRequest_Version_Postgres17 + * The database version is Postgres 17. (Value: "POSTGRES_17") */ @property(nonatomic, copy, nullable) NSString *version; @@ -9281,6 +9489,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * The database version is Postgres 15. (Value: "POSTGRES_15") * @arg @c kGTLRCloudAlloyDBAdmin_UpgradeClusterStatus_SourceVersion_Postgres16 * The database version is Postgres 16. (Value: "POSTGRES_16") + * @arg @c kGTLRCloudAlloyDBAdmin_UpgradeClusterStatus_SourceVersion_Postgres17 + * The database version is Postgres 17. (Value: "POSTGRES_17") */ @property(nonatomic, copy, nullable) NSString *sourceVersion; @@ -9326,6 +9536,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * The database version is Postgres 15. (Value: "POSTGRES_15") * @arg @c kGTLRCloudAlloyDBAdmin_UpgradeClusterStatus_TargetVersion_Postgres16 * The database version is Postgres 16. (Value: "POSTGRES_16") + * @arg @c kGTLRCloudAlloyDBAdmin_UpgradeClusterStatus_TargetVersion_Postgres17 + * The database version is Postgres 17. (Value: "POSTGRES_17") */ @property(nonatomic, copy, nullable) NSString *targetVersion; diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminQuery.h b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminQuery.h index 36a54d81b..5de7d3421 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminQuery.h +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminQuery.h @@ -1748,8 +1748,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdminViewInstanceViewUnspeci @interface GTLRCloudAlloyDBAdminQuery_ProjectsLocationsList : GTLRCloudAlloyDBAdminQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Unless explicitly documented otherwise, don't use this unsupported + * field which is primarily intended for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchQuery.h b/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchQuery.h index 8769ecbc9..0c0ca8ec6 100644 --- a/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchQuery.h +++ b/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchQuery.h @@ -345,8 +345,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCloudBatchQuery_ProjectsLocationsList : GTLRCloudBatchQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildQuery.h b/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildQuery.h index d170197b7..7633c8906 100644 --- a/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildQuery.h +++ b/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildQuery.h @@ -835,8 +835,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuildRefTypeTag; @interface GTLRCloudBuildQuery_ProjectsLocationsList : GTLRCloudBuildQuery /** - * Optional. Do not use this field. It is unsupported and is ignored unless - * explicitly documented otherwise. This is primarily for internal usage. + * Optional. Unless explicitly documented otherwise, don't use this unsupported + * field which is primarily intended for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/CloudCommercePartnerProcurementService/GTLRCloudCommercePartnerProcurementServiceObjects.m b/Sources/GeneratedServices/CloudCommercePartnerProcurementService/GTLRCloudCommercePartnerProcurementServiceObjects.m new file mode 100644 index 000000000..86fbee1f1 --- /dev/null +++ b/Sources/GeneratedServices/CloudCommercePartnerProcurementService/GTLRCloudCommercePartnerProcurementServiceObjects.m @@ -0,0 +1,292 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Cloud Commerce Partner Procurement API (cloudcommerceprocurement/v1) +// Description: +// Partner API for the Cloud Commerce Procurement Service. +// Documentation: +// https://cloud.google.com/marketplace/docs/partners/ + +#import + +// ---------------------------------------------------------------------------- +// Constants + +// GTLRCloudCommercePartnerProcurementService_Account.state +NSString * const kGTLRCloudCommercePartnerProcurementService_Account_State_AccountActivationRequested = @"ACCOUNT_ACTIVATION_REQUESTED"; +NSString * const kGTLRCloudCommercePartnerProcurementService_Account_State_AccountActive = @"ACCOUNT_ACTIVE"; +NSString * const kGTLRCloudCommercePartnerProcurementService_Account_State_AccountStateUnspecified = @"ACCOUNT_STATE_UNSPECIFIED"; + +// GTLRCloudCommercePartnerProcurementService_Approval.state +NSString * const kGTLRCloudCommercePartnerProcurementService_Approval_State_Approved = @"APPROVED"; +NSString * const kGTLRCloudCommercePartnerProcurementService_Approval_State_Pending = @"PENDING"; +NSString * const kGTLRCloudCommercePartnerProcurementService_Approval_State_Rejected = @"REJECTED"; +NSString * const kGTLRCloudCommercePartnerProcurementService_Approval_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRCloudCommercePartnerProcurementService_Entitlement.state +NSString * const kGTLRCloudCommercePartnerProcurementService_Entitlement_State_EntitlementActivationRequested = @"ENTITLEMENT_ACTIVATION_REQUESTED"; +NSString * const kGTLRCloudCommercePartnerProcurementService_Entitlement_State_EntitlementActive = @"ENTITLEMENT_ACTIVE"; +NSString * const kGTLRCloudCommercePartnerProcurementService_Entitlement_State_EntitlementCancelled = @"ENTITLEMENT_CANCELLED"; +NSString * const kGTLRCloudCommercePartnerProcurementService_Entitlement_State_EntitlementPendingCancellation = @"ENTITLEMENT_PENDING_CANCELLATION"; +NSString * const kGTLRCloudCommercePartnerProcurementService_Entitlement_State_EntitlementPendingPlanChange = @"ENTITLEMENT_PENDING_PLAN_CHANGE"; +NSString * const kGTLRCloudCommercePartnerProcurementService_Entitlement_State_EntitlementPendingPlanChangeApproval = @"ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL"; +NSString * const kGTLRCloudCommercePartnerProcurementService_Entitlement_State_EntitlementStateUnspecified = @"ENTITLEMENT_STATE_UNSPECIFIED"; +NSString * const kGTLRCloudCommercePartnerProcurementService_Entitlement_State_EntitlementSuspended = @"ENTITLEMENT_SUSPENDED"; + +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" +#pragma clang diagnostic ignored "-Wdeprecated-implementations" + +// ---------------------------------------------------------------------------- +// +// GTLRCloudCommercePartnerProcurementService_Account +// + +@implementation GTLRCloudCommercePartnerProcurementService_Account +@dynamic approvals, createTime, inputProperties, name, provider, state, + updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"approvals" : [GTLRCloudCommercePartnerProcurementService_Approval class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudCommercePartnerProcurementService_Account_InputProperties +// + +@implementation GTLRCloudCommercePartnerProcurementService_Account_InputProperties + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudCommercePartnerProcurementService_Approval +// + +@implementation GTLRCloudCommercePartnerProcurementService_Approval +@dynamic name, reason, state, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudCommercePartnerProcurementService_ApproveAccountRequest +// + +@implementation GTLRCloudCommercePartnerProcurementService_ApproveAccountRequest +@dynamic approvalName, properties, reason; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudCommercePartnerProcurementService_ApproveAccountRequest_Properties +// + +@implementation GTLRCloudCommercePartnerProcurementService_ApproveAccountRequest_Properties + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudCommercePartnerProcurementService_ApproveEntitlementPlanChangeRequest +// + +@implementation GTLRCloudCommercePartnerProcurementService_ApproveEntitlementPlanChangeRequest +@dynamic pendingPlanName; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudCommercePartnerProcurementService_ApproveEntitlementRequest +// + +@implementation GTLRCloudCommercePartnerProcurementService_ApproveEntitlementRequest +@dynamic entitlementMigrated, properties; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudCommercePartnerProcurementService_ApproveEntitlementRequest_Properties +// + +@implementation GTLRCloudCommercePartnerProcurementService_ApproveEntitlementRequest_Properties + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudCommercePartnerProcurementService_Consumer +// + +@implementation GTLRCloudCommercePartnerProcurementService_Consumer +@dynamic project; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudCommercePartnerProcurementService_Empty +// + +@implementation GTLRCloudCommercePartnerProcurementService_Empty +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudCommercePartnerProcurementService_Entitlement +// + +@implementation GTLRCloudCommercePartnerProcurementService_Entitlement +@dynamic account, cancellationReason, consumers, createTime, + entitlementBenefitIds, inputProperties, messageToUser, name, + newOfferEndTime, newOfferStartTime, newPendingOffer, + newPendingOfferDuration, newPendingPlan, offer, offerDuration, + offerEndTime, orderId, plan, product, productExternalName, provider, + quoteExternalName, state, subscriptionEndTime, updateTime, + usageReportingId; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"consumers" : [GTLRCloudCommercePartnerProcurementService_Consumer class], + @"entitlementBenefitIds" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudCommercePartnerProcurementService_Entitlement_InputProperties +// + +@implementation GTLRCloudCommercePartnerProcurementService_Entitlement_InputProperties + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudCommercePartnerProcurementService_ListAccountsResponse +// + +@implementation GTLRCloudCommercePartnerProcurementService_ListAccountsResponse +@dynamic accounts, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"accounts" : [GTLRCloudCommercePartnerProcurementService_Account class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"accounts"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudCommercePartnerProcurementService_ListEntitlementsResponse +// + +@implementation GTLRCloudCommercePartnerProcurementService_ListEntitlementsResponse +@dynamic entitlements, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"entitlements" : [GTLRCloudCommercePartnerProcurementService_Entitlement class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"entitlements"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudCommercePartnerProcurementService_RejectAccountRequest +// + +@implementation GTLRCloudCommercePartnerProcurementService_RejectAccountRequest +@dynamic approvalName, reason; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudCommercePartnerProcurementService_RejectEntitlementPlanChangeRequest +// + +@implementation GTLRCloudCommercePartnerProcurementService_RejectEntitlementPlanChangeRequest +@dynamic pendingPlanName, reason; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudCommercePartnerProcurementService_RejectEntitlementRequest +// + +@implementation GTLRCloudCommercePartnerProcurementService_RejectEntitlementRequest +@dynamic reason; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudCommercePartnerProcurementService_ResetAccountRequest +// + +@implementation GTLRCloudCommercePartnerProcurementService_ResetAccountRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudCommercePartnerProcurementService_SuspendEntitlementRequest +// + +@implementation GTLRCloudCommercePartnerProcurementService_SuspendEntitlementRequest +@dynamic reason; +@end + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/CloudCommercePartnerProcurementService/GTLRCloudCommercePartnerProcurementServiceQuery.m b/Sources/GeneratedServices/CloudCommercePartnerProcurementService/GTLRCloudCommercePartnerProcurementServiceQuery.m new file mode 100644 index 000000000..ee6bcffc7 --- /dev/null +++ b/Sources/GeneratedServices/CloudCommercePartnerProcurementService/GTLRCloudCommercePartnerProcurementServiceQuery.m @@ -0,0 +1,336 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Cloud Commerce Partner Procurement API (cloudcommerceprocurement/v1) +// Description: +// Partner API for the Cloud Commerce Procurement Service. +// Documentation: +// https://cloud.google.com/marketplace/docs/partners/ + +#import + +@implementation GTLRCloudCommercePartnerProcurementServiceQuery + +@dynamic fields; + +@end + +@implementation GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersAccountsApprove + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRCloudCommercePartnerProcurementService_ApproveAccountRequest *)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}:approve"; + GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersAccountsApprove *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudCommercePartnerProcurementService_Empty class]; + query.loggingName = @"cloudcommerceprocurement.providers.accounts.approve"; + return query; +} + +@end + +@implementation GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersAccountsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersAccountsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudCommercePartnerProcurementService_Account class]; + query.loggingName = @"cloudcommerceprocurement.providers.accounts.get"; + return query; +} + +@end + +@implementation GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersAccountsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/accounts"; + GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersAccountsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRCloudCommercePartnerProcurementService_ListAccountsResponse class]; + query.loggingName = @"cloudcommerceprocurement.providers.accounts.list"; + return query; +} + +@end + +@implementation GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersAccountsReject + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRCloudCommercePartnerProcurementService_RejectAccountRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:reject"; + GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersAccountsReject *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudCommercePartnerProcurementService_Empty class]; + query.loggingName = @"cloudcommerceprocurement.providers.accounts.reject"; + return query; +} + +@end + +@implementation GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersAccountsReset + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRCloudCommercePartnerProcurementService_ResetAccountRequest *)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}:reset"; + GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersAccountsReset *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudCommercePartnerProcurementService_Empty class]; + query.loggingName = @"cloudcommerceprocurement.providers.accounts.reset"; + return query; +} + +@end + +@implementation GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsApprove + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRCloudCommercePartnerProcurementService_ApproveEntitlementRequest *)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}:approve"; + GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsApprove *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudCommercePartnerProcurementService_Empty class]; + query.loggingName = @"cloudcommerceprocurement.providers.entitlements.approve"; + return query; +} + +@end + +@implementation GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsApprovePlanChange + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRCloudCommercePartnerProcurementService_ApproveEntitlementPlanChangeRequest *)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}:approvePlanChange"; + GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsApprovePlanChange *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudCommercePartnerProcurementService_Empty class]; + query.loggingName = @"cloudcommerceprocurement.providers.entitlements.approvePlanChange"; + return query; +} + +@end + +@implementation GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudCommercePartnerProcurementService_Entitlement class]; + query.loggingName = @"cloudcommerceprocurement.providers.entitlements.get"; + return query; +} + +@end + +@implementation GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/entitlements"; + GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRCloudCommercePartnerProcurementService_ListEntitlementsResponse class]; + query.loggingName = @"cloudcommerceprocurement.providers.entitlements.list"; + return query; +} + +@end + +@implementation GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRCloudCommercePartnerProcurementService_Entitlement *)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}"; + GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudCommercePartnerProcurementService_Entitlement class]; + query.loggingName = @"cloudcommerceprocurement.providers.entitlements.patch"; + return query; +} + +@end + +@implementation GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsReject + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRCloudCommercePartnerProcurementService_RejectEntitlementRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:reject"; + GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsReject *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudCommercePartnerProcurementService_Empty class]; + query.loggingName = @"cloudcommerceprocurement.providers.entitlements.reject"; + return query; +} + +@end + +@implementation GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsRejectPlanChange + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRCloudCommercePartnerProcurementService_RejectEntitlementPlanChangeRequest *)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}:rejectPlanChange"; + GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsRejectPlanChange *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudCommercePartnerProcurementService_Empty class]; + query.loggingName = @"cloudcommerceprocurement.providers.entitlements.rejectPlanChange"; + return query; +} + +@end + +@implementation GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsSuspend + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRCloudCommercePartnerProcurementService_SuspendEntitlementRequest *)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}:suspend"; + GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsSuspend *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudCommercePartnerProcurementService_Empty class]; + query.loggingName = @"cloudcommerceprocurement.providers.entitlements.suspend"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/CloudCommercePartnerProcurementService/GTLRCloudCommercePartnerProcurementServiceService.m b/Sources/GeneratedServices/CloudCommercePartnerProcurementService/GTLRCloudCommercePartnerProcurementServiceService.m new file mode 100644 index 000000000..eb955c71b --- /dev/null +++ b/Sources/GeneratedServices/CloudCommercePartnerProcurementService/GTLRCloudCommercePartnerProcurementServiceService.m @@ -0,0 +1,35 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Cloud Commerce Partner Procurement API (cloudcommerceprocurement/v1) +// Description: +// Partner API for the Cloud Commerce Procurement Service. +// Documentation: +// https://cloud.google.com/marketplace/docs/partners/ + +#import + +// ---------------------------------------------------------------------------- +// Authorization scope + +NSString * const kGTLRAuthScopeCloudCommercePartnerProcurementServiceCloudPlatform = @"https://www.googleapis.com/auth/cloud-platform"; + +// ---------------------------------------------------------------------------- +// GTLRCloudCommercePartnerProcurementServiceService +// + +@implementation GTLRCloudCommercePartnerProcurementServiceService + +- (instancetype)init { + self = [super init]; + if (self) { + // From discovery. + self.rootURLString = @"https://cloudcommerceprocurement.googleapis.com/"; + self.batchPath = @"batch"; + self.prettyPrintQueryParameterNames = @[ @"prettyPrint" ]; + } + return self; +} + +@end diff --git a/Sources/GeneratedServices/CloudCommercePartnerProcurementService/Public/GoogleAPIClientForREST/GTLRCloudCommercePartnerProcurementService.h b/Sources/GeneratedServices/CloudCommercePartnerProcurementService/Public/GoogleAPIClientForREST/GTLRCloudCommercePartnerProcurementService.h new file mode 100644 index 000000000..e35e3a535 --- /dev/null +++ b/Sources/GeneratedServices/CloudCommercePartnerProcurementService/Public/GoogleAPIClientForREST/GTLRCloudCommercePartnerProcurementService.h @@ -0,0 +1,13 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Cloud Commerce Partner Procurement API (cloudcommerceprocurement/v1) +// Description: +// Partner API for the Cloud Commerce Procurement Service. +// Documentation: +// https://cloud.google.com/marketplace/docs/partners/ + +#import "GTLRCloudCommercePartnerProcurementServiceObjects.h" +#import "GTLRCloudCommercePartnerProcurementServiceQuery.h" +#import "GTLRCloudCommercePartnerProcurementServiceService.h" diff --git a/Sources/GeneratedServices/CloudCommercePartnerProcurementService/Public/GoogleAPIClientForREST/GTLRCloudCommercePartnerProcurementServiceObjects.h b/Sources/GeneratedServices/CloudCommercePartnerProcurementService/Public/GoogleAPIClientForREST/GTLRCloudCommercePartnerProcurementServiceObjects.h new file mode 100644 index 000000000..fbdabc8d2 --- /dev/null +++ b/Sources/GeneratedServices/CloudCommercePartnerProcurementService/Public/GoogleAPIClientForREST/GTLRCloudCommercePartnerProcurementServiceObjects.h @@ -0,0 +1,875 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Cloud Commerce Partner Procurement API (cloudcommerceprocurement/v1) +// Description: +// Partner API for the Cloud Commerce Procurement Service. +// Documentation: +// https://cloud.google.com/marketplace/docs/partners/ + +#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 GTLRCloudCommercePartnerProcurementService_Account; +@class GTLRCloudCommercePartnerProcurementService_Account_InputProperties; +@class GTLRCloudCommercePartnerProcurementService_Approval; +@class GTLRCloudCommercePartnerProcurementService_ApproveAccountRequest_Properties; +@class GTLRCloudCommercePartnerProcurementService_ApproveEntitlementRequest_Properties; +@class GTLRCloudCommercePartnerProcurementService_Consumer; +@class GTLRCloudCommercePartnerProcurementService_Entitlement; +@class GTLRCloudCommercePartnerProcurementService_Entitlement_InputProperties; + +// 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" +#pragma clang diagnostic ignored "-Wdeprecated-declarations" + +NS_ASSUME_NONNULL_BEGIN + +// ---------------------------------------------------------------------------- +// Constants - For some of the classes' properties below. + +// ---------------------------------------------------------------------------- +// GTLRCloudCommercePartnerProcurementService_Account.state + +/** + * The customer has requested the creation of the account resource, and the + * provider notification message is dispatched. This state has been deprecated, + * as accounts now immediately transition to AccountState.ACCOUNT_ACTIVE. + * + * Value: "ACCOUNT_ACTIVATION_REQUESTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudCommercePartnerProcurementService_Account_State_AccountActivationRequested; +/** + * The account is active and ready for use. The next possible states are: - + * Account getting deleted: After the user invokes delete from another API. + * + * Value: "ACCOUNT_ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudCommercePartnerProcurementService_Account_State_AccountActive; +/** + * Default state of the account. It's only set to this value when the account + * is first created and has not been initialized. + * + * Value: "ACCOUNT_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudCommercePartnerProcurementService_Account_State_AccountStateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCloudCommercePartnerProcurementService_Approval.state + +/** + * The approval has been granted by the provider. + * + * Value: "APPROVED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudCommercePartnerProcurementService_Approval_State_Approved; +/** + * The approval is pending response from the provider. The approval state can + * transition to Account.Approval.State.APPROVED or + * Account.Approval.State.REJECTED. + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudCommercePartnerProcurementService_Approval_State_Pending; +/** + * The approval has been rejected by the provider. A provider may choose to + * approve a previously rejected approval, so is it possible to transition to + * Account.Approval.State.APPROVED. + * + * Value: "REJECTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudCommercePartnerProcurementService_Approval_State_Rejected; +/** + * Sentinel value; do not use. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudCommercePartnerProcurementService_Approval_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCloudCommercePartnerProcurementService_Entitlement.state + +/** + * Indicates that the entitlement has been created but has not yet become + * active. The entitlement will remain in this state until it becomes active. + * If the entitlement requires provider approval, a notification is sent to the + * provider for the activation approval. If the provider does not approve, the + * entitlement is removed. If approved, the entitlement transitions to the + * EntitlementState.ENTITLEMENT_ACTIVE state after a delay, either a generally + * short processing delay or, if applicable, until the scheduled start time of + * the purchased offer. Plan changes are not allowed in this state. Instead, + * customers are expected to cancel the corresponding order and place a new + * order. + * + * Value: "ENTITLEMENT_ACTIVATION_REQUESTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudCommercePartnerProcurementService_Entitlement_State_EntitlementActivationRequested; +/** + * Indicates that the entitlement is active. The procured item is now usable + * and any associated billing events will start occurring. Entitlements in this + * state WILL renew. The analogous state for an unexpired but non-renewing + * entitlement is ENTITLEMENT_PENDING_CANCELLATION. In this state, the customer + * can decide to cancel the entitlement, which would change the state to + * EntitlementState.ENTITLEMENT_PENDING_CANCELLATION, and then + * EntitlementState.ENTITLEMENT_CANCELLED. The user can also request a change + * of plan, which will transition the state to + * EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE, and then back to + * EntitlementState.ENTITLEMENT_ACTIVE. + * + * Value: "ENTITLEMENT_ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudCommercePartnerProcurementService_Entitlement_State_EntitlementActive; +/** + * Indicates that the entitlement was cancelled. The entitlement can now be + * deleted. + * + * Value: "ENTITLEMENT_CANCELLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudCommercePartnerProcurementService_Entitlement_State_EntitlementCancelled; +/** + * Indicates that the entitlement will expire at the end of its term. This + * could mean the customer has elected not to renew this entitlement or the + * customer elected to cancel an entitlement that only expires at term end. The + * entitlement typically stays in this state if the entitlement/plan allows use + * of the underlying resource until the end of the current billing cycle. Once + * the billing cycle completes, the resource will transition to + * EntitlementState.ENTITLEMENT_CANCELLED state. The resource cannot be + * modified during this state. + * + * Value: "ENTITLEMENT_PENDING_CANCELLATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudCommercePartnerProcurementService_Entitlement_State_EntitlementPendingCancellation; +/** + * Indicates that the entitlement is currently active, but there is a pending + * plan change that is requested by the customer. The entitlement typically + * stays in this state, if the entitlement/plan requires the completion of the + * current billing cycle before the plan can be changed. Once the billing cycle + * completes, the resource will transition to + * EntitlementState.ENTITLEMENT_ACTIVE, with its plan changed. + * + * Value: "ENTITLEMENT_PENDING_PLAN_CHANGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudCommercePartnerProcurementService_Entitlement_State_EntitlementPendingPlanChange; +/** + * Indicates that the entitlement is currently active, but there is a plan + * change request pending provider approval. If the provider approves the plan + * change, then the entitlement will transition either to + * EntitlementState.ENTITLEMENT_ACTIVE or + * EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE depending on whether + * current plan requires that the billing cycle completes. If the provider + * rejects the plan change, then the pending plan change request is removed and + * the entitlement stays in EntitlementState.ENTITLEMENT_ACTIVE state with the + * old plan. + * + * Value: "ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudCommercePartnerProcurementService_Entitlement_State_EntitlementPendingPlanChangeApproval; +/** + * Default state of the entitlement. It's only set to this value when the + * entitlement is first created and has not been initialized. + * + * Value: "ENTITLEMENT_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudCommercePartnerProcurementService_Entitlement_State_EntitlementStateUnspecified; +/** + * Indicates that the entitlement is suspended either by Google or provider + * request. This can be triggered for various external reasons (e.g. expiration + * of credit card on the billing account, violation of terms-of-service of the + * provider etc.). As such, any remediating action needs to be taken + * externally, before the entitlement can be activated. This is not yet + * supported. + * + * Value: "ENTITLEMENT_SUSPENDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudCommercePartnerProcurementService_Entitlement_State_EntitlementSuspended; + +/** + * Represents an account that was established by the customer on the service + * provider's system. + */ +@interface GTLRCloudCommercePartnerProcurementService_Account : GTLRObject + +/** + * Output only. The approvals for this account. These approvals are used to + * track actions that are permitted or have been completed by a customer within + * the context of the provider. This might include a sign up flow or a + * provisioning step, for example, that the provider can admit to having + * happened. + */ +@property(nonatomic, strong, nullable) NSArray *approvals; + +/** Output only. The creation timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. The custom properties that were collected from the user to + * create this account. + */ +@property(nonatomic, strong, nullable) GTLRCloudCommercePartnerProcurementService_Account_InputProperties *inputProperties GTLR_DEPRECATED; + +/** + * Output only. The resource name of the account. Account names have the form + * `accounts/{account_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The identifier of the service provider that this account was + * created against. Each service provider is assigned a unique provider value + * when they onboard with Cloud Commerce platform. + */ +@property(nonatomic, copy, nullable) NSString *provider; + +/** + * Output only. The state of the account. This is used to decide whether the + * customer is in good standing with the provider and is able to make + * purchases. An account might not be able to make a purchase if the billing + * account is suspended, for example. + * + * Likely values: + * @arg @c kGTLRCloudCommercePartnerProcurementService_Account_State_AccountActivationRequested + * The customer has requested the creation of the account resource, and + * the provider notification message is dispatched. This state has been + * deprecated, as accounts now immediately transition to + * AccountState.ACCOUNT_ACTIVE. (Value: "ACCOUNT_ACTIVATION_REQUESTED") + * @arg @c kGTLRCloudCommercePartnerProcurementService_Account_State_AccountActive + * The account is active and ready for use. The next possible states are: + * - Account getting deleted: After the user invokes delete from another + * API. (Value: "ACCOUNT_ACTIVE") + * @arg @c kGTLRCloudCommercePartnerProcurementService_Account_State_AccountStateUnspecified + * Default state of the account. It's only set to this value when the + * account is first created and has not been initialized. (Value: + * "ACCOUNT_STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. The last update timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Output only. The custom properties that were collected from the user to + * create this account. + * + * @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. + */ +GTLR_DEPRECATED +@interface GTLRCloudCommercePartnerProcurementService_Account_InputProperties : GTLRObject +@end + + +/** + * An approval for some action on an account. + */ +@interface GTLRCloudCommercePartnerProcurementService_Approval : GTLRObject + +/** Output only. The name of the approval. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. An explanation for the state of the approval. */ +@property(nonatomic, copy, nullable) NSString *reason; + +/** + * Output only. The state of the approval. + * + * Likely values: + * @arg @c kGTLRCloudCommercePartnerProcurementService_Approval_State_Approved + * The approval has been granted by the provider. (Value: "APPROVED") + * @arg @c kGTLRCloudCommercePartnerProcurementService_Approval_State_Pending + * The approval is pending response from the provider. The approval state + * can transition to Account.Approval.State.APPROVED or + * Account.Approval.State.REJECTED. (Value: "PENDING") + * @arg @c kGTLRCloudCommercePartnerProcurementService_Approval_State_Rejected + * The approval has been rejected by the provider. A provider may choose + * to approve a previously rejected approval, so is it possible to + * transition to Account.Approval.State.APPROVED. (Value: "REJECTED") + * @arg @c kGTLRCloudCommercePartnerProcurementService_Approval_State_StateUnspecified + * Sentinel value; do not use. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Optional. The last update timestamp of the approval. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Request message for PartnerProcurementService.ApproveAccount. + */ +@interface GTLRCloudCommercePartnerProcurementService_ApproveAccountRequest : GTLRObject + +/** + * The name of the approval being approved. If absent and there is only one + * approval possible, that approval will be granted. If absent and there are + * many approvals possible, the request will fail with a 400 Bad Request. + * Optional. + */ +@property(nonatomic, copy, nullable) NSString *approvalName; + +/** Set of properties that should be associated with the account. Optional. */ +@property(nonatomic, strong, nullable) GTLRCloudCommercePartnerProcurementService_ApproveAccountRequest_Properties *properties; + +/** + * Free form text string explaining the approval reason. Optional. Max allowed + * length: 256 bytes. Longer strings will be truncated. + */ +@property(nonatomic, copy, nullable) NSString *reason; + +@end + + +/** + * Set of properties that should be associated with the account. Optional. + * + * @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 GTLRCloudCommercePartnerProcurementService_ApproveAccountRequest_Properties : GTLRObject +@end + + +/** + * Request message for + * [PartnerProcurementService.ApproveEntitlementPlanChange[]. + */ +@interface GTLRCloudCommercePartnerProcurementService_ApproveEntitlementPlanChangeRequest : GTLRObject + +/** Required. Name of the pending plan that's being approved. */ +@property(nonatomic, copy, nullable) NSString *pendingPlanName; + +@end + + +/** + * Request message for [PartnerProcurementService.ApproveEntitlement[]. + */ +@interface GTLRCloudCommercePartnerProcurementService_ApproveEntitlementRequest : GTLRObject + +/** + * Optional. The resource name of the entitlement that was migrated, with the + * format `providers/{provider_id}/entitlements/{entitlement_id}`. Should only + * be sent when resources have been migrated from entitlement_migrated to the + * new entitlement. Optional. + */ +@property(nonatomic, copy, nullable) NSString *entitlementMigrated; + +/** + * Set of properties that should be associated with the entitlement. Optional. + */ +@property(nonatomic, strong, nullable) GTLRCloudCommercePartnerProcurementService_ApproveEntitlementRequest_Properties *properties GTLR_DEPRECATED; + +@end + + +/** + * Set of properties that should be associated with the entitlement. Optional. + * + * @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 GTLRCloudCommercePartnerProcurementService_ApproveEntitlementRequest_Properties : GTLRObject +@end + + +/** + * A resource using (consuming) this entitlement. + */ +@interface GTLRCloudCommercePartnerProcurementService_Consumer : GTLRObject + +/** A project name with format `projects/`. */ +@property(nonatomic, copy, nullable) NSString *project; + +@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 GTLRCloudCommercePartnerProcurementService_Empty : GTLRObject +@end + + +/** + * Represents a procured product of a customer. + */ +@interface GTLRCloudCommercePartnerProcurementService_Entitlement : GTLRObject + +/** + * Output only. The resource name of the account that this entitlement is based + * on, if any. + */ +@property(nonatomic, copy, nullable) NSString *account; + +/** + * Output only. The reason the entitlement was cancelled. If this entitlement + * wasn't cancelled, this field is empty. Possible values include "unknown", + * "expired", "user-cancelled", "account-closed", "billing-disabled" (if the + * customer has manually disabled billing to their resources), "user-aborted", + * and "migrated" (if the entitlement has migrated across products). Values of + * this field are subject to change, and we recommend that you don't build your + * technical integration to rely on these fields. + */ +@property(nonatomic, copy, nullable) NSString *cancellationReason; + +/** Output only. The resources using this entitlement, if applicable. */ +@property(nonatomic, strong, nullable) NSArray *consumers; + +/** Output only. The creation timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. The entitlement benefit IDs associated with the purchase. */ +@property(nonatomic, strong, nullable) NSArray *entitlementBenefitIds; + +/** + * Output only. The custom properties that were collected from the user to + * create this entitlement. + */ +@property(nonatomic, strong, nullable) GTLRCloudCommercePartnerProcurementService_Entitlement_InputProperties *inputProperties GTLR_DEPRECATED; + +/** + * Provider-supplied message that is displayed to the end user. Currently this + * is used to communicate progress and ETA for provisioning. This field can be + * updated only when a user is waiting for an action from the provider, i.e. + * entitlement state is EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED or + * EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL. This field is + * cleared automatically when the entitlement state changes. + */ +@property(nonatomic, copy, nullable) NSString *messageToUser; + +/** + * Output only. The resource name of the entitlement. Entitlement names have + * the form `providers/{provider_id}/entitlements/{entitlement_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The end time of the new offer. If the offer was has a term + * duration instead of a specified end date, this field is empty. This field is + * populated even if the entitlement isn't active yet. If there's no upcoming + * offer, the field is empty. * If the entitlement is in + * ENTITLEMENT_ACTIVATION_REQUESTED, ENTITLEMENT_ACTIVE, or + * ENTITLEMENT_PENDING_CANCELLATION state, then this field will be empty. * If + * the entitlement is in ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL or + * ENTITLEMENT_PENDING_PLAN_CHANGE state, then this field will be populated + * with the expected end time of the upcoming offer (in the future) if the + * upcoming offer has a specified end date. Otherwise, this field will be + * empty. * If the entitlement is in ENTITLEMENT_CANCELLED state, then this + * field will be empty. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *newOfferEndTime NS_RETURNS_NOT_RETAINED; + +/** + * Output only. The timestamp when the new offer becomes effective. This field + * is populated even if the entitlement isn't active yet. If there's no + * upcoming offer, the field is empty. * If the entitlement is in + * ENTITLEMENT_ACTIVATION_REQUESTED state, this field will not be populated + * when the entitlement is not yet approved. But after the entitlement is + * approved, then this field will be populated with effective time of the + * upcoming offer. * If the entitlement is in ENTITLEMENT_ACTIVE or + * ENTITLEMENT_PENDING_CANCELLATION state, this field will not be populated. * + * If the entitlement is in ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state, + * this field will not be populated since the entitlement change is waiting on + * approval. * If the entitlement is in ENTITLEMENT_PENDING_PLAN_CHANGE state, + * this field will be populated with the expected effective time of the + * upcoming offer (in the future). * If the entitlement is in + * ENTITLEMENT_CANCELLED state, then this field will be empty. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *newOfferStartTime NS_RETURNS_NOT_RETAINED; + +/** + * Output only. The name of the offer the entitlement is switching to upon a + * pending plan change. Only exists if the pending plan change is moving to an + * offer. This field isn't populated for entitlements which aren't active yet. + * Format: 'projects/{project}/services/{service}/privateOffers/{offer}' OR + * 'projects/{project}/services/{service}/standardOffers/{offer}', depending on + * whether the offer is private or public. The {service} in the name is the + * listing service of the offer. It could be either the product service that + * the offer is referencing, or a generic private offer parent service. We + * recommend that you don't build your integration to rely on the meaning of + * this {service} part. * If the entitlement is in + * ENTITLEMENT_ACTIVATION_REQUESTED, ENTITLEMENT_ACTIVE or + * ENTITLEMENT_PENDING_CANCELLATION state, then this field will be empty. * If + * the entitlement is in ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL or + * ENTITLEMENT_PENDING_PLAN_CHANGE state, then this field will be populated + * with the upcoming offer. * If the entitlement is in ENTITLEMENT_CANCELLED + * state, then this will be empty. + */ +@property(nonatomic, copy, nullable) NSString *newPendingOffer NS_RETURNS_NOT_RETAINED; + +/** + * Output only. The duration of the new offer, in ISO 8601 duration format. + * This field isn't populated for entitlements which aren't active yet, only + * for pending offer changes. If the offer was has a specified end date instead + * of a duration, this field is empty. * If the entitlement is in + * ENTITLEMENT_ACTIVATION_REQUESTED, ENTITLEENTITLEMENT_ACTIVE, or + * ENTITLEMENT_PENDING_CANCELLATION state, then this field is empty. * If the + * entitlement is in ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL or + * ENTITLEMENT_PENDING_PLAN_CHANGE state, then this field will be populated + * with the duration of the upcoming offer, if the upcoming offer is does not + * have a specified end date. Otherwise, this field will be empty. * If the + * entitlement is in ENTITLEMENT_CANCELLED state, then this field will be + * empty. + */ +@property(nonatomic, copy, nullable) NSString *newPendingOfferDuration NS_RETURNS_NOT_RETAINED; + +/** + * Output only. The identifier of the pending new plan. Required if the product + * has plans and the entitlement has a pending plan change. + */ +@property(nonatomic, copy, nullable) NSString *newPendingPlan NS_RETURNS_NOT_RETAINED; + +/** + * Output only. The name of the offer that was procured. Field is empty if + * order was not made using an offer. Format: + * 'projects/{project}/services/{service}/privateOffers/{offer}' OR + * 'projects/{project}/services/{service}/standardOffers/{offer}', depending on + * whether the offer is private or public. The {service} in the name is the + * listing service of the offer. It could be either the product service that + * the offer is referencing, or a generic private offer parent service. We + * recommend that you don't build your integration to rely on the meaning of + * this {service} part. * If the entitlement is in + * ENTITLEMENT_ACTIVATION_REQUESTED state, this field will be populated with + * the upcoming offer. * If the entitlement is in ENTITLEMENT_ACTIVE, + * ENTITLEMENT_PENDING_CANCELLATION, ENTITLEMENT_PENDING_PLAN_CHANGE, or + * ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state, this field will be populated + * with the current offer. * If the entitlement is in ENTITLEMENT_CANCELLED + * state, then this field will be populated with the latest offer the order was + * associated with. + */ +@property(nonatomic, copy, nullable) NSString *offer; + +/** + * Output only. The offer duration of the current offer in ISO 8601 duration + * format. Field is empty if entitlement was not made using an offer. If the + * offer has a specified end date instead of a duration, this field is empty. * + * If the entitlement is in ENTITLEMENT_ACTIVATION_REQUESTED state, then this + * field will be populated with the duration of the upcoming offer, if the + * upcoming offer does not have a specified end date. Otherwise, this field + * will be empty. * If the entitlement is in ENTITLEMENT_ACTIVE, + * ENTITLEMENT_PENDING_CANCELLATION, ENTITLEMENT_PENDING_PLAN_CHANGE, or + * ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state, then this field will be + * populated with the duration of the current offer if the current offer is + * does not have a specific end date. Otherwise, this field will be empty. * If + * the entitlement is in ENTITLEMENT_CANCELLED state, then this field will be + * populated with the duration of the latest offer the order was associated + * with if that offer does not have a specific end date. Otherwise, this field + * will be empty. + */ +@property(nonatomic, copy, nullable) NSString *offerDuration; + +/** + * Output only. End time for the Offer associated with this entitlement. Note + * that this field value can change over time. This occurs naturally even if + * the offer is not changed, due to auto renewal. * If the entitlement is in + * ENTITLEMENT_ACTIVATION_REQUESTED state, then: * If the entitlement is not + * yet approved, then this field will be populated with the expected end time + * of the upcoming offer (in the future) if the upcoming offer has a specified + * end date. Otherwise this field will be empty. * If the entitlement is + * approved, then this field will always be populated with the expected end + * time of the upcoming offer (in the future). This means both this field, and + * the offer_duration field, can co-exist. * If the entitlement is in + * ENTITLEMENT_ACTIVE or ENTITLEMENT_PENDING_CANCELLATION state, then this + * field will be populated with the actual expected end time of the current + * offer (in the futre). Meaning, this field will be set, regardless of whether + * the offer has a specific end date or a duration. This means both this field, + * and the offer_duration field, can co-exist. * If the entitlement is in + * ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL or ENTITLEMENT_PENDING_PLAN_CHANGE + * state: * If the current offer has already ended and became pure PAYG, then + * this field reflects the ACTUAL end time of the current offer (in the past). + * * Otherwise, then this is the EXPECTED end date of the current offer (in the + * future). * If the entitlement is in ENTITLEMENT_CANCELLED state, then this + * field will be populated with the ACTUAL end time of the latest offer the + * order was associated with (in the past). If the entitlement was cancelled + * before any offer started, then this field will be empty. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *offerEndTime; + +/** + * Output only. The order ID of this entitlement, without any `orders/` + * resource name prefix. + */ +@property(nonatomic, copy, nullable) NSString *orderId; + +/** + * Output only. The identifier of the plan that was procured. Required if the + * product has plans. + */ +@property(nonatomic, copy, nullable) NSString *plan; + +/** + * Output only. The identifier of the entity that was purchased. This may + * actually represent a product, quote, or offer. We strongly recommend that + * you use the following more explicit fields: productExternalName, + * quoteExternalName, or offer. + */ +@property(nonatomic, copy, nullable) NSString *product GTLR_DEPRECATED; + +/** Output only. The identifier of the product that was procured. */ +@property(nonatomic, copy, nullable) NSString *productExternalName; + +/** + * Output only. The identifier of the service provider that this entitlement + * was created against. Each service provider is assigned a unique provider + * value when they onboard with Cloud Commerce platform. + */ +@property(nonatomic, copy, nullable) NSString *provider; + +/** + * Output only. The identifier of the quote that was used to procure. Empty if + * the order is not purchased using a quote. + */ +@property(nonatomic, copy, nullable) NSString *quoteExternalName; + +/** + * Output only. The state of the entitlement. + * + * Likely values: + * @arg @c kGTLRCloudCommercePartnerProcurementService_Entitlement_State_EntitlementActivationRequested + * Indicates that the entitlement has been created but has not yet become + * active. The entitlement will remain in this state until it becomes + * active. If the entitlement requires provider approval, a notification + * is sent to the provider for the activation approval. If the provider + * does not approve, the entitlement is removed. If approved, the + * entitlement transitions to the EntitlementState.ENTITLEMENT_ACTIVE + * state after a delay, either a generally short processing delay or, if + * applicable, until the scheduled start time of the purchased offer. + * Plan changes are not allowed in this state. Instead, customers are + * expected to cancel the corresponding order and place a new order. + * (Value: "ENTITLEMENT_ACTIVATION_REQUESTED") + * @arg @c kGTLRCloudCommercePartnerProcurementService_Entitlement_State_EntitlementActive + * Indicates that the entitlement is active. The procured item is now + * usable and any associated billing events will start occurring. + * Entitlements in this state WILL renew. The analogous state for an + * unexpired but non-renewing entitlement is + * ENTITLEMENT_PENDING_CANCELLATION. In this state, the customer can + * decide to cancel the entitlement, which would change the state to + * EntitlementState.ENTITLEMENT_PENDING_CANCELLATION, and then + * EntitlementState.ENTITLEMENT_CANCELLED. The user can also request a + * change of plan, which will transition the state to + * EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE, and then back to + * EntitlementState.ENTITLEMENT_ACTIVE. (Value: "ENTITLEMENT_ACTIVE") + * @arg @c kGTLRCloudCommercePartnerProcurementService_Entitlement_State_EntitlementCancelled + * Indicates that the entitlement was cancelled. The entitlement can now + * be deleted. (Value: "ENTITLEMENT_CANCELLED") + * @arg @c kGTLRCloudCommercePartnerProcurementService_Entitlement_State_EntitlementPendingCancellation + * Indicates that the entitlement will expire at the end of its term. + * This could mean the customer has elected not to renew this entitlement + * or the customer elected to cancel an entitlement that only expires at + * term end. The entitlement typically stays in this state if the + * entitlement/plan allows use of the underlying resource until the end + * of the current billing cycle. Once the billing cycle completes, the + * resource will transition to EntitlementState.ENTITLEMENT_CANCELLED + * state. The resource cannot be modified during this state. (Value: + * "ENTITLEMENT_PENDING_CANCELLATION") + * @arg @c kGTLRCloudCommercePartnerProcurementService_Entitlement_State_EntitlementPendingPlanChange + * Indicates that the entitlement is currently active, but there is a + * pending plan change that is requested by the customer. The entitlement + * typically stays in this state, if the entitlement/plan requires the + * completion of the current billing cycle before the plan can be + * changed. Once the billing cycle completes, the resource will + * transition to EntitlementState.ENTITLEMENT_ACTIVE, with its plan + * changed. (Value: "ENTITLEMENT_PENDING_PLAN_CHANGE") + * @arg @c kGTLRCloudCommercePartnerProcurementService_Entitlement_State_EntitlementPendingPlanChangeApproval + * Indicates that the entitlement is currently active, but there is a + * plan change request pending provider approval. If the provider + * approves the plan change, then the entitlement will transition either + * to EntitlementState.ENTITLEMENT_ACTIVE or + * EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE depending on whether + * current plan requires that the billing cycle completes. If the + * provider rejects the plan change, then the pending plan change request + * is removed and the entitlement stays in + * EntitlementState.ENTITLEMENT_ACTIVE state with the old plan. (Value: + * "ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL") + * @arg @c kGTLRCloudCommercePartnerProcurementService_Entitlement_State_EntitlementStateUnspecified + * Default state of the entitlement. It's only set to this value when the + * entitlement is first created and has not been initialized. (Value: + * "ENTITLEMENT_STATE_UNSPECIFIED") + * @arg @c kGTLRCloudCommercePartnerProcurementService_Entitlement_State_EntitlementSuspended + * Indicates that the entitlement is suspended either by Google or + * provider request. This can be triggered for various external reasons + * (e.g. expiration of credit card on the billing account, violation of + * terms-of-service of the provider etc.). As such, any remediating + * action needs to be taken externally, before the entitlement can be + * activated. This is not yet supported. (Value: "ENTITLEMENT_SUSPENDED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Output only. End time for the subscription corresponding to this + * entitlement. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *subscriptionEndTime; + +/** Output only. The last update timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +/** + * Output only. The consumerId to use when reporting usage through the Service + * Control API. See the consumerId field at [Reporting + * Metrics](https://cloud.google.com/service-control/reporting-metrics) for + * more details. This field is present only if the product has usage-based + * billing configured. + */ +@property(nonatomic, copy, nullable) NSString *usageReportingId; + +@end + + +/** + * Output only. The custom properties that were collected from the user to + * create this entitlement. + * + * @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. + */ +GTLR_DEPRECATED +@interface GTLRCloudCommercePartnerProcurementService_Entitlement_InputProperties : GTLRObject +@end + + +/** + * Response message for [PartnerProcurementService.ListAccounts[]. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "accounts" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRCloudCommercePartnerProcurementService_ListAccountsResponse : GTLRCollectionObject + +/** + * The list of accounts in this response. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *accounts; + +/** The token for fetching the next page. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * Response message for PartnerProcurementService.ListEntitlements. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "entitlements" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRCloudCommercePartnerProcurementService_ListEntitlementsResponse : GTLRCollectionObject + +/** + * The list of entitlements in this response. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *entitlements; + +/** The token for fetching the next page. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * Request message for PartnerProcurementService.RejectAccount. + */ +@interface GTLRCloudCommercePartnerProcurementService_RejectAccountRequest : GTLRObject + +/** + * The name of the approval being rejected. If absent and there is only one + * approval possible, that approval will be rejected. If absent and there are + * many approvals possible, the request will fail with a 400 Bad Request. + * Optional. + */ +@property(nonatomic, copy, nullable) NSString *approvalName; + +/** + * Free form text string explaining the rejection reason. Max allowed length: + * 256 bytes. Longer strings will be truncated. + */ +@property(nonatomic, copy, nullable) NSString *reason; + +@end + + +/** + * Request message for PartnerProcurementService.RejectEntitlementPlanChange. + */ +@interface GTLRCloudCommercePartnerProcurementService_RejectEntitlementPlanChangeRequest : GTLRObject + +/** Required. Name of the pending plan that is being rejected. */ +@property(nonatomic, copy, nullable) NSString *pendingPlanName; + +/** + * Free form text string explaining the rejection reason. Max allowed length: + * 256 bytes. Longer strings will be truncated. + */ +@property(nonatomic, copy, nullable) NSString *reason; + +@end + + +/** + * Request message for PartnerProcurementService.RejectEntitlement. + */ +@interface GTLRCloudCommercePartnerProcurementService_RejectEntitlementRequest : GTLRObject + +/** + * Free form text string explaining the rejection reason. Max allowed length: + * 256 bytes. Longer strings will be truncated. + */ +@property(nonatomic, copy, nullable) NSString *reason; + +@end + + +/** + * Request message for PartnerProcurementService.ResetAccount. + */ +@interface GTLRCloudCommercePartnerProcurementService_ResetAccountRequest : GTLRObject +@end + + +/** + * Request message for ParterProcurementService.SuspendEntitlement. This is not + * yet supported. + */ +@interface GTLRCloudCommercePartnerProcurementService_SuspendEntitlementRequest : GTLRObject + +/** + * A free-form reason string, explaining the reason for suspension request. + */ +@property(nonatomic, copy, nullable) NSString *reason; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/CloudCommercePartnerProcurementService/Public/GoogleAPIClientForREST/GTLRCloudCommercePartnerProcurementServiceQuery.h b/Sources/GeneratedServices/CloudCommercePartnerProcurementService/Public/GoogleAPIClientForREST/GTLRCloudCommercePartnerProcurementServiceQuery.h new file mode 100644 index 000000000..c21f5dd68 --- /dev/null +++ b/Sources/GeneratedServices/CloudCommercePartnerProcurementService/Public/GoogleAPIClientForREST/GTLRCloudCommercePartnerProcurementServiceQuery.h @@ -0,0 +1,510 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Cloud Commerce Partner Procurement API (cloudcommerceprocurement/v1) +// Description: +// Partner API for the Cloud Commerce Procurement Service. +// Documentation: +// https://cloud.google.com/marketplace/docs/partners/ + +#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 "GTLRCloudCommercePartnerProcurementServiceObjects.h" + +// Generated comments include content from the discovery document; avoid them +// causing warnings since clang's checks are some what arbitrary. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" + +NS_ASSUME_NONNULL_BEGIN + +/** + * Parent class for other Cloud Commerce Partner Procurement Service query + * classes. + */ +@interface GTLRCloudCommercePartnerProcurementServiceQuery : GTLRQuery + +/** Selector specifying which fields to include in a partial response. */ +@property(nonatomic, copy, nullable) NSString *fields; + +@end + +/** + * Grants an approval on an Account. + * + * Method: cloudcommerceprocurement.providers.accounts.approve + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudCommercePartnerProcurementServiceCloudPlatform + */ +@interface GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersAccountsApprove : GTLRCloudCommercePartnerProcurementServiceQuery + +/** + * Required. The resource name of the account, with the format + * `providers/{providerId}/accounts/{accountId}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudCommercePartnerProcurementService_Empty. + * + * Grants an approval on an Account. + * + * @param object The @c + * GTLRCloudCommercePartnerProcurementService_ApproveAccountRequest to + * include in the query. + * @param name Required. The resource name of the account, with the format + * `providers/{providerId}/accounts/{accountId}`. + * + * @return GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersAccountsApprove + */ ++ (instancetype)queryWithObject:(GTLRCloudCommercePartnerProcurementService_ApproveAccountRequest *)object + name:(NSString *)name; + +@end + +/** + * Gets a requested Account resource. + * + * Method: cloudcommerceprocurement.providers.accounts.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudCommercePartnerProcurementServiceCloudPlatform + */ +@interface GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersAccountsGet : GTLRCloudCommercePartnerProcurementServiceQuery + +/** Required. The name of the account to retrieve. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudCommercePartnerProcurementService_Account. + * + * Gets a requested Account resource. + * + * @param name Required. The name of the account to retrieve. + * + * @return GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersAccountsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists Accounts that the provider has access to. + * + * Method: cloudcommerceprocurement.providers.accounts.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudCommercePartnerProcurementServiceCloudPlatform + */ +@interface GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersAccountsList : GTLRCloudCommercePartnerProcurementServiceQuery + +/** + * The maximum number of entries that are requested. The default page size is + * 25 and the maximum page size is 200. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** The token for fetching the next page. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent resource name. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRCloudCommercePartnerProcurementService_ListAccountsResponse. + * + * Lists Accounts that the provider has access to. + * + * @param parent Required. The parent resource name. + * + * @return GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersAccountsList + * + * @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 + +/** + * Rejects an approval on an Account. + * + * Method: cloudcommerceprocurement.providers.accounts.reject + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudCommercePartnerProcurementServiceCloudPlatform + */ +@interface GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersAccountsReject : GTLRCloudCommercePartnerProcurementServiceQuery + +/** Required. The resource name of the account. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudCommercePartnerProcurementService_Empty. + * + * Rejects an approval on an Account. + * + * @param object The @c + * GTLRCloudCommercePartnerProcurementService_RejectAccountRequest to include + * in the query. + * @param name Required. The resource name of the account. + * + * @return GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersAccountsReject + */ ++ (instancetype)queryWithObject:(GTLRCloudCommercePartnerProcurementService_RejectAccountRequest *)object + name:(NSString *)name; + +@end + +/** + * Resets an Account and cancels all associated Entitlements. Partner can only + * reset accounts they own rather than customer accounts. + * + * Method: cloudcommerceprocurement.providers.accounts.reset + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudCommercePartnerProcurementServiceCloudPlatform + */ +@interface GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersAccountsReset : GTLRCloudCommercePartnerProcurementServiceQuery + +/** Required. The resource name of the account. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudCommercePartnerProcurementService_Empty. + * + * Resets an Account and cancels all associated Entitlements. Partner can only + * reset accounts they own rather than customer accounts. + * + * @param object The @c + * GTLRCloudCommercePartnerProcurementService_ResetAccountRequest to include + * in the query. + * @param name Required. The resource name of the account. + * + * @return GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersAccountsReset + */ ++ (instancetype)queryWithObject:(GTLRCloudCommercePartnerProcurementService_ResetAccountRequest *)object + name:(NSString *)name; + +@end + +/** + * Approves an entitlement that is in the + * EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED state. This method is + * invoked by the provider to approve the creation of the entitlement resource. + * + * Method: cloudcommerceprocurement.providers.entitlements.approve + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudCommercePartnerProcurementServiceCloudPlatform + */ +@interface GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsApprove : GTLRCloudCommercePartnerProcurementServiceQuery + +/** + * Required. The resource name of the entitlement, with the format + * `providers/{providerId}/entitlements/{entitlementId}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudCommercePartnerProcurementService_Empty. + * + * Approves an entitlement that is in the + * EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED state. This method is + * invoked by the provider to approve the creation of the entitlement resource. + * + * @param object The @c + * GTLRCloudCommercePartnerProcurementService_ApproveEntitlementRequest to + * include in the query. + * @param name Required. The resource name of the entitlement, with the format + * `providers/{providerId}/entitlements/{entitlementId}`. + * + * @return GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsApprove + */ ++ (instancetype)queryWithObject:(GTLRCloudCommercePartnerProcurementService_ApproveEntitlementRequest *)object + name:(NSString *)name; + +@end + +/** + * Approves an entitlement plan change that is in the + * EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state. This method + * is invoked by the provider to approve the plan change on the entitlement + * resource. + * + * Method: cloudcommerceprocurement.providers.entitlements.approvePlanChange + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudCommercePartnerProcurementServiceCloudPlatform + */ +@interface GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsApprovePlanChange : GTLRCloudCommercePartnerProcurementServiceQuery + +/** Required. The resource name of the entitlement. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudCommercePartnerProcurementService_Empty. + * + * Approves an entitlement plan change that is in the + * EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state. This method + * is invoked by the provider to approve the plan change on the entitlement + * resource. + * + * @param object The @c + * GTLRCloudCommercePartnerProcurementService_ApproveEntitlementPlanChangeRequest + * to include in the query. + * @param name Required. The resource name of the entitlement. + * + * @return GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsApprovePlanChange + */ ++ (instancetype)queryWithObject:(GTLRCloudCommercePartnerProcurementService_ApproveEntitlementPlanChangeRequest *)object + name:(NSString *)name; + +@end + +/** + * Gets a requested Entitlement resource. + * + * Method: cloudcommerceprocurement.providers.entitlements.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudCommercePartnerProcurementServiceCloudPlatform + */ +@interface GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsGet : GTLRCloudCommercePartnerProcurementServiceQuery + +/** Required. The name of the entitlement to retrieve. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudCommercePartnerProcurementService_Entitlement. + * + * Gets a requested Entitlement resource. + * + * @param name Required. The name of the entitlement to retrieve. + * + * @return GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists Entitlements for which the provider has read access. + * + * Method: cloudcommerceprocurement.providers.entitlements.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudCommercePartnerProcurementServiceCloudPlatform + */ +@interface GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsList : GTLRCloudCommercePartnerProcurementServiceQuery + +/** + * The filter that can be used to limit the list request. The filter is a query + * string that can match a selected set of attributes with string values. For + * example `account=E-1234-5678-ABCD-EFGH`, `state=pending_cancellation`, and + * `plan!=foo-plan`. Supported query attributes are * `account` * + * `customer_billing_account` with value in the format of: + * `billingAccounts/{id}` * `product_external_name` * `quote_external_name` * + * `offer` * `new_pending_offer` * `plan` * `newPendingPlan` or + * `new_pending_plan` * `state` * `services` * `consumers.project` * + * `change_history.new_offer` Note that the consumers and + * change_history.new_offer match works on repeated structures, so equality + * (`consumers.project=projects/123456789`) is not supported. Set membership + * can be expressed with the `:` operator. For example, + * `consumers.project:projects/123456789` finds entitlements with at least one + * consumer with project field equal to `projects/123456789`. + * `change_history.new_offer` retrieves all entitlements that were once + * associated or are currently active with the offer. Also note that the state + * name match is case-insensitive and query can omit the prefix "ENTITLEMENT_". + * For example, `state=active` is equivalent to `state=ENTITLEMENT_ACTIVE`. If + * the query contains some special characters other than letters, underscore, + * or digits, the phrase must be quoted with double quotes. For example, + * `product="providerId:productId"`, where the product name needs to be quoted + * because it contains special character colon. Queries can be combined with + * `AND`, `OR`, and `NOT` to form more complex queries. They can also be + * grouped to force a desired evaluation order. For example, `state=active AND + * (account=E-1234 OR account=5678) AND NOT (product=foo-product)`. Connective + * `AND` can be omitted between two predicates. For example `account=E-1234 + * state=active` is equivalent to `account=E-1234 AND state=active`. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * The maximum number of entries that are requested. The default page size is + * 200. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** The token for fetching the next page. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent resource name. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRCloudCommercePartnerProcurementService_ListEntitlementsResponse. + * + * Lists Entitlements for which the provider has read access. + * + * @param parent Required. The parent resource name. + * + * @return GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates an existing Entitlement. + * + * Method: cloudcommerceprocurement.providers.entitlements.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudCommercePartnerProcurementServiceCloudPlatform + */ +@interface GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsPatch : GTLRCloudCommercePartnerProcurementServiceQuery + +/** Required. The name of the entitlement to update. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The update mask that applies to the resource. See the [FieldMask definition] + * (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask) + * for more details. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRCloudCommercePartnerProcurementService_Entitlement. + * + * Updates an existing Entitlement. + * + * @param object The @c GTLRCloudCommercePartnerProcurementService_Entitlement + * to include in the query. + * @param name Required. The name of the entitlement to update. + * + * @return GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsPatch + */ ++ (instancetype)queryWithObject:(GTLRCloudCommercePartnerProcurementService_Entitlement *)object + name:(NSString *)name; + +@end + +/** + * Rejects an entitlement that is in the + * EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED state. This method is + * invoked by the provider to reject the creation of the entitlement resource. + * + * Method: cloudcommerceprocurement.providers.entitlements.reject + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudCommercePartnerProcurementServiceCloudPlatform + */ +@interface GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsReject : GTLRCloudCommercePartnerProcurementServiceQuery + +/** Required. The resource name of the entitlement. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudCommercePartnerProcurementService_Empty. + * + * Rejects an entitlement that is in the + * EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED state. This method is + * invoked by the provider to reject the creation of the entitlement resource. + * + * @param object The @c + * GTLRCloudCommercePartnerProcurementService_RejectEntitlementRequest to + * include in the query. + * @param name Required. The resource name of the entitlement. + * + * @return GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsReject + */ ++ (instancetype)queryWithObject:(GTLRCloudCommercePartnerProcurementService_RejectEntitlementRequest *)object + name:(NSString *)name; + +@end + +/** + * Rejects an entitlement plan change that is in the + * EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state. This method + * is invoked by the provider to reject the plan change on the entitlement + * resource. + * + * Method: cloudcommerceprocurement.providers.entitlements.rejectPlanChange + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudCommercePartnerProcurementServiceCloudPlatform + */ +@interface GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsRejectPlanChange : GTLRCloudCommercePartnerProcurementServiceQuery + +/** Required. The resource name of the entitlement. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudCommercePartnerProcurementService_Empty. + * + * Rejects an entitlement plan change that is in the + * EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state. This method + * is invoked by the provider to reject the plan change on the entitlement + * resource. + * + * @param object The @c + * GTLRCloudCommercePartnerProcurementService_RejectEntitlementPlanChangeRequest + * to include in the query. + * @param name Required. The resource name of the entitlement. + * + * @return GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsRejectPlanChange + */ ++ (instancetype)queryWithObject:(GTLRCloudCommercePartnerProcurementService_RejectEntitlementPlanChangeRequest *)object + name:(NSString *)name; + +@end + +/** + * Requests suspension of an active Entitlement. This is not yet supported. + * + * Method: cloudcommerceprocurement.providers.entitlements.suspend + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudCommercePartnerProcurementServiceCloudPlatform + */ +@interface GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsSuspend : GTLRCloudCommercePartnerProcurementServiceQuery + +/** Required. The name of the entitlement to suspend. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudCommercePartnerProcurementService_Empty. + * + * Requests suspension of an active Entitlement. This is not yet supported. + * + * @param object The @c + * GTLRCloudCommercePartnerProcurementService_SuspendEntitlementRequest to + * include in the query. + * @param name Required. The name of the entitlement to suspend. + * + * @return GTLRCloudCommercePartnerProcurementServiceQuery_ProvidersEntitlementsSuspend + */ ++ (instancetype)queryWithObject:(GTLRCloudCommercePartnerProcurementService_SuspendEntitlementRequest *)object + name:(NSString *)name; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/CloudCommercePartnerProcurementService/Public/GoogleAPIClientForREST/GTLRCloudCommercePartnerProcurementServiceService.h b/Sources/GeneratedServices/CloudCommercePartnerProcurementService/Public/GoogleAPIClientForREST/GTLRCloudCommercePartnerProcurementServiceService.h new file mode 100644 index 000000000..9b2d8ec41 --- /dev/null +++ b/Sources/GeneratedServices/CloudCommercePartnerProcurementService/Public/GoogleAPIClientForREST/GTLRCloudCommercePartnerProcurementServiceService.h @@ -0,0 +1,73 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Cloud Commerce Partner Procurement API (cloudcommerceprocurement/v1) +// Description: +// Partner API for the Cloud Commerce Procurement Service. +// Documentation: +// https://cloud.google.com/marketplace/docs/partners/ + +#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 kGTLRAuthScopeCloudCommercePartnerProcurementServiceCloudPlatform; + +// ---------------------------------------------------------------------------- +// GTLRCloudCommercePartnerProcurementServiceService +// + +/** + * Service for executing Cloud Commerce Partner Procurement API queries. + * + * Partner API for the Cloud Commerce Procurement Service. + */ +@interface GTLRCloudCommercePartnerProcurementServiceService : GTLRService + +// No new methods + +// Clients should create a standard query with any of the class methods in +// GTLRCloudCommercePartnerProcurementServiceQuery.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/CloudDataplex/GTLRCloudDataplexQuery.m b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexQuery.m index 516d46bbf..a69fccc22 100644 --- a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexQuery.m +++ b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexQuery.m @@ -700,29 +700,6 @@ + (instancetype)queryWithObject:(GTLRCloudDataplex_GoogleIamV1TestIamPermissions @end -@implementation GTLRCloudDataplexQuery_ProjectsLocationsDataProductsDataAssetsGetIamPolicy - -@dynamic optionsRequestedPolicyVersion, resource; - -+ (NSDictionary *)parameterNameMap { - return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; -} - -+ (instancetype)queryWithResource:(NSString *)resource { - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; - GTLRCloudDataplexQuery_ProjectsLocationsDataProductsDataAssetsGetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.resource = resource; - query.expectedObjectClass = [GTLRCloudDataplex_GoogleIamV1Policy class]; - query.loggingName = @"dataplex.projects.locations.dataProducts.dataAssets.getIamPolicy"; - return query; -} - -@end - @implementation GTLRCloudDataplexQuery_ProjectsLocationsDataProductsDataAssetsSetIamPolicy @dynamic resource; @@ -777,29 +754,6 @@ + (instancetype)queryWithObject:(GTLRCloudDataplex_GoogleIamV1TestIamPermissions @end -@implementation GTLRCloudDataplexQuery_ProjectsLocationsDataProductsGetIamPolicy - -@dynamic optionsRequestedPolicyVersion, resource; - -+ (NSDictionary *)parameterNameMap { - return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; -} - -+ (instancetype)queryWithResource:(NSString *)resource { - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; - GTLRCloudDataplexQuery_ProjectsLocationsDataProductsGetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.resource = resource; - query.expectedObjectClass = [GTLRCloudDataplex_GoogleIamV1Policy class]; - query.loggingName = @"dataplex.projects.locations.dataProducts.getIamPolicy"; - return query; -} - -@end - @implementation GTLRCloudDataplexQuery_ProjectsLocationsDataProductsSetIamPolicy @dynamic resource; diff --git a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h index 4fb49a09e..fd50f5759 100644 --- a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h +++ b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h @@ -1316,56 +1316,6 @@ GTLR_DEPRECATED @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: dataplex.projects.locations.dataProducts.dataAssets.getIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudDataplexCloudPlatform - */ -@interface GTLRCloudDataplexQuery_ProjectsLocationsDataProductsDataAssetsGetIamPolicy : GTLRCloudDataplexQuery - -/** - * 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 GTLRCloudDataplex_GoogleIamV1Policy. - * - * Gets the access control policy for a resource. Returns an empty policy if - * the resource exists and does not have a policy set. - * - * @param resource REQUIRED: The resource for which the policy is being - * requested. See Resource names - * (https://cloud.google.com/apis/design/resource_names) for the appropriate - * value for this field. - * - * @return GTLRCloudDataplexQuery_ProjectsLocationsDataProductsDataAssetsGetIamPolicy - */ -+ (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 @@ -1450,56 +1400,6 @@ GTLR_DEPRECATED @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: dataplex.projects.locations.dataProducts.getIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudDataplexCloudPlatform - */ -@interface GTLRCloudDataplexQuery_ProjectsLocationsDataProductsGetIamPolicy : GTLRCloudDataplexQuery - -/** - * 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 GTLRCloudDataplex_GoogleIamV1Policy. - * - * Gets the access control policy for a resource. Returns an empty policy if - * the resource exists and does not have a policy set. - * - * @param resource REQUIRED: The resource for which the policy is being - * requested. See Resource names - * (https://cloud.google.com/apis/design/resource_names) for the appropriate - * value for this field. - * - * @return GTLRCloudDataplexQuery_ProjectsLocationsDataProductsGetIamPolicy - */ -+ (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 @@ -8549,8 +8449,8 @@ GTLR_DEPRECATED @interface GTLRCloudDataplexQuery_ProjectsLocationsList : GTLRCloudDataplexQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Unless explicitly documented otherwise, don't use this unsupported + * field which is primarily intended for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; @@ -9006,7 +8906,7 @@ GTLR_DEPRECATED /** * Optional. Specifies the ordering of results. Supported values are: relevance - * (default) last_modified_timestamp last_modified_timestamp asc + * last_modified_timestamp last_modified_timestamp asc */ @property(nonatomic, copy, nullable) NSString *orderBy; diff --git a/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployQuery.h b/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployQuery.h index 939537e5c..2a0670c3e 100644 --- a/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployQuery.h +++ b/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployQuery.h @@ -2336,8 +2336,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCloudDeployQuery_ProjectsLocationsList : GTLRCloudDeployQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m b/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m index 8a601d36b..74f9797cd 100644 --- a/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m +++ b/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m @@ -90,6 +90,7 @@ NSString * const kGTLRCloudFilestore_NetworkConfig_ConnectMode_ConnectModeUnspecified = @"CONNECT_MODE_UNSPECIFIED"; NSString * const kGTLRCloudFilestore_NetworkConfig_ConnectMode_DirectPeering = @"DIRECT_PEERING"; NSString * const kGTLRCloudFilestore_NetworkConfig_ConnectMode_PrivateServiceAccess = @"PRIVATE_SERVICE_ACCESS"; +NSString * const kGTLRCloudFilestore_NetworkConfig_ConnectMode_PrivateServiceConnect = @"PRIVATE_SERVICE_CONNECT"; // GTLRCloudFilestore_NetworkConfig.modes NSString * const kGTLRCloudFilestore_NetworkConfig_Modes_AddressModeUnspecified = @"ADDRESS_MODE_UNSPECIFIED"; @@ -108,14 +109,19 @@ // GTLRCloudFilestore_ReplicaConfig.state NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Creating = @"CREATING"; NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Failed = @"FAILED"; +NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Paused = @"PAUSED"; +NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Pausing = @"PAUSING"; NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Promoting = @"PROMOTING"; NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Ready = @"READY"; NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Removing = @"REMOVING"; +NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Resuming = @"RESUMING"; NSString * const kGTLRCloudFilestore_ReplicaConfig_State_StateUnspecified = @"STATE_UNSPECIFIED"; // GTLRCloudFilestore_ReplicaConfig.stateReasons +NSString * const kGTLRCloudFilestore_ReplicaConfig_StateReasons_PauseFailed = @"PAUSE_FAILED"; NSString * const kGTLRCloudFilestore_ReplicaConfig_StateReasons_PeerInstanceUnreachable = @"PEER_INSTANCE_UNREACHABLE"; NSString * const kGTLRCloudFilestore_ReplicaConfig_StateReasons_RemoveFailed = @"REMOVE_FAILED"; +NSString * const kGTLRCloudFilestore_ReplicaConfig_StateReasons_ResumeFailed = @"RESUME_FAILED"; NSString * const kGTLRCloudFilestore_ReplicaConfig_StateReasons_StateReasonUnspecified = @"STATE_REASON_UNSPECIFIED"; // GTLRCloudFilestore_Replication.role @@ -506,9 +512,10 @@ @implementation GTLRCloudFilestore_GoogleCloudSaasacceleratorManagementProviders // @implementation GTLRCloudFilestore_Instance -@dynamic createTime, customPerformanceSupported, deletionProtectionEnabled, - deletionProtectionReason, descriptionProperty, ETag, fileShares, - kmsKeyName, labels, name, networks, performanceConfig, +@dynamic capacityStepSizeGb, createTime, customPerformanceSupported, + deletionProtectionEnabled, deletionProtectionReason, + descriptionProperty, ETag, fileShares, kmsKeyName, labels, + maxCapacityGb, minCapacityGb, name, networks, performanceConfig, performanceLimits, protocol, replication, satisfiesPzi, satisfiesPzs, state, statusMessage, suspensionReasons, tags, tier; @@ -767,7 +774,7 @@ @implementation GTLRCloudFilestore_MaintenanceWindow // @implementation GTLRCloudFilestore_NetworkConfig -@dynamic connectMode, ipAddresses, modes, network, reservedIpRange; +@dynamic connectMode, ipAddresses, modes, network, pscConfig, reservedIpRange; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -786,7 +793,7 @@ @implementation GTLRCloudFilestore_NetworkConfig // @implementation GTLRCloudFilestore_NfsExportOptions -@dynamic accessMode, anonGid, anonUid, ipRanges, squashMode; +@dynamic accessMode, anonGid, anonUid, ipRanges, network, squashMode; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -878,6 +885,16 @@ @implementation GTLRCloudFilestore_PromoteReplicaRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudFilestore_PscConfig +// + +@implementation GTLRCloudFilestore_PscConfig +@dynamic endpointProject; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudFilestore_ReplicaConfig diff --git a/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h b/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h index d50628471..b0a483f9f 100644 --- a/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h +++ b/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h @@ -56,6 +56,7 @@ @class GTLRCloudFilestore_Operation_Response; @class GTLRCloudFilestore_PerformanceConfig; @class GTLRCloudFilestore_PerformanceLimits; +@class GTLRCloudFilestore_PscConfig; @class GTLRCloudFilestore_ReplicaConfig; @class GTLRCloudFilestore_Replication; @class GTLRCloudFilestore_Schedule; @@ -481,6 +482,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_NetworkConfig_ConnectMode * Value: "PRIVATE_SERVICE_ACCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_NetworkConfig_ConnectMode_PrivateServiceAccess; +/** + * Connect to your Filestore instance using Private Service Connect. A + * connection policy must exist in the region for the VPC network and the + * google-cloud-filestore service class. + * + * Value: "PRIVATE_SERVICE_CONNECT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_NetworkConfig_ConnectMode_PrivateServiceConnect; // ---------------------------------------------------------------------------- // GTLRCloudFilestore_NetworkConfig.modes @@ -558,6 +567,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Creat * Value: "FAILED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Failed; +/** + * The replica is paused. + * + * Value: "PAUSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Paused; +/** + * The replica is being paused. + * + * Value: "PAUSING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Pausing; /** * The replica is being promoted. * @@ -576,6 +597,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Ready * Value: "REMOVING" */ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Removing; +/** + * The replica is being resumed. + * + * Value: "RESUMING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Resuming; /** * State not set. * @@ -586,6 +613,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_State_State // ---------------------------------------------------------------------------- // GTLRCloudFilestore_ReplicaConfig.stateReasons +/** + * The pause replica operation failed. + * + * Value: "PAUSE_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_StateReasons_PauseFailed; /** * The peer instance is unreachable. * @@ -598,6 +631,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_StateReason * Value: "REMOVE_FAILED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_StateReasons_RemoveFailed; +/** + * The resume replica operation failed. + * + * Value: "RESUME_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_StateReasons_ResumeFailed; /** * Reason not specified. * @@ -1618,6 +1657,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week */ @interface GTLRCloudFilestore_Instance : GTLRObject +/** + * Output only. The increase/decrease capacity step size in GB. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *capacityStepSizeGb; + /** Output only. The time when the instance was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -1665,6 +1711,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week /** Resource labels to represent user provided metadata. */ @property(nonatomic, strong, nullable) GTLRCloudFilestore_Instance_Labels *labels; +/** + * Output only. The max capacity of the instance in GB. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxCapacityGb; + +/** + * Output only. The min capacity of the instance in GB. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minCapacityGb; + /** * Output only. The resource name of the instance, in the format * `projects/{project}/locations/{location}/instances/{instance}`. @@ -2164,6 +2224,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week * Private services access provides an IP address range for multiple * Google Cloud services, including Filestore. (Value: * "PRIVATE_SERVICE_ACCESS") + * @arg @c kGTLRCloudFilestore_NetworkConfig_ConnectMode_PrivateServiceConnect + * Connect to your Filestore instance using Private Service Connect. A + * connection policy must exist in the region for the VPC network and the + * google-cloud-filestore service class. (Value: + * "PRIVATE_SERVICE_CONNECT") */ @property(nonatomic, copy, nullable) NSString *connectMode; @@ -2187,6 +2252,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week */ @property(nonatomic, copy, nullable) NSString *network; +/** + * Optional. Private Service Connect configuration. Should only be set when + * connect_mode is PRIVATE_SERVICE_CONNECT. + */ +@property(nonatomic, strong, nullable) GTLRCloudFilestore_PscConfig *pscConfig; + /** * Optional, reserved_ip_range can have one of the following two types of * values. * CIDR range value when using DIRECT_PEERING connect mode. * @@ -2258,6 +2329,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week */ @property(nonatomic, strong, nullable) NSArray *ipRanges; +/** + * Optional. The source VPC network for ip_ranges. Required for instances using + * Private Service Connect, optional otherwise. If provided, must be the same + * network specified in the `NetworkConfig.network` field. + */ +@property(nonatomic, copy, nullable) NSString *network; + /** * Either NO_ROOT_SQUASH, for allowing root access on the exported directory, * or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH. @@ -2491,6 +2569,22 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week @end +/** + * Private Service Connect configuration. + */ +@interface GTLRCloudFilestore_PscConfig : GTLRObject + +/** + * Optional. Consumer service project in which the Private Service Connect + * endpoint would be set up. This is optional, and only relevant in case the + * network is a shared VPC. If this is not specified, the endpoint would be + * setup in the VPC host project. + */ +@property(nonatomic, copy, nullable) NSString *endpointProject; + +@end + + /** * Replica configuration for the instance. */ @@ -2515,12 +2609,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week * 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_Paused The replica is + * paused. (Value: "PAUSED") + * @arg @c kGTLRCloudFilestore_ReplicaConfig_State_Pausing The replica is + * being paused. (Value: "PAUSING") * @arg @c kGTLRCloudFilestore_ReplicaConfig_State_Promoting The replica is * being promoted. (Value: "PROMOTING") * @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_Resuming The replica is + * being resumed. (Value: "RESUMING") * @arg @c kGTLRCloudFilestore_ReplicaConfig_State_StateUnspecified State not * set. (Value: "STATE_UNSPECIFIED") */ diff --git a/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreQuery.h b/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreQuery.h index 820770fd5..81ad059f3 100644 --- a/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreQuery.h +++ b/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreQuery.h @@ -790,8 +790,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCloudFilestoreQuery_ProjectsLocationsList : GTLRCloudFilestoreQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/CloudFunctions/GTLRCloudFunctionsObjects.m b/Sources/GeneratedServices/CloudFunctions/GTLRCloudFunctionsObjects.m index d7d0323d2..5c485cbd8 100644 --- a/Sources/GeneratedServices/CloudFunctions/GTLRCloudFunctionsObjects.m +++ b/Sources/GeneratedServices/CloudFunctions/GTLRCloudFunctionsObjects.m @@ -127,6 +127,7 @@ NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_AbortFunctionUpgradeError = @"ABORT_FUNCTION_UPGRADE_ERROR"; NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_CommitFunctionUpgradeError = @"COMMIT_FUNCTION_UPGRADE_ERROR"; NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_EligibleFor2ndGenUpgrade = @"ELIGIBLE_FOR_2ND_GEN_UPGRADE"; +NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_IneligibleForUpgradeUntilRedeployment = @"INELIGIBLE_FOR_UPGRADE_UNTIL_REDEPLOYMENT"; NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_RedirectFunctionUpgradeTrafficError = @"REDIRECT_FUNCTION_UPGRADE_TRAFFIC_ERROR"; NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_RedirectFunctionUpgradeTrafficSuccessful = @"REDIRECT_FUNCTION_UPGRADE_TRAFFIC_SUCCESSFUL"; NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_RollbackFunctionUpgradeTrafficError = @"ROLLBACK_FUNCTION_UPGRADE_TRAFFIC_ERROR"; diff --git a/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsObjects.h b/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsObjects.h index c1cfbe421..7dbf0c3ac 100644 --- a/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsObjects.h +++ b/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsObjects.h @@ -613,11 +613,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_ */ FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_CommitFunctionUpgradeError; /** - * Functions in this state are eligible for 1st Gen -> 2nd Gen upgrade. + * Functions in this state are eligible for 1st Gen upgrade. * * Value: "ELIGIBLE_FOR_2ND_GEN_UPGRADE" */ FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_EligibleFor2ndGenUpgrade; +/** + * Functions in this state are ineligible for 1st Gen upgrade until + * redeployment with newer runtime. + * + * Value: "INELIGIBLE_FOR_UPGRADE_UNTIL_REDEPLOYMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_IneligibleForUpgradeUntilRedeployment; /** * RedirectFunctionUpgradeTraffic API was un-successful. * @@ -2604,8 +2611,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_ * CommitFunctionUpgrade API was un-successful. (Value: * "COMMIT_FUNCTION_UPGRADE_ERROR") * @arg @c kGTLRCloudFunctions_UpgradeInfo_UpgradeState_EligibleFor2ndGenUpgrade - * Functions in this state are eligible for 1st Gen -> 2nd Gen upgrade. - * (Value: "ELIGIBLE_FOR_2ND_GEN_UPGRADE") + * Functions in this state are eligible for 1st Gen upgrade. (Value: + * "ELIGIBLE_FOR_2ND_GEN_UPGRADE") + * @arg @c kGTLRCloudFunctions_UpgradeInfo_UpgradeState_IneligibleForUpgradeUntilRedeployment + * Functions in this state are ineligible for 1st Gen upgrade until + * redeployment with newer runtime. (Value: + * "INELIGIBLE_FOR_UPGRADE_UNTIL_REDEPLOYMENT") * @arg @c kGTLRCloudFunctions_UpgradeInfo_UpgradeState_RedirectFunctionUpgradeTrafficError * RedirectFunctionUpgradeTraffic API was un-successful. (Value: * "REDIRECT_FUNCTION_UPGRADE_TRAFFIC_ERROR") diff --git a/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsQuery.h b/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsQuery.h index 65dcdc818..19e1419b0 100644 --- a/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsQuery.h +++ b/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsQuery.h @@ -716,8 +716,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCloudFunctionsQuery_ProjectsLocationsList : GTLRCloudFunctionsQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Unless explicitly documented otherwise, don't use this unsupported + * field which is primarily intended for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h index 7ecc5657b..f9f5b0eb9 100644 --- a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h +++ b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h @@ -5801,10 +5801,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * resources. For a search query that will match a large number of resources, * you can avoiding using the special synchronous index by including an * additional `_sort` parameter in your query. Use `_sort=-_lastUpdated` if you - * want to keep the default sorting order. Note: The special synchronous - * identifier index are currently disabled for DocumentReference and - * DocumentManifest searches. For samples and detailed information, see - * [Searching for FHIR + * want to keep the default sorting order. For samples and detailed + * information, see [Searching for FHIR * resources](https://cloud.google.com/healthcare/docs/how-tos/fhir-search) and * [Advanced FHIR search * features](https://cloud.google.com/healthcare/docs/how-tos/fhir-advanced-search). @@ -5884,10 +5882,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * resources. For a search query that will match a large number of resources, * you can avoiding using the special synchronous index by including an * additional `_sort` parameter in your query. Use `_sort=-_lastUpdated` if you - * want to keep the default sorting order. Note: The special synchronous - * identifier index are currently disabled for DocumentReference and - * DocumentManifest searches. For samples and detailed information, see - * [Searching for FHIR + * want to keep the default sorting order. For samples and detailed + * information, see [Searching for FHIR * resources](https://cloud.google.com/healthcare/docs/how-tos/fhir-search) and * [Advanced FHIR search * features](https://cloud.google.com/healthcare/docs/how-tos/fhir-advanced-search). @@ -5965,10 +5961,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * resources. For a search query that will match a large number of resources, * you can avoiding using the special synchronous index by including an * additional `_sort` parameter in your query. Use `_sort=-_lastUpdated` if you - * want to keep the default sorting order. Note: The special synchronous - * identifier index are currently disabled for DocumentReference and - * DocumentManifest searches. For samples and detailed information, see - * [Searching for FHIR + * want to keep the default sorting order. For samples and detailed + * information, see [Searching for FHIR * resources](https://cloud.google.com/healthcare/docs/how-tos/fhir-search) and * [Advanced FHIR search * features](https://cloud.google.com/healthcare/docs/how-tos/fhir-advanced-search). @@ -6058,10 +6052,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * resources. For a search query that will match a large number of resources, * you can avoiding using the special synchronous index by including an * additional `_sort` parameter in your query. Use `_sort=-_lastUpdated` if you - * want to keep the default sorting order. Note: The special synchronous - * identifier index are currently disabled for DocumentReference and - * DocumentManifest searches. For samples and detailed information, see - * [Searching for FHIR + * want to keep the default sorting order. For samples and detailed + * information, see [Searching for FHIR * resources](https://cloud.google.com/healthcare/docs/how-tos/fhir-search) and * [Advanced FHIR search * features](https://cloud.google.com/healthcare/docs/how-tos/fhir-advanced-search). @@ -8088,8 +8080,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @interface GTLRCloudHealthcareQuery_ProjectsLocationsList : GTLRCloudHealthcareQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h index 327b303f0..35d7a404f 100644 --- a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h +++ b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h @@ -2400,7 +2400,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe /** - * Cloud KMS Autokey configuration for a folder. + * Cloud KMS Autokey configuration for a folder or project. */ @interface GTLRCloudKMS_AutokeyConfig : GTLRObject @@ -2427,7 +2427,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe /** * Identifier. Name of the AutokeyConfig resource, e.g. - * `folders/{FOLDER_NUMBER}/autokeyConfig`. + * `folders/{FOLDER_NUMBER}/autokeyConfig` + * `projects/{PROJECT_NUMBER}/autokeyConfig`. */ @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 c874666a5..99fc82968 100644 --- a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSQuery.h +++ b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSQuery.h @@ -197,7 +197,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMSViewFull; /** * Identifier. Name of the AutokeyConfig resource, e.g. - * `folders/{FOLDER_NUMBER}/autokeyConfig`. + * `folders/{FOLDER_NUMBER}/autokeyConfig` + * `projects/{PROJECT_NUMBER}/autokeyConfig`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -220,7 +221,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMSViewFull; * * @param object The @c GTLRCloudKMS_AutokeyConfig to include in the query. * @param name Identifier. Name of the AutokeyConfig resource, e.g. - * `folders/{FOLDER_NUMBER}/autokeyConfig`. + * `folders/{FOLDER_NUMBER}/autokeyConfig` + * `projects/{PROJECT_NUMBER}/autokeyConfig`. * * @return GTLRCloudKMSQuery_FoldersUpdateAutokeyConfig */ @@ -2661,8 +2663,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMSViewFull; @interface GTLRCloudKMSQuery_ProjectsLocationsList : GTLRCloudKMSQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderObjects.m b/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderObjects.m index 7f094c6f8..29cf94b09 100644 --- a/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderObjects.m +++ b/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderObjects.m @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Cloud Location Finder API (cloudlocationfinder/v1alpha) +// Cloud Location Finder API (cloudlocationfinder/v1) // Documentation: // https://cloud.google.com/location-finder/docs diff --git a/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderQuery.m b/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderQuery.m index 2619c0ab9..b8ecad471 100644 --- a/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderQuery.m +++ b/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderQuery.m @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Cloud Location Finder API (cloudlocationfinder/v1alpha) +// Cloud Location Finder API (cloudlocationfinder/v1) // Documentation: // https://cloud.google.com/location-finder/docs @@ -22,7 +22,7 @@ @implementation GTLRCloudLocationFinderQuery_ProjectsLocationsCloudLocationsGet + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1alpha/{+name}"; + NSString *pathURITemplate = @"v1/{+name}"; GTLRCloudLocationFinderQuery_ProjectsLocationsCloudLocationsGet *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil @@ -41,7 +41,7 @@ @implementation GTLRCloudLocationFinderQuery_ProjectsLocationsCloudLocationsList + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; - NSString *pathURITemplate = @"v1alpha/{+parent}/cloudLocations"; + NSString *pathURITemplate = @"v1/{+parent}/cloudLocations"; GTLRCloudLocationFinderQuery_ProjectsLocationsCloudLocationsList *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil @@ -60,7 +60,7 @@ @implementation GTLRCloudLocationFinderQuery_ProjectsLocationsCloudLocationsSear + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; - NSString *pathURITemplate = @"v1alpha/{+parent}/cloudLocations:search"; + NSString *pathURITemplate = @"v1/{+parent}/cloudLocations:search"; GTLRCloudLocationFinderQuery_ProjectsLocationsCloudLocationsSearch *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil @@ -79,7 +79,7 @@ @implementation GTLRCloudLocationFinderQuery_ProjectsLocationsGet + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1alpha/{+name}"; + NSString *pathURITemplate = @"v1/{+name}"; GTLRCloudLocationFinderQuery_ProjectsLocationsGet *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil @@ -105,7 +105,7 @@ @implementation GTLRCloudLocationFinderQuery_ProjectsLocationsList + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1alpha/{+name}/locations"; + NSString *pathURITemplate = @"v1/{+name}/locations"; GTLRCloudLocationFinderQuery_ProjectsLocationsList *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil diff --git a/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderService.m b/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderService.m index 9b528348d..85db6ade3 100644 --- a/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderService.m +++ b/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderService.m @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Cloud Location Finder API (cloudlocationfinder/v1alpha) +// Cloud Location Finder API (cloudlocationfinder/v1) // Documentation: // https://cloud.google.com/location-finder/docs diff --git a/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinder.h b/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinder.h index 129b3ecc3..579a1c587 100644 --- a/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinder.h +++ b/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinder.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Cloud Location Finder API (cloudlocationfinder/v1alpha) +// Cloud Location Finder API (cloudlocationfinder/v1) // Documentation: // https://cloud.google.com/location-finder/docs diff --git a/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderObjects.h b/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderObjects.h index f1806cc0e..22749c83d 100644 --- a/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderObjects.h +++ b/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderObjects.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Cloud Location Finder API (cloudlocationfinder/v1alpha) +// Cloud Location Finder API (cloudlocationfinder/v1) // Documentation: // https://cloud.google.com/location-finder/docs diff --git a/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderQuery.h b/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderQuery.h index 35ffa85d4..40ec93ad7 100644 --- a/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderQuery.h +++ b/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderQuery.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Cloud Location Finder API (cloudlocationfinder/v1alpha) +// Cloud Location Finder API (cloudlocationfinder/v1) // Documentation: // https://cloud.google.com/location-finder/docs @@ -216,8 +216,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCloudLocationFinderQuery_ProjectsLocationsList : GTLRCloudLocationFinderQuery /** - * Optional. Do not use this field. It is unsupported and is ignored unless - * explicitly documented otherwise. This is primarily for internal usage. + * Optional. Unless explicitly documented otherwise, don't use this unsupported + * field which is primarily intended for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderService.h b/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderService.h index 99fed109c..e4210ef59 100644 --- a/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderService.h +++ b/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderService.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Cloud Location Finder API (cloudlocationfinder/v1alpha) +// Cloud Location Finder API (cloudlocationfinder/v1) // Documentation: // https://cloud.google.com/location-finder/docs diff --git a/Sources/GeneratedServices/CloudMachineLearningEngine/Public/GoogleAPIClientForREST/GTLRCloudMachineLearningEngineObjects.h b/Sources/GeneratedServices/CloudMachineLearningEngine/Public/GoogleAPIClientForREST/GTLRCloudMachineLearningEngineObjects.h index 7cef50177..a920a570a 100644 --- a/Sources/GeneratedServices/CloudMachineLearningEngine/Public/GoogleAPIClientForREST/GTLRCloudMachineLearningEngineObjects.h +++ b/Sources/GeneratedServices/CloudMachineLearningEngine/Public/GoogleAPIClientForREST/GTLRCloudMachineLearningEngineObjects.h @@ -2798,7 +2798,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudMachineLearningEngine_GoogleIamV1Au * project_id.dataset_name.table_name" The specified table must already exist, * and the "Cloud ML Service Agent" for your project must have permission to * write to it. The table must have the following - * [schema](/bigquery/docs/schemas): Field nameType Mode model STRING REQUIRED + * [schema](/bigquery/docs/schemas): Field name Type Mode model STRING REQUIRED * model_version STRING REQUIRED time TIMESTAMP REQUIRED raw_data STRING * REQUIRED raw_prediction STRING NULLABLE groundtruth STRING NULLABLE */ diff --git a/Sources/GeneratedServices/CloudMemorystoreforMemcached/GTLRCloudMemorystoreforMemcachedObjects.m b/Sources/GeneratedServices/CloudMemorystoreforMemcached/GTLRCloudMemorystoreforMemcachedObjects.m index ca378fab6..886bad93e 100644 --- a/Sources/GeneratedServices/CloudMemorystoreforMemcached/GTLRCloudMemorystoreforMemcachedObjects.m +++ b/Sources/GeneratedServices/CloudMemorystoreforMemcached/GTLRCloudMemorystoreforMemcachedObjects.m @@ -163,6 +163,40 @@ @implementation GTLRCloudMemorystoreforMemcached_Empty @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudMemorystoreforMemcached_GetTagsRequest +// + +@implementation GTLRCloudMemorystoreforMemcached_GetTagsRequest +@dynamic name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudMemorystoreforMemcached_GetTagsResponse +// + +@implementation GTLRCloudMemorystoreforMemcached_GetTagsResponse +@dynamic name, tags, tagsEtag; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudMemorystoreforMemcached_GetTagsResponse_Tags +// + +@implementation GTLRCloudMemorystoreforMemcached_GetTagsResponse_Tags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudMemorystoreforMemcached_GoogleCloudMemcacheV1LocationMetadata @@ -822,6 +856,54 @@ @implementation GTLRCloudMemorystoreforMemcached_Schedule @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudMemorystoreforMemcached_SetTagsRequest +// + +@implementation GTLRCloudMemorystoreforMemcached_SetTagsRequest +@dynamic name, requestId, tags, tagsEtag; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudMemorystoreforMemcached_SetTagsRequest_Tags +// + +@implementation GTLRCloudMemorystoreforMemcached_SetTagsRequest_Tags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudMemorystoreforMemcached_SetTagsResponse +// + +@implementation GTLRCloudMemorystoreforMemcached_SetTagsResponse +@dynamic name, tags, tagsEtag; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudMemorystoreforMemcached_SetTagsResponse_Tags +// + +@implementation GTLRCloudMemorystoreforMemcached_SetTagsResponse_Tags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudMemorystoreforMemcached_Status diff --git a/Sources/GeneratedServices/CloudMemorystoreforMemcached/Public/GoogleAPIClientForREST/GTLRCloudMemorystoreforMemcachedObjects.h b/Sources/GeneratedServices/CloudMemorystoreforMemcached/Public/GoogleAPIClientForREST/GTLRCloudMemorystoreforMemcachedObjects.h index a98a205bb..ad47b041a 100644 --- a/Sources/GeneratedServices/CloudMemorystoreforMemcached/Public/GoogleAPIClientForREST/GTLRCloudMemorystoreforMemcachedObjects.h +++ b/Sources/GeneratedServices/CloudMemorystoreforMemcached/Public/GoogleAPIClientForREST/GTLRCloudMemorystoreforMemcachedObjects.h @@ -18,6 +18,7 @@ @class GTLRCloudMemorystoreforMemcached_DailyCycle; @class GTLRCloudMemorystoreforMemcached_Date; @class GTLRCloudMemorystoreforMemcached_DenyMaintenancePeriod; +@class GTLRCloudMemorystoreforMemcached_GetTagsResponse_Tags; @class GTLRCloudMemorystoreforMemcached_GoogleCloudMemcacheV1LocationMetadata_AvailableZones; @class GTLRCloudMemorystoreforMemcached_GoogleCloudMemcacheV1MaintenancePolicy; @class GTLRCloudMemorystoreforMemcached_GoogleCloudMemcacheV1ZoneMetadata; @@ -56,6 +57,8 @@ @class GTLRCloudMemorystoreforMemcached_Operation_Metadata; @class GTLRCloudMemorystoreforMemcached_Operation_Response; @class GTLRCloudMemorystoreforMemcached_Schedule; +@class GTLRCloudMemorystoreforMemcached_SetTagsRequest_Tags; +@class GTLRCloudMemorystoreforMemcached_SetTagsResponse_Tags; @class GTLRCloudMemorystoreforMemcached_Status; @class GTLRCloudMemorystoreforMemcached_Status_Details_Item; @class GTLRCloudMemorystoreforMemcached_TimeOfDay; @@ -608,6 +611,55 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudMemorystoreforMemcached_WeeklyMaint @end +/** + * Request message for GetTags. + */ +@interface GTLRCloudMemorystoreforMemcached_GetTagsRequest : GTLRObject + +/** Required. The full One Platform resource name of the service resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * Response message for GetTags. + */ +@interface GTLRCloudMemorystoreforMemcached_GetTagsResponse : GTLRObject + +/** Required. The full One Platform resource name of the service resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. Tag keys/values directly bound to this resource. Each item in the + * map must be expressed as " : ". For example: "123/environment" : + * "production", "123/costCenter" : "marketing" + */ +@property(nonatomic, strong, nullable) GTLRCloudMemorystoreforMemcached_GetTagsResponse_Tags *tags; + +/** + * A checksum based on the current bindings. This field is always set in server + * responses. + */ +@property(nonatomic, copy, nullable) NSString *tagsEtag; + +@end + + +/** + * Required. Tag keys/values directly bound to this resource. Each item in the + * map must be expressed as " : ". For example: "123/environment" : + * "production", "123/costCenter" : "marketing" + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRCloudMemorystoreforMemcached_GetTagsResponse_Tags : GTLRObject +@end + + /** * Metadata for the given google.cloud.location.Location. */ @@ -2039,6 +2091,90 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudMemorystoreforMemcached_WeeklyMaint @end +/** + * Request message for SetTags. + */ +@interface GTLRCloudMemorystoreforMemcached_SetTagsRequest : GTLRObject + +/** Required. The full One Platform resource name of the service resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. A unique identifier for this request. Must be a valid UUID. This + * request is only idempotent if a `request_id` is provided. + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Required. These bindings will override any bindings previously set and will + * be effective immediately. Each item in the map must be expressed as " : ". + * For example: "123/environment" : "production", "123/costCenter" : + * "marketing" + */ +@property(nonatomic, strong, nullable) GTLRCloudMemorystoreforMemcached_SetTagsRequest_Tags *tags; + +/** + * Optional. A checksum based on the current bindings which can be passed to + * prevent race conditions. If not passed, etag check would be skipped. + */ +@property(nonatomic, copy, nullable) NSString *tagsEtag; + +@end + + +/** + * Required. These bindings will override any bindings previously set and will + * be effective immediately. Each item in the map must be expressed as " : ". + * For example: "123/environment" : "production", "123/costCenter" : + * "marketing" + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRCloudMemorystoreforMemcached_SetTagsRequest_Tags : GTLRObject +@end + + +/** + * Response message for SetTags. + */ +@interface GTLRCloudMemorystoreforMemcached_SetTagsResponse : GTLRObject + +/** Required. The full One Platform resource name of the service resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. Tag keys/values directly bound to this resource. Each item in the + * map must be expressed as " : ". For example: "123/environment" : + * "production", "123/costCenter" : "marketing" + */ +@property(nonatomic, strong, nullable) GTLRCloudMemorystoreforMemcached_SetTagsResponse_Tags *tags; + +/** + * A checksum based on the current bindings. This field is always set in server + * responses. + */ +@property(nonatomic, copy, nullable) NSString *tagsEtag; + +@end + + +/** + * Required. Tag keys/values directly bound to this resource. Each item in the + * map must be expressed as " : ". For example: "123/environment" : + * "production", "123/costCenter" : "marketing" + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRCloudMemorystoreforMemcached_SetTagsResponse_Tags : GTLRObject +@end + + /** * The `Status` type defines a logical error model that is suitable for * different programming environments, including REST APIs and RPC APIs. It is diff --git a/Sources/GeneratedServices/CloudMemorystoreforMemcached/Public/GoogleAPIClientForREST/GTLRCloudMemorystoreforMemcachedQuery.h b/Sources/GeneratedServices/CloudMemorystoreforMemcached/Public/GoogleAPIClientForREST/GTLRCloudMemorystoreforMemcachedQuery.h index 92dd86eb4..f334a6a38 100644 --- a/Sources/GeneratedServices/CloudMemorystoreforMemcached/Public/GoogleAPIClientForREST/GTLRCloudMemorystoreforMemcachedQuery.h +++ b/Sources/GeneratedServices/CloudMemorystoreforMemcached/Public/GoogleAPIClientForREST/GTLRCloudMemorystoreforMemcachedQuery.h @@ -438,8 +438,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCloudMemorystoreforMemcachedQuery_ProjectsLocationsList : GTLRCloudMemorystoreforMemcachedQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/CloudNaturalLanguage/GTLRCloudNaturalLanguageObjects.m b/Sources/GeneratedServices/CloudNaturalLanguage/GTLRCloudNaturalLanguageObjects.m index 4a37bdf88..fac5c7bb2 100644 --- a/Sources/GeneratedServices/CloudNaturalLanguage/GTLRCloudNaturalLanguageObjects.m +++ b/Sources/GeneratedServices/CloudNaturalLanguage/GTLRCloudNaturalLanguageObjects.m @@ -44,6 +44,7 @@ NSString * const kGTLRCloudNaturalLanguage_CpuMetric_CpuType_Custom = @"CUSTOM"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_CpuType_E2 = @"E2"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_CpuType_G2 = @"G2"; +NSString * const kGTLRCloudNaturalLanguage_CpuMetric_CpuType_G4 = @"G4"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_CpuType_M1 = @"M1"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_CpuType_M2 = @"M2"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_CpuType_N1 = @"N1"; @@ -137,6 +138,7 @@ NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_G2Standard48 = @"G2_STANDARD_48"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_G2Standard8 = @"G2_STANDARD_8"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_G2Standard96 = @"G2_STANDARD_96"; +NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_G4Standard48 = @"G4_STANDARD_48"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_N1Highcpu16 = @"N1_HIGHCPU_16"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_N1Highcpu2 = @"N1_HIGHCPU_2"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_N1Highcpu32 = @"N1_HIGHCPU_32"; @@ -261,6 +263,7 @@ NSString * const kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaH100Mega80gb = @"NVIDIA_H100_MEGA_80GB"; NSString * const kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaH200141gb = @"NVIDIA_H200_141GB"; NSString * const kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaL4 = @"NVIDIA_L4"; +NSString * const kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaRtxPro6000 = @"NVIDIA_RTX_PRO_6000"; NSString * const kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaTeslaA100 = @"NVIDIA_TESLA_A100"; NSString * const kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaTeslaK80 = @"NVIDIA_TESLA_K80"; NSString * const kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaTeslaP100 = @"NVIDIA_TESLA_P100"; @@ -354,6 +357,7 @@ NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_G2Standard48 = @"G2_STANDARD_48"; NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_G2Standard8 = @"G2_STANDARD_8"; NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_G2Standard96 = @"G2_STANDARD_96"; +NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_G4Standard48 = @"G4_STANDARD_48"; NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_N1Highcpu16 = @"N1_HIGHCPU_16"; NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_N1Highcpu2 = @"N1_HIGHCPU_2"; NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_N1Highcpu32 = @"N1_HIGHCPU_32"; @@ -527,6 +531,7 @@ NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_G2Standard48 = @"G2_STANDARD_48"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_G2Standard8 = @"G2_STANDARD_8"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_G2Standard96 = @"G2_STANDARD_96"; +NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_G4Standard48 = @"G4_STANDARD_48"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_N1Highcpu16 = @"N1_HIGHCPU_16"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_N1Highcpu2 = @"N1_HIGHCPU_2"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_N1Highcpu32 = @"N1_HIGHCPU_32"; @@ -621,6 +626,7 @@ NSString * const kGTLRCloudNaturalLanguage_RamMetric_RamType_Custom = @"CUSTOM"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_RamType_E2 = @"E2"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_RamType_G2 = @"G2"; +NSString * const kGTLRCloudNaturalLanguage_RamMetric_RamType_G4 = @"G4"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_RamType_M1 = @"M1"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_RamType_M2 = @"M2"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_RamType_N1 = @"N1"; diff --git a/Sources/GeneratedServices/CloudNaturalLanguage/Public/GoogleAPIClientForREST/GTLRCloudNaturalLanguageObjects.h b/Sources/GeneratedServices/CloudNaturalLanguage/Public/GoogleAPIClientForREST/GTLRCloudNaturalLanguageObjects.h index 34f04f2a9..98ea7b317 100644 --- a/Sources/GeneratedServices/CloudNaturalLanguage/Public/GoogleAPIClientForREST/GTLRCloudNaturalLanguageObjects.h +++ b/Sources/GeneratedServices/CloudNaturalLanguage/Public/GoogleAPIClientForREST/GTLRCloudNaturalLanguageObjects.h @@ -317,6 +317,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_CpuMetric_CpuType_E * Value: "G2" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_CpuMetric_CpuType_G2; +/** + * GPU-based machine, skip quota reporting. + * + * Value: "G4" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_CpuMetric_CpuType_G4; /** * MEMORY_OPTIMIZED * @@ -511,6 +517,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSp FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_G2Standard8; /** Value: "G2_STANDARD_96" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_G2Standard96; +/** Value: "G4_STANDARD_48" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_G4Standard48; /** Value: "N1_HIGHCPU_16" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_N1Highcpu16; /** Value: "N1_HIGHCPU_2" */ @@ -849,6 +857,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_GpuMetric_GpuType_N FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaH200141gb; /** Value: "NVIDIA_L4" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaL4; +/** Value: "NVIDIA_RTX_PRO_6000" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaRtxPro6000; /** Value: "NVIDIA_TESLA_A100" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaTeslaA100; /** Value: "NVIDIA_TESLA_K80" */ @@ -1035,6 +1045,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSp FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_G2Standard8; /** Value: "G2_STANDARD_96" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_G2Standard96; +/** Value: "G4_STANDARD_48" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_G4Standard48; /** Value: "N1_HIGHCPU_16" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_N1Highcpu16; /** Value: "N1_HIGHCPU_2" */ @@ -1396,6 +1408,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSp FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_G2Standard8; /** Value: "G2_STANDARD_96" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_G2Standard96; +/** Value: "G4_STANDARD_48" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_G4Standard48; /** Value: "N1_HIGHCPU_16" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_N1Highcpu16; /** Value: "N1_HIGHCPU_2" */ @@ -1588,6 +1602,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_RamMetric_RamType_C FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_RamMetric_RamType_E2; /** Value: "G2" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_RamMetric_RamType_G2; +/** Value: "G4" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_RamMetric_RamType_G4; /** * MEMORY_OPTIMIZED * @@ -2886,6 +2902,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_XPSVisualization_Ty * @arg @c kGTLRCloudNaturalLanguage_CpuMetric_CpuType_E2 Value "E2" * @arg @c kGTLRCloudNaturalLanguage_CpuMetric_CpuType_G2 GPU-based machine, * skip quota reporting. (Value: "G2") + * @arg @c kGTLRCloudNaturalLanguage_CpuMetric_CpuType_G4 GPU-based machine, + * skip quota reporting. (Value: "G4") * @arg @c kGTLRCloudNaturalLanguage_CpuMetric_CpuType_M1 MEMORY_OPTIMIZED * (Value: "M1") * @arg @c kGTLRCloudNaturalLanguage_CpuMetric_CpuType_M2 @@ -3072,6 +3090,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_XPSVisualization_Ty * "G2_STANDARD_8" * @arg @c kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_G2Standard96 Value * "G2_STANDARD_96" + * @arg @c kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_G4Standard48 Value + * "G4_STANDARD_48" * @arg @c kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_N1Highcpu16 Value * "N1_HIGHCPU_16" * @arg @c kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_N1Highcpu2 Value @@ -3505,6 +3525,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_XPSVisualization_Ty * "NVIDIA_H200_141GB" * @arg @c kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaL4 Value * "NVIDIA_L4" + * @arg @c kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaRtxPro6000 Value + * "NVIDIA_RTX_PRO_6000" * @arg @c kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaTeslaA100 Value * "NVIDIA_TESLA_A100" * @arg @c kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaTeslaK80 Value @@ -3694,6 +3716,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_XPSVisualization_Ty * "G2_STANDARD_8" * @arg @c kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_G2Standard96 Value * "G2_STANDARD_96" + * @arg @c kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_G4Standard48 Value + * "G4_STANDARD_48" * @arg @c kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_N1Highcpu16 Value * "N1_HIGHCPU_16" * @arg @c kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_N1Highcpu2 Value @@ -4150,6 +4174,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_XPSVisualization_Ty * "G2_STANDARD_8" * @arg @c kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_G2Standard96 Value * "G2_STANDARD_96" + * @arg @c kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_G4Standard48 Value + * "G4_STANDARD_48" * @arg @c kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_N1Highcpu16 Value * "N1_HIGHCPU_16" * @arg @c kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_N1Highcpu2 Value @@ -4339,6 +4365,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_XPSVisualization_Ty * @arg @c kGTLRCloudNaturalLanguage_RamMetric_RamType_Custom Value "CUSTOM" * @arg @c kGTLRCloudNaturalLanguage_RamMetric_RamType_E2 Value "E2" * @arg @c kGTLRCloudNaturalLanguage_RamMetric_RamType_G2 Value "G2" + * @arg @c kGTLRCloudNaturalLanguage_RamMetric_RamType_G4 Value "G4" * @arg @c kGTLRCloudNaturalLanguage_RamMetric_RamType_M1 MEMORY_OPTIMIZED * (Value: "M1") * @arg @c kGTLRCloudNaturalLanguage_RamMetric_RamType_M2 diff --git a/Sources/GeneratedServices/CloudObservability/GTLRCloudObservabilityObjects.m b/Sources/GeneratedServices/CloudObservability/GTLRCloudObservabilityObjects.m index 261d8aa57..807ff5074 100644 --- a/Sources/GeneratedServices/CloudObservability/GTLRCloudObservabilityObjects.m +++ b/Sources/GeneratedServices/CloudObservability/GTLRCloudObservabilityObjects.m @@ -70,6 +70,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudObservability_ListTraceScopesResponse +// + +@implementation GTLRCloudObservability_ListTraceScopesResponse +@dynamic nextPageToken, traceScopes; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"traceScopes" : [GTLRCloudObservability_TraceScope class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"traceScopes"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudObservability_Location @@ -163,7 +185,7 @@ @implementation GTLRCloudObservability_OperationMetadata // @implementation GTLRCloudObservability_Scope -@dynamic logScope, name, updateTime; +@dynamic logScope, name, traceScope, updateTime; @end @@ -197,3 +219,25 @@ + (Class)classForAdditionalProperties { } @end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudObservability_TraceScope +// + +@implementation GTLRCloudObservability_TraceScope +@dynamic createTime, descriptionProperty, name, resourceNames, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resourceNames" : [NSString class] + }; + return map; +} + +@end diff --git a/Sources/GeneratedServices/CloudObservability/GTLRCloudObservabilityQuery.m b/Sources/GeneratedServices/CloudObservability/GTLRCloudObservabilityQuery.m index abf1085e1..676400405 100644 --- a/Sources/GeneratedServices/CloudObservability/GTLRCloudObservabilityQuery.m +++ b/Sources/GeneratedServices/CloudObservability/GTLRCloudObservabilityQuery.m @@ -188,3 +188,114 @@ + (instancetype)queryWithObject:(GTLRCloudObservability_Scope *)object } @end + +@implementation GTLRCloudObservabilityQuery_ProjectsLocationsTraceScopesCreate + +@dynamic parent, traceScopeId; + ++ (instancetype)queryWithObject:(GTLRCloudObservability_TraceScope *)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}/traceScopes"; + GTLRCloudObservabilityQuery_ProjectsLocationsTraceScopesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRCloudObservability_TraceScope class]; + query.loggingName = @"observability.projects.locations.traceScopes.create"; + return query; +} + +@end + +@implementation GTLRCloudObservabilityQuery_ProjectsLocationsTraceScopesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRCloudObservabilityQuery_ProjectsLocationsTraceScopesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudObservability_Empty class]; + query.loggingName = @"observability.projects.locations.traceScopes.delete"; + return query; +} + +@end + +@implementation GTLRCloudObservabilityQuery_ProjectsLocationsTraceScopesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRCloudObservabilityQuery_ProjectsLocationsTraceScopesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudObservability_TraceScope class]; + query.loggingName = @"observability.projects.locations.traceScopes.get"; + return query; +} + +@end + +@implementation GTLRCloudObservabilityQuery_ProjectsLocationsTraceScopesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/traceScopes"; + GTLRCloudObservabilityQuery_ProjectsLocationsTraceScopesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRCloudObservability_ListTraceScopesResponse class]; + query.loggingName = @"observability.projects.locations.traceScopes.list"; + return query; +} + +@end + +@implementation GTLRCloudObservabilityQuery_ProjectsLocationsTraceScopesPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRCloudObservability_TraceScope *)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}"; + GTLRCloudObservabilityQuery_ProjectsLocationsTraceScopesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudObservability_TraceScope class]; + query.loggingName = @"observability.projects.locations.traceScopes.patch"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/CloudObservability/Public/GoogleAPIClientForREST/GTLRCloudObservabilityObjects.h b/Sources/GeneratedServices/CloudObservability/Public/GoogleAPIClientForREST/GTLRCloudObservabilityObjects.h index 878d22063..fd2f72838 100644 --- a/Sources/GeneratedServices/CloudObservability/Public/GoogleAPIClientForREST/GTLRCloudObservabilityObjects.h +++ b/Sources/GeneratedServices/CloudObservability/Public/GoogleAPIClientForREST/GTLRCloudObservabilityObjects.h @@ -20,6 +20,7 @@ @class GTLRCloudObservability_Operation_Response; @class GTLRCloudObservability_Status; @class GTLRCloudObservability_Status_Details_Item; +@class GTLRCloudObservability_TraceScope; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -93,6 +94,34 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Response for listing TraceScopes. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "traceScopes" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRCloudObservability_ListTraceScopesResponse : GTLRCollectionObject + +/** + * Optional. If there might be more results than appear in this response, then + * `next_page_token` is included. To get the next set of results, call the same + * method again using the value of `next_page_token` as `page_token`. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * Optional. A list of trace scopes. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *traceScopes; + +@end + + /** * A resource that represents a Google Cloud location. */ @@ -291,6 +320,12 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Required. The resource name of the `TraceScope`. For example: + * projects/myproject/locations/global/traceScopes/my-trace-scope + */ +@property(nonatomic, copy, nullable) NSString *traceScope; + /** * Output only. Update timestamp. Note: The Update timestamp for the default * scope is initially unset. @@ -344,6 +379,41 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCloudObservability_Status_Details_Item : GTLRObject @end + +/** + * A trace scope is a collection of resources whose traces are queried + * together. + */ +@interface GTLRCloudObservability_TraceScope : GTLRObject + +/** Output only. The creation timestamp of the trace scope. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. Describes this trace scope. The maximum length of the description + * is 8000 characters. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Identifier. The resource name of the trace scope. For example: + * projects/my-project/locations/global/traceScopes/my-trace-scope + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. Names of the projects that are included in this trace scope. * + * `projects/[PROJECT_ID]` A trace scope can include a maximum of 20 projects. + */ +@property(nonatomic, strong, nullable) NSArray *resourceNames; + +/** Output only. The last update timestamp of the trace scope. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/CloudObservability/Public/GoogleAPIClientForREST/GTLRCloudObservabilityQuery.h b/Sources/GeneratedServices/CloudObservability/Public/GoogleAPIClientForREST/GTLRCloudObservabilityQuery.h index cf7855528..fcec32c5a 100644 --- a/Sources/GeneratedServices/CloudObservability/Public/GoogleAPIClientForREST/GTLRCloudObservabilityQuery.h +++ b/Sources/GeneratedServices/CloudObservability/Public/GoogleAPIClientForREST/GTLRCloudObservabilityQuery.h @@ -68,8 +68,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCloudObservabilityQuery_ProjectsLocationsList : GTLRCloudObservabilityQuery /** - * Optional. Do not use this field. It is unsupported and is ignored unless - * explicitly documented otherwise. This is primarily for internal usage. + * Optional. Unless explicitly documented otherwise, don't use this unsupported + * field which is primarily intended for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; @@ -341,6 +341,202 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Create a new TraceScope. + * + * Method: observability.projects.locations.traceScopes.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudObservabilityCloudPlatform + */ +@interface GTLRCloudObservabilityQuery_ProjectsLocationsTraceScopesCreate : GTLRCloudObservabilityQuery + +/** + * Required. The full resource name of the location where the trace scope + * should be created projects/[PROJECT_ID]/locations/[LOCATION_ID] For example: + * projects/my-project/locations/global + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** Required. A client-assigned identifier for the trace scope. */ +@property(nonatomic, copy, nullable) NSString *traceScopeId; + +/** + * Fetches a @c GTLRCloudObservability_TraceScope. + * + * Create a new TraceScope. + * + * @param object The @c GTLRCloudObservability_TraceScope to include in the + * query. + * @param parent Required. The full resource name of the location where the + * trace scope should be created + * projects/[PROJECT_ID]/locations/[LOCATION_ID] For example: + * projects/my-project/locations/global + * + * @return GTLRCloudObservabilityQuery_ProjectsLocationsTraceScopesCreate + */ ++ (instancetype)queryWithObject:(GTLRCloudObservability_TraceScope *)object + parent:(NSString *)parent; + +@end + +/** + * Delete a TraceScope. + * + * Method: observability.projects.locations.traceScopes.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudObservabilityCloudPlatform + */ +@interface GTLRCloudObservabilityQuery_ProjectsLocationsTraceScopesDelete : GTLRCloudObservabilityQuery + +/** + * Required. The full resource name of the trace scope to delete: + * projects/[PROJECT_ID]/locations/[LOCATION_ID]/traceScopes/[TRACE_SCOPE_ID] + * For example: projects/my-project/locations/global/traceScopes/my-trace-scope + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudObservability_Empty. + * + * Delete a TraceScope. + * + * @param name Required. The full resource name of the trace scope to delete: + * projects/[PROJECT_ID]/locations/[LOCATION_ID]/traceScopes/[TRACE_SCOPE_ID] + * For example: + * projects/my-project/locations/global/traceScopes/my-trace-scope + * + * @return GTLRCloudObservabilityQuery_ProjectsLocationsTraceScopesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get TraceScope resource. + * + * Method: observability.projects.locations.traceScopes.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudObservabilityCloudPlatform + */ +@interface GTLRCloudObservabilityQuery_ProjectsLocationsTraceScopesGet : GTLRCloudObservabilityQuery + +/** + * Required. The resource name of the trace scope: + * projects/[PROJECT_ID]/locations/[LOCATION_ID]/traceScopes/[TRACE_SCOPE_ID] + * For example: projects/my-project/locations/global/traceScopes/my-trace-scope + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudObservability_TraceScope. + * + * Get TraceScope resource. + * + * @param name Required. The resource name of the trace scope: + * projects/[PROJECT_ID]/locations/[LOCATION_ID]/traceScopes/[TRACE_SCOPE_ID] + * For example: + * projects/my-project/locations/global/traceScopes/my-trace-scope + * + * @return GTLRCloudObservabilityQuery_ProjectsLocationsTraceScopesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List TraceScopes of a project in a particular location. + * + * Method: observability.projects.locations.traceScopes.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudObservabilityCloudPlatform + */ +@interface GTLRCloudObservabilityQuery_ProjectsLocationsTraceScopesList : GTLRCloudObservabilityQuery + +/** + * Optional. The maximum number of results to return from this request. + * Non-positive values are ignored. The presence of `next_page_token` in the + * response indicates that more results might be available. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. If present, then retrieve the next batch of results from the + * preceding call to this method. `page_token` must be the value of + * `next_page_token` from the previous response. The values of other method + * parameters should be identical to those in the previous call. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The full resource name of the location to look for trace scopes: + * projects/[PROJECT_ID]/locations/[LOCATION_ID] For example: + * projects/my-project/locations/global + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRCloudObservability_ListTraceScopesResponse. + * + * List TraceScopes of a project in a particular location. + * + * @param parent Required. The full resource name of the location to look for + * trace scopes: projects/[PROJECT_ID]/locations/[LOCATION_ID] For example: + * projects/my-project/locations/global + * + * @return GTLRCloudObservabilityQuery_ProjectsLocationsTraceScopesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Update a TraceScope. + * + * Method: observability.projects.locations.traceScopes.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudObservabilityCloudPlatform + */ +@interface GTLRCloudObservabilityQuery_ProjectsLocationsTraceScopesPatch : GTLRCloudObservabilityQuery + +/** + * Identifier. The resource name of the trace scope. For example: + * projects/my-project/locations/global/traceScopes/my-trace-scope + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The list of fields to update. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRCloudObservability_TraceScope. + * + * Update a TraceScope. + * + * @param object The @c GTLRCloudObservability_TraceScope to include in the + * query. + * @param name Identifier. The resource name of the trace scope. For example: + * projects/my-project/locations/global/traceScopes/my-trace-scope + * + * @return GTLRCloudObservabilityQuery_ProjectsLocationsTraceScopesPatch + */ ++ (instancetype)queryWithObject:(GTLRCloudObservability_TraceScope *)object + name:(NSString *)name; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m b/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m index e0c16276f..354cd27e4 100644 --- a/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m +++ b/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m @@ -272,6 +272,7 @@ // GTLRCloudRedis_DatabaseResourceMetadata.edition NSString * const kGTLRCloudRedis_DatabaseResourceMetadata_Edition_EditionEnterprise = @"EDITION_ENTERPRISE"; NSString * const kGTLRCloudRedis_DatabaseResourceMetadata_Edition_EditionEnterprisePlus = @"EDITION_ENTERPRISE_PLUS"; +NSString * const kGTLRCloudRedis_DatabaseResourceMetadata_Edition_EditionStandard = @"EDITION_STANDARD"; NSString * const kGTLRCloudRedis_DatabaseResourceMetadata_Edition_EditionUnspecified = @"EDITION_UNSPECIFIED"; // GTLRCloudRedis_DatabaseResourceMetadata.expectedState @@ -707,7 +708,8 @@ @implementation GTLRCloudRedis_BackupClusterRequest // @implementation GTLRCloudRedis_BackupCollection -@dynamic cluster, clusterUid, createTime, kmsKey, name, uid; +@dynamic cluster, clusterUid, createTime, kmsKey, lastBackupTime, name, + totalBackupCount, totalBackupSizeBytes, uid; @end @@ -801,7 +803,7 @@ @implementation GTLRCloudRedis_Cluster authorizationMode, automatedBackupConfig, backupCollection, clusterEndpoints, createTime, crossClusterReplicationConfig, deletionProtectionEnabled, discoveryEndpoints, encryptionInfo, - gcsSource, kmsKey, maintenancePolicy, maintenanceSchedule, + gcsSource, kmsKey, labels, maintenancePolicy, maintenanceSchedule, managedBackupSource, name, nodeType, ondemandMaintenance, persistenceConfig, preciseSizeGb, pscConfigs, pscConnections, pscServiceAttachments, redisConfigs, replicaCount, satisfiesPzi, @@ -822,6 +824,20 @@ @implementation GTLRCloudRedis_Cluster @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_Cluster_Labels +// + +@implementation GTLRCloudRedis_Cluster_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRedis_Cluster_RedisConfigs diff --git a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h index 13da251bc..d4f23e095 100644 --- a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h +++ b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h @@ -26,6 +26,7 @@ @class GTLRCloudRedis_BackupRun; @class GTLRCloudRedis_CertChain; @class GTLRCloudRedis_Cluster; +@class GTLRCloudRedis_Cluster_Labels; @class GTLRCloudRedis_Cluster_RedisConfigs; @class GTLRCloudRedis_ClusterEndpoint; @class GTLRCloudRedis_ClusterMaintenancePolicy; @@ -1519,6 +1520,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceMetadata_Edit * Value: "EDITION_ENTERPRISE_PLUS" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceMetadata_Edition_EditionEnterprisePlus; +/** + * Represents the standard edition. + * + * Value: "EDITION_STANDARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceMetadata_Edition_EditionStandard; /** * Default, to make it consistent with instance edition enum. * @@ -3768,9 +3775,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z */ @property(nonatomic, copy, nullable) NSString *kmsKey; +/** + * Output only. The last time a backup was created in the backup collection. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastBackupTime; + /** Identifier. Full resource path of the backup collection. */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Output only. Total number of backups in the backup collection. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *totalBackupCount; + +/** + * Output only. Total size of all backups in the backup collection. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *totalBackupSizeBytes; + /** * Output only. System assigned unique identifier of the backup collection. */ @@ -3937,14 +3963,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @interface GTLRCloudRedis_Cluster : GTLRObject /** - * Optional. Immutable. Allows customers to specify if they are okay with - * deploying a multi-zone cluster in less than 3 zones. Once set, if there is a - * zonal outage during the cluster creation, the cluster will only be deployed - * in 2 zones, and stay within the 2 zones for its lifecycle. + * Optional. Immutable. Deprecated, do not use. * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *allowFewerZonesDeployment; +@property(nonatomic, strong, nullable) NSNumber *allowFewerZonesDeployment GTLR_DEPRECATED; /** * Optional. If true, cluster endpoints that are created and registered by @@ -4016,6 +4039,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z /** Optional. The KMS key used to encrypt the at-rest data of the cluster. */ @property(nonatomic, copy, nullable) NSString *kmsKey; +/** Optional. Labels to represent user-provided metadata. */ +@property(nonatomic, strong, nullable) GTLRCloudRedis_Cluster_Labels *labels; + /** * Optional. ClusterMaintenancePolicy determines when to allow or deny updates. */ @@ -4190,6 +4216,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @end +/** + * Optional. Labels to represent user-provided metadata. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRCloudRedis_Cluster_Labels : GTLRObject +@end + + /** * Optional. Key/Value pairs of customer overrides for mutable Redis Configs * @@ -5199,6 +5237,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z * @arg @c kGTLRCloudRedis_DatabaseResourceMetadata_Edition_EditionEnterprisePlus * Represents the enterprise plus edition. (Value: * "EDITION_ENTERPRISE_PLUS") + * @arg @c kGTLRCloudRedis_DatabaseResourceMetadata_Edition_EditionStandard + * Represents the standard edition. (Value: "EDITION_STANDARD") * @arg @c kGTLRCloudRedis_DatabaseResourceMetadata_Edition_EditionUnspecified * Default, to make it consistent with instance edition enum. (Value: * "EDITION_UNSPECIFIED") diff --git a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisQuery.h b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisQuery.h index 0798ee34a..4aee54de6 100644 --- a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisQuery.h +++ b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisQuery.h @@ -1133,8 +1133,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCloudRedisQuery_ProjectsLocationsList : GTLRCloudRedisQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m b/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m index a1cf3f844..7bb4bc785 100644 --- a/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m +++ b/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m @@ -174,6 +174,16 @@ NSString * const kGTLRCloudRun_GoogleCloudRunV2ServiceScaling_ScalingMode_Manual = @"MANUAL"; NSString * const kGTLRCloudRun_GoogleCloudRunV2ServiceScaling_ScalingMode_ScalingModeUnspecified = @"SCALING_MODE_UNSPECIFIED"; +// GTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest.releaseTrack +NSString * const kGTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest_ReleaseTrack_Alpha = @"ALPHA"; +NSString * const kGTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest_ReleaseTrack_Beta = @"BETA"; +NSString * const kGTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest_ReleaseTrack_Deprecated = @"DEPRECATED"; +NSString * const kGTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest_ReleaseTrack_EarlyAccess = @"EARLY_ACCESS"; +NSString * const kGTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest_ReleaseTrack_Ga = @"GA"; +NSString * const kGTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest_ReleaseTrack_LaunchStageUnspecified = @"LAUNCH_STAGE_UNSPECIFIED"; +NSString * const kGTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest_ReleaseTrack_Prelaunch = @"PRELAUNCH"; +NSString * const kGTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest_ReleaseTrack_Unimplemented = @"UNIMPLEMENTED"; + // GTLRCloudRun_GoogleCloudRunV2Task.executionEnvironment NSString * const kGTLRCloudRun_GoogleCloudRunV2Task_ExecutionEnvironment_ExecutionEnvironmentGen1 = @"EXECUTION_ENVIRONMENT_GEN1"; NSString * const kGTLRCloudRun_GoogleCloudRunV2Task_ExecutionEnvironment_ExecutionEnvironmentGen2 = @"EXECUTION_ENVIRONMENT_GEN2"; @@ -1358,8 +1368,8 @@ @implementation GTLRCloudRun_GoogleCloudRunV2StorageSource // @implementation GTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest -@dynamic buildpackBuild, dockerBuild, imageUri, machineType, serviceAccount, - storageSource, tags, workerPool; +@dynamic buildpackBuild, dockerBuild, imageUri, machineType, releaseTrack, + serviceAccount, storageSource, tags, workerPool; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h index b1bbaa3bf..ac495014c 100644 --- a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h +++ b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h @@ -1032,6 +1032,78 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleCloudRunV2ServiceScaling_ */ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleCloudRunV2ServiceScaling_ScalingMode_ScalingModeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest.releaseTrack + +/** + * Alpha is a limited availability test for releases before they are cleared + * for widespread use. By Alpha, all significant design issues are resolved and + * we are in the process of verifying functionality. Alpha customers need to + * apply for access, agree to applicable terms, and have their projects + * allowlisted. Alpha releases don't have to be feature complete, no SLAs are + * provided, and there are no technical support obligations, but they will be + * far enough along that customers can actually use them in test environments + * or for limited-use tests -- just like they would in normal production cases. + * + * Value: "ALPHA" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest_ReleaseTrack_Alpha; +/** + * Beta is the point at which we are ready to open a release for any customer + * to use. There are no SLA or technical support obligations in a Beta release. + * Products will be complete from a feature perspective, but may have some open + * outstanding issues. Beta releases are suitable for limited production use + * cases. + * + * Value: "BETA" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest_ReleaseTrack_Beta; +/** + * Deprecated features are scheduled to be shut down and removed. For more + * information, see the "Deprecation Policy" section of our [Terms of + * Service](https://cloud.google.com/terms/) and the [Google Cloud Platform + * Subject to the Deprecation + * Policy](https://cloud.google.com/terms/deprecation) documentation. + * + * Value: "DEPRECATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest_ReleaseTrack_Deprecated; +/** + * Early Access features are limited to a closed group of testers. To use these + * features, you must sign up in advance and sign a Trusted Tester agreement + * (which includes confidentiality provisions). These features may be unstable, + * changed in backward-incompatible ways, and are not guaranteed to be + * released. + * + * Value: "EARLY_ACCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest_ReleaseTrack_EarlyAccess; +/** + * GA features are open to all developers and are considered stable and fully + * qualified for production use. + * + * Value: "GA" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest_ReleaseTrack_Ga; +/** + * Do not use this default value. + * + * Value: "LAUNCH_STAGE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest_ReleaseTrack_LaunchStageUnspecified; +/** + * Prelaunch features are hidden from users and are only visible internally. + * + * Value: "PRELAUNCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest_ReleaseTrack_Prelaunch; +/** + * The feature is not yet implemented. Users can not use it. + * + * Value: "UNIMPLEMENTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest_ReleaseTrack_Unimplemented; + // ---------------------------------------------------------------------------- // GTLRCloudRun_GoogleCloudRunV2Task.executionEnvironment @@ -4325,10 +4397,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy /** * If unspecified, the volume will expose a file whose name is the secret, - * relative to VolumeMount.mount_path. If specified, the key will be used as - * the version to fetch from Cloud Secret Manager and the path will be the name - * of the file exposed in the volume. When items are defined, they must specify - * a path and a version. + * relative to VolumeMount.mount_path + VolumeMount.sub_path. If specified, the + * key will be used as the version to fetch from Cloud Secret Manager and the + * path will be the name of the file exposed in the volume. When items are + * defined, they must specify a path and a version. * * @note This property is used to support NSFastEnumeration and indexed * subscripting on this class. @@ -4834,6 +4906,53 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy */ @property(nonatomic, copy, nullable) NSString *machineType; +/** + * Optional. The release track of the client that initiated the build request. + * + * Likely values: + * @arg @c kGTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest_ReleaseTrack_Alpha + * Alpha is a limited availability test for releases before they are + * cleared for widespread use. By Alpha, all significant design issues + * are resolved and we are in the process of verifying functionality. + * Alpha customers need to apply for access, agree to applicable terms, + * and have their projects allowlisted. Alpha releases don't have to be + * feature complete, no SLAs are provided, and there are no technical + * support obligations, but they will be far enough along that customers + * can actually use them in test environments or for limited-use tests -- + * just like they would in normal production cases. (Value: "ALPHA") + * @arg @c kGTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest_ReleaseTrack_Beta + * Beta is the point at which we are ready to open a release for any + * customer to use. There are no SLA or technical support obligations in + * a Beta release. Products will be complete from a feature perspective, + * but may have some open outstanding issues. Beta releases are suitable + * for limited production use cases. (Value: "BETA") + * @arg @c kGTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest_ReleaseTrack_Deprecated + * Deprecated features are scheduled to be shut down and removed. For + * more information, see the "Deprecation Policy" section of our [Terms + * of Service](https://cloud.google.com/terms/) and the [Google Cloud + * Platform Subject to the Deprecation + * Policy](https://cloud.google.com/terms/deprecation) documentation. + * (Value: "DEPRECATED") + * @arg @c kGTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest_ReleaseTrack_EarlyAccess + * Early Access features are limited to a closed group of testers. To use + * these features, you must sign up in advance and sign a Trusted Tester + * agreement (which includes confidentiality provisions). These features + * may be unstable, changed in backward-incompatible ways, and are not + * guaranteed to be released. (Value: "EARLY_ACCESS") + * @arg @c kGTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest_ReleaseTrack_Ga + * GA features are open to all developers and are considered stable and + * fully qualified for production use. (Value: "GA") + * @arg @c kGTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest_ReleaseTrack_LaunchStageUnspecified + * Do not use this default value. (Value: "LAUNCH_STAGE_UNSPECIFIED") + * @arg @c kGTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest_ReleaseTrack_Prelaunch + * Prelaunch features are hidden from users and are only visible + * internally. (Value: "PRELAUNCH") + * @arg @c kGTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest_ReleaseTrack_Unimplemented + * The feature is not yet implemented. Users can not use it. (Value: + * "UNIMPLEMENTED") + */ +@property(nonatomic, copy, nullable) NSString *releaseTrack; + /** * Optional. The service account to use for the build. If not set, the default * Cloud Build service account for the project will be used. @@ -7149,7 +7268,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy */ @interface GTLRCloudRun_GoogleDevtoolsCloudbuildV1NpmPackage : GTLRObject -/** Path to the package.json. e.g. workspace/path/to/package */ +/** + * Optional. Path to the package.json. e.g. workspace/path/to/package Only one + * of `archive` or `package_path` can be specified. + */ @property(nonatomic, copy, nullable) NSString *packagePath; /** diff --git a/Sources/GeneratedServices/CloudSecurityToken/Public/GoogleAPIClientForREST/GTLRCloudSecurityTokenObjects.h b/Sources/GeneratedServices/CloudSecurityToken/Public/GoogleAPIClientForREST/GTLRCloudSecurityTokenObjects.h index fe690a06a..87184d2bf 100644 --- a/Sources/GeneratedServices/CloudSecurityToken/Public/GoogleAPIClientForREST/GTLRCloudSecurityTokenObjects.h +++ b/Sources/GeneratedServices/CloudSecurityToken/Public/GoogleAPIClientForREST/GTLRCloudSecurityTokenObjects.h @@ -287,7 +287,8 @@ NS_ASSUME_NONNULL_BEGIN /** * A set of features that Security Token Service supports, in addition to the * standard OAuth 2.0 token exchange, formatted as a serialized JSON object of - * Options. The size of the parameter value must not exceed 4096 characters. + * Options. The size of the parameter value must not exceed 4 * 1024 * 1024 + * characters (4 MB). */ @property(nonatomic, copy, nullable) NSString *options; @@ -389,7 +390,13 @@ NS_ASSUME_NONNULL_BEGIN * Credential Access Boundary. In this case, set `subject_token_type` to * `urn:ietf:params:oauth:token-type:access_token`. If an access token already * contains security attributes, you cannot apply additional security - * attributes. + * attributes. If the request is for X.509 certificate-based authentication, + * the `subject_token` must be a JSON-formatted list of X.509 certificates in + * DER format, as defined in [RFC + * 7515](https://www.rfc-editor.org/rfc/rfc7515#section-4.1.6). + * `subject_token_type` must be `urn:ietf:params:oauth:token-type:mtls`. The + * following example shows a JSON-formatted list of X.509 certificate in DER + * format: ``` [\\"MIIEYDCCA0i...\\", \\"MCIFFGAGTT0...\\"] ``` */ @property(nonatomic, copy, nullable) NSString *subjectToken; @@ -399,7 +406,8 @@ NS_ASSUME_NONNULL_BEGIN * `urn:ietf:params:oauth:token-type:jwt`, * `urn:ietf:params:oauth:token-type:id_token`, * `urn:ietf:params:aws:token-type:aws4_request`, - * `urn:ietf:params:oauth:token-type:access_token`, and + * `urn:ietf:params:oauth:token-type:access_token`, + * `urn:ietf:params:oauth:token-type:mtls`, and * `urn:ietf:params:oauth:token-type:saml2`. */ @property(nonatomic, copy, nullable) NSString *subjectTokenType; diff --git a/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsQuery.h b/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsQuery.h index 41444e5a0..1ee08f247 100644 --- a/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsQuery.h +++ b/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsQuery.h @@ -71,8 +71,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCloudWorkstationsQuery_ProjectsLocationsList : GTLRCloudWorkstationsQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/Compute/GTLRComputeObjects.m b/Sources/GeneratedServices/Compute/GTLRComputeObjects.m index 6e845247c..d5bc385d5 100644 --- a/Sources/GeneratedServices/Compute/GTLRComputeObjects.m +++ b/Sources/GeneratedServices/Compute/GTLRComputeObjects.m @@ -1843,6 +1843,7 @@ // GTLRCompute_Instance.status NSString * const kGTLRCompute_Instance_Status_Deprovisioning = @"DEPROVISIONING"; +NSString * const kGTLRCompute_Instance_Status_Pending = @"PENDING"; NSString * const kGTLRCompute_Instance_Status_Provisioning = @"PROVISIONING"; NSString * const kGTLRCompute_Instance_Status_Repairing = @"REPAIRING"; NSString * const kGTLRCompute_Instance_Status_Running = @"RUNNING"; @@ -2459,6 +2460,7 @@ // GTLRCompute_InstanceWithNamedPorts.status NSString * const kGTLRCompute_InstanceWithNamedPorts_Status_Deprovisioning = @"DEPROVISIONING"; +NSString * const kGTLRCompute_InstanceWithNamedPorts_Status_Pending = @"PENDING"; NSString * const kGTLRCompute_InstanceWithNamedPorts_Status_Provisioning = @"PROVISIONING"; NSString * const kGTLRCompute_InstanceWithNamedPorts_Status_Repairing = @"REPAIRING"; NSString * const kGTLRCompute_InstanceWithNamedPorts_Status_Running = @"RUNNING"; @@ -3297,6 +3299,7 @@ // GTLRCompute_ManagedInstance.instanceStatus NSString * const kGTLRCompute_ManagedInstance_InstanceStatus_Deprovisioning = @"DEPROVISIONING"; +NSString * const kGTLRCompute_ManagedInstance_InstanceStatus_Pending = @"PENDING"; NSString * const kGTLRCompute_ManagedInstance_InstanceStatus_Provisioning = @"PROVISIONING"; NSString * const kGTLRCompute_ManagedInstance_InstanceStatus_Repairing = @"REPAIRING"; NSString * const kGTLRCompute_ManagedInstance_InstanceStatus_Running = @"RUNNING"; @@ -3896,6 +3899,22 @@ NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_Unicast_UnicastSdn = @"UNICAST_SDN"; NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_Unicast_UnicastUll = @"UNICAST_ULL"; +// GTLRCompute_NetworkProfileProfileType.networkType +NSString * const kGTLRCompute_NetworkProfileProfileType_NetworkType_Rdma = @"RDMA"; +NSString * const kGTLRCompute_NetworkProfileProfileType_NetworkType_Ull = @"ULL"; +NSString * const kGTLRCompute_NetworkProfileProfileType_NetworkType_Vpc = @"VPC"; + +// GTLRCompute_NetworkProfileProfileType.rdmaSubtype +NSString * const kGTLRCompute_NetworkProfileProfileType_RdmaSubtype_Falcon = @"FALCON"; +NSString * const kGTLRCompute_NetworkProfileProfileType_RdmaSubtype_Roce = @"ROCE"; + +// GTLRCompute_NetworkProfileProfileType.ullSubtype +NSString * const kGTLRCompute_NetworkProfileProfileType_UllSubtype_Operator = @"OPERATOR"; +NSString * const kGTLRCompute_NetworkProfileProfileType_UllSubtype_Participant = @"PARTICIPANT"; + +// GTLRCompute_NetworkProfileProfileType.vpcSubtype +NSString * const kGTLRCompute_NetworkProfileProfileType_VpcSubtype_Regional = @"REGIONAL"; + // GTLRCompute_NetworkProfilesListResponse_Warning.code NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_CleanupFailed = @"CLEANUP_FAILED"; NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_DeprecatedResourceUsed = @"DEPRECATED_RESOURCE_USED"; @@ -5966,6 +5985,7 @@ NSString * const kGTLRCompute_Scheduling_OnHostMaintenance_Terminate = @"TERMINATE"; // GTLRCompute_Scheduling.provisioningModel +NSString * const kGTLRCompute_Scheduling_ProvisioningModel_FlexStart = @"FLEX_START"; NSString * const kGTLRCompute_Scheduling_ProvisioningModel_ReservationBound = @"RESERVATION_BOUND"; NSString * const kGTLRCompute_Scheduling_ProvisioningModel_Spot = @"SPOT"; NSString * const kGTLRCompute_Scheduling_ProvisioningModel_Standard = @"STANDARD"; @@ -7667,6 +7687,8 @@ // GTLRCompute_UpcomingMaintenance.maintenanceReasons NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureDisk = @"FAILURE_DISK"; NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureGpu = @"FAILURE_GPU"; +NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureGpuMultipleFaultyHostsCustomerReported = @"FAILURE_GPU_MULTIPLE_FAULTY_HOSTS_CUSTOMER_REPORTED"; +NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureGpuNvlinkSwitchCustomerReported = @"FAILURE_GPU_NVLINK_SWITCH_CUSTOMER_REPORTED"; NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureGpuTemperature = @"FAILURE_GPU_TEMPERATURE"; NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureGpuXid = @"FAILURE_GPU_XID"; NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureInfra = @"FAILURE_INFRA"; @@ -14558,7 +14580,7 @@ @implementation GTLRCompute_InstanceMoveRequest // @implementation GTLRCompute_InstanceParams -@dynamic resourceManagerTags; +@dynamic requestValidForDuration, resourceManagerTags; @end @@ -18426,8 +18448,8 @@ @implementation GTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Data_Ite @implementation GTLRCompute_NetworkInterface @dynamic accessConfigs, aliasIpRanges, fingerprint, internalIpv6PrefixLength, ipv6AccessConfigs, ipv6AccessType, ipv6Address, kind, name, network, - networkAttachment, networkIP, nicType, queueCount, stackType, - subnetwork; + networkAttachment, networkIP, nicType, parentNicName, queueCount, + stackType, subnetwork, vlan; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -18577,7 +18599,7 @@ @implementation GTLRCompute_NetworkPerformanceConfig @implementation GTLRCompute_NetworkProfile @dynamic creationTimestamp, descriptionProperty, features, identifier, kind, - location, name, selfLink, selfLinkWithId; + location, name, profileType, selfLink, selfLinkWithId; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -18631,6 +18653,16 @@ @implementation GTLRCompute_NetworkProfileNetworkFeatures @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_NetworkProfileProfileType +// + +@implementation GTLRCompute_NetworkProfileProfileType +@dynamic networkType, rdmaSubtype, ullSubtype, vpcSubtype; +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_NetworkProfilesListResponse @@ -22862,7 +22894,7 @@ @implementation GTLRCompute_RoutePolicyPolicyTerm @implementation GTLRCompute_Router @dynamic bgp, bgpPeers, creationTimestamp, descriptionProperty, encryptedInterconnectRouter, identifier, interfaces, kind, - md5AuthenticationKeys, name, nats, network, region, selfLink; + md5AuthenticationKeys, name, nats, network, params, region, selfLink; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -23210,6 +23242,30 @@ @implementation GTLRCompute_RouterNatSubnetworkToNat64 @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_RouterParams +// + +@implementation GTLRCompute_RouterParams +@dynamic resourceManagerTags; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_RouterParams_ResourceManagerTags +// + +@implementation GTLRCompute_RouterParams_ResourceManagerTags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_RoutersGetRoutePolicyResponse @@ -23546,7 +23602,8 @@ @implementation GTLRCompute_Scheduling @dynamic automaticRestart, availabilityDomain, hostErrorTimeoutSeconds, instanceTerminationAction, localSsdRecoveryTimeout, locationHint, maxRunDuration, minNodeCpus, nodeAffinities, onHostMaintenance, - onInstanceStopAction, preemptible, provisioningModel, terminationTime; + onInstanceStopAction, preemptible, provisioningModel, + skipGuestOsShutdown, terminationTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -24388,8 +24445,16 @@ @implementation GTLRCompute_ServiceAttachmentAggregatedList_Warning_Data_Item // @implementation GTLRCompute_ServiceAttachmentConnectedEndpoint -@dynamic consumerNetwork, endpoint, propagatedConnectionCount, pscConnectionId, - status; +@dynamic consumerNetwork, endpoint, natIps, propagatedConnectionCount, + pscConnectionId, status; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"natIps" : [NSString class] + }; + return map; +} + @end @@ -28593,10 +28658,11 @@ @implementation GTLRCompute_VpnGatewayVpnGatewayInterface // @implementation GTLRCompute_VpnTunnel -@dynamic creationTimestamp, descriptionProperty, detailedStatus, identifier, - ikeVersion, kind, labelFingerprint, labels, localTrafficSelector, name, - peerExternalGateway, peerExternalGatewayInterface, peerGcpGateway, - peerIp, region, remoteTrafficSelector, router, selfLink, sharedSecret, +@dynamic cipherSuite, creationTimestamp, descriptionProperty, detailedStatus, + identifier, ikeVersion, kind, labelFingerprint, labels, + localTrafficSelector, name, peerExternalGateway, + peerExternalGatewayInterface, peerGcpGateway, peerIp, region, + remoteTrafficSelector, router, selfLink, sharedSecret, sharedSecretHash, status, targetVpnGateway, vpnGateway, vpnGatewayInterface; @@ -28698,6 +28764,16 @@ @implementation GTLRCompute_VpnTunnelAggregatedList_Warning_Data_Item @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_VpnTunnelCipherSuite +// + +@implementation GTLRCompute_VpnTunnelCipherSuite +@dynamic phase1, phase2; +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_VpnTunnelList @@ -28748,6 +28824,47 @@ @implementation GTLRCompute_VpnTunnelList_Warning_Data_Item @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_VpnTunnelPhase1Algorithms +// + +@implementation GTLRCompute_VpnTunnelPhase1Algorithms +@dynamic dh, encryption, integrity, prf; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dh" : [NSString class], + @"encryption" : [NSString class], + @"integrity" : [NSString class], + @"prf" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_VpnTunnelPhase2Algorithms +// + +@implementation GTLRCompute_VpnTunnelPhase2Algorithms +@dynamic encryption, integrity, pfs; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"encryption" : [NSString class], + @"integrity" : [NSString class], + @"pfs" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_VpnTunnelsScopedList diff --git a/Sources/GeneratedServices/Compute/GTLRComputeQuery.m b/Sources/GeneratedServices/Compute/GTLRComputeQuery.m index 9e61b0da9..0c7499fdb 100644 --- a/Sources/GeneratedServices/Compute/GTLRComputeQuery.m +++ b/Sources/GeneratedServices/Compute/GTLRComputeQuery.m @@ -325,6 +325,39 @@ + (instancetype)queryWithObject:(GTLRCompute_RegionSetLabelsRequest *)object @end +@implementation GTLRComputeQuery_AddressesTestIamPermissions + +@dynamic project, region, resource; + ++ (instancetype)queryWithObject:(GTLRCompute_TestPermissionsRequest *)object + project:(NSString *)project + region:(NSString *)region + resource:(NSString *)resource { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"project", @"region", @"resource" + ]; + NSString *pathURITemplate = @"projects/{project}/regions/{region}/addresses/{resource}/testIamPermissions"; + GTLRComputeQuery_AddressesTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.project = project; + query.region = region; + query.resource = resource; + query.expectedObjectClass = [GTLRCompute_TestPermissionsResponse class]; + query.loggingName = @"compute.addresses.testIamPermissions"; + return query; +} + +@end + @implementation GTLRComputeQuery_AutoscalersAggregatedList @dynamic filter, includeAllScopes, maxResults, orderBy, pageToken, project, @@ -3087,6 +3120,37 @@ + (instancetype)queryWithObject:(GTLRCompute_GlobalSetLabelsRequest *)object @end +@implementation GTLRComputeQuery_GlobalAddressesTestIamPermissions + +@dynamic project, resource; + ++ (instancetype)queryWithObject:(GTLRCompute_TestPermissionsRequest *)object + project:(NSString *)project + resource:(NSString *)resource { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"project", @"resource" + ]; + NSString *pathURITemplate = @"projects/{project}/global/addresses/{resource}/testIamPermissions"; + GTLRComputeQuery_GlobalAddressesTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.project = project; + query.resource = resource; + query.expectedObjectClass = [GTLRCompute_TestPermissionsResponse class]; + query.loggingName = @"compute.globalAddresses.testIamPermissions"; + return query; +} + +@end + @implementation GTLRComputeQuery_GlobalForwardingRulesDelete @dynamic forwardingRule, project, requestId; @@ -5805,6 +5869,43 @@ + (instancetype)queryWithObject:(GTLRCompute_InstanceGroupsSetNamedPortsRequest @end +@implementation GTLRComputeQuery_InstanceGroupsTestIamPermissions + +@dynamic project, resource, zoneProperty; + ++ (NSDictionary *)parameterNameMap { + return @{ @"zoneProperty" : @"zone" }; +} + ++ (instancetype)queryWithObject:(GTLRCompute_TestPermissionsRequest *)object + project:(NSString *)project + zoneProperty:(NSString *)zoneProperty + resource:(NSString *)resource { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"project", @"resource", @"zone" + ]; + NSString *pathURITemplate = @"projects/{project}/zones/{zone}/instanceGroups/{resource}/testIamPermissions"; + GTLRComputeQuery_InstanceGroupsTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.project = project; + query.zoneProperty = zoneProperty; + query.resource = resource; + query.expectedObjectClass = [GTLRCompute_TestPermissionsResponse class]; + query.loggingName = @"compute.instanceGroups.testIamPermissions"; + return query; +} + +@end + @implementation GTLRComputeQuery_InstancesAddAccessConfig @dynamic instance, networkInterface, project, requestId, zoneProperty; @@ -5844,6 +5945,43 @@ + (instancetype)queryWithObject:(GTLRCompute_AccessConfig *)object @end +@implementation GTLRComputeQuery_InstancesAddNetworkInterface + +@dynamic instance, project, requestId, zoneProperty; + ++ (NSDictionary *)parameterNameMap { + return @{ @"zoneProperty" : @"zone" }; +} + ++ (instancetype)queryWithObject:(GTLRCompute_NetworkInterface *)object + project:(NSString *)project + zoneProperty:(NSString *)zoneProperty + instance:(NSString *)instance { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"instance", @"project", @"zone" + ]; + NSString *pathURITemplate = @"projects/{project}/zones/{zone}/instances/{instance}/addNetworkInterface"; + GTLRComputeQuery_InstancesAddNetworkInterface *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.project = project; + query.zoneProperty = zoneProperty; + query.instance = instance; + query.expectedObjectClass = [GTLRCompute_Operation class]; + query.loggingName = @"compute.instances.addNetworkInterface"; + return query; +} + +@end + @implementation GTLRComputeQuery_InstancesAddResourcePolicies @dynamic instance, project, requestId, zoneProperty; @@ -6036,6 +6174,37 @@ + (instancetype)queryWithProject:(NSString *)project @end +@implementation GTLRComputeQuery_InstancesDeleteNetworkInterface + +@dynamic instance, networkInterfaceName, project, requestId, zoneProperty; + ++ (NSDictionary *)parameterNameMap { + return @{ @"zoneProperty" : @"zone" }; +} + ++ (instancetype)queryWithProject:(NSString *)project + zoneProperty:(NSString *)zoneProperty + instance:(NSString *)instance + networkInterfaceName:(NSString *)networkInterfaceName { + NSArray *pathParams = @[ + @"instance", @"project", @"zone" + ]; + NSString *pathURITemplate = @"projects/{project}/zones/{zone}/instances/{instance}/deleteNetworkInterface"; + GTLRComputeQuery_InstancesDeleteNetworkInterface *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.project = project; + query.zoneProperty = zoneProperty; + query.instance = instance; + query.networkInterfaceName = networkInterfaceName; + query.expectedObjectClass = [GTLRCompute_Operation class]; + query.loggingName = @"compute.instances.deleteNetworkInterface"; + return query; +} + +@end + @implementation GTLRComputeQuery_InstancesDetachDisk @dynamic deviceName, instance, project, requestId, zoneProperty; @@ -15136,6 +15305,39 @@ + (instancetype)queryWithObject:(GTLRCompute_RegionInstanceGroupsSetNamedPortsRe @end +@implementation GTLRComputeQuery_RegionInstanceGroupsTestIamPermissions + +@dynamic project, region, resource; + ++ (instancetype)queryWithObject:(GTLRCompute_TestPermissionsRequest *)object + project:(NSString *)project + region:(NSString *)region + resource:(NSString *)resource { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"project", @"region", @"resource" + ]; + NSString *pathURITemplate = @"projects/{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions"; + GTLRComputeQuery_RegionInstanceGroupsTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.project = project; + query.region = region; + query.resource = resource; + query.expectedObjectClass = [GTLRCompute_TestPermissionsResponse class]; + query.loggingName = @"compute.regionInstanceGroups.testIamPermissions"; + return query; +} + +@end + @implementation GTLRComputeQuery_RegionInstancesBulkInsert @dynamic project, region, requestId; @@ -19362,7 +19564,7 @@ + (instancetype)queryWithProject:(NSString *)project @implementation GTLRComputeQuery_ServiceAttachmentsGet -@dynamic project, region, serviceAttachment; +@dynamic project, region, serviceAttachment, showNatIps; + (instancetype)queryWithProject:(NSString *)project region:(NSString *)region @@ -21588,6 +21790,43 @@ + (instancetype)queryWithObject:(GTLRCompute_SecurityPolicyReference *)object @end +@implementation GTLRComputeQuery_TargetInstancesTestIamPermissions + +@dynamic project, resource, zoneProperty; + ++ (NSDictionary *)parameterNameMap { + return @{ @"zoneProperty" : @"zone" }; +} + ++ (instancetype)queryWithObject:(GTLRCompute_TestPermissionsRequest *)object + project:(NSString *)project + zoneProperty:(NSString *)zoneProperty + resource:(NSString *)resource { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"project", @"resource", @"zone" + ]; + NSString *pathURITemplate = @"projects/{project}/zones/{zone}/targetInstances/{resource}/testIamPermissions"; + GTLRComputeQuery_TargetInstancesTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.project = project; + query.zoneProperty = zoneProperty; + query.resource = resource; + query.expectedObjectClass = [GTLRCompute_TestPermissionsResponse class]; + query.loggingName = @"compute.targetInstances.testIamPermissions"; + return query; +} + +@end + @implementation GTLRComputeQuery_TargetPoolsAddHealthCheck @dynamic project, region, requestId, targetPool; @@ -21944,6 +22183,39 @@ + (instancetype)queryWithObject:(GTLRCompute_SecurityPolicyReference *)object @end +@implementation GTLRComputeQuery_TargetPoolsTestIamPermissions + +@dynamic project, region, resource; + ++ (instancetype)queryWithObject:(GTLRCompute_TestPermissionsRequest *)object + project:(NSString *)project + region:(NSString *)region + resource:(NSString *)resource { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"project", @"region", @"resource" + ]; + NSString *pathURITemplate = @"projects/{project}/regions/{region}/targetPools/{resource}/testIamPermissions"; + GTLRComputeQuery_TargetPoolsTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.project = project; + query.region = region; + query.resource = resource; + query.expectedObjectClass = [GTLRCompute_TestPermissionsResponse class]; + query.loggingName = @"compute.targetPools.testIamPermissions"; + return query; +} + +@end + @implementation GTLRComputeQuery_TargetSslProxiesDelete @dynamic project, requestId, targetSslProxy; diff --git a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h index cf43c5b75..100e4aea5 100644 --- a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h +++ b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h @@ -558,6 +558,7 @@ @class GTLRCompute_NetworkProfile; @class GTLRCompute_NetworkProfileLocation; @class GTLRCompute_NetworkProfileNetworkFeatures; +@class GTLRCompute_NetworkProfileProfileType; @class GTLRCompute_NetworkProfilesListResponse_Warning; @class GTLRCompute_NetworkProfilesListResponse_Warning_Data_Item; @class GTLRCompute_NetworkRoutingConfig; @@ -766,6 +767,8 @@ @class GTLRCompute_RouterNatRuleAction; @class GTLRCompute_RouterNatSubnetworkToNat; @class GTLRCompute_RouterNatSubnetworkToNat64; +@class GTLRCompute_RouterParams; +@class GTLRCompute_RouterParams_ResourceManagerTags; @class GTLRCompute_RoutersListBgpRoutes_Warning; @class GTLRCompute_RoutersListBgpRoutes_Warning_Data_Item; @class GTLRCompute_RoutersListRoutePolicies_Warning; @@ -1034,8 +1037,11 @@ @class GTLRCompute_VpnTunnelAggregatedList_Items; @class GTLRCompute_VpnTunnelAggregatedList_Warning; @class GTLRCompute_VpnTunnelAggregatedList_Warning_Data_Item; +@class GTLRCompute_VpnTunnelCipherSuite; @class GTLRCompute_VpnTunnelList_Warning; @class GTLRCompute_VpnTunnelList_Warning_Data_Item; +@class GTLRCompute_VpnTunnelPhase1Algorithms; +@class GTLRCompute_VpnTunnelPhase2Algorithms; @class GTLRCompute_VpnTunnelsScopedList; @class GTLRCompute_VpnTunnelsScopedList_Warning; @class GTLRCompute_VpnTunnelsScopedList_Warning_Data_Item; @@ -10819,6 +10825,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_Instance_PrivateIpv6GoogleAccess * Value: "DEPROVISIONING" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_Instance_Status_Deprovisioning; +/** + * For Flex Start provisioning instance is waiting for available capacity from + * Dynamic Workload Scheduler (DWS). + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Instance_Status_Pending; /** * Resources are being allocated for the instance. * @@ -14407,6 +14420,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceTemplatesScopedList_Warn * Value: "DEPROVISIONING" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceWithNamedPorts_Status_Deprovisioning; +/** + * For Flex Start provisioning instance is waiting for available capacity from + * Dynamic Workload Scheduler (DWS). + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceWithNamedPorts_Status_Pending; /** * Resources are being allocated for the instance. * @@ -18778,6 +18798,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ManagedInstance_CurrentAction_Ve * Value: "DEPROVISIONING" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ManagedInstance_InstanceStatus_Deprovisioning; +/** + * For Flex Start provisioning instance is waiting for available capacity from + * Dynamic Workload Scheduler (DWS). + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ManagedInstance_InstanceStatus_Pending; /** * Resources are being allocated for the instance. * @@ -21800,6 +21827,70 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_Un /** Value: "UNICAST_ULL" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_Unicast_UnicastUll; +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileProfileType.networkType + +/** + * RDMA network. + * + * Value: "RDMA" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileProfileType_NetworkType_Rdma; +/** + * ULL network. + * + * Value: "ULL" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileProfileType_NetworkType_Ull; +/** + * VPC network. + * + * Value: "VPC" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileProfileType_NetworkType_Vpc; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileProfileType.rdmaSubtype + +/** + * RDMA over Falcon. + * + * Value: "FALCON" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileProfileType_RdmaSubtype_Falcon; +/** + * RDMA over Converged Ethernet (RoCE). + * + * Value: "ROCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileProfileType_RdmaSubtype_Roce; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileProfileType.ullSubtype + +/** + * Exchange operator. + * + * Value: "OPERATOR" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileProfileType_UllSubtype_Operator; +/** + * Exchange participant. + * + * Value: "PARTICIPANT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileProfileType_UllSubtype_Participant; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileProfileType.vpcSubtype + +/** + * Regionally bound VPC network. + * + * Value: "REGIONAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileProfileType_VpcSubtype_Regional; + // ---------------------------------------------------------------------------- // GTLRCompute_NetworkProfilesListResponse_Warning.code @@ -32626,6 +32717,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_Scheduling_OnHostMaintenance_Ter // ---------------------------------------------------------------------------- // GTLRCompute_Scheduling.provisioningModel +/** + * Instance is provisioned using the Flex Start provisioning model and has a + * limited runtime. + * + * Value: "FLEX_START" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Scheduling_ProvisioningModel_FlexStart; /** * Bound to the lifecycle of the reservation in which it is provisioned. * @@ -42238,6 +42336,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceR * Value: "FAILURE_GPU" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureGpu; +/** + * Maintenance due to customer reported multiple faulty hosts via R&R Subblock + * API. + * + * Value: "FAILURE_GPU_MULTIPLE_FAULTY_HOSTS_CUSTOMER_REPORTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureGpuMultipleFaultyHostsCustomerReported; +/** + * Maintenance due to customer reported NVLink switch failure via R&R Subblock + * API. + * + * Value: "FAILURE_GPU_NVLINK_SWITCH_CUSTOMER_REPORTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureGpuNvlinkSwitchCustomerReported; /** * Maintenance due to high GPU temperature. * @@ -49065,9 +49177,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * caching headers. By default, Cloud CDN will apply the following default TTLs * to these status codes: HTTP 300 (Multiple Choice), 301, 308 (Permanent * Redirects): 10m HTTP 404 (Not Found), 410 (Gone), 451 (Unavailable For Legal - * Reasons): 120s HTTP 405 (Method Not Found), 421 (Misdirected Request), 501 - * (Not Implemented): 60s. These defaults can be overridden in - * negative_caching_policy. + * Reasons): 120s HTTP 405 (Method Not Found), 501 (Not Implemented): 60s. + * These defaults can be overridden in negative_caching_policy. * * Uses NSNumber of boolValue. */ @@ -50436,9 +50547,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * caching headers. By default, Cloud CDN will apply the following default TTLs * to these status codes: HTTP 300 (Multiple Choice), 301, 308 (Permanent * Redirects): 10m HTTP 404 (Not Found), 410 (Gone), 451 (Unavailable For Legal - * Reasons): 120s HTTP 405 (Method Not Found), 421 (Misdirected Request), 501 - * (Not Implemented): 60s. These defaults can be overridden in - * negative_caching_policy. + * Reasons): 120s HTTP 405 (Method Not Found), 501 (Not Implemented): 60s. + * These defaults can be overridden in negative_caching_policy. * * Uses NSNumber of boolValue. */ @@ -62909,6 +63019,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_Instance_Status_Deprovisioning The instance is halted * and we are performing tear down tasks like network deprogramming, * releasing quota, IP, tearing down disks etc. (Value: "DEPROVISIONING") + * @arg @c kGTLRCompute_Instance_Status_Pending For Flex Start provisioning + * instance is waiting for available capacity from Dynamic Workload + * Scheduler (DWS). (Value: "PENDING") * @arg @c kGTLRCompute_Instance_Status_Provisioning Resources are being * allocated for the instance. (Value: "PROVISIONING") * @arg @c kGTLRCompute_Instance_Status_Repairing The instance is in repair. @@ -66993,6 +67106,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @interface GTLRCompute_InstanceParams : GTLRObject +/** + * Relative deadline for waiting for capacity. Relevant only for + * Instances.Insert API. + */ +@property(nonatomic, strong, nullable) GTLRCompute_Duration *requestValidForDuration; + /** * Resource manager tags to be bound to the instance. Tag keys and values have * the same definition as resource manager tags. Keys must be in the format @@ -68463,6 +68582,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * instance is halted and we are performing tear down tasks like network * deprogramming, releasing quota, IP, tearing down disks etc. (Value: * "DEPROVISIONING") + * @arg @c kGTLRCompute_InstanceWithNamedPorts_Status_Pending For Flex Start + * provisioning instance is waiting for available capacity from Dynamic + * Workload Scheduler (DWS). (Value: "PENDING") * @arg @c kGTLRCompute_InstanceWithNamedPorts_Status_Provisioning Resources * are being allocated for the instance. (Value: "PROVISIONING") * @arg @c kGTLRCompute_InstanceWithNamedPorts_Status_Repairing The instance @@ -70944,9 +71066,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, copy, nullable) NSString *isActive; /** - * Whether this Attachment is active, and if so, whether BGP is up. This is - * based on the statuses available in the Pantheon UI here: - * http://google3/java/com/google/cloud/boq/clientapi/gce/hybrid/api/interconnect_models.proto + * Whether this Attachment is active, and if so, whether BGP is up. * * Likely values: * @arg @c kGTLRCompute_InterconnectAttachmentGroupsOperationalStatusAttachmentStatus_Status_AttachmentStatusUnknown @@ -75346,6 +75466,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * instance is halted and we are performing tear down tasks like network * deprogramming, releasing quota, IP, tearing down disks etc. (Value: * "DEPROVISIONING") + * @arg @c kGTLRCompute_ManagedInstance_InstanceStatus_Pending For Flex Start + * provisioning instance is waiting for available capacity from Dynamic + * Workload Scheduler (DWS). (Value: "PENDING") * @arg @c kGTLRCompute_ManagedInstance_InstanceStatus_Provisioning Resources * are being allocated for the instance. (Value: "PROVISIONING") * @arg @c kGTLRCompute_ManagedInstance_InstanceStatus_Repairing The instance @@ -78561,6 +78684,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *nicType; +/** Name of the parent network interface of a dynamic network interface. */ +@property(nonatomic, copy, nullable) NSString *parentNicName; + /** * The networking queue count that's specified by users for the network * interface. Both Rx and Tx queues will be set to this number. It'll be empty @@ -78598,6 +78724,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *subnetwork; +/** + * VLAN tag of a dynamic network interface, must be an integer in the range + * from 2 to 255 inclusively. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *vlan; + @end @@ -79176,6 +79310,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** [Output Only] Name of the resource. */ @property(nonatomic, copy, nullable) NSString *name; +/** [Output Only] Type of the network profile. */ +@property(nonatomic, strong, nullable) GTLRCompute_NetworkProfileProfileType *profileType; + /** [Output Only] Server-defined URL for the resource. */ @property(nonatomic, copy, nullable) NSString *selfLink; @@ -79482,6 +79619,58 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * GTLRCompute_NetworkProfileProfileType + */ +@interface GTLRCompute_NetworkProfileProfileType : GTLRObject + +/** + * networkType + * + * Likely values: + * @arg @c kGTLRCompute_NetworkProfileProfileType_NetworkType_Rdma RDMA + * network. (Value: "RDMA") + * @arg @c kGTLRCompute_NetworkProfileProfileType_NetworkType_Ull ULL + * network. (Value: "ULL") + * @arg @c kGTLRCompute_NetworkProfileProfileType_NetworkType_Vpc VPC + * network. (Value: "VPC") + */ +@property(nonatomic, copy, nullable) NSString *networkType; + +/** + * rdmaSubtype + * + * Likely values: + * @arg @c kGTLRCompute_NetworkProfileProfileType_RdmaSubtype_Falcon RDMA + * over Falcon. (Value: "FALCON") + * @arg @c kGTLRCompute_NetworkProfileProfileType_RdmaSubtype_Roce RDMA over + * Converged Ethernet (RoCE). (Value: "ROCE") + */ +@property(nonatomic, copy, nullable) NSString *rdmaSubtype; + +/** + * ullSubtype + * + * Likely values: + * @arg @c kGTLRCompute_NetworkProfileProfileType_UllSubtype_Operator + * Exchange operator. (Value: "OPERATOR") + * @arg @c kGTLRCompute_NetworkProfileProfileType_UllSubtype_Participant + * Exchange participant. (Value: "PARTICIPANT") + */ +@property(nonatomic, copy, nullable) NSString *ullSubtype; + +/** + * vpcSubtype + * + * Likely values: + * @arg @c kGTLRCompute_NetworkProfileProfileType_VpcSubtype_Regional + * Regionally bound VPC network. (Value: "REGIONAL") + */ +@property(nonatomic, copy, nullable) NSString *vpcSubtype; + +@end + + /** * Contains a list of network profiles. * @@ -92565,6 +92754,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** URI of the network to which this router belongs. */ @property(nonatomic, copy, nullable) NSString *network; +/** + * Input only. [Input Only] Additional params passed with the request, but not + * persisted as part of resource payload. + */ +@property(nonatomic, strong, nullable) GTLRCompute_RouterParams *params; + /** * [Output Only] URI of the region where the router resides. You must specify * this field as part of the HTTP request URL. It is not settable as a field in @@ -93801,6 +93996,47 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * Additional router parameters. + */ +@interface GTLRCompute_RouterParams : GTLRObject + +/** + * Tag keys/values directly bound to this resource. The field is allowed for + * INSERT only. The keys/values to set on the resource should be specified in + * either ID { : } or Namespaced format { : }. For example the following are + * valid inputs: * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : + * "tagValues/456"} * {"123/environment" : "production", "345/abc" : "xyz"} + * Note: * Invalid combinations of ID & namespaced format is not supported. For + * instance: {"123/environment" : "tagValues/444"} is invalid. * Inconsistent + * format is not supported. For instance: {"tagKeys/333" : "tagValues/444", + * "123/env" : "prod"} is invalid. + */ +@property(nonatomic, strong, nullable) GTLRCompute_RouterParams_ResourceManagerTags *resourceManagerTags; + +@end + + +/** + * Tag keys/values directly bound to this resource. The field is allowed for + * INSERT only. The keys/values to set on the resource should be specified in + * either ID { : } or Namespaced format { : }. For example the following are + * valid inputs: * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : + * "tagValues/456"} * {"123/environment" : "production", "345/abc" : "xyz"} + * Note: * Invalid combinations of ID & namespaced format is not supported. For + * instance: {"123/environment" : "tagValues/444"} is invalid. * Inconsistent + * format is not supported. For instance: {"tagKeys/333" : "tagValues/444", + * "123/env" : "prod"} is invalid. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRCompute_RouterParams_ResourceManagerTags : GTLRObject +@end + + /** * GTLRCompute_RoutersGetRoutePolicyResponse */ @@ -94964,6 +95200,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * Specifies the provisioning model of the instance. * * Likely values: + * @arg @c kGTLRCompute_Scheduling_ProvisioningModel_FlexStart Instance is + * provisioned using the Flex Start provisioning model and has a limited + * runtime. (Value: "FLEX_START") * @arg @c kGTLRCompute_Scheduling_ProvisioningModel_ReservationBound Bound * to the lifecycle of the reservation in which it is provisioned. * (Value: "RESERVATION_BOUND") @@ -94975,6 +95214,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *provisioningModel; +/** + * Default is false and there will be 120 seconds between GCE ACPI G2 Soft Off + * and ACPI G3 Mechanical Off for Standard VMs and 30 seconds for Spot VMs. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *skipGuestOsShutdown; + /** * Specifies the timestamp, when the instance will be terminated, in RFC3339 * text format. If specified, the instance termination action will be performed @@ -96188,11 +96435,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * User defined CEVAL expression. A CEVAL expression is used to specify match * criteria such as origin.ip, source.region_code and contents in the request - * header. Expressions containing `evaluateThreatIntelligence` require Cloud - * Armor Managed Protection Plus tier and are not supported in Edge Policies - * nor in Regional Policies. Expressions containing - * `evaluatePreconfiguredExpr('sourceiplist-*')` require Cloud Armor Managed - * Protection Plus tier and are only supported in Global Security Policies. + * header. Expressions containing `evaluateThreatIntelligence` require a Cloud + * Armor Enterprise subscription and are not supported in Edge Policies nor in + * Regional Policies. Expressions containing + * `evaluatePreconfiguredExpr('sourceiplist-*')` require a Cloud Armor + * Enterprise subscription and are only supported in Global Security Policies. */ @property(nonatomic, strong, nullable) GTLRCompute_Expr *expr; @@ -97243,6 +97490,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** The url of a connected endpoint. */ @property(nonatomic, copy, nullable) NSString *endpoint; +/** + * NAT IPs of the connected PSC endpoint and those of other endpoints + * propagated from it. + */ +@property(nonatomic, strong, nullable) NSArray *natIps; + /** * The number of consumer Network Connectivity Center spokes that the connected * Private Service Connect endpoint has propagated to. @@ -110715,6 +110968,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @interface GTLRCompute_VpnTunnel : GTLRObject +/** + * User specified list of ciphers to use for the phase 1 and phase 2 of the IKE + * protocol. + */ +@property(nonatomic, strong, nullable) GTLRCompute_VpnTunnelCipherSuite *cipherSuite; + /** [Output Only] Creation timestamp in RFC3339 text format. */ @property(nonatomic, copy, nullable) NSString *creationTimestamp; @@ -111140,6 +111399,17 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * GTLRCompute_VpnTunnelCipherSuite + */ +@interface GTLRCompute_VpnTunnelCipherSuite : GTLRObject + +@property(nonatomic, strong, nullable) GTLRCompute_VpnTunnelPhase1Algorithms *phase1; +@property(nonatomic, strong, nullable) GTLRCompute_VpnTunnelPhase2Algorithms *phase2; + +@end + + /** * Contains a list of VpnTunnel resources. * @@ -111325,6 +111595,31 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * GTLRCompute_VpnTunnelPhase1Algorithms + */ +@interface GTLRCompute_VpnTunnelPhase1Algorithms : GTLRObject + +@property(nonatomic, strong, nullable) NSArray *dh; +@property(nonatomic, strong, nullable) NSArray *encryption; +@property(nonatomic, strong, nullable) NSArray *integrity; +@property(nonatomic, strong, nullable) NSArray *prf; + +@end + + +/** + * GTLRCompute_VpnTunnelPhase2Algorithms + */ +@interface GTLRCompute_VpnTunnelPhase2Algorithms : GTLRObject + +@property(nonatomic, strong, nullable) NSArray *encryption; +@property(nonatomic, strong, nullable) NSArray *integrity; +@property(nonatomic, strong, nullable) NSArray *pfs; + +@end + + /** * GTLRCompute_VpnTunnelsScopedList */ diff --git a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h index 634adc2c2..5fda79f11 100644 --- a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h +++ b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h @@ -901,6 +901,47 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeViewFull; @end +/** + * Returns permissions that a caller has on the specified resource. + * + * Method: compute.addresses.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + * @c kGTLRAuthScopeComputeReadonly + */ +@interface GTLRComputeQuery_AddressesTestIamPermissions : GTLRComputeQuery + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** The name of the region for this request. */ +@property(nonatomic, copy, nullable) NSString *region; + +/** Name or id of the resource for this request. */ +@property(nonatomic, copy, nullable) NSString *resource; + +/** + * Fetches a @c GTLRCompute_TestPermissionsResponse. + * + * Returns permissions that a caller has on the specified resource. + * + * @param object The @c GTLRCompute_TestPermissionsRequest to include in the + * query. + * @param project Project ID for this request. + * @param region The name of the region for this request. + * @param resource Name or id of the resource for this request. + * + * @return GTLRComputeQuery_AddressesTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRCompute_TestPermissionsRequest *)object + project:(NSString *)project + region:(NSString *)region + resource:(NSString *)resource; + +@end + /** * Retrieves an aggregated list of autoscalers. To prevent failure, Google * recommends that you set the `returnPartialSuccess` parameter to `true`. @@ -6630,6 +6671,42 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeViewFull; @end +/** + * Returns permissions that a caller has on the specified resource. + * + * Method: compute.globalAddresses.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + * @c kGTLRAuthScopeComputeReadonly + */ +@interface GTLRComputeQuery_GlobalAddressesTestIamPermissions : GTLRComputeQuery + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** Name or id of the resource for this request. */ +@property(nonatomic, copy, nullable) NSString *resource; + +/** + * Fetches a @c GTLRCompute_TestPermissionsResponse. + * + * Returns permissions that a caller has on the specified resource. + * + * @param object The @c GTLRCompute_TestPermissionsRequest to include in the + * query. + * @param project Project ID for this request. + * @param resource Name or id of the resource for this request. + * + * @return GTLRComputeQuery_GlobalAddressesTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRCompute_TestPermissionsRequest *)object + project:(NSString *)project + resource:(NSString *)resource; + +@end + /** * Deletes the specified GlobalForwardingRule resource. * @@ -13055,6 +13132,51 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeViewFull; @end +/** + * Returns permissions that a caller has on the specified resource. + * + * Method: compute.instanceGroups.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + * @c kGTLRAuthScopeComputeReadonly + */ +@interface GTLRComputeQuery_InstanceGroupsTestIamPermissions : GTLRComputeQuery + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** Name or id of the resource for this request. */ +@property(nonatomic, copy, nullable) NSString *resource; + +/** + * The name of the zone for this request. + * + * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. + */ +@property(nonatomic, copy, nullable) NSString *zoneProperty; + +/** + * Fetches a @c GTLRCompute_TestPermissionsResponse. + * + * Returns permissions that a caller has on the specified resource. + * + * @param object The @c GTLRCompute_TestPermissionsRequest to include in the + * query. + * @param project Project ID for this request. + * @param zoneProperty The name of the zone for this request. + * @param resource Name or id of the resource for this request. + * + * @return GTLRComputeQuery_InstanceGroupsTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRCompute_TestPermissionsRequest *)object + project:(NSString *)project + zoneProperty:(NSString *)zoneProperty + resource:(NSString *)resource; + +@end + /** * Adds an access config to an instance's network interface. * @@ -13117,6 +13239,66 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeViewFull; @end +/** + * Adds one dynamic network interface to an active instance. + * + * Method: compute.instances.addNetworkInterface + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + */ +@interface GTLRComputeQuery_InstancesAddNetworkInterface : GTLRComputeQuery + +/** + * The instance name for this request stored as resource_id. Name should + * conform to RFC1035 or be an unsigned long integer. + */ +@property(nonatomic, copy, nullable) NSString *instance; + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. For example, consider a situation + * where you make an initial request and the request times out. If you make the + * request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the + * second request. This prevents clients from accidentally creating duplicate + * commitments. The request ID must be a valid UUID with the exception that + * zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * The name of the zone for this request. + * + * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. + */ +@property(nonatomic, copy, nullable) NSString *zoneProperty; + +/** + * Fetches a @c GTLRCompute_Operation. + * + * Adds one dynamic network interface to an active instance. + * + * @param object The @c GTLRCompute_NetworkInterface to include in the query. + * @param project Project ID for this request. + * @param zoneProperty The name of the zone for this request. + * @param instance The instance name for this request stored as resource_id. + * Name should conform to RFC1035 or be an unsigned long integer. + * + * @return GTLRComputeQuery_InstancesAddNetworkInterface + */ ++ (instancetype)queryWithObject:(GTLRCompute_NetworkInterface *)object + project:(NSString *)project + zoneProperty:(NSString *)zoneProperty + instance:(NSString *)instance; + +@end + /** * Adds existing resource policies to an instance. You can only add one policy * right now which will be applied to this instance for scheduling live @@ -13547,6 +13729,78 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeViewFull; @end +/** + * Deletes one dynamic network interface from an active instance. + * InstancesDeleteNetworkInterfaceRequest indicates: - instance from which to + * delete, using project+zone+resource_id fields; - dynamic network interface + * to be deleted, using network_interface_name field; + * + * Method: compute.instances.deleteNetworkInterface + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + */ +@interface GTLRComputeQuery_InstancesDeleteNetworkInterface : GTLRComputeQuery + +/** + * The instance name for this request stored as resource_id. Name should + * conform to RFC1035 or be an unsigned long integer. + */ +@property(nonatomic, copy, nullable) NSString *instance; + +/** + * The name of the dynamic network interface to be deleted from the instance. + */ +@property(nonatomic, copy, nullable) NSString *networkInterfaceName; + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. For example, consider a situation + * where you make an initial request and the request times out. If you make the + * request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the + * second request. This prevents clients from accidentally creating duplicate + * commitments. The request ID must be a valid UUID with the exception that + * zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * The name of the zone for this request. + * + * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. + */ +@property(nonatomic, copy, nullable) NSString *zoneProperty; + +/** + * Fetches a @c GTLRCompute_Operation. + * + * Deletes one dynamic network interface from an active instance. + * InstancesDeleteNetworkInterfaceRequest indicates: - instance from which to + * delete, using project+zone+resource_id fields; - dynamic network interface + * to be deleted, using network_interface_name field; + * + * @param project Project ID for this request. + * @param zoneProperty The name of the zone for this request. + * @param instance The instance name for this request stored as resource_id. + * Name should conform to RFC1035 or be an unsigned long integer. + * @param networkInterfaceName The name of the dynamic network interface to be + * deleted from the instance. + * + * @return GTLRComputeQuery_InstancesDeleteNetworkInterface + */ ++ (instancetype)queryWithProject:(NSString *)project + zoneProperty:(NSString *)zoneProperty + instance:(NSString *)instance + networkInterfaceName:(NSString *)networkInterfaceName; + +@end + /** * Detaches a disk from an instance. * @@ -33166,6 +33420,47 @@ GTLR_DEPRECATED @end +/** + * Returns permissions that a caller has on the specified resource. + * + * Method: compute.regionInstanceGroups.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + * @c kGTLRAuthScopeComputeReadonly + */ +@interface GTLRComputeQuery_RegionInstanceGroupsTestIamPermissions : GTLRComputeQuery + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** The name of the region for this request. */ +@property(nonatomic, copy, nullable) NSString *region; + +/** Name or id of the resource for this request. */ +@property(nonatomic, copy, nullable) NSString *resource; + +/** + * Fetches a @c GTLRCompute_TestPermissionsResponse. + * + * Returns permissions that a caller has on the specified resource. + * + * @param object The @c GTLRCompute_TestPermissionsRequest to include in the + * query. + * @param project Project ID for this request. + * @param region The name of the region for this request. + * @param resource Name or id of the resource for this request. + * + * @return GTLRComputeQuery_RegionInstanceGroupsTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRCompute_TestPermissionsRequest *)object + project:(NSString *)project + region:(NSString *)region + resource:(NSString *)resource; + +@end + /** * Creates multiple instances in a given region. Count specifies the number of * instances to create. @@ -42811,6 +43106,9 @@ GTLR_DEPRECATED /** Name of the ServiceAttachment resource to return. */ @property(nonatomic, copy, nullable) NSString *serviceAttachment; +/** Indicates whether NAT IPs should be included in the response. */ +@property(nonatomic, assign) BOOL showNatIps; + /** * Fetches a @c GTLRCompute_ServiceAttachment. * @@ -48124,6 +48422,51 @@ GTLR_DEPRECATED @end +/** + * Returns permissions that a caller has on the specified resource. + * + * Method: compute.targetInstances.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + * @c kGTLRAuthScopeComputeReadonly + */ +@interface GTLRComputeQuery_TargetInstancesTestIamPermissions : GTLRComputeQuery + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** Name or id of the resource for this request. */ +@property(nonatomic, copy, nullable) NSString *resource; + +/** + * The name of the zone for this request. + * + * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. + */ +@property(nonatomic, copy, nullable) NSString *zoneProperty; + +/** + * Fetches a @c GTLRCompute_TestPermissionsResponse. + * + * Returns permissions that a caller has on the specified resource. + * + * @param object The @c GTLRCompute_TestPermissionsRequest to include in the + * query. + * @param project Project ID for this request. + * @param zoneProperty The name of the zone for this request. + * @param resource Name or id of the resource for this request. + * + * @return GTLRComputeQuery_TargetInstancesTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRCompute_TestPermissionsRequest *)object + project:(NSString *)project + zoneProperty:(NSString *)zoneProperty + resource:(NSString *)resource; + +@end + /** * Adds health check URLs to a target pool. * @@ -48862,6 +49205,47 @@ GTLR_DEPRECATED @end +/** + * Returns permissions that a caller has on the specified resource. + * + * Method: compute.targetPools.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + * @c kGTLRAuthScopeComputeReadonly + */ +@interface GTLRComputeQuery_TargetPoolsTestIamPermissions : GTLRComputeQuery + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** The name of the region for this request. */ +@property(nonatomic, copy, nullable) NSString *region; + +/** Name or id of the resource for this request. */ +@property(nonatomic, copy, nullable) NSString *resource; + +/** + * Fetches a @c GTLRCompute_TestPermissionsResponse. + * + * Returns permissions that a caller has on the specified resource. + * + * @param object The @c GTLRCompute_TestPermissionsRequest to include in the + * query. + * @param project Project ID for this request. + * @param region The name of the region for this request. + * @param resource Name or id of the resource for this request. + * + * @return GTLRComputeQuery_TargetPoolsTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRCompute_TestPermissionsRequest *)object + project:(NSString *)project + region:(NSString *)region + resource:(NSString *)resource; + +@end + /** * Deletes the specified TargetSslProxy resource. * diff --git a/Sources/GeneratedServices/Connectors/GTLRConnectorsObjects.m b/Sources/GeneratedServices/Connectors/GTLRConnectorsObjects.m index 36ba3911b..6ebc3ffa7 100644 --- a/Sources/GeneratedServices/Connectors/GTLRConnectorsObjects.m +++ b/Sources/GeneratedServices/Connectors/GTLRConnectorsObjects.m @@ -1479,12 +1479,19 @@ @implementation GTLRConnectors_TimeOfDay // @implementation GTLRConnectors_Tool -@dynamic descriptionProperty, inputSchema, name, outputSchema; +@dynamic dependsOn, descriptionProperty, inputSchema, name, outputSchema; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; } ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dependsOn" : [NSString class] + }; + return map; +} + @end diff --git a/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsObjects.h b/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsObjects.h index 88aa421d0..38f6aa217 100644 --- a/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsObjects.h +++ b/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsObjects.h @@ -4035,6 +4035,9 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; */ @interface GTLRConnectors_Tool : GTLRObject +/** List of tool names that this tool depends on. */ +@property(nonatomic, strong, nullable) NSArray *dependsOn; + /** * Description of the tool. * diff --git a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m index 829a58414..64f178621 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m +++ b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m @@ -306,6 +306,8 @@ // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig.type NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig_Type_ConversationOutcome = @"CONVERSATION_OUTCOME"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig_Type_ConversationOutcomeAgentHelpfulness = @"CONVERSATION_OUTCOME_AGENT_HELPFULNESS"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig_Type_ConversationOutcomeCustomerSatisfaction = @"CONVERSATION_OUTCOME_CUSTOMER_SATISFACTION"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig_Type_ConversationOutcomeEscalationInitiatorRole = @"CONVERSATION_OUTCOME_ESCALATION_INITIATOR_ROLE"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig_Type_PredefinedQuestionTypeUnspecified = @"PREDEFINED_QUESTION_TYPE_UNSPECIFIED"; @@ -316,6 +318,11 @@ NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata_DatasetValidationWarnings_InsufficientFeedbackLabelsPerAnswer = @"INSUFFICIENT_FEEDBACK_LABELS_PER_ANSWER"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata_DatasetValidationWarnings_TooManyInvalidFeedbackLabels = @"TOO_MANY_INVALID_FEEDBACK_LABELS"; +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaScorecard.source +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaScorecard_Source_QaScorecardSourceCustomerDefined = @"QA_SCORECARD_SOURCE_CUSTOMER_DEFINED"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaScorecard_Source_QaScorecardSourceDiscoveryEngine = @"QA_SCORECARD_SOURCE_DISCOVERY_ENGINE"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaScorecard_Source_QaScorecardSourceUnspecified = @"QA_SCORECARD_SOURCE_UNSPECIFIED"; + // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaScorecardResultScoreSource.sourceType NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaScorecardResultScoreSource_SourceType_IncludesManualEdits = @"INCLUDES_MANUAL_EDITS"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaScorecardResultScoreSource_SourceType_SourceTypeUnspecified = @"SOURCE_TYPE_UNSPECIFIED"; @@ -1349,11 +1356,13 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata -@dynamic createTime, endTime, ingestConversationsStats, partialErrors, request; +@dynamic createTime, endTime, ingestConversationsStats, partialErrors, request, + sampledConversations; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"partialErrors" : [GTLRContactcenterinsights_GoogleRpcStatus class] + @"partialErrors" : [GTLRContactcenterinsights_GoogleRpcStatus class], + @"sampledConversations" : [NSString class] }; return map; } @@ -3455,11 +3464,13 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Impo // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsMetadata -@dynamic createTime, endTime, ingestConversationsStats, partialErrors, request; +@dynamic createTime, endTime, ingestConversationsStats, partialErrors, request, + sampledConversations; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"partialErrors" : [GTLRContactcenterinsights_GoogleRpcStatus class] + @"partialErrors" : [GTLRContactcenterinsights_GoogleRpcStatus class], + @"sampledConversations" : [NSString class] }; return map; } @@ -3896,6 +3907,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListDatasetsResponse +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListDatasetsResponse +@dynamic datasets, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"datasets" : [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"datasets"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse @@ -4359,7 +4392,7 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQu // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaScorecard -@dynamic createTime, descriptionProperty, displayName, isDefault, name, +@dynamic createTime, descriptionProperty, displayName, isDefault, name, source, updateTime; + (NSDictionary *)propertyToJSONKeyMap { diff --git a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m index 65a16dba7..62528bdf2 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m +++ b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m @@ -11,6 +11,11 @@ // ---------------------------------------------------------------------------- // Constants +// qaScorecardSources +NSString * const kGTLRContactcenterinsightsQaScorecardSourcesQaScorecardSourceCustomerDefined = @"QA_SCORECARD_SOURCE_CUSTOMER_DEFINED"; +NSString * const kGTLRContactcenterinsightsQaScorecardSourcesQaScorecardSourceDiscoveryEngine = @"QA_SCORECARD_SOURCE_DISCOVERY_ENGINE"; +NSString * const kGTLRContactcenterinsightsQaScorecardSourcesQaScorecardSourceUnspecified = @"QA_SCORECARD_SOURCE_UNSPECIFIED"; + // view NSString * const kGTLRContactcenterinsightsViewBasic = @"BASIC"; NSString * const kGTLRContactcenterinsightsViewConversationViewUnspecified = @"CONVERSATION_VIEW_UNSPECIFIED"; @@ -1976,6 +1981,33 @@ + (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcen @end +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsSample + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsRequest *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/conversations:sample"; + GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsSample *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleLongrunningOperation class]; + query.loggingName = @"contactcenterinsights.projects.locations.conversations.sample"; + return query; +} + +@end + @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsUpload @dynamic parent; @@ -2444,6 +2476,98 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsSample + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsRequest *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/conversations:sample"; + GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsSample *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleLongrunningOperation class]; + query.loggingName = @"contactcenterinsights.projects.locations.datasets.conversations.sample"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsCreate + +@dynamic datasetId, parent; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset *)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}/datasets"; + GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset class]; + query.loggingName = @"contactcenterinsights.projects.locations.datasets.create"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleLongrunningOperation class]; + query.loggingName = @"contactcenterinsights.projects.locations.datasets.delete"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset class]; + query.loggingName = @"contactcenterinsights.projects.locations.datasets.get"; + return query; +} + +@end + @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsInsightsdataExport @dynamic parent; @@ -2471,6 +2595,25 @@ + (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcen @end +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/datasets"; + GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListDatasetsResponse class]; + query.loggingName = @"contactcenterinsights.projects.locations.datasets.list"; + return query; +} + +@end + @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsListAllFeedbackLabels @dynamic filter, pageSize, pageToken, parent; @@ -2490,6 +2633,33 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset class]; + query.loggingName = @"contactcenterinsights.projects.locations.datasets.patch"; + return query; +} + +@end + @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsEncryptionSpecInitialize @dynamic name; @@ -3296,7 +3466,14 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsQaScorecardsList -@dynamic pageSize, pageToken, parent; +@dynamic pageSize, pageToken, parent, qaScorecardSources; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"qaScorecardSources" : [NSString class] + }; + return map; +} + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; @@ -3434,7 +3611,14 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsQaScorecardsRevisionsList -@dynamic filter, pageSize, pageToken, parent; +@dynamic filter, pageSize, pageToken, parent, qaScorecardSources; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"qaScorecardSources" : [NSString class] + }; + return map; +} + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; diff --git a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h index 17b587304..fa165ccc5 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h +++ b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h @@ -1778,6 +1778,20 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * Value: "CONVERSATION_OUTCOME" */ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig_Type_ConversationOutcome; +/** + * A prebuilt classifier classfying whether the agent is helpful to the + * customer. + * + * Value: "CONVERSATION_OUTCOME_AGENT_HELPFULNESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig_Type_ConversationOutcomeAgentHelpfulness; +/** + * A prebuilt classifier classfying whether the customer is satisfied with the + * agent's response. + * + * Value: "CONVERSATION_OUTCOME_CUSTOMER_SATISFACTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig_Type_ConversationOutcomeCustomerSatisfaction; /** * A prebuilt classifier classfying the initiator of the conversation * escalation. For example, if it was initiated by the customer or the agent. @@ -1828,6 +1842,29 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata_DatasetValidationWarnings_TooManyInvalidFeedbackLabels; +// ---------------------------------------------------------------------------- +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaScorecard.source + +/** + * The scorecard is a custom scorecard created by the user. + * + * Value: "QA_SCORECARD_SOURCE_CUSTOMER_DEFINED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaScorecard_Source_QaScorecardSourceCustomerDefined; +/** + * The scorecard is a scorecard created through discovery engine deployment. + * + * Value: "QA_SCORECARD_SOURCE_DISCOVERY_ENGINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaScorecard_Source_QaScorecardSourceDiscoveryEngine; +/** + * The source of the scorecard is unspecified. Default to + * QA_SCORECARD_SOURCE_CUSTOMER_DEFINED. + * + * Value: "QA_SCORECARD_SOURCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaScorecard_Source_QaScorecardSourceUnspecified; + // ---------------------------------------------------------------------------- // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaScorecardResultScoreSource.sourceType @@ -4139,6 +4176,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleIamV1AuditLo /** Output only. The original request for ingest. */ @property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest *request; +/** + * Output only. Stores the conversation resources produced by ingest sampling + * operations. + */ +@property(nonatomic, strong, nullable) NSArray *sampledConversations; + @end @@ -8622,6 +8665,12 @@ GTLR_DEPRECATED /** Output only. The original request for ingest. */ @property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequest *request; +/** + * Output only. Stores the conversation resources produced by ingest sampling + * operations. + */ +@property(nonatomic, strong, nullable) NSArray *sampledConversations; + @end @@ -9408,6 +9457,33 @@ GTLR_DEPRECATED @end +/** + * The response to list datasets. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "datasets" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListDatasetsResponse : GTLRCollectionObject + +/** + * The datasets that match the request. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *datasets; + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * The response for listing feedback labels. * @@ -10192,6 +10268,13 @@ GTLR_DEPRECATED * A prebuilt classifier classfying the outcome of the conversation. For * example, if the customer issue mentioned in a conversation has been * resolved or not. (Value: "CONVERSATION_OUTCOME") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig_Type_ConversationOutcomeAgentHelpfulness + * A prebuilt classifier classfying whether the agent is helpful to the + * customer. (Value: "CONVERSATION_OUTCOME_AGENT_HELPFULNESS") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig_Type_ConversationOutcomeCustomerSatisfaction + * A prebuilt classifier classfying whether the customer is satisfied + * with the agent's response. (Value: + * "CONVERSATION_OUTCOME_CUSTOMER_SATISFACTION") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig_Type_ConversationOutcomeEscalationInitiatorRole * A prebuilt classifier classfying the initiator of the conversation * escalation. For example, if it was initiated by the customer or the @@ -10304,6 +10387,23 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Output only. The source of the scorecard. + * + * Likely values: + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaScorecard_Source_QaScorecardSourceCustomerDefined + * The scorecard is a custom scorecard created by the user. (Value: + * "QA_SCORECARD_SOURCE_CUSTOMER_DEFINED") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaScorecard_Source_QaScorecardSourceDiscoveryEngine + * The scorecard is a scorecard created through discovery engine + * deployment. (Value: "QA_SCORECARD_SOURCE_DISCOVERY_ENGINE") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaScorecard_Source_QaScorecardSourceUnspecified + * The source of the scorecard is unspecified. Default to + * QA_SCORECARD_SOURCE_CUSTOMER_DEFINED. (Value: + * "QA_SCORECARD_SOURCE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *source; + /** Output only. The most recent time at which the scorecard was updated. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @@ -11191,8 +11291,11 @@ GTLR_DEPRECATED * time an export is complete. * "ingest-conversations": Notify each time an * IngestConversations LRO is complete. * "update-conversation": Notify each * time a conversation is updated via UpdateConversation. * - * "upload-conversation": Notify when an UploadConversation LRO is complete. - * Values are Pub/Sub topics. The format of each Pub/Sub topic is: + * "upload-conversation": Notify when an UploadConversation LRO is complete. * + * "update-or-analyze-conversation": Notify when an analysis for a conversation + * is completed or when the conversation is updated. The message will contain + * the conversation with transcript, analysis and other metadata. Values are + * Pub/Sub topics. The format of each Pub/Sub topic is: * projects/{project}/topics/{topic} */ @property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Settings_PubsubNotificationSettings *pubsubNotificationSettings; @@ -11230,8 +11333,11 @@ GTLR_DEPRECATED * time an export is complete. * "ingest-conversations": Notify each time an * IngestConversations LRO is complete. * "update-conversation": Notify each * time a conversation is updated via UpdateConversation. * - * "upload-conversation": Notify when an UploadConversation LRO is complete. - * Values are Pub/Sub topics. The format of each Pub/Sub topic is: + * "upload-conversation": Notify when an UploadConversation LRO is complete. * + * "update-or-analyze-conversation": Notify when an analysis for a conversation + * is completed or when the conversation is updated. The message will contain + * the conversation with transcript, analysis and other metadata. Values are + * Pub/Sub topics. The format of each Pub/Sub topic is: * projects/{project}/topics/{topic} * * @note This class is documented as having more properties of NSString. Use @c diff --git a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h index 8b54bfdf2..d70743513 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h +++ b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h @@ -24,6 +24,29 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the query classes' properties below. +// ---------------------------------------------------------------------------- +// qaScorecardSources + +/** + * The scorecard is a custom scorecard created by the user. + * + * Value: "QA_SCORECARD_SOURCE_CUSTOMER_DEFINED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsQaScorecardSourcesQaScorecardSourceCustomerDefined; +/** + * The scorecard is a scorecard created through discovery engine deployment. + * + * Value: "QA_SCORECARD_SOURCE_DISCOVERY_ENGINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsQaScorecardSourcesQaScorecardSourceDiscoveryEngine; +/** + * The source of the scorecard is unspecified. Default to + * QA_SCORECARD_SOURCE_CUSTOMER_DEFINED. + * + * Value: "QA_SCORECARD_SOURCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsQaScorecardSourcesQaScorecardSourceUnspecified; + // ---------------------------------------------------------------------------- // view @@ -1372,7 +1395,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; * final component of the AuthorizedView's resource name. If no ID is * specified, a server-generated ID will be used. This value should be 4-64 * characters and must match the regular expression - * `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. See aip.dev/122#resource-id-segments + * `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. See + * https://google.aip.dev/122#resource-id-segments */ @property(nonatomic, copy, nullable) NSString *authorizedViewId; @@ -1958,7 +1982,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; * final component of the AuthorizedViewSet's resource name. If no ID is * specified, a server-generated ID will be used. This value should be 4-64 * characters and must match the regular expression - * `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. See aip.dev/122#resource-id-segments + * `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. See + * https://google.aip.dev/122#resource-id-segments */ @property(nonatomic, copy, nullable) NSString *authorizedViewSetId; @@ -3332,6 +3357,38 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; @end +/** + * Samples conversations based on user configuration and handles the sampled + * conversations for different use cases. + * + * Method: contactcenterinsights.projects.locations.conversations.sample + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsSample : GTLRContactcenterinsightsQuery + +/** Required. The parent resource of the dataset. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * Samples conversations based on user configuration and handles the sampled + * conversations for different use cases. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsRequest + * to include in the query. + * @param parent Required. The parent resource of the dataset. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsSample + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsRequest *)object + parent:(NSString *)parent; + +@end + /** * Create a long-running conversation upload operation. This method differs * from `CreateConversation` by allowing audio transcription and optional DLP @@ -4068,6 +4125,125 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; @end +/** + * Samples conversations based on user configuration and handles the sampled + * conversations for different use cases. + * + * Method: contactcenterinsights.projects.locations.datasets.conversations.sample + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsSample : GTLRContactcenterinsightsQuery + +/** Required. The parent resource of the dataset. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * Samples conversations based on user configuration and handles the sampled + * conversations for different use cases. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsRequest + * to include in the query. + * @param parent Required. The parent resource of the dataset. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsSample + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Creates a dataset. + * + * Method: contactcenterinsights.projects.locations.datasets.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsCreate : GTLRContactcenterinsightsQuery + +/** Optional. The ID to use for the dataset. */ +@property(nonatomic, copy, nullable) NSString *datasetId; + +/** Required. The parent resource of the dataset. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset. + * + * Creates a dataset. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset to + * include in the query. + * @param parent Required. The parent resource of the dataset. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsCreate + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset *)object + parent:(NSString *)parent; + +@end + +/** + * Delete a dataset. + * + * Method: contactcenterinsights.projects.locations.datasets.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsDelete : GTLRContactcenterinsightsQuery + +/** Required. The name of the dataset to delete. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * Delete a dataset. + * + * @param name Required. The name of the dataset to delete. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets a dataset. + * + * Method: contactcenterinsights.projects.locations.datasets.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsGet : GTLRContactcenterinsightsQuery + +/** Required. The name of the dataset to get. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset. + * + * Gets a dataset. + * + * @param name Required. The name of the dataset to get. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Export insights data to a destination defined in the request body. * @@ -4098,6 +4274,60 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; @end +/** + * List datasets matching the input. + * + * Method: contactcenterinsights.projects.locations.datasets.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsList : GTLRContactcenterinsightsQuery + +/** + * Optional. A filter to reduce results to a specific subset. Useful for + * querying datasets with specific properties. Supported fields include, for Q2 + * though we only support list by project: - `type` - `description` - + * `project_number` + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The maximum number of datasets to return in the response. If this + * value is zero, the service will select a default size. A call might return + * fewer objects than requested. A non-empty `next_page_token` in the response + * indicates that more data is available. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. The value returned by the last `ListDatasetsResponse`; indicates + * that this is a continuation of a prior `ListDatasets` call and the system + * should return the next page of data. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent resource of the dataset. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListDatasetsResponse. + * + * List datasets matching the input. + * + * @param parent Required. The parent resource of the dataset. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + /** * List all feedback labels by project number. * @@ -4155,6 +4385,48 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; @end +/** + * Updates a dataset. + * + * Method: contactcenterinsights.projects.locations.datasets.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsPatch : GTLRContactcenterinsightsQuery + +/** + * Immutable. Identifier. Resource name of the dataset. Format: + * projects/{project}/locations/{location}/datasets/{dataset} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The list of fields to update. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset. + * + * Updates a dataset. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset to + * include in the query. + * @param name Immutable. Identifier. Resource name of the dataset. Format: + * projects/{project}/locations/{location}/datasets/{dataset} + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsPatch + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset *)object + name:(NSString *)name; + +@end + /** * Initializes a location-level encryption key specification. An error will * result if the location has resources already created before the @@ -5397,6 +5669,25 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; /** Required. The parent resource of the scorecards. */ @property(nonatomic, copy, nullable) NSString *parent; +/** + * Optional. The source of scorecards are based on how those Scorecards were + * created, e.g., a customer-defined scorecard, a predefined scorecard, etc. + * This field is used to retrieve Scorecards of one or more sources. + * + * Likely values: + * @arg @c kGTLRContactcenterinsightsQaScorecardSourcesQaScorecardSourceUnspecified + * The source of the scorecard is unspecified. Default to + * QA_SCORECARD_SOURCE_CUSTOMER_DEFINED. (Value: + * "QA_SCORECARD_SOURCE_UNSPECIFIED") + * @arg @c kGTLRContactcenterinsightsQaScorecardSourcesQaScorecardSourceCustomerDefined + * The scorecard is a custom scorecard created by the user. (Value: + * "QA_SCORECARD_SOURCE_CUSTOMER_DEFINED") + * @arg @c kGTLRContactcenterinsightsQaScorecardSourcesQaScorecardSourceDiscoveryEngine + * The scorecard is a scorecard created through discovery engine + * deployment. (Value: "QA_SCORECARD_SOURCE_DISCOVERY_ENGINE") + */ +@property(nonatomic, strong, nullable) NSArray *qaScorecardSources; + /** * Fetches a @c * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListQaScorecardsResponse. @@ -5629,6 +5920,26 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; */ @property(nonatomic, copy, nullable) NSString *parent; +/** + * Optional. The source of scorecards are based on how those Scorecards were + * created, e.g., a customer-defined scorecard, a predefined scorecard, etc. + * This field is used to retrieve Scorecards Revisions from Scorecards of one + * or more sources. + * + * Likely values: + * @arg @c kGTLRContactcenterinsightsQaScorecardSourcesQaScorecardSourceUnspecified + * The source of the scorecard is unspecified. Default to + * QA_SCORECARD_SOURCE_CUSTOMER_DEFINED. (Value: + * "QA_SCORECARD_SOURCE_UNSPECIFIED") + * @arg @c kGTLRContactcenterinsightsQaScorecardSourcesQaScorecardSourceCustomerDefined + * The scorecard is a custom scorecard created by the user. (Value: + * "QA_SCORECARD_SOURCE_CUSTOMER_DEFINED") + * @arg @c kGTLRContactcenterinsightsQaScorecardSourcesQaScorecardSourceDiscoveryEngine + * The scorecard is a scorecard created through discovery engine + * deployment. (Value: "QA_SCORECARD_SOURCE_DISCOVERY_ENGINE") + */ +@property(nonatomic, strong, nullable) NSArray *qaScorecardSources; + /** * Fetches a @c * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListQaScorecardRevisionsResponse. diff --git a/Sources/GeneratedServices/Container/GTLRContainerObjects.m b/Sources/GeneratedServices/Container/GTLRContainerObjects.m index 067c298be..d46a6f141 100644 --- a/Sources/GeneratedServices/Container/GTLRContainerObjects.m +++ b/Sources/GeneratedServices/Container/GTLRContainerObjects.m @@ -290,6 +290,12 @@ NSString * const kGTLRContainer_NetworkPolicy_Provider_Calico = @"CALICO"; NSString * const kGTLRContainer_NetworkPolicy_Provider_ProviderUnspecified = @"PROVIDER_UNSPECIFIED"; +// GTLRContainer_NetworkTierConfig.networkTier +NSString * const kGTLRContainer_NetworkTierConfig_NetworkTier_NetworkTierDefault = @"NETWORK_TIER_DEFAULT"; +NSString * const kGTLRContainer_NetworkTierConfig_NetworkTier_NetworkTierPremium = @"NETWORK_TIER_PREMIUM"; +NSString * const kGTLRContainer_NetworkTierConfig_NetworkTier_NetworkTierStandard = @"NETWORK_TIER_STANDARD"; +NSString * const kGTLRContainer_NetworkTierConfig_NetworkTier_NetworkTierUnspecified = @"NETWORK_TIER_UNSPECIFIED"; + // GTLRContainer_NodeAffinity.operatorProperty NSString * const kGTLRContainer_NodeAffinity_OperatorProperty_In = @"IN"; NSString * const kGTLRContainer_NodeAffinity_OperatorProperty_NotIn = @"NOT_IN"; @@ -1017,7 +1023,8 @@ @implementation GTLRContainer_ClusterUpdate desiredMasterAuthorizedNetworksConfig, desiredMasterVersion, desiredMeshCertificates, desiredMonitoringConfig, desiredMonitoringService, desiredNetworkPerformanceConfig, - desiredNodeKubeletConfig, desiredNodePoolAutoConfigKubeletConfig, + desiredNetworkTierConfig, desiredNodeKubeletConfig, + desiredNodePoolAutoConfigKubeletConfig, desiredNodePoolAutoConfigLinuxNodeConfig, desiredNodePoolAutoConfigNetworkTags, desiredNodePoolAutoConfigResourceManagerTags, @@ -1663,10 +1670,11 @@ @implementation GTLRContainer_IPAllocationPolicy @dynamic additionalIpRangesConfigs, additionalPodRangesConfig, autoIpamConfig, clusterIpv4Cidr, clusterIpv4CidrBlock, clusterSecondaryRangeName, createSubnetwork, defaultPodIpv4RangeUtilization, ipv6AccessType, - nodeIpv4Cidr, nodeIpv4CidrBlock, podCidrOverprovisionConfig, - servicesIpv4Cidr, servicesIpv4CidrBlock, servicesIpv6CidrBlock, - servicesSecondaryRangeName, stackType, subnetIpv6CidrBlock, - subnetworkName, tpuIpv4CidrBlock, useIpAliases, useRoutes; + networkTierConfig, nodeIpv4Cidr, nodeIpv4CidrBlock, + podCidrOverprovisionConfig, servicesIpv4Cidr, servicesIpv4CidrBlock, + servicesIpv6CidrBlock, servicesSecondaryRangeName, stackType, + subnetIpv6CidrBlock, subnetworkName, tpuIpv4CidrBlock, useIpAliases, + useRoutes; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2115,6 +2123,16 @@ @implementation GTLRContainer_NetworkTags @end +// ---------------------------------------------------------------------------- +// +// GTLRContainer_NetworkTierConfig +// + +@implementation GTLRContainer_NetworkTierConfig +@dynamic networkTier; +@end + + // ---------------------------------------------------------------------------- // // GTLRContainer_NodeAffinity @@ -2289,8 +2307,8 @@ @implementation GTLRContainer_NodeManagement @implementation GTLRContainer_NodeNetworkConfig @dynamic additionalNodeNetworkConfigs, additionalPodNetworkConfigs, createPodRange, enablePrivateNodes, networkPerformanceConfig, - podCidrOverprovisionConfig, podIpv4CidrBlock, podIpv4RangeUtilization, - podRange, subnetwork; + networkTierConfig, podCidrOverprovisionConfig, podIpv4CidrBlock, + podIpv4RangeUtilization, podRange, subnetwork; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h index 2a132c7b0..76f0f9bf7 100644 --- a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h +++ b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h @@ -121,6 +121,7 @@ @class GTLRContainer_NetworkPolicy; @class GTLRContainer_NetworkPolicyConfig; @class GTLRContainer_NetworkTags; +@class GTLRContainer_NetworkTierConfig; @class GTLRContainer_NodeAffinity; @class GTLRContainer_NodeConfig; @class GTLRContainer_NodeConfig_Labels; @@ -1548,6 +1549,40 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_NetworkPolicy_Provider_Calico; */ FOUNDATION_EXTERN NSString * const kGTLRContainer_NetworkPolicy_Provider_ProviderUnspecified; +// ---------------------------------------------------------------------------- +// GTLRContainer_NetworkTierConfig.networkTier + +/** + * Default network tier. Use project-level configuration. User can specify this + * value, meaning they want to keep the same behaviour as before cluster level + * network tier configuration is introduced. This field ensures backward + * compatibility for the network tier of cluster resources, such as node pools + * and load balancers, for their external IP addresses. + * + * Value: "NETWORK_TIER_DEFAULT" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_NetworkTierConfig_NetworkTier_NetworkTierDefault; +/** + * Premium network tier. + * + * Value: "NETWORK_TIER_PREMIUM" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_NetworkTierConfig_NetworkTier_NetworkTierPremium; +/** + * Standard network tier. + * + * Value: "NETWORK_TIER_STANDARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_NetworkTierConfig_NetworkTier_NetworkTierStandard; +/** + * By default, use project-level configuration. When unspecified, the behavior + * defaults to NETWORK_TIER_DEFAULT. For cluster updates, this implies no + * action (no-op). + * + * Value: "NETWORK_TIER_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_NetworkTierConfig_NetworkTier_NetworkTierUnspecified; + // ---------------------------------------------------------------------------- // GTLRContainer_NodeAffinity.operatorProperty @@ -4479,6 +4514,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** The desired network performance config. */ @property(nonatomic, strong, nullable) GTLRContainer_ClusterNetworkPerformanceConfig *desiredNetworkPerformanceConfig; +/** The desired network tier configuration for the cluster. */ +@property(nonatomic, strong, nullable) GTLRContainer_NetworkTierConfig *desiredNetworkTierConfig; + /** The desired node kubelet config for the cluster. */ @property(nonatomic, strong, nullable) GTLRContainer_NodeKubeletConfig *desiredNodeKubeletConfig; @@ -5989,6 +6027,13 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, copy, nullable) NSString *ipv6AccessType; +/** + * Cluster-level network tier configuration is used to determine the default + * network tier for external IP addresses on cluster resources, such as node + * pools and load balancers. + */ +@property(nonatomic, strong, nullable) GTLRContainer_NetworkTierConfig *networkTierConfig; + /** This field is deprecated, use node_ipv4_cidr_block. */ @property(nonatomic, copy, nullable) NSString *nodeIpv4Cidr GTLR_DEPRECATED; @@ -7103,6 +7148,36 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo @end +/** + * NetworkTierConfig contains network tier information. + */ +@interface GTLRContainer_NetworkTierConfig : GTLRObject + +/** + * Network tier configuration. + * + * Likely values: + * @arg @c kGTLRContainer_NetworkTierConfig_NetworkTier_NetworkTierDefault + * Default network tier. Use project-level configuration. User can + * specify this value, meaning they want to keep the same behaviour as + * before cluster level network tier configuration is introduced. This + * field ensures backward compatibility for the network tier of cluster + * resources, such as node pools and load balancers, for their external + * IP addresses. (Value: "NETWORK_TIER_DEFAULT") + * @arg @c kGTLRContainer_NetworkTierConfig_NetworkTier_NetworkTierPremium + * Premium network tier. (Value: "NETWORK_TIER_PREMIUM") + * @arg @c kGTLRContainer_NetworkTierConfig_NetworkTier_NetworkTierStandard + * Standard network tier. (Value: "NETWORK_TIER_STANDARD") + * @arg @c kGTLRContainer_NetworkTierConfig_NetworkTier_NetworkTierUnspecified + * By default, use project-level configuration. When unspecified, the + * behavior defaults to NETWORK_TIER_DEFAULT. For cluster updates, this + * implies no action (no-op). (Value: "NETWORK_TIER_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *networkTier; + +@end + + /** * Specifies the NodeAffinity key, values, and affinity operator according to * [shared sole tenant node group @@ -7826,6 +7901,13 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** Network bandwidth tier configuration. */ @property(nonatomic, strong, nullable) GTLRContainer_NetworkPerformanceConfig *networkPerformanceConfig; +/** + * Output only. The network tier configuration for the node pool inherits from + * the cluster-level configuration and remains immutable throughout the node + * pool's lifecycle, including during upgrades. + */ +@property(nonatomic, strong, nullable) GTLRContainer_NetworkTierConfig *networkTierConfig; + /** * [PRIVATE FIELD] Pod CIDR size overprovisioning config for the nodepool. Pod * CIDR size per node depends on max_pods_per_node. By default, the value of diff --git a/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m b/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m index 3d6a75911..03b32fa9b 100644 --- a/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m +++ b/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m @@ -789,8 +789,8 @@ + (Class)classForAdditionalProperties { @implementation GTLRContainerAnalysis_BuildStep @dynamic allowExitCodes, allowFailure, args, automapSubstitutions, dir, - entrypoint, env, exitCode, identifier, name, pullTiming, results, - script, secretEnv, status, timeout, timing, volumes, waitFor; + entrypoint, env, exitCode, identifier, name, pullTiming, remoteConfig, + results, script, secretEnv, status, timeout, timing, volumes, waitFor; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -822,6 +822,16 @@ @implementation GTLRContainerAnalysis_Category @end +// ---------------------------------------------------------------------------- +// +// GTLRContainerAnalysis_CISAKnownExploitedVulnerabilities +// + +@implementation GTLRContainerAnalysis_CISAKnownExploitedVulnerabilities +@dynamic knownRansomwareCampaignUse; +@end + + // ---------------------------------------------------------------------------- // // GTLRContainerAnalysis_CisBenchmark @@ -1138,6 +1148,16 @@ @implementation GTLRContainerAnalysis_EnvelopeSignature @end +// ---------------------------------------------------------------------------- +// +// GTLRContainerAnalysis_ExploitPredictionScoringSystem +// + +@implementation GTLRContainerAnalysis_ExploitPredictionScoringSystem +@dynamic percentile, score; +@end + + // ---------------------------------------------------------------------------- // // GTLRContainerAnalysis_ExportSBOMRequest @@ -2686,6 +2706,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRContainerAnalysis_Risk +// + +@implementation GTLRContainerAnalysis_Risk +@dynamic cisaKev, epss; +@end + + // ---------------------------------------------------------------------------- // // GTLRContainerAnalysis_RunDetails @@ -3297,7 +3327,7 @@ @implementation GTLRContainerAnalysis_VulnerabilityNote @implementation GTLRContainerAnalysis_VulnerabilityOccurrence @dynamic cvssScore, cvssV2, cvssv3, cvssVersion, effectiveSeverity, extraDetails, fixAvailable, longDescription, packageIssue, relatedUrls, - severity, shortDescription, type, vexAssessment; + risk, severity, shortDescription, type, vexAssessment; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisObjects.h b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisObjects.h index 2c7f980cc..ada9c5f87 100644 --- a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisObjects.h +++ b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisObjects.h @@ -36,6 +36,7 @@ @class GTLRContainerAnalysis_BuildProvenance; @class GTLRContainerAnalysis_BuildProvenance_BuildOptions; @class GTLRContainerAnalysis_Category; +@class GTLRContainerAnalysis_CISAKnownExploitedVulnerabilities; @class GTLRContainerAnalysis_CisBenchmark; @class GTLRContainerAnalysis_CloudRepoSourceContext; @class GTLRContainerAnalysis_CloudStorageLocation; @@ -58,6 +59,7 @@ @class GTLRContainerAnalysis_DSSEHint; @class GTLRContainerAnalysis_Envelope; @class GTLRContainerAnalysis_EnvelopeSignature; +@class GTLRContainerAnalysis_ExploitPredictionScoringSystem; @class GTLRContainerAnalysis_Expr; @class GTLRContainerAnalysis_File; @class GTLRContainerAnalysis_File_Digest; @@ -164,6 +166,7 @@ @class GTLRContainerAnalysis_ResourceDescriptor; @class GTLRContainerAnalysis_ResourceDescriptor_Annotations; @class GTLRContainerAnalysis_ResourceDescriptor_Digest; +@class GTLRContainerAnalysis_Risk; @class GTLRContainerAnalysis_RunDetails; @class GTLRContainerAnalysis_SbomReferenceIntotoPayload; @class GTLRContainerAnalysis_SbomReferenceIntotoPredicate; @@ -2547,7 +2550,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc /** - * A step in the build pipeline. Next ID: 22 + * A step in the build pipeline. Next ID: 23 */ @interface GTLRContainerAnalysis_BuildStep : GTLRObject @@ -2649,6 +2652,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc */ @property(nonatomic, strong, nullable) GTLRContainerAnalysis_TimeSpan *pullTiming; +/** Remote configuration for the build step. */ +@property(nonatomic, copy, nullable) NSString *remoteConfig; + @property(nonatomic, strong, nullable) NSArray *results; /** @@ -2740,6 +2746,20 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc @end +/** + * GTLRContainerAnalysis_CISAKnownExploitedVulnerabilities + */ +@interface GTLRContainerAnalysis_CISAKnownExploitedVulnerabilities : GTLRObject + +/** + * Whether the vulnerability is known to have been leveraged as part of a + * ransomware campaign. + */ +@property(nonatomic, copy, nullable) NSString *knownRansomwareCampaignUse; + +@end + + /** * A compliance check that is a CIS benchmark. */ @@ -3718,6 +3738,30 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc @end +/** + * GTLRContainerAnalysis_ExploitPredictionScoringSystem + */ +@interface GTLRContainerAnalysis_ExploitPredictionScoringSystem : GTLRObject + +/** + * The percentile of the current score, the proportion of all scored + * vulnerabilities with the same or a lower EPSS score + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *percentile; + +/** + * The EPSS score representing the probability [0-1] of exploitation in the + * wild in the next 30 days + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +@end + + /** * The request to generate and export SBOM. Target must be specified for the * request. @@ -4217,7 +4261,10 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc */ @interface GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1ArtifactsNpmPackage : GTLRObject -/** Path to the package.json. e.g. workspace/path/to/package */ +/** + * Optional. Path to the package.json. e.g. workspace/path/to/package Only one + * of `archive` or `package_path` can be specified. + */ @property(nonatomic, copy, nullable) NSString *packagePath; /** @@ -6319,7 +6366,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc /** * Unordered list. Unreachable regions. Populated for requests from the global - * region when `return_partial_success` is set. Format: projects//locations/ + * region when `return_partial_success` is set. Format: + * `projects/[PROJECT_ID]/locations/[LOCATION]` */ @property(nonatomic, strong, nullable) NSArray *unreachable; @@ -6353,7 +6401,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc /** * Unordered list. Unreachable regions. Populated for requests from the global - * region when `return_partial_success` is set. Format: projects//locations/ + * region when `return_partial_success` is set. Format: + * `projects/[PROJECT_ID]/locations/[LOCATION]` */ @property(nonatomic, strong, nullable) NSArray *unreachable; @@ -7257,6 +7306,26 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc @end +/** + * GTLRContainerAnalysis_Risk + */ +@interface GTLRContainerAnalysis_Risk : GTLRObject + +/** + * CISA maintains the authoritative source of vulnerabilities that have been + * exploited in the wild. + */ +@property(nonatomic, strong, nullable) GTLRContainerAnalysis_CISAKnownExploitedVulnerabilities *cisaKev; + +/** + * The Exploit Prediction Scoring System (EPSS) estimates the likelihood + * (probability) that a software vulnerability will be exploited in the wild. + */ +@property(nonatomic, strong, nullable) GTLRContainerAnalysis_ExploitPredictionScoringSystem *epss; + +@end + + /** * GTLRContainerAnalysis_RunDetails */ @@ -8421,6 +8490,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc /** Output only. URLs related to this vulnerability. */ @property(nonatomic, strong, nullable) NSArray *relatedUrls; +/** Risk information about the vulnerability, such as CISA, EPSS, etc. */ +@property(nonatomic, strong, nullable) GTLRContainerAnalysis_Risk *risk; + /** * Output only. The note provider assigned severity of this vulnerability. * @@ -8467,7 +8539,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc /** * Unordered list. Unreachable regions. Populated for requests from the global - * region when `return_partial_success` is set. Format: projects//locations/ + * region when `return_partial_success` is set. Format: + * `projects/[PROJECT_ID]/locations/[LOCATION]` */ @property(nonatomic, strong, nullable) NSArray *unreachable; diff --git a/Sources/GeneratedServices/DLP/GTLRDLPObjects.m b/Sources/GeneratedServices/DLP/GTLRDLPObjects.m index 2fbac51a3..469a1aa8b 100644 --- a/Sources/GeneratedServices/DLP/GTLRDLPObjects.m +++ b/Sources/GeneratedServices/DLP/GTLRDLPObjects.m @@ -493,6 +493,11 @@ NSString * const kGTLRDLP_GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_VeryLikely = @"VERY_LIKELY"; NSString * const kGTLRDLP_GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_VeryUnlikely = @"VERY_UNLIKELY"; +// GTLRDLP_GooglePrivacyDlpV2LocationSupport.regionalizationScope +NSString * const kGTLRDLP_GooglePrivacyDlpV2LocationSupport_RegionalizationScope_AnyLocation = @"ANY_LOCATION"; +NSString * const kGTLRDLP_GooglePrivacyDlpV2LocationSupport_RegionalizationScope_Regional = @"REGIONAL"; +NSString * const kGTLRDLP_GooglePrivacyDlpV2LocationSupport_RegionalizationScope_RegionalizationScopeUnspecified = @"REGIONALIZATION_SCOPE_UNSPECIFIED"; + // GTLRDLP_GooglePrivacyDlpV2MetadataLocation.type NSString * const kGTLRDLP_GooglePrivacyDlpV2MetadataLocation_Type_MetadatatypeUnspecified = @"METADATATYPE_UNSPECIFIED"; NSString * const kGTLRDLP_GooglePrivacyDlpV2MetadataLocation_Type_StorageMetadata = @"STORAGE_METADATA"; @@ -2719,8 +2724,8 @@ @implementation GTLRDLP_GooglePrivacyDlpV2InfoTypeCategory // @implementation GTLRDLP_GooglePrivacyDlpV2InfoTypeDescription -@dynamic categories, descriptionProperty, displayName, example, name, - sensitivityScore, specificInfoTypes, supportedBy, versions; +@dynamic categories, descriptionProperty, displayName, example, locationSupport, + name, sensitivityScore, specificInfoTypes, supportedBy, versions; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -3558,6 +3563,24 @@ @implementation GTLRDLP_GooglePrivacyDlpV2Location @end +// ---------------------------------------------------------------------------- +// +// GTLRDLP_GooglePrivacyDlpV2LocationSupport +// + +@implementation GTLRDLP_GooglePrivacyDlpV2LocationSupport +@dynamic locations, regionalizationScope; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"locations" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDLP_GooglePrivacyDlpV2Manual diff --git a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h index 9c656a74a..14e222733 100644 --- a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h +++ b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h @@ -202,6 +202,7 @@ @class GTLRDLP_GooglePrivacyDlpV2LeaveUntransformed; @class GTLRDLP_GooglePrivacyDlpV2LikelihoodAdjustment; @class GTLRDLP_GooglePrivacyDlpV2Location; +@class GTLRDLP_GooglePrivacyDlpV2LocationSupport; @class GTLRDLP_GooglePrivacyDlpV2Manual; @class GTLRDLP_GooglePrivacyDlpV2MetadataLocation; @class GTLRDLP_GooglePrivacyDlpV2MultiRegionProcessing; @@ -2825,6 +2826,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2LikelihoodAdjustme */ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_VeryUnlikely; +// ---------------------------------------------------------------------------- +// GTLRDLP_GooglePrivacyDlpV2LocationSupport.regionalizationScope + +/** + * Feature may be used anywhere. Default value. + * + * Value: "ANY_LOCATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2LocationSupport_RegionalizationScope_AnyLocation; +/** + * Feature may be used with one or more regions. See locations for details. + * + * Value: "REGIONAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2LocationSupport_RegionalizationScope_Regional; +/** + * Invalid. + * + * Value: "REGIONALIZATION_SCOPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2LocationSupport_RegionalizationScope_RegionalizationScopeUnspecified; + // ---------------------------------------------------------------------------- // GTLRDLP_GooglePrivacyDlpV2MetadataLocation.type @@ -5565,8 +5588,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2PublishToChronicle *publishToChronicle; /** - * Publishes a portion of each profile to Dataplex Catalog with the aspect type - * Sensitive Data Protection Profile. + * Publishes a portion of each profile to Dataplex Universal Catalog with the + * aspect type Sensitive Data Protection Profile. */ @property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2PublishToDataplexCatalog *publishToDataplexCatalog; @@ -8712,6 +8735,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** A sample that is a true positive for this infoType. */ @property(nonatomic, copy, nullable) NSString *example; +/** Locations at which this feature can be used. May change over time. */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2LocationSupport *locationSupport; + /** Internal name of the infoType. */ @property(nonatomic, copy, nullable) NSString *name; @@ -10037,6 +10063,34 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @end +/** + * Locations at which a feature can be used. + */ +@interface GTLRDLP_GooglePrivacyDlpV2LocationSupport : GTLRObject + +/** + * Specific locations where the feature may be used. Examples: us-central1, us, + * asia, global If scope is ANY_LOCATION, no regions will be listed. + */ +@property(nonatomic, strong, nullable) NSArray *locations; + +/** + * The current scope for location on this feature. This may expand over time. + * + * Likely values: + * @arg @c kGTLRDLP_GooglePrivacyDlpV2LocationSupport_RegionalizationScope_AnyLocation + * Feature may be used anywhere. Default value. (Value: "ANY_LOCATION") + * @arg @c kGTLRDLP_GooglePrivacyDlpV2LocationSupport_RegionalizationScope_Regional + * Feature may be used with one or more regions. See locations for + * details. (Value: "REGIONAL") + * @arg @c kGTLRDLP_GooglePrivacyDlpV2LocationSupport_RegionalizationScope_RegionalizationScopeUnspecified + * Invalid. (Value: "REGIONALIZATION_SCOPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *regionalizationScope; + +@end + + /** * Job trigger option for hybrid jobs. Jobs must be manually created and * finished. @@ -10600,16 +10654,16 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** - * Create Dataplex Catalog aspects for profiled resources with the aspect type - * Sensitive Data Protection Profile. To learn more about aspects, see - * https://cloud.google.com/sensitive-data-protection/docs/add-aspects. + * Create Dataplex Universal Catalog aspects for profiled resources with the + * aspect type Sensitive Data Protection Profile. To learn more about aspects, + * see https://cloud.google.com/sensitive-data-protection/docs/add-aspects. */ @interface GTLRDLP_GooglePrivacyDlpV2PublishToDataplexCatalog : GTLRObject /** - * Whether creating a Dataplex Catalog aspect for a profiled resource should - * lower the risk of the profile for that resource. This also lowers the data - * risk of resources at the lower levels of the resource hierarchy. For + * Whether creating a Dataplex Universal Catalog aspect for a profiled resource + * should lower the risk of the profile for that resource. This also lowers the + * data risk of resources at the lower levels of the resource hierarchy. For * example, reducing the data risk of a table data profile also reduces the * data risk of the constituent column data profiles. * @@ -11994,8 +12048,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** * The namespaced name for the tag value to attach to Google Cloud resources. * Must be in the format `{parent_id}/{tag_key_short_name}/{short_name}`, for - * example, "123456/environment/prod". This is only set for Google Cloud - * resources. + * example, "123456/environment/prod" for an organization parent, or + * "my-project/environment/prod" for a project parent. This is only set for + * Google Cloud resources. */ @property(nonatomic, copy, nullable) NSString *namespacedTagValue; @@ -12107,7 +12162,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** * The namespaced name for the tag value to attach to resources. Must be in the * format `{parent_id}/{tag_key_short_name}/{short_name}`, for example, - * "123456/environment/prod". + * "123456/environment/prod" for an organization parent, or + * "my-project/environment/prod" for a project parent. */ @property(nonatomic, copy, nullable) NSString *namespacedValue; diff --git a/Sources/GeneratedServices/DataFusion/GTLRDataFusionObjects.m b/Sources/GeneratedServices/DataFusion/GTLRDataFusionObjects.m index ba78e2358..fea8fc58c 100644 --- a/Sources/GeneratedServices/DataFusion/GTLRDataFusionObjects.m +++ b/Sources/GeneratedServices/DataFusion/GTLRDataFusionObjects.m @@ -41,6 +41,7 @@ // GTLRDataFusion_Instance.disabledReason NSString * const kGTLRDataFusion_Instance_DisabledReason_DisabledReasonUnspecified = @"DISABLED_REASON_UNSPECIFIED"; NSString * const kGTLRDataFusion_Instance_DisabledReason_KmsKeyIssue = @"KMS_KEY_ISSUE"; +NSString * const kGTLRDataFusion_Instance_DisabledReason_ProjectStateOff = @"PROJECT_STATE_OFF"; // GTLRDataFusion_Instance.state NSString * const kGTLRDataFusion_Instance_State_Active = @"ACTIVE"; @@ -49,6 +50,7 @@ NSString * const kGTLRDataFusion_Instance_State_Creating = @"CREATING"; NSString * const kGTLRDataFusion_Instance_State_Deleting = @"DELETING"; NSString * const kGTLRDataFusion_Instance_State_Disabled = @"DISABLED"; +NSString * const kGTLRDataFusion_Instance_State_Enabling = @"ENABLING"; NSString * const kGTLRDataFusion_Instance_State_Failed = @"FAILED"; NSString * const kGTLRDataFusion_Instance_State_Restarting = @"RESTARTING"; NSString * const kGTLRDataFusion_Instance_State_StateUnspecified = @"STATE_UNSPECIFIED"; diff --git a/Sources/GeneratedServices/DataFusion/Public/GoogleAPIClientForREST/GTLRDataFusionObjects.h b/Sources/GeneratedServices/DataFusion/Public/GoogleAPIClientForREST/GTLRDataFusionObjects.h index 443ab9c0d..47d850552 100644 --- a/Sources/GeneratedServices/DataFusion/Public/GoogleAPIClientForREST/GTLRDataFusionObjects.h +++ b/Sources/GeneratedServices/DataFusion/Public/GoogleAPIClientForREST/GTLRDataFusionObjects.h @@ -169,6 +169,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Instance_DisabledReason_Disab * Value: "KMS_KEY_ISSUE" */ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Instance_DisabledReason_KmsKeyIssue; +/** + * The consumer project is in a non-ACTIVE state. + * + * Value: "PROJECT_STATE_OFF" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Instance_DisabledReason_ProjectStateOff; // ---------------------------------------------------------------------------- // GTLRDataFusion_Instance.state @@ -210,6 +216,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Instance_State_Deleting; * Value: "DISABLED" */ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Instance_State_Disabled; +/** + * Instance is being enabled. + * + * Value: "ENABLING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Instance_State_Enabling; /** * Instance creation failed * @@ -873,6 +885,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; * (Value: "DELETING") * @arg @c kGTLRDataFusion_Instance_State_Disabled Instance is disabled * (Value: "DISABLED") + * @arg @c kGTLRDataFusion_Instance_State_Enabling Instance is being enabled. + * (Value: "ENABLING") * @arg @c kGTLRDataFusion_Instance_State_Failed Instance creation failed * (Value: "FAILED") * @arg @c kGTLRDataFusion_Instance_State_Restarting Instance is being diff --git a/Sources/GeneratedServices/DataFusion/Public/GoogleAPIClientForREST/GTLRDataFusionQuery.h b/Sources/GeneratedServices/DataFusion/Public/GoogleAPIClientForREST/GTLRDataFusionQuery.h index 073b384a2..697f8db54 100644 --- a/Sources/GeneratedServices/DataFusion/Public/GoogleAPIClientForREST/GTLRDataFusionQuery.h +++ b/Sources/GeneratedServices/DataFusion/Public/GoogleAPIClientForREST/GTLRDataFusionQuery.h @@ -560,8 +560,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRDataFusionQuery_ProjectsLocationsList : GTLRDataFusionQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m b/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m index fdcf96858..e6ee8f5d5 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m +++ b/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m @@ -1294,6 +1294,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRDatabaseMigrationService_HeterogeneousMetadata +// + +@implementation GTLRDatabaseMigrationService_HeterogeneousMetadata +@dynamic unsupportedEventsCount; +@end + + // ---------------------------------------------------------------------------- // // GTLRDatabaseMigrationService_ImportMappingRulesRequest @@ -1751,7 +1761,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDatabaseMigrationService_MigrationJobObject -@dynamic createTime, error, name, phase, sourceObject, state, updateTime; +@dynamic createTime, error, heterogeneousMetadata, name, phase, sourceObject, + state, updateTime; @end @@ -2459,9 +2470,20 @@ @implementation GTLRDatabaseMigrationService_SqlServerBackups // @implementation GTLRDatabaseMigrationService_SqlServerConnectionProfile -@dynamic backups, cloudSqlId, database, forwardSshConnectivity, host, password, - passwordSet, port, privateConnectivity, - privateServiceConnectConnectivity, ssl, staticIpConnectivity, username; +@dynamic backups, cloudSqlId, cloudSqlProjectId, database, dbmPort, + forwardSshConnectivity, host, password, passwordSet, port, + privateConnectivity, privateServiceConnectConnectivity, ssl, + staticIpConnectivity, username; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDatabaseMigrationService_SqlServerDagConfig +// + +@implementation GTLRDatabaseMigrationService_SqlServerDagConfig +@dynamic linkedServer, sourceAg; @end @@ -2491,7 +2513,8 @@ @implementation GTLRDatabaseMigrationService_SqlServerEncryptionOptions // @implementation GTLRDatabaseMigrationService_SqlServerHomogeneousMigrationJobConfig -@dynamic backupFilePattern, databaseBackups, promoteWhenReady, useDiffBackup; +@dynamic backupFilePattern, dagConfig, databaseBackups, promoteWhenReady, + useDiffBackup; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h index cde58d399..762a3d6c5 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h +++ b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h @@ -65,6 +65,7 @@ @class GTLRDatabaseMigrationService_FunctionEntity; @class GTLRDatabaseMigrationService_FunctionEntity_CustomFeatures; @class GTLRDatabaseMigrationService_GoogleCloudClouddmsV1OperationMetadata_Metadata; +@class GTLRDatabaseMigrationService_HeterogeneousMetadata; @class GTLRDatabaseMigrationService_ImportRulesJobDetails; @class GTLRDatabaseMigrationService_IndexEntity; @class GTLRDatabaseMigrationService_IndexEntity_CustomFeatures; @@ -134,6 +135,7 @@ @class GTLRDatabaseMigrationService_SqlIpConfig; @class GTLRDatabaseMigrationService_SqlServerBackups; @class GTLRDatabaseMigrationService_SqlServerConnectionProfile; +@class GTLRDatabaseMigrationService_SqlServerDagConfig; @class GTLRDatabaseMigrationService_SqlServerDatabaseBackup; @class GTLRDatabaseMigrationService_SqlServerEncryptionOptions; @class GTLRDatabaseMigrationService_SqlServerHomogeneousMigrationJobConfig; @@ -4880,6 +4882,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter @end +/** + * Metadata for heterogeneous migration jobs objects. + */ +@interface GTLRDatabaseMigrationService_HeterogeneousMetadata : GTLRObject + +/** + * The number of unsupported events. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *unsupportedEventsCount; + +@end + + /** * Request message for 'ImportMappingRules' request. */ @@ -5891,6 +5908,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter /** Output only. The error details in case of failure. */ @property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_Status *error; +/** Output only. Metadata for heterogeneous migration jobs objects. */ +@property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_HeterogeneousMetadata *heterogeneousMetadata; + /** The object's name. */ @property(nonatomic, copy, nullable) NSString *name; @@ -7736,9 +7756,23 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter */ @property(nonatomic, copy, nullable) NSString *cloudSqlId; +/** + * Optional. The project id of the Cloud SQL instance. If not provided, the + * project id of the connection profile will be used. + */ +@property(nonatomic, copy, nullable) NSString *cloudSqlProjectId; + /** Required. The name of the specific database within the host. */ @property(nonatomic, copy, nullable) NSString *database; +/** + * Optional. The Database Mirroring (DBM) port of the source SQL Server + * instance. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *dbmPort; + /** Forward SSH tunnel connectivity. */ @property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_ForwardSshTunnelConnectivity *forwardSshConnectivity; @@ -7791,6 +7825,27 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter @end +/** + * Configuration for distributed availability group (DAG) for the SQL Server + * homogeneous migration. + */ +@interface GTLRDatabaseMigrationService_SqlServerDagConfig : GTLRObject + +/** + * Required. The name of the linked server that points to the source SQL Server + * instance. Only used by DAG migrations. + */ +@property(nonatomic, copy, nullable) NSString *linkedServer; + +/** + * Required. The name of the source availability group. Only used by DAG + * migrations. + */ +@property(nonatomic, copy, nullable) NSString *sourceAg; + +@end + + /** * Specifies the backup details for a single database in Cloud Storage for * homogeneous migration to Cloud SQL for SQL Server. @@ -7857,6 +7912,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter */ @property(nonatomic, copy, nullable) NSString *backupFilePattern; +/** + * Optional. Configuration for distributed availability group (DAG) for the SQL + * Server homogeneous migration. + */ +@property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_SqlServerDagConfig *dagConfig; + /** Required. Backup details per database in Cloud Storage. */ @property(nonatomic, strong, nullable) NSArray *databaseBackups; diff --git a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceQuery.h b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceQuery.h index 418baabed..912e4b240 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceQuery.h +++ b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceQuery.h @@ -1499,8 +1499,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationServiceViewDatabaseEnti @interface GTLRDatabaseMigrationServiceQuery_ProjectsLocationsList : GTLRDatabaseMigrationServiceQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/Dataflow/GTLRDataflowObjects.m b/Sources/GeneratedServices/Dataflow/GTLRDataflowObjects.m index 276135420..95afe29e6 100644 --- a/Sources/GeneratedServices/Dataflow/GTLRDataflowObjects.m +++ b/Sources/GeneratedServices/Dataflow/GTLRDataflowObjects.m @@ -90,6 +90,8 @@ NSString * const kGTLRDataflow_ExecutionStageState_ExecutionStageState_JobStateDrained = @"JOB_STATE_DRAINED"; NSString * const kGTLRDataflow_ExecutionStageState_ExecutionStageState_JobStateDraining = @"JOB_STATE_DRAINING"; NSString * const kGTLRDataflow_ExecutionStageState_ExecutionStageState_JobStateFailed = @"JOB_STATE_FAILED"; +NSString * const kGTLRDataflow_ExecutionStageState_ExecutionStageState_JobStatePaused = @"JOB_STATE_PAUSED"; +NSString * const kGTLRDataflow_ExecutionStageState_ExecutionStageState_JobStatePausing = @"JOB_STATE_PAUSING"; NSString * const kGTLRDataflow_ExecutionStageState_ExecutionStageState_JobStatePending = @"JOB_STATE_PENDING"; NSString * const kGTLRDataflow_ExecutionStageState_ExecutionStageState_JobStateQueued = @"JOB_STATE_QUEUED"; NSString * const kGTLRDataflow_ExecutionStageState_ExecutionStageState_JobStateResourceCleaningUp = @"JOB_STATE_RESOURCE_CLEANING_UP"; @@ -141,6 +143,8 @@ NSString * const kGTLRDataflow_Job_CurrentState_JobStateDrained = @"JOB_STATE_DRAINED"; NSString * const kGTLRDataflow_Job_CurrentState_JobStateDraining = @"JOB_STATE_DRAINING"; NSString * const kGTLRDataflow_Job_CurrentState_JobStateFailed = @"JOB_STATE_FAILED"; +NSString * const kGTLRDataflow_Job_CurrentState_JobStatePaused = @"JOB_STATE_PAUSED"; +NSString * const kGTLRDataflow_Job_CurrentState_JobStatePausing = @"JOB_STATE_PAUSING"; NSString * const kGTLRDataflow_Job_CurrentState_JobStatePending = @"JOB_STATE_PENDING"; NSString * const kGTLRDataflow_Job_CurrentState_JobStateQueued = @"JOB_STATE_QUEUED"; NSString * const kGTLRDataflow_Job_CurrentState_JobStateResourceCleaningUp = @"JOB_STATE_RESOURCE_CLEANING_UP"; @@ -156,6 +160,8 @@ NSString * const kGTLRDataflow_Job_RequestedState_JobStateDrained = @"JOB_STATE_DRAINED"; NSString * const kGTLRDataflow_Job_RequestedState_JobStateDraining = @"JOB_STATE_DRAINING"; NSString * const kGTLRDataflow_Job_RequestedState_JobStateFailed = @"JOB_STATE_FAILED"; +NSString * const kGTLRDataflow_Job_RequestedState_JobStatePaused = @"JOB_STATE_PAUSED"; +NSString * const kGTLRDataflow_Job_RequestedState_JobStatePausing = @"JOB_STATE_PAUSING"; NSString * const kGTLRDataflow_Job_RequestedState_JobStatePending = @"JOB_STATE_PENDING"; NSString * const kGTLRDataflow_Job_RequestedState_JobStateQueued = @"JOB_STATE_QUEUED"; NSString * const kGTLRDataflow_Job_RequestedState_JobStateResourceCleaningUp = @"JOB_STATE_RESOURCE_CLEANING_UP"; diff --git a/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowObjects.h b/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowObjects.h index 9ce075eee..36d97e888 100644 --- a/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowObjects.h +++ b/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowObjects.h @@ -648,6 +648,18 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_ExecutionStageState_ExecutionSt * Value: "JOB_STATE_FAILED" */ FOUNDATION_EXTERN NSString * const kGTLRDataflow_ExecutionStageState_ExecutionStageState_JobStateFailed; +/** + * `JOB_STATE_PAUSED` is not implemented yet. + * + * Value: "JOB_STATE_PAUSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataflow_ExecutionStageState_ExecutionStageState_JobStatePaused; +/** + * `JOB_STATE_PAUSING` is not implemented yet. + * + * Value: "JOB_STATE_PAUSING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataflow_ExecutionStageState_ExecutionStageState_JobStatePausing; /** * `JOB_STATE_PENDING` indicates that the job has been created but is not yet * running. Jobs that are pending may only transition to `JOB_STATE_RUNNING`, @@ -930,6 +942,18 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_Job_CurrentState_JobStateDraini * Value: "JOB_STATE_FAILED" */ FOUNDATION_EXTERN NSString * const kGTLRDataflow_Job_CurrentState_JobStateFailed; +/** + * `JOB_STATE_PAUSED` is not implemented yet. + * + * Value: "JOB_STATE_PAUSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataflow_Job_CurrentState_JobStatePaused; +/** + * `JOB_STATE_PAUSING` is not implemented yet. + * + * Value: "JOB_STATE_PAUSING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataflow_Job_CurrentState_JobStatePausing; /** * `JOB_STATE_PENDING` indicates that the job has been created but is not yet * running. Jobs that are pending may only transition to `JOB_STATE_RUNNING`, @@ -1041,6 +1065,18 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_Job_RequestedState_JobStateDrai * Value: "JOB_STATE_FAILED" */ FOUNDATION_EXTERN NSString * const kGTLRDataflow_Job_RequestedState_JobStateFailed; +/** + * `JOB_STATE_PAUSED` is not implemented yet. + * + * Value: "JOB_STATE_PAUSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataflow_Job_RequestedState_JobStatePaused; +/** + * `JOB_STATE_PAUSING` is not implemented yet. + * + * Value: "JOB_STATE_PAUSING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataflow_Job_RequestedState_JobStatePausing; /** * `JOB_STATE_PENDING` indicates that the job has been created but is not yet * running. Jobs that are pending may only transition to `JOB_STATE_RUNNING`, @@ -3364,6 +3400,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_WorkItemDetails_State_Execution * terminal job state. This state may only be set by the Cloud Dataflow * service, and only as a transition from `JOB_STATE_RUNNING`. (Value: * "JOB_STATE_FAILED") + * @arg @c kGTLRDataflow_ExecutionStageState_ExecutionStageState_JobStatePaused + * `JOB_STATE_PAUSED` is not implemented yet. (Value: "JOB_STATE_PAUSED") + * @arg @c kGTLRDataflow_ExecutionStageState_ExecutionStageState_JobStatePausing + * `JOB_STATE_PAUSING` is not implemented yet. (Value: + * "JOB_STATE_PAUSING") * @arg @c kGTLRDataflow_ExecutionStageState_ExecutionStageState_JobStatePending * `JOB_STATE_PENDING` indicates that the job has been created but is not * yet running. Jobs that are pending may only transition to @@ -4248,6 +4289,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_WorkItemDetails_State_Execution * indicates that the job has failed. This is a terminal job state. This * state may only be set by the Cloud Dataflow service, and only as a * transition from `JOB_STATE_RUNNING`. (Value: "JOB_STATE_FAILED") + * @arg @c kGTLRDataflow_Job_CurrentState_JobStatePaused `JOB_STATE_PAUSED` + * is not implemented yet. (Value: "JOB_STATE_PAUSED") + * @arg @c kGTLRDataflow_Job_CurrentState_JobStatePausing `JOB_STATE_PAUSING` + * is not implemented yet. (Value: "JOB_STATE_PAUSING") * @arg @c kGTLRDataflow_Job_CurrentState_JobStatePending `JOB_STATE_PENDING` * indicates that the job has been created but is not yet running. Jobs * that are pending may only transition to `JOB_STATE_RUNNING`, or @@ -4400,6 +4445,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_WorkItemDetails_State_Execution * indicates that the job has failed. This is a terminal job state. This * state may only be set by the Cloud Dataflow service, and only as a * transition from `JOB_STATE_RUNNING`. (Value: "JOB_STATE_FAILED") + * @arg @c kGTLRDataflow_Job_RequestedState_JobStatePaused `JOB_STATE_PAUSED` + * is not implemented yet. (Value: "JOB_STATE_PAUSED") + * @arg @c kGTLRDataflow_Job_RequestedState_JobStatePausing + * `JOB_STATE_PAUSING` is not implemented yet. (Value: + * "JOB_STATE_PAUSING") * @arg @c kGTLRDataflow_Job_RequestedState_JobStatePending * `JOB_STATE_PENDING` indicates that the job has been created but is not * yet running. Jobs that are pending may only transition to diff --git a/Sources/GeneratedServices/Dataform/GTLRDataformObjects.m b/Sources/GeneratedServices/Dataform/GTLRDataformObjects.m index d8d02bcaf..6f00f46cd 100644 --- a/Sources/GeneratedServices/Dataform/GTLRDataformObjects.m +++ b/Sources/GeneratedServices/Dataform/GTLRDataformObjects.m @@ -154,6 +154,15 @@ @implementation GTLRDataform_Binding @end +// ---------------------------------------------------------------------------- +// +// GTLRDataform_CancelOperationRequest +// + +@implementation GTLRDataform_CancelOperationRequest +@end + + // ---------------------------------------------------------------------------- // // GTLRDataform_CancelWorkflowInvocationRequest @@ -730,6 +739,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRDataform_ListOperationsResponse +// + +@implementation GTLRDataform_ListOperationsResponse +@dynamic nextPageToken, operations; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"operations" : [GTLRDataform_Operation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"operations"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDataform_ListReleaseConfigsResponse @@ -989,6 +1020,44 @@ @implementation GTLRDataform_NotebookRuntimeOptions @end +// ---------------------------------------------------------------------------- +// +// GTLRDataform_Operation +// + +@implementation GTLRDataform_Operation +@dynamic done, error, metadata, name, response; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDataform_Operation_Metadata +// + +@implementation GTLRDataform_Operation_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDataform_Operation_Response +// + +@implementation GTLRDataform_Operation_Response + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDataform_OperationMetadata diff --git a/Sources/GeneratedServices/Dataform/GTLRDataformQuery.m b/Sources/GeneratedServices/Dataform/GTLRDataformQuery.m index 461cc17ac..fe1fd5233 100644 --- a/Sources/GeneratedServices/Dataform/GTLRDataformQuery.m +++ b/Sources/GeneratedServices/Dataform/GTLRDataformQuery.m @@ -17,6 +17,83 @@ @implementation GTLRDataformQuery @end +@implementation GTLRDataformQuery_ProjectsLocationsFoldersGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1beta1/{+resource}:getIamPolicy"; + GTLRDataformQuery_ProjectsLocationsFoldersGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLRDataform_Policy class]; + query.loggingName = @"dataform.projects.locations.folders.getIamPolicy"; + return query; +} + +@end + +@implementation GTLRDataformQuery_ProjectsLocationsFoldersSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRDataform_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 = @"v1beta1/{+resource}:setIamPolicy"; + GTLRDataformQuery_ProjectsLocationsFoldersSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRDataform_Policy class]; + query.loggingName = @"dataform.projects.locations.folders.setIamPolicy"; + return query; +} + +@end + +@implementation GTLRDataformQuery_ProjectsLocationsFoldersTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRDataform_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 = @"v1beta1/{+resource}:testIamPermissions"; + GTLRDataformQuery_ProjectsLocationsFoldersTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRDataform_TestIamPermissionsResponse class]; + query.loggingName = @"dataform.projects.locations.folders.testIamPermissions"; + return query; +} + +@end + @implementation GTLRDataformQuery_ProjectsLocationsGet @dynamic name; @@ -81,6 +158,90 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRDataformQuery_ProjectsLocationsOperationsCancel + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRDataform_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 = @"v1beta1/{+name}:cancel"; + GTLRDataformQuery_ProjectsLocationsOperationsCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDataform_Empty class]; + query.loggingName = @"dataform.projects.locations.operations.cancel"; + return query; +} + +@end + +@implementation GTLRDataformQuery_ProjectsLocationsOperationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta1/{+name}"; + GTLRDataformQuery_ProjectsLocationsOperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDataform_Empty class]; + query.loggingName = @"dataform.projects.locations.operations.delete"; + return query; +} + +@end + +@implementation GTLRDataformQuery_ProjectsLocationsOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta1/{+name}"; + GTLRDataformQuery_ProjectsLocationsOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDataform_Operation class]; + query.loggingName = @"dataform.projects.locations.operations.get"; + return query; +} + +@end + +@implementation GTLRDataformQuery_ProjectsLocationsOperationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta1/{+name}/operations"; + GTLRDataformQuery_ProjectsLocationsOperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDataform_ListOperationsResponse class]; + query.loggingName = @"dataform.projects.locations.operations.list"; + return query; +} + +@end + @implementation GTLRDataformQuery_ProjectsLocationsRepositoriesCommit @dynamic name; @@ -1399,6 +1560,83 @@ + (instancetype)queryWithObject:(GTLRDataform_WriteFileRequest *)object @end +@implementation GTLRDataformQuery_ProjectsLocationsTeamFoldersGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1beta1/{+resource}:getIamPolicy"; + GTLRDataformQuery_ProjectsLocationsTeamFoldersGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLRDataform_Policy class]; + query.loggingName = @"dataform.projects.locations.teamFolders.getIamPolicy"; + return query; +} + +@end + +@implementation GTLRDataformQuery_ProjectsLocationsTeamFoldersSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRDataform_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 = @"v1beta1/{+resource}:setIamPolicy"; + GTLRDataformQuery_ProjectsLocationsTeamFoldersSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRDataform_Policy class]; + query.loggingName = @"dataform.projects.locations.teamFolders.setIamPolicy"; + return query; +} + +@end + +@implementation GTLRDataformQuery_ProjectsLocationsTeamFoldersTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRDataform_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 = @"v1beta1/{+resource}:testIamPermissions"; + GTLRDataformQuery_ProjectsLocationsTeamFoldersTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRDataform_TestIamPermissionsResponse class]; + query.loggingName = @"dataform.projects.locations.teamFolders.testIamPermissions"; + return query; +} + +@end + @implementation GTLRDataformQuery_ProjectsLocationsUpdateConfig @dynamic name, updateMask; diff --git a/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformObjects.h b/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformObjects.h index a0db8a3e6..38765e355 100644 --- a/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformObjects.h +++ b/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformObjects.h @@ -56,6 +56,9 @@ @class GTLRDataform_Notebook; @class GTLRDataform_NotebookAction; @class GTLRDataform_NotebookRuntimeOptions; +@class GTLRDataform_Operation; +@class GTLRDataform_Operation_Metadata; +@class GTLRDataform_Operation_Response; @class GTLRDataform_Operations; @class GTLRDataform_Policy; @class GTLRDataform_PolicyName; @@ -531,6 +534,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDataform_WorkflowInvocationAction_State_ @end +/** + * The request message for Operations.CancelOperation. + */ +@interface GTLRDataform_CancelOperationRequest : GTLRObject +@end + + /** * `CancelWorkflowInvocation` request message. */ @@ -1504,6 +1514,30 @@ FOUNDATION_EXTERN NSString * const kGTLRDataform_WorkflowInvocationAction_State_ @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 GTLRDataform_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 + + /** * `ListReleaseConfigs` response message. * @@ -1880,6 +1914,86 @@ FOUNDATION_EXTERN NSString * const kGTLRDataform_WorkflowInvocationAction_State_ @end +/** + * This resource represents a long-running operation that is the result of a + * network API call. + */ +@interface GTLRDataform_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) GTLRDataform_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) GTLRDataform_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) GTLRDataform_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 GTLRDataform_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 GTLRDataform_Operation_Response : GTLRObject +@end + + /** * Represents the metadata of the long-running operation. */ diff --git a/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformQuery.h b/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformQuery.h index d2147320e..549f3e950 100644 --- a/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformQuery.h +++ b/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformQuery.h @@ -34,6 +34,142 @@ 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: dataform.projects.locations.folders.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeDataformBigquery + * @c kGTLRAuthScopeDataformCloudPlatform + */ +@interface GTLRDataformQuery_ProjectsLocationsFoldersGetIamPolicy : GTLRDataformQuery + +/** + * 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 GTLRDataform_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 GTLRDataformQuery_ProjectsLocationsFoldersGetIamPolicy + */ ++ (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: dataform.projects.locations.folders.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeDataformBigquery + * @c kGTLRAuthScopeDataformCloudPlatform + */ +@interface GTLRDataformQuery_ProjectsLocationsFoldersSetIamPolicy : GTLRDataformQuery + +/** + * 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 GTLRDataform_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 GTLRDataform_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 GTLRDataformQuery_ProjectsLocationsFoldersSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRDataform_SetIamPolicyRequest *)object + resource:(NSString *)resource; + +@end + +/** + * Returns permissions that a caller has on the specified resource. If the + * resource does not exist, this will return an empty set of permissions, not a + * `NOT_FOUND` error. Note: This operation is designed to be used for building + * permission-aware UIs and command-line tools, not for authorization checking. + * This operation may "fail open" without warning. + * + * Method: dataform.projects.locations.folders.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeDataformBigquery + * @c kGTLRAuthScopeDataformCloudPlatform + */ +@interface GTLRDataformQuery_ProjectsLocationsFoldersTestIamPermissions : GTLRDataformQuery + +/** + * 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 GTLRDataform_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 GTLRDataform_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 GTLRDataformQuery_ProjectsLocationsFoldersTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRDataform_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + /** * Gets information about a location. * @@ -100,8 +236,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRDataformQuery_ProjectsLocationsList : GTLRDataformQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Unless explicitly documented otherwise, don't use this unsupported + * field which is primarily intended for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; @@ -144,6 +280,158 @@ 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: dataform.projects.locations.operations.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopeDataformBigquery + * @c kGTLRAuthScopeDataformCloudPlatform + */ +@interface GTLRDataformQuery_ProjectsLocationsOperationsCancel : GTLRDataformQuery + +/** The name of the operation resource to be cancelled. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDataform_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 GTLRDataform_CancelOperationRequest to include in the + * query. + * @param name The name of the operation resource to be cancelled. + * + * @return GTLRDataformQuery_ProjectsLocationsOperationsCancel + */ ++ (instancetype)queryWithObject:(GTLRDataform_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: dataform.projects.locations.operations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeDataformBigquery + * @c kGTLRAuthScopeDataformCloudPlatform + */ +@interface GTLRDataformQuery_ProjectsLocationsOperationsDelete : GTLRDataformQuery + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDataform_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 GTLRDataformQuery_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: dataform.projects.locations.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDataformBigquery + * @c kGTLRAuthScopeDataformCloudPlatform + */ +@interface GTLRDataformQuery_ProjectsLocationsOperationsGet : GTLRDataformQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDataform_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 GTLRDataformQuery_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: dataform.projects.locations.operations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeDataformBigquery + * @c kGTLRAuthScopeDataformCloudPlatform + */ +@interface GTLRDataformQuery_ProjectsLocationsOperationsList : GTLRDataformQuery + +/** 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 GTLRDataform_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 GTLRDataformQuery_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 + /** * Applies a Git commit to a Repository. The Repository must not have a value * for `git_remote_settings.url`. @@ -2355,6 +2643,142 @@ 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: dataform.projects.locations.teamFolders.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeDataformBigquery + * @c kGTLRAuthScopeDataformCloudPlatform + */ +@interface GTLRDataformQuery_ProjectsLocationsTeamFoldersGetIamPolicy : GTLRDataformQuery + +/** + * 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 GTLRDataform_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 GTLRDataformQuery_ProjectsLocationsTeamFoldersGetIamPolicy + */ ++ (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: dataform.projects.locations.teamFolders.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeDataformBigquery + * @c kGTLRAuthScopeDataformCloudPlatform + */ +@interface GTLRDataformQuery_ProjectsLocationsTeamFoldersSetIamPolicy : GTLRDataformQuery + +/** + * 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 GTLRDataform_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 GTLRDataform_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 GTLRDataformQuery_ProjectsLocationsTeamFoldersSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRDataform_SetIamPolicyRequest *)object + resource:(NSString *)resource; + +@end + +/** + * Returns permissions that a caller has on the specified resource. If the + * resource does not exist, this will return an empty set of permissions, not a + * `NOT_FOUND` error. Note: This operation is designed to be used for building + * permission-aware UIs and command-line tools, not for authorization checking. + * This operation may "fail open" without warning. + * + * Method: dataform.projects.locations.teamFolders.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeDataformBigquery + * @c kGTLRAuthScopeDataformCloudPlatform + */ +@interface GTLRDataformQuery_ProjectsLocationsTeamFoldersTestIamPermissions : GTLRDataformQuery + +/** + * 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 GTLRDataform_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 GTLRDataform_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 GTLRDataformQuery_ProjectsLocationsTeamFoldersTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRDataform_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + /** * Update default config for a given project and location. **Note:** *This * method does not fully implement [AIP/134](https://google.aip.dev/134). The diff --git a/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m b/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m index fd0613d46..00955e1b4 100644 --- a/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m +++ b/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m @@ -655,6 +655,16 @@ @implementation GTLRDatastream_Merge @end +// ---------------------------------------------------------------------------- +// +// GTLRDatastream_MongodbChangeStreamPosition +// + +@implementation GTLRDatastream_MongodbChangeStreamPosition +@dynamic startTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRDatastream_MongodbCluster @@ -1473,8 +1483,8 @@ @implementation GTLRDatastream_SourceObjectIdentifier // @implementation GTLRDatastream_SpecificStartPosition -@dynamic mysqlGtidPosition, mysqlLogPosition, oracleScnPosition, - sqlServerLsnPosition; +@dynamic mongodbChangeStreamPosition, mysqlGtidPosition, mysqlLogPosition, + oracleScnPosition, sqlServerLsnPosition; @end diff --git a/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h b/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h index 0c5c395f2..ec13436c0 100644 --- a/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h +++ b/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h @@ -45,6 +45,7 @@ @class GTLRDatastream_LogFileDirectories; @class GTLRDatastream_LogMiner; @class GTLRDatastream_Merge; +@class GTLRDatastream_MongodbChangeStreamPosition; @class GTLRDatastream_MongodbCluster; @class GTLRDatastream_MongodbCollection; @class GTLRDatastream_MongodbDatabase; @@ -1442,6 +1443,17 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni @end +/** + * MongoDB change stream position + */ +@interface GTLRDatastream_MongodbChangeStreamPosition : GTLRObject + +/** Required. The timestamp (in epoch seconds) to start change stream from. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +@end + + /** * MongoDB Cluster structure. */ @@ -3026,6 +3038,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni */ @interface GTLRDatastream_SpecificStartPosition : GTLRObject +/** MongoDB change stream position to start replicating from. */ +@property(nonatomic, strong, nullable) GTLRDatastream_MongodbChangeStreamPosition *mongodbChangeStreamPosition; + /** MySQL GTID set to start replicating from. */ @property(nonatomic, strong, nullable) GTLRDatastream_MysqlGtidPosition *mysqlGtidPosition; diff --git a/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamQuery.h b/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamQuery.h index b49afe301..cf78b50b7 100644 --- a/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamQuery.h +++ b/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamQuery.h @@ -390,8 +390,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRDatastreamQuery_ProjectsLocationsList : GTLRDatastreamQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/DeploymentManager/GTLRDeploymentManagerObjects.m b/Sources/GeneratedServices/DeploymentManager/GTLRDeploymentManagerObjects.m index a4dd60c96..bcd762483 100644 --- a/Sources/GeneratedServices/DeploymentManager/GTLRDeploymentManagerObjects.m +++ b/Sources/GeneratedServices/DeploymentManager/GTLRDeploymentManagerObjects.m @@ -932,7 +932,7 @@ @implementation GTLRDeploymentManager_ResourceUpdate_Error_Errors_Item_ErrorDeta // @implementation GTLRDeploymentManager_SetAutoscalerLinkOperationMetadata -@dynamic zonalIgmIds; +@dynamic zonalIgmIds, zoneToIgmIds; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -944,6 +944,20 @@ @implementation GTLRDeploymentManager_SetAutoscalerLinkOperationMetadata @end +// ---------------------------------------------------------------------------- +// +// GTLRDeploymentManager_SetAutoscalerLinkOperationMetadata_ZoneToIgmIds +// + +@implementation GTLRDeploymentManager_SetAutoscalerLinkOperationMetadata_ZoneToIgmIds + ++ (Class)classForAdditionalProperties { + return [NSNumber class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDeploymentManager_SetCommonInstanceMetadataOperationMetadata diff --git a/Sources/GeneratedServices/DeploymentManager/Public/GoogleAPIClientForREST/GTLRDeploymentManagerObjects.h b/Sources/GeneratedServices/DeploymentManager/Public/GoogleAPIClientForREST/GTLRDeploymentManagerObjects.h index 152fe90c7..aeec9681f 100644 --- a/Sources/GeneratedServices/DeploymentManager/Public/GoogleAPIClientForREST/GTLRDeploymentManagerObjects.h +++ b/Sources/GeneratedServices/DeploymentManager/Public/GoogleAPIClientForREST/GTLRDeploymentManagerObjects.h @@ -56,6 +56,7 @@ @class GTLRDeploymentManager_ResourceUpdate_Warnings_Item; @class GTLRDeploymentManager_ResourceUpdate_Warnings_Item_Data_Item; @class GTLRDeploymentManager_SetAutoscalerLinkOperationMetadata; +@class GTLRDeploymentManager_SetAutoscalerLinkOperationMetadata_ZoneToIgmIds; @class GTLRDeploymentManager_SetCommonInstanceMetadataOperationMetadata; @class GTLRDeploymentManager_SetCommonInstanceMetadataOperationMetadata_PerLocationOperations; @class GTLRDeploymentManager_SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo; @@ -1595,7 +1596,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDeploymentManager_SetCommonInstanceMetad @property(nonatomic, strong, nullable) GTLRDeploymentManager_Policy *policy; /** - * updateMask + * Update mask for the policy. * * String format is a comma-separated list of fields. */ @@ -2997,6 +2998,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDeploymentManager_SetCommonInstanceMetad */ @property(nonatomic, strong, nullable) NSArray *zonalIgmIds; +/** Map of zone to an ID of the zonal IGM belonging to the RMIG. */ +@property(nonatomic, strong, nullable) GTLRDeploymentManager_SetAutoscalerLinkOperationMetadata_ZoneToIgmIds *zoneToIgmIds; + +@end + + +/** + * Map of zone to an ID of the zonal IGM belonging to the RMIG. + * + * @note This class is documented as having more properties of NSNumber (Uses + * NSNumber of longLongValue.). Use @c -additionalJSONKeys and @c + * -additionalPropertyForName: to get the list of properties and then + * fetch them; or @c -additionalProperties to fetch them all at once. + */ +@interface GTLRDeploymentManager_SetAutoscalerLinkOperationMetadata_ZoneToIgmIds : GTLRObject @end diff --git a/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectQuery.h b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectQuery.h index 250d3cc96..6f9e7e7eb 100644 --- a/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectQuery.h +++ b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectQuery.h @@ -1555,8 +1555,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnectRefTypeTag; @interface GTLRDeveloperConnectQuery_ProjectsLocationsList : GTLRDeveloperConnectQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Unless explicitly documented otherwise, don't use this unsupported + * field which is primarily intended for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/Dfareporting/GTLRDfareportingObjects.m b/Sources/GeneratedServices/Dfareporting/GTLRDfareportingObjects.m index a99cba2e7..1459f6217 100644 --- a/Sources/GeneratedServices/Dfareporting/GTLRDfareportingObjects.m +++ b/Sources/GeneratedServices/Dfareporting/GTLRDfareportingObjects.m @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Campaign Manager 360 API (dfareporting/v4) +// Campaign Manager 360 API (dfareporting/v5) // Description: // Build applications to efficiently manage large or complex trafficking, // reporting, and attribution workflows for Campaign Manager 360. @@ -72,17 +72,9 @@ NSString * const kGTLRDfareporting_Ad_Type_AdServingStandardAd = @"AD_SERVING_STANDARD_AD"; NSString * const kGTLRDfareporting_Ad_Type_AdServingTracking = @"AD_SERVING_TRACKING"; -// GTLRDfareporting_AdSlot.compatibility -NSString * const kGTLRDfareporting_AdSlot_Compatibility_App = @"APP"; -NSString * const kGTLRDfareporting_AdSlot_Compatibility_AppInterstitial = @"APP_INTERSTITIAL"; -NSString * const kGTLRDfareporting_AdSlot_Compatibility_Display = @"DISPLAY"; -NSString * const kGTLRDfareporting_AdSlot_Compatibility_DisplayInterstitial = @"DISPLAY_INTERSTITIAL"; -NSString * const kGTLRDfareporting_AdSlot_Compatibility_InStreamAudio = @"IN_STREAM_AUDIO"; -NSString * const kGTLRDfareporting_AdSlot_Compatibility_InStreamVideo = @"IN_STREAM_VIDEO"; - -// GTLRDfareporting_AdSlot.paymentSourceType -NSString * const kGTLRDfareporting_AdSlot_PaymentSourceType_PlanningPaymentSourceTypeAgencyPaid = @"PLANNING_PAYMENT_SOURCE_TYPE_AGENCY_PAID"; -NSString * const kGTLRDfareporting_AdSlot_PaymentSourceType_PlanningPaymentSourceTypePublisherPaid = @"PLANNING_PAYMENT_SOURCE_TYPE_PUBLISHER_PAID"; +// GTLRDfareporting_Advertiser.euPoliticalAdsDeclaration +NSString * const kGTLRDfareporting_Advertiser_EuPoliticalAdsDeclaration_AdvertiserDoesNotPlanToServeEuPoliticalAds = @"ADVERTISER_DOES_NOT_PLAN_TO_SERVE_EU_POLITICAL_ADS"; +NSString * const kGTLRDfareporting_Advertiser_EuPoliticalAdsDeclaration_AdvertiserPlansToServeEuPoliticalAds = @"ADVERTISER_PLANS_TO_SERVE_EU_POLITICAL_ADS"; // GTLRDfareporting_Advertiser.status NSString * const kGTLRDfareporting_Advertiser_Status_Approved = @"APPROVED"; @@ -138,6 +130,10 @@ NSString * const kGTLRDfareporting_BillingRate_UnitOfMeasure_Ea = @"EA"; NSString * const kGTLRDfareporting_BillingRate_UnitOfMeasure_P2c = @"P2C"; +// GTLRDfareporting_Campaign.euPoliticalAdsDeclaration +NSString * const kGTLRDfareporting_Campaign_EuPoliticalAdsDeclaration_ContainsEuPoliticalAds = @"CONTAINS_EU_POLITICAL_ADS"; +NSString * const kGTLRDfareporting_Campaign_EuPoliticalAdsDeclaration_DoesNotContainEuPoliticalAds = @"DOES_NOT_CONTAIN_EU_POLITICAL_ADS"; + // GTLRDfareporting_ContentSource.resourceType NSString * const kGTLRDfareporting_ContentSource_ResourceType_ResourceTypeGoogleSpreadsheet = @"RESOURCE_TYPE_GOOGLE_SPREADSHEET"; NSString * const kGTLRDfareporting_ContentSource_ResourceType_ResourceTypeRemoteFile = @"RESOURCE_TYPE_REMOTE_FILE"; @@ -907,6 +903,34 @@ NSString * const kGTLRDfareporting_FloodlightActivity_CacheBustingType_Jsp = @"JSP"; NSString * const kGTLRDfareporting_FloodlightActivity_CacheBustingType_Php = @"PHP"; +// GTLRDfareporting_FloodlightActivity.conversionCategory +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryAddToCart = @"CONVERSION_CATEGORY_ADD_TO_CART"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryBeginCheckout = @"CONVERSION_CATEGORY_BEGIN_CHECKOUT"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryBookAppointment = @"CONVERSION_CATEGORY_BOOK_APPOINTMENT"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryBoomEvent = @"CONVERSION_CATEGORY_BOOM_EVENT"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryContact = @"CONVERSION_CATEGORY_CONTACT"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryConvertedLead = @"CONVERSION_CATEGORY_CONVERTED_LEAD"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryDefault = @"CONVERSION_CATEGORY_DEFAULT"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryDownload = @"CONVERSION_CATEGORY_DOWNLOAD"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryEngagement = @"CONVERSION_CATEGORY_ENGAGEMENT"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryGetDirections = @"CONVERSION_CATEGORY_GET_DIRECTIONS"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryImportedLead = @"CONVERSION_CATEGORY_IMPORTED_LEAD"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryInAppAdRevenue = @"CONVERSION_CATEGORY_IN_APP_AD_REVENUE"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryMessageLead = @"CONVERSION_CATEGORY_MESSAGE_LEAD"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryOutboundClick = @"CONVERSION_CATEGORY_OUTBOUND_CLICK"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryPageView = @"CONVERSION_CATEGORY_PAGE_VIEW"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryPhoneCallLead = @"CONVERSION_CATEGORY_PHONE_CALL_LEAD"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryPurchase = @"CONVERSION_CATEGORY_PURCHASE"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryQualifiedLead = @"CONVERSION_CATEGORY_QUALIFIED_LEAD"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryRequestQuote = @"CONVERSION_CATEGORY_REQUEST_QUOTE"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategorySignup = @"CONVERSION_CATEGORY_SIGNUP"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryStoreSale = @"CONVERSION_CATEGORY_STORE_SALE"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryStoreVisit = @"CONVERSION_CATEGORY_STORE_VISIT"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategorySubmitLeadForm = @"CONVERSION_CATEGORY_SUBMIT_LEAD_FORM"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategorySubscribeFree = @"CONVERSION_CATEGORY_SUBSCRIBE_FREE"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategorySubscribePaid = @"CONVERSION_CATEGORY_SUBSCRIBE_PAID"; +NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryViewKeyPage = @"CONVERSION_CATEGORY_VIEW_KEY_PAGE"; + // GTLRDfareporting_FloodlightActivity.countingMethod NSString * const kGTLRDfareporting_FloodlightActivity_CountingMethod_ItemsSoldCounting = @"ITEMS_SOLD_COUNTING"; NSString * const kGTLRDfareporting_FloodlightActivity_CountingMethod_SessionCounting = @"SESSION_COUNTING"; @@ -1052,10 +1076,6 @@ NSString * const kGTLRDfareporting_FsCommand_PositionOption_Centered = @"CENTERED"; NSString * const kGTLRDfareporting_FsCommand_PositionOption_DistanceFromTopLeftCorner = @"DISTANCE_FROM_TOP_LEFT_CORNER"; -// GTLRDfareporting_InventoryItem.type -NSString * const kGTLRDfareporting_InventoryItem_Type_PlanningPlacementTypeCredit = @"PLANNING_PLACEMENT_TYPE_CREDIT"; -NSString * const kGTLRDfareporting_InventoryItem_Type_PlanningPlacementTypeRegular = @"PLANNING_PLACEMENT_TYPE_REGULAR"; - // GTLRDfareporting_Invoice.invoiceType NSString * const kGTLRDfareporting_Invoice_InvoiceType_InvoiceTypeCredit = @"INVOICE_TYPE_CREDIT"; NSString * const kGTLRDfareporting_Invoice_InvoiceType_InvoiceTypeInvoice = @"INVOICE_TYPE_INVOICE"; @@ -1125,6 +1145,8 @@ // GTLRDfareporting_MeasurementPartnerWrappingData.tagWrappingMode NSString * const kGTLRDfareporting_MeasurementPartnerWrappingData_TagWrappingMode_Blocking = @"BLOCKING"; +NSString * const kGTLRDfareporting_MeasurementPartnerWrappingData_TagWrappingMode_BlockingFilteringVpaid = @"BLOCKING_FILTERING_VPAID"; +NSString * const kGTLRDfareporting_MeasurementPartnerWrappingData_TagWrappingMode_BlockingFilteringVpaidOnly = @"BLOCKING_FILTERING_VPAID_ONLY"; NSString * const kGTLRDfareporting_MeasurementPartnerWrappingData_TagWrappingMode_Monitoring = @"MONITORING"; NSString * const kGTLRDfareporting_MeasurementPartnerWrappingData_TagWrappingMode_MonitoringReadOnly = @"MONITORING_READ_ONLY"; NSString * const kGTLRDfareporting_MeasurementPartnerWrappingData_TagWrappingMode_None = @"NONE"; @@ -1157,11 +1179,6 @@ NSString * const kGTLRDfareporting_ObjectFilter_Status_Assigned = @"ASSIGNED"; NSString * const kGTLRDfareporting_ObjectFilter_Status_None = @"NONE"; -// GTLRDfareporting_OrderContact.contactType -NSString * const kGTLRDfareporting_OrderContact_ContactType_PlanningOrderContactBuyerBillingContact = @"PLANNING_ORDER_CONTACT_BUYER_BILLING_CONTACT"; -NSString * const kGTLRDfareporting_OrderContact_ContactType_PlanningOrderContactBuyerContact = @"PLANNING_ORDER_CONTACT_BUYER_CONTACT"; -NSString * const kGTLRDfareporting_OrderContact_ContactType_PlanningOrderContactSellerContact = @"PLANNING_ORDER_CONTACT_SELLER_CONTACT"; - // GTLRDfareporting_Placement.activeStatus NSString * const kGTLRDfareporting_Placement_ActiveStatus_PlacementStatusActive = @"PLACEMENT_STATUS_ACTIVE"; NSString * const kGTLRDfareporting_Placement_ActiveStatus_PlacementStatusArchived = @"PLACEMENT_STATUS_ARCHIVED"; @@ -1232,25 +1249,6 @@ NSString * const kGTLRDfareporting_PopupWindowProperties_PositionType_Center = @"CENTER"; NSString * const kGTLRDfareporting_PopupWindowProperties_PositionType_Coordinates = @"COORDINATES"; -// GTLRDfareporting_Pricing.capCostType -NSString * const kGTLRDfareporting_Pricing_CapCostType_PlanningPlacementCapCostTypeCumulative = @"PLANNING_PLACEMENT_CAP_COST_TYPE_CUMULATIVE"; -NSString * const kGTLRDfareporting_Pricing_CapCostType_PlanningPlacementCapCostTypeMonthly = @"PLANNING_PLACEMENT_CAP_COST_TYPE_MONTHLY"; -NSString * const kGTLRDfareporting_Pricing_CapCostType_PlanningPlacementCapCostTypeNone = @"PLANNING_PLACEMENT_CAP_COST_TYPE_NONE"; - -// GTLRDfareporting_Pricing.groupType -NSString * const kGTLRDfareporting_Pricing_GroupType_PlanningPlacementGroupTypePackage = @"PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE"; -NSString * const kGTLRDfareporting_Pricing_GroupType_PlanningPlacementGroupTypeRoadblock = @"PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK"; - -// GTLRDfareporting_Pricing.pricingType -NSString * const kGTLRDfareporting_Pricing_PricingType_PlanningPlacementPricingTypeClicks = @"PLANNING_PLACEMENT_PRICING_TYPE_CLICKS"; -NSString * const kGTLRDfareporting_Pricing_PricingType_PlanningPlacementPricingTypeCpa = @"PLANNING_PLACEMENT_PRICING_TYPE_CPA"; -NSString * const kGTLRDfareporting_Pricing_PricingType_PlanningPlacementPricingTypeCpc = @"PLANNING_PLACEMENT_PRICING_TYPE_CPC"; -NSString * const kGTLRDfareporting_Pricing_PricingType_PlanningPlacementPricingTypeCpm = @"PLANNING_PLACEMENT_PRICING_TYPE_CPM"; -NSString * const kGTLRDfareporting_Pricing_PricingType_PlanningPlacementPricingTypeCpmActiveview = @"PLANNING_PLACEMENT_PRICING_TYPE_CPM_ACTIVEVIEW"; -NSString * const kGTLRDfareporting_Pricing_PricingType_PlanningPlacementPricingTypeFlatRateClicks = @"PLANNING_PLACEMENT_PRICING_TYPE_FLAT_RATE_CLICKS"; -NSString * const kGTLRDfareporting_Pricing_PricingType_PlanningPlacementPricingTypeFlatRateImpressions = @"PLANNING_PLACEMENT_PRICING_TYPE_FLAT_RATE_IMPRESSIONS"; -NSString * const kGTLRDfareporting_Pricing_PricingType_PlanningPlacementPricingTypeImpressions = @"PLANNING_PLACEMENT_PRICING_TYPE_IMPRESSIONS"; - // GTLRDfareporting_PricingSchedule.capCostOption NSString * const kGTLRDfareporting_PricingSchedule_CapCostOption_CapCostCumulative = @"CAP_COST_CUMULATIVE"; NSString * const kGTLRDfareporting_PricingSchedule_CapCostOption_CapCostMonthly = @"CAP_COST_MONTHLY"; @@ -1264,19 +1262,6 @@ NSString * const kGTLRDfareporting_PricingSchedule_PricingType_PricingTypeFlatRateClicks = @"PRICING_TYPE_FLAT_RATE_CLICKS"; NSString * const kGTLRDfareporting_PricingSchedule_PricingType_PricingTypeFlatRateImpressions = @"PRICING_TYPE_FLAT_RATE_IMPRESSIONS"; -// GTLRDfareporting_Project.audienceAgeGroup -NSString * const kGTLRDfareporting_Project_AudienceAgeGroup_PlanningAudienceAge1824 = @"PLANNING_AUDIENCE_AGE_18_24"; -NSString * const kGTLRDfareporting_Project_AudienceAgeGroup_PlanningAudienceAge2534 = @"PLANNING_AUDIENCE_AGE_25_34"; -NSString * const kGTLRDfareporting_Project_AudienceAgeGroup_PlanningAudienceAge3544 = @"PLANNING_AUDIENCE_AGE_35_44"; -NSString * const kGTLRDfareporting_Project_AudienceAgeGroup_PlanningAudienceAge4554 = @"PLANNING_AUDIENCE_AGE_45_54"; -NSString * const kGTLRDfareporting_Project_AudienceAgeGroup_PlanningAudienceAge5564 = @"PLANNING_AUDIENCE_AGE_55_64"; -NSString * const kGTLRDfareporting_Project_AudienceAgeGroup_PlanningAudienceAge65OrMore = @"PLANNING_AUDIENCE_AGE_65_OR_MORE"; -NSString * const kGTLRDfareporting_Project_AudienceAgeGroup_PlanningAudienceAgeUnknown = @"PLANNING_AUDIENCE_AGE_UNKNOWN"; - -// GTLRDfareporting_Project.audienceGender -NSString * const kGTLRDfareporting_Project_AudienceGender_PlanningAudienceGenderFemale = @"PLANNING_AUDIENCE_GENDER_FEMALE"; -NSString * const kGTLRDfareporting_Project_AudienceGender_PlanningAudienceGenderMale = @"PLANNING_AUDIENCE_GENDER_MALE"; - // GTLRDfareporting_ProximityFilter.radiusBucketType NSString * const kGTLRDfareporting_ProximityFilter_RadiusBucketType_Large = @"LARGE"; NSString * const kGTLRDfareporting_ProximityFilter_RadiusBucketType_Medium = @"MEDIUM"; @@ -1312,19 +1297,12 @@ NSString * const kGTLRDfareporting_Report_Format_Excel = @"EXCEL"; // GTLRDfareporting_Report.type -NSString * const kGTLRDfareporting_Report_Type_CrossDimensionReach = @"CROSS_DIMENSION_REACH"; NSString * const kGTLRDfareporting_Report_Type_CrossMediaReach = @"CROSS_MEDIA_REACH"; NSString * const kGTLRDfareporting_Report_Type_Floodlight = @"FLOODLIGHT"; NSString * const kGTLRDfareporting_Report_Type_PathToConversion = @"PATH_TO_CONVERSION"; NSString * const kGTLRDfareporting_Report_Type_Reach = @"REACH"; NSString * const kGTLRDfareporting_Report_Type_Standard = @"STANDARD"; -// GTLRDfareporting_Report_CrossDimensionReachCriteria.dimension -NSString * const kGTLRDfareporting_Report_CrossDimensionReachCriteria_Dimension_Advertiser = @"ADVERTISER"; -NSString * const kGTLRDfareporting_Report_CrossDimensionReachCriteria_Dimension_Campaign = @"CAMPAIGN"; -NSString * const kGTLRDfareporting_Report_CrossDimensionReachCriteria_Dimension_SiteByAdvertiser = @"SITE_BY_ADVERTISER"; -NSString * const kGTLRDfareporting_Report_CrossDimensionReachCriteria_Dimension_SiteByCampaign = @"SITE_BY_CAMPAIGN"; - // GTLRDfareporting_Report_Delivery.emailOwnerDeliveryType NSString * const kGTLRDfareporting_Report_Delivery_EmailOwnerDeliveryType_Attachment = @"ATTACHMENT"; NSString * const kGTLRDfareporting_Report_Delivery_EmailOwnerDeliveryType_Link = @"LINK"; @@ -1574,6 +1552,32 @@ NSString * const kGTLRDfareporting_VideoSettings_Orientation_Landscape = @"LANDSCAPE"; NSString * const kGTLRDfareporting_VideoSettings_Orientation_Portrait = @"PORTRAIT"; +// GTLRDfareporting_YoutubeSettings.callToActions +NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionApplyNow = @"CALL_TO_ACTION_APPLY_NOW"; +NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionBookNow = @"CALL_TO_ACTION_BOOK_NOW"; +NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionBuyNow = @"CALL_TO_ACTION_BUY_NOW"; +NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionCallNow = @"CALL_TO_ACTION_CALL_NOW"; +NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionContactUs = @"CALL_TO_ACTION_CONTACT_US"; +NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionDonateNow = @"CALL_TO_ACTION_DONATE_NOW"; +NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionDownload = @"CALL_TO_ACTION_DOWNLOAD"; +NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionGetOffer = @"CALL_TO_ACTION_GET_OFFER"; +NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionGetQuote = @"CALL_TO_ACTION_GET_QUOTE"; +NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionLearnMore = @"CALL_TO_ACTION_LEARN_MORE"; +NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionOrderNow = @"CALL_TO_ACTION_ORDER_NOW"; +NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionPlayNow = @"CALL_TO_ACTION_PLAY_NOW"; +NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionScheduleNow = @"CALL_TO_ACTION_SCHEDULE_NOW"; +NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionSeeMore = @"CALL_TO_ACTION_SEE_MORE"; +NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionShopNow = @"CALL_TO_ACTION_SHOP_NOW"; +NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionSignUp = @"CALL_TO_ACTION_SIGN_UP"; +NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionStartNow = @"CALL_TO_ACTION_START_NOW"; +NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionSubscribe = @"CALL_TO_ACTION_SUBSCRIBE"; +NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionTestDrive = @"CALL_TO_ACTION_TEST_DRIVE"; +NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionUnknown = @"CALL_TO_ACTION_UNKNOWN"; +NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionViewMenu = @"CALL_TO_ACTION_VIEW_MENU"; +NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionVisitSite = @"CALL_TO_ACTION_VISIT_SITE"; +NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionVisitStore = @"CALL_TO_ACTION_VISIT_STORE"; +NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionWatchNow = @"CALL_TO_ACTION_WATCH_NOW"; + // ---------------------------------------------------------------------------- // // GTLRDfareporting_Account @@ -1907,17 +1911,6 @@ + (NSString *)collectionItemsKey { @end -// ---------------------------------------------------------------------------- -// -// GTLRDfareporting_AdSlot -// - -@implementation GTLRDfareporting_AdSlot -@dynamic comment, compatibility, height, linkedPlacementId, name, - paymentSourceType, primary, width; -@end - - // ---------------------------------------------------------------------------- // // GTLRDfareporting_Advertiser @@ -1925,10 +1918,10 @@ @implementation GTLRDfareporting_AdSlot @implementation GTLRDfareporting_Advertiser @dynamic accountId, advertiserGroupId, clickThroughUrlSuffix, - defaultClickThroughEventTagId, defaultEmail, floodlightConfigurationId, - floodlightConfigurationIdDimensionValue, identifier, idDimensionValue, - kind, measurementPartnerLink, name, originalFloodlightConfigurationId, - status, subaccountId, suspended; + defaultClickThroughEventTagId, defaultEmail, euPoliticalAdsDeclaration, + floodlightConfigurationId, floodlightConfigurationIdDimensionValue, + identifier, idDimensionValue, kind, measurementPartnerLink, name, + originalFloodlightConfigurationId, status, subaccountId, suspended; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -2320,9 +2313,9 @@ @implementation GTLRDfareporting_Campaign clickThroughUrlSuffixProperties, comment, createInfo, creativeGroupIds, creativeOptimizationConfiguration, defaultClickThroughEventTagProperties, defaultLandingPageId, endDate, - eventTagOverrides, externalId, identifier, idDimensionValue, kind, - lastModifiedInfo, measurementPartnerLink, name, startDate, - subaccountId; + euPoliticalAdsDeclaration, eventTagOverrides, externalId, identifier, + idDimensionValue, kind, lastModifiedInfo, measurementPartnerLink, name, + startDate, subaccountId; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -2982,15 +2975,15 @@ @implementation GTLRDfareporting_Creative backupImageClickThroughUrl, backupImageFeatures, backupImageReportingLabel, backupImageTargetWindow, clickTags, commercialId, companionCreatives, compatibility, convertFlashToHtml5, - counterCustomEvents, creativeAssets, creativeAssetSelection, - creativeFieldAssignments, customKeyValues, dynamicAssetSelection, - exitCustomEvents, fsCommand, htmlCode, htmlCodeLocked, identifier, - idDimensionValue, kind, lastModifiedInfo, latestTraffickedCreativeId, - mediaDescription, mediaDuration, name, obaIcon, overrideCss, - progressOffset, redirectUrl, renderingId, renderingIdDimensionValue, - requiredFlashPluginVersion, requiredFlashVersion, size, skipOffset, - skippable, sslCompliant, sslOverride, studioAdvertiserId, - studioCreativeId, studioTraffickedCreativeId, subaccountId, + counterCustomEvents, creativeAssets, creativeFieldAssignments, + customKeyValues, exitCustomEvents, fsCommand, htmlCode, htmlCodeLocked, + identifier, idDimensionValue, kind, lastModifiedInfo, + latestTraffickedCreativeId, mediaDescription, mediaDuration, name, + obaIcon, overrideCss, progressOffset, redirectUrl, renderingId, + renderingIdDimensionValue, requiredFlashPluginVersion, + requiredFlashVersion, size, skipOffset, skippable, sslCompliant, + sslOverride, studioAdvertiserId, studioCreativeId, + studioTraffickedCreativeId, subaccountId, thirdPartyBackupImageImpressionsUrl, thirdPartyRichMediaImpressionsUrl, thirdPartyUrls, timerCustomEvents, totalFileSize, type, universalAdId, version; @@ -3107,24 +3100,6 @@ + (BOOL)isKindValidForClassRegistry { @end -// ---------------------------------------------------------------------------- -// -// GTLRDfareporting_CreativeAssetSelection -// - -@implementation GTLRDfareporting_CreativeAssetSelection -@dynamic defaultAssetId, rules; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"rules" : [GTLRDfareporting_Rule class] - }; - return map; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRDfareporting_CreativeAssignment @@ -4222,16 +4197,6 @@ + (BOOL)isKindValidForClassRegistry { @end -// ---------------------------------------------------------------------------- -// -// GTLRDfareporting_Flight -// - -@implementation GTLRDfareporting_Flight -@dynamic endDate, rateOrCost, startDate, units; -@end - - // ---------------------------------------------------------------------------- // // GTLRDfareporting_FloodlightActivitiesGenerateTagResponse @@ -4284,13 +4249,14 @@ + (NSString *)collectionItemsKey { @implementation GTLRDfareporting_FloodlightActivity @dynamic accountId, advertiserId, advertiserIdDimensionValue, - attributionEnabled, cacheBustingType, countingMethod, defaultTags, - expectedUrl, floodlightActivityGroupId, floodlightActivityGroupName, - floodlightActivityGroupTagString, floodlightActivityGroupType, - floodlightConfigurationId, floodlightConfigurationIdDimensionValue, - floodlightTagType, identifier, idDimensionValue, kind, name, notes, - publisherTags, secure, sslCompliant, sslRequired, status, subaccountId, - tagFormat, tagString, userDefinedVariableTypes; + attributionEnabled, cacheBustingType, conversionCategory, + countingMethod, defaultTags, expectedUrl, floodlightActivityGroupId, + floodlightActivityGroupName, floodlightActivityGroupTagString, + floodlightActivityGroupType, floodlightConfigurationId, + floodlightConfigurationIdDimensionValue, floodlightTagType, identifier, + idDimensionValue, kind, name, notes, publisherTags, secure, + sslCompliant, sslRequired, status, subaccountId, tagFormat, tagString, + userDefinedVariableTypes; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -4548,66 +4514,6 @@ @implementation GTLRDfareporting_IngestionStatus @end -// ---------------------------------------------------------------------------- -// -// GTLRDfareporting_InventoryItem -// - -@implementation GTLRDfareporting_InventoryItem -@dynamic accountId, adSlots, advertiserId, contentCategoryId, - estimatedClickThroughRate, estimatedConversionRate, identifier, inPlan, - kind, lastModifiedInfo, name, negotiationChannelId, orderId, - placementStrategyId, pricing, projectId, rfpId, siteId, subaccountId, - type; - -+ (NSDictionary *)propertyToJSONKeyMap { - return @{ @"identifier" : @"id" }; -} - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"adSlots" : [GTLRDfareporting_AdSlot class] - }; - return map; -} - -+ (BOOL)isKindValidForClassRegistry { - // This class has a "kind" property that doesn't appear to be usable to - // determine what type of object was encoded in the JSON. - return NO; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDfareporting_InventoryItemsListResponse -// - -@implementation GTLRDfareporting_InventoryItemsListResponse -@dynamic inventoryItems, kind, nextPageToken; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"inventoryItems" : [GTLRDfareporting_InventoryItem class] - }; - return map; -} - -+ (BOOL)isKindValidForClassRegistry { - // This class has a "kind" property that doesn't appear to be usable to - // determine what type of object was encoded in the JSON. - return NO; -} - -+ (NSString *)collectionItemsKey { - return @"inventoryItems"; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRDfareporting_Invoice @@ -5172,80 +5078,6 @@ @implementation GTLRDfareporting_OptimizationActivity @end -// ---------------------------------------------------------------------------- -// -// GTLRDfareporting_Order -// - -@implementation GTLRDfareporting_Order -@dynamic accountId, advertiserId, approverUserProfileIds, buyerInvoiceId, - buyerOrganizationName, comments, contacts, identifier, kind, - lastModifiedInfo, name, notes, planningTermId, projectId, - sellerOrderId, sellerOrganizationName, siteId, siteNames, subaccountId, - termsAndConditions; - -+ (NSDictionary *)propertyToJSONKeyMap { - return @{ @"identifier" : @"id" }; -} - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"approverUserProfileIds" : [NSNumber class], - @"contacts" : [GTLRDfareporting_OrderContact class], - @"siteId" : [NSNumber class], - @"siteNames" : [NSString class] - }; - return map; -} - -+ (BOOL)isKindValidForClassRegistry { - // This class has a "kind" property that doesn't appear to be usable to - // determine what type of object was encoded in the JSON. - return NO; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDfareporting_OrderContact -// - -@implementation GTLRDfareporting_OrderContact -@dynamic contactInfo, contactName, contactTitle, contactType, - signatureUserProfileId; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDfareporting_OrdersListResponse -// - -@implementation GTLRDfareporting_OrdersListResponse -@dynamic kind, nextPageToken, orders; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"orders" : [GTLRDfareporting_Order class] - }; - return map; -} - -+ (BOOL)isKindValidForClassRegistry { - // This class has a "kind" property that doesn't appear to be usable to - // determine what type of object was encoded in the JSON. - return NO; -} - -+ (NSString *)collectionItemsKey { - return @"orders"; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRDfareporting_PathToConversionReportCompatibleFields @@ -5282,8 +5114,8 @@ + (BOOL)isKindValidForClassRegistry { @implementation GTLRDfareporting_Placement @dynamic accountId, activeStatus, adBlockingOptOut, additionalSizes, adServingPlatformId, advertiserId, advertiserIdDimensionValue, - campaignId, campaignIdDimensionValue, comment, compatibility, - contentCategoryId, conversionDomainOverride, createInfo, + allowOnYoutube, campaignId, campaignIdDimensionValue, comment, + compatibility, contentCategoryId, conversionDomainOverride, createInfo, directorySiteId, directorySiteIdDimensionValue, externalId, identifier, idDimensionValue, keyName, kind, lastModifiedInfo, lookbackConfiguration, name, partnerWrappingData, paymentApproved, @@ -5291,7 +5123,7 @@ @implementation GTLRDfareporting_Placement placementStrategyId, pricingSchedule, primary, publisherUpdateInfo, siteId, siteIdDimensionValue, siteServed, size, sslRequired, status, subaccountId, tagFormats, tagSetting, videoActiveViewOptOut, - videoSettings, vpaidAdapterChoice, wrappingOptOut; + videoSettings, vpaidAdapterChoice, wrappingOptOut, youtubeSettings; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -5635,24 +5467,6 @@ + (BOOL)isKindValidForClassRegistry { @end -// ---------------------------------------------------------------------------- -// -// GTLRDfareporting_Pricing -// - -@implementation GTLRDfareporting_Pricing -@dynamic capCostType, endDate, flights, groupType, pricingType, startDate; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"flights" : [GTLRDfareporting_Flight class] - }; - return map; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRDfareporting_PricingSchedule @@ -5682,59 +5496,6 @@ @implementation GTLRDfareporting_PricingSchedulePricingPeriod @end -// ---------------------------------------------------------------------------- -// -// GTLRDfareporting_Project -// - -@implementation GTLRDfareporting_Project -@dynamic accountId, advertiserId, audienceAgeGroup, audienceGender, budget, - clientBillingCode, clientName, endDate, identifier, kind, - lastModifiedInfo, name, overview, startDate, subaccountId, - targetClicks, targetConversions, targetCpaNanos, targetCpcNanos, - targetCpmActiveViewNanos, targetCpmNanos, targetImpressions; - -+ (NSDictionary *)propertyToJSONKeyMap { - return @{ @"identifier" : @"id" }; -} - -+ (BOOL)isKindValidForClassRegistry { - // This class has a "kind" property that doesn't appear to be usable to - // determine what type of object was encoded in the JSON. - return NO; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDfareporting_ProjectsListResponse -// - -@implementation GTLRDfareporting_ProjectsListResponse -@dynamic kind, nextPageToken, projects; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"projects" : [GTLRDfareporting_Project class] - }; - return map; -} - -+ (BOOL)isKindValidForClassRegistry { - // This class has a "kind" property that doesn't appear to be usable to - // determine what type of object was encoded in the JSON. - return NO; -} - -+ (NSString *)collectionItemsKey { - return @"projects"; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRDfareporting_ProximityFilter @@ -5936,10 +5697,10 @@ @implementation GTLRDfareporting_RemarketingValueAttribute // @implementation GTLRDfareporting_Report -@dynamic accountId, criteria, crossDimensionReachCriteria, - crossMediaReachCriteria, delivery, ETag, fileName, floodlightCriteria, - format, identifier, kind, lastModifiedTime, name, ownerProfileId, - pathToConversionCriteria, reachCriteria, schedule, subAccountId, type; +@dynamic accountId, criteria, crossMediaReachCriteria, delivery, ETag, fileName, + floodlightCriteria, format, identifier, kind, lastModifiedTime, name, + ownerProfileId, pathToConversionCriteria, reachCriteria, schedule, + subAccountId, type; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -5979,28 +5740,6 @@ @implementation GTLRDfareporting_Report_Criteria @end -// ---------------------------------------------------------------------------- -// -// GTLRDfareporting_Report_CrossDimensionReachCriteria -// - -@implementation GTLRDfareporting_Report_CrossDimensionReachCriteria -@dynamic breakdown, dateRange, dimension, dimensionFilters, metricNames, - overlapMetricNames, pivoted; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"breakdown" : [GTLRDfareporting_SortedDimension class], - @"dimensionFilters" : [GTLRDfareporting_DimensionValue class], - @"metricNames" : [NSString class], - @"overlapMetricNames" : [NSString class] - }; - return map; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRDfareporting_Report_CrossMediaReachCriteria @@ -6093,8 +5832,7 @@ @implementation GTLRDfareporting_Report_PathToConversionCriteria @implementation GTLRDfareporting_Report_ReachCriteria @dynamic activities, customRichMediaEvents, dateRange, dimensionFilters, - dimensions, enableAllDimensionCombinations, metricNames, - reachByFrequencyMetricNames; + dimensions, metricNames, reachByFrequencyMetricNames; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -6248,16 +5986,6 @@ @implementation GTLRDfareporting_RichMediaExitOverride @end -// ---------------------------------------------------------------------------- -// -// GTLRDfareporting_Rule -// - -@implementation GTLRDfareporting_Rule -@dynamic assetId, name, targetingTemplateId; -@end - - // ---------------------------------------------------------------------------- // // GTLRDfareporting_RuleBlock @@ -7178,3 +6906,26 @@ + (BOOL)isKindValidForClassRegistry { } @end + + +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_YoutubeSettings +// + +@implementation GTLRDfareporting_YoutubeSettings +@dynamic businessLogoCreativeIds, businessName, callToActions, descriptions, + headlines, longHeadlines; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"businessLogoCreativeIds" : [NSNumber class], + @"callToActions" : [NSString class], + @"descriptions" : [NSString class], + @"headlines" : [NSString class], + @"longHeadlines" : [NSString class] + }; + return map; +} + +@end diff --git a/Sources/GeneratedServices/Dfareporting/GTLRDfareportingQuery.m b/Sources/GeneratedServices/Dfareporting/GTLRDfareportingQuery.m index af07239cc..cdfa95dfa 100644 --- a/Sources/GeneratedServices/Dfareporting/GTLRDfareportingQuery.m +++ b/Sources/GeneratedServices/Dfareporting/GTLRDfareportingQuery.m @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Campaign Manager 360 API (dfareporting/v4) +// Campaign Manager 360 API (dfareporting/v5) // Description: // Build applications to efficiently manage large or complex trafficking, // reporting, and attribution workflows for Campaign Manager 360. @@ -184,15 +184,13 @@ NSString * const kGTLRDfareportingTagFormatsPlacementTagTrackingThirdPartyMeasurement = @"PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT"; // type -NSString * const kGTLRDfareportingTypeAdServingBrandSafeAd = @"AD_SERVING_BRAND_SAFE_AD"; -NSString * const kGTLRDfareportingTypeAdServingClickTracker = @"AD_SERVING_CLICK_TRACKER"; -NSString * const kGTLRDfareportingTypeAdServingDefaultAd = @"AD_SERVING_DEFAULT_AD"; -NSString * const kGTLRDfareportingTypeAdServingStandardAd = @"AD_SERVING_STANDARD_AD"; -NSString * const kGTLRDfareportingTypeAdServingTracking = @"AD_SERVING_TRACKING"; -NSString * const kGTLRDfareportingTypeCounter = @"COUNTER"; -NSString * const kGTLRDfareportingTypePlanningPlacementTypeCredit = @"PLANNING_PLACEMENT_TYPE_CREDIT"; -NSString * const kGTLRDfareportingTypePlanningPlacementTypeRegular = @"PLANNING_PLACEMENT_TYPE_REGULAR"; -NSString * const kGTLRDfareportingTypeSale = @"SALE"; +NSString * const kGTLRDfareportingTypeAdServingBrandSafeAd = @"AD_SERVING_BRAND_SAFE_AD"; +NSString * const kGTLRDfareportingTypeAdServingClickTracker = @"AD_SERVING_CLICK_TRACKER"; +NSString * const kGTLRDfareportingTypeAdServingDefaultAd = @"AD_SERVING_DEFAULT_AD"; +NSString * const kGTLRDfareportingTypeAdServingStandardAd = @"AD_SERVING_STANDARD_AD"; +NSString * const kGTLRDfareportingTypeAdServingTracking = @"AD_SERVING_TRACKING"; +NSString * const kGTLRDfareportingTypeCounter = @"COUNTER"; +NSString * const kGTLRDfareportingTypeSale = @"SALE"; // types NSString * const kGTLRDfareportingTypesBrandSafeDefaultInstreamVideo = @"BRAND_SAFE_DEFAULT_INSTREAM_VIDEO"; @@ -3640,68 +3638,6 @@ + (instancetype)queryWithObject:(GTLRDfareporting_FloodlightConfiguration *)obje @end -@implementation GTLRDfareportingQuery_InventoryItemsGet - -@dynamic identifier, profileId, projectId; - -+ (NSDictionary *)parameterNameMap { - return @{ @"identifier" : @"id" }; -} - -+ (instancetype)queryWithProfileId:(long long)profileId - projectId:(long long)projectId - identifier:(long long)identifier { - NSArray *pathParams = @[ - @"id", @"profileId", @"projectId" - ]; - NSString *pathURITemplate = @"userprofiles/{+profileId}/projects/{projectId}/inventoryItems/{+id}"; - GTLRDfareportingQuery_InventoryItemsGet *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.profileId = profileId; - query.projectId = projectId; - query.identifier = identifier; - query.expectedObjectClass = [GTLRDfareporting_InventoryItem class]; - query.loggingName = @"dfareporting.inventoryItems.get"; - return query; -} - -@end - -@implementation GTLRDfareportingQuery_InventoryItemsList - -@dynamic ids, inPlan, maxResults, orderId, pageToken, profileId, projectId, - siteId, sortField, sortOrder, type; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"ids" : [NSNumber class], - @"orderId" : [NSNumber class], - @"siteId" : [NSNumber class] - }; - return map; -} - -+ (instancetype)queryWithProfileId:(long long)profileId - projectId:(long long)projectId { - NSArray *pathParams = @[ - @"profileId", @"projectId" - ]; - NSString *pathURITemplate = @"userprofiles/{+profileId}/projects/{projectId}/inventoryItems"; - GTLRDfareportingQuery_InventoryItemsList *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.profileId = profileId; - query.projectId = projectId; - query.expectedObjectClass = [GTLRDfareporting_InventoryItemsListResponse class]; - query.loggingName = @"dfareporting.inventoryItems.list"; - return query; -} - -@end - @implementation GTLRDfareportingQuery_LanguagesList @dynamic profileId; @@ -3928,67 +3864,6 @@ + (instancetype)queryWithProfileId:(long long)profileId { @end -@implementation GTLRDfareportingQuery_OrdersGet - -@dynamic identifier, profileId, projectId; - -+ (NSDictionary *)parameterNameMap { - return @{ @"identifier" : @"id" }; -} - -+ (instancetype)queryWithProfileId:(long long)profileId - projectId:(long long)projectId - identifier:(long long)identifier { - NSArray *pathParams = @[ - @"id", @"profileId", @"projectId" - ]; - NSString *pathURITemplate = @"userprofiles/{+profileId}/projects/{projectId}/orders/{+id}"; - GTLRDfareportingQuery_OrdersGet *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.profileId = profileId; - query.projectId = projectId; - query.identifier = identifier; - query.expectedObjectClass = [GTLRDfareporting_Order class]; - query.loggingName = @"dfareporting.orders.get"; - return query; -} - -@end - -@implementation GTLRDfareportingQuery_OrdersList - -@dynamic ids, maxResults, pageToken, profileId, projectId, searchString, siteId, - sortField, sortOrder; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"ids" : [NSNumber class], - @"siteId" : [NSNumber class] - }; - return map; -} - -+ (instancetype)queryWithProfileId:(long long)profileId - projectId:(long long)projectId { - NSArray *pathParams = @[ - @"profileId", @"projectId" - ]; - NSString *pathURITemplate = @"userprofiles/{+profileId}/projects/{projectId}/orders"; - GTLRDfareportingQuery_OrdersList *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.profileId = profileId; - query.projectId = projectId; - query.expectedObjectClass = [GTLRDfareporting_OrdersListResponse class]; - query.loggingName = @"dfareporting.orders.list"; - return query; -} - -@end - @implementation GTLRDfareportingQuery_PlacementGroupsGet @dynamic identifier, profileId; @@ -4578,61 +4453,6 @@ + (instancetype)queryWithProfileId:(long long)profileId { @end -@implementation GTLRDfareportingQuery_ProjectsGet - -@dynamic identifier, profileId; - -+ (NSDictionary *)parameterNameMap { - return @{ @"identifier" : @"id" }; -} - -+ (instancetype)queryWithProfileId:(long long)profileId - identifier:(long long)identifier { - NSArray *pathParams = @[ - @"id", @"profileId" - ]; - NSString *pathURITemplate = @"userprofiles/{+profileId}/projects/{+id}"; - GTLRDfareportingQuery_ProjectsGet *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.profileId = profileId; - query.identifier = identifier; - query.expectedObjectClass = [GTLRDfareporting_Project class]; - query.loggingName = @"dfareporting.projects.get"; - return query; -} - -@end - -@implementation GTLRDfareportingQuery_ProjectsList - -@dynamic advertiserIds, ids, maxResults, pageToken, profileId, searchString, - sortField, sortOrder; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"advertiserIds" : [NSNumber class], - @"ids" : [NSNumber class] - }; - return map; -} - -+ (instancetype)queryWithProfileId:(long long)profileId { - NSArray *pathParams = @[ @"profileId" ]; - NSString *pathURITemplate = @"userprofiles/{+profileId}/projects"; - GTLRDfareportingQuery_ProjectsList *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.profileId = profileId; - query.expectedObjectClass = [GTLRDfareporting_ProjectsListResponse class]; - query.loggingName = @"dfareporting.projects.list"; - return query; -} - -@end - @implementation GTLRDfareportingQuery_RegionsList @dynamic profileId; @@ -5049,37 +4869,6 @@ + (instancetype)queryWithProfileId:(long long)profileId { @end -@implementation GTLRDfareportingQuery_ReportsPatch - -@dynamic profileId, reportId; - -+ (instancetype)queryWithObject:(GTLRDfareporting_Report *)object - profileId:(long long)profileId - reportId:(long long)reportId { - if (object == nil) { -#if defined(DEBUG) && DEBUG - NSAssert(object != nil, @"Got a nil object"); -#endif - return nil; - } - NSArray *pathParams = @[ - @"profileId", @"reportId" - ]; - NSString *pathURITemplate = @"userprofiles/{profileId}/reports/{reportId}"; - GTLRDfareportingQuery_ReportsPatch *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"PATCH" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.profileId = profileId; - query.reportId = reportId; - query.expectedObjectClass = [GTLRDfareporting_Report class]; - query.loggingName = @"dfareporting.reports.patch"; - return query; -} - -@end - @implementation GTLRDfareportingQuery_ReportsRun @dynamic profileId, reportId, synchronous; diff --git a/Sources/GeneratedServices/Dfareporting/GTLRDfareportingService.m b/Sources/GeneratedServices/Dfareporting/GTLRDfareportingService.m index 24afdc091..250d6d638 100644 --- a/Sources/GeneratedServices/Dfareporting/GTLRDfareportingService.m +++ b/Sources/GeneratedServices/Dfareporting/GTLRDfareportingService.m @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Campaign Manager 360 API (dfareporting/v4) +// Campaign Manager 360 API (dfareporting/v5) // Description: // Build applications to efficiently manage large or complex trafficking, // reporting, and attribution workflows for Campaign Manager 360. @@ -29,7 +29,7 @@ - (instancetype)init { if (self) { // From discovery. self.rootURLString = @"https://dfareporting.googleapis.com/"; - self.servicePath = @"dfareporting/v4/"; + self.servicePath = @"dfareporting/v5/"; self.simpleUploadPath = @"upload/"; self.batchPath = @"batch"; self.prettyPrintQueryParameterNames = @[ @"prettyPrint" ]; diff --git a/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareporting.h b/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareporting.h index 90fc84c33..96429d755 100644 --- a/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareporting.h +++ b/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareporting.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Campaign Manager 360 API (dfareporting/v4) +// Campaign Manager 360 API (dfareporting/v5) // Description: // Build applications to efficiently manage large or complex trafficking, // reporting, and attribution workflows for Campaign Manager 360. diff --git a/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingObjects.h b/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingObjects.h index 724632efd..e2d266924 100644 --- a/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingObjects.h +++ b/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingObjects.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Campaign Manager 360 API (dfareporting/v4) +// Campaign Manager 360 API (dfareporting/v5) // Description: // Build applications to efficiently manage large or complex trafficking, // reporting, and attribution workflows for Campaign Manager 360. @@ -22,7 +22,6 @@ @class GTLRDfareporting_Activities; @class GTLRDfareporting_Ad; @class GTLRDfareporting_AdBlockingConfiguration; -@class GTLRDfareporting_AdSlot; @class GTLRDfareporting_Advertiser; @class GTLRDfareporting_AdvertiserGroup; @class GTLRDfareporting_AudienceSegment; @@ -55,7 +54,6 @@ @class GTLRDfareporting_Creative; @class GTLRDfareporting_CreativeAsset; @class GTLRDfareporting_CreativeAssetId; -@class GTLRDfareporting_CreativeAssetSelection; @class GTLRDfareporting_CreativeAssignment; @class GTLRDfareporting_CreativeClickThroughUrl; @class GTLRDfareporting_CreativeCustomEvent; @@ -102,7 +100,6 @@ @class GTLRDfareporting_FieldFilter; @class GTLRDfareporting_File; @class GTLRDfareporting_File_Urls; -@class GTLRDfareporting_Flight; @class GTLRDfareporting_FloodlightActivity; @class GTLRDfareporting_FloodlightActivityDynamicTag; @class GTLRDfareporting_FloodlightActivityGroup; @@ -114,7 +111,6 @@ @class GTLRDfareporting_GeoTargeting; @class GTLRDfareporting_IngestionErrorRecord; @class GTLRDfareporting_IngestionStatus; -@class GTLRDfareporting_InventoryItem; @class GTLRDfareporting_Invoice; @class GTLRDfareporting_KeyValueTargetingExpression; @class GTLRDfareporting_LandingPage; @@ -141,8 +137,6 @@ @class GTLRDfareporting_OperatingSystem; @class GTLRDfareporting_OperatingSystemVersion; @class GTLRDfareporting_OptimizationActivity; -@class GTLRDfareporting_Order; -@class GTLRDfareporting_OrderContact; @class GTLRDfareporting_PathToConversionReportCompatibleFields; @class GTLRDfareporting_Placement; @class GTLRDfareporting_PlacementAssignment; @@ -154,10 +148,8 @@ @class GTLRDfareporting_PlatformType; @class GTLRDfareporting_PopupWindowProperties; @class GTLRDfareporting_PostalCode; -@class GTLRDfareporting_Pricing; @class GTLRDfareporting_PricingSchedule; @class GTLRDfareporting_PricingSchedulePricingPeriod; -@class GTLRDfareporting_Project; @class GTLRDfareporting_ProximityFilter; @class GTLRDfareporting_ReachReportCompatibleFields; @class GTLRDfareporting_Recipient; @@ -166,7 +158,6 @@ @class GTLRDfareporting_RemarketingValueAttribute; @class GTLRDfareporting_Report; @class GTLRDfareporting_Report_Criteria; -@class GTLRDfareporting_Report_CrossDimensionReachCriteria; @class GTLRDfareporting_Report_CrossMediaReachCriteria; @class GTLRDfareporting_Report_Delivery; @class GTLRDfareporting_Report_FloodlightCriteria; @@ -179,7 +170,6 @@ @class GTLRDfareporting_ReportsConfiguration; @class GTLRDfareporting_RequestValue; @class GTLRDfareporting_RichMediaExitOverride; -@class GTLRDfareporting_Rule; @class GTLRDfareporting_RuleBlock; @class GTLRDfareporting_Site; @class GTLRDfareporting_SiteCompanionSetting; @@ -214,6 +204,7 @@ @class GTLRDfareporting_VideoFormat; @class GTLRDfareporting_VideoOffset; @class GTLRDfareporting_VideoSettings; +@class GTLRDfareporting_YoutubeSettings; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -395,36 +386,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Ad_Type_AdServingStandardAd FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Ad_Type_AdServingTracking; // ---------------------------------------------------------------------------- -// GTLRDfareporting_AdSlot.compatibility +// GTLRDfareporting_Advertiser.euPoliticalAdsDeclaration /** - * Deprecated enum value. No longer supported. + * All new campaigns will have “No” selected for the question that asks if your + * campaign has EU political ads. You can change this for any campaign at any + * time. * - * Value: "APP" + * Value: "ADVERTISER_DOES_NOT_PLAN_TO_SERVE_EU_POLITICAL_ADS" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_AdSlot_Compatibility_App; +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Advertiser_EuPoliticalAdsDeclaration_AdvertiserDoesNotPlanToServeEuPoliticalAds; /** - * Deprecated enum value. No longer supported. + * You'll need to confirm if your campaign contains EU political advertising. * - * Value: "APP_INTERSTITIAL" + * Value: "ADVERTISER_PLANS_TO_SERVE_EU_POLITICAL_ADS" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_AdSlot_Compatibility_AppInterstitial; -/** Value: "DISPLAY" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_AdSlot_Compatibility_Display; -/** Value: "DISPLAY_INTERSTITIAL" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_AdSlot_Compatibility_DisplayInterstitial; -/** Value: "IN_STREAM_AUDIO" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_AdSlot_Compatibility_InStreamAudio; -/** Value: "IN_STREAM_VIDEO" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_AdSlot_Compatibility_InStreamVideo; - -// ---------------------------------------------------------------------------- -// GTLRDfareporting_AdSlot.paymentSourceType - -/** Value: "PLANNING_PAYMENT_SOURCE_TYPE_AGENCY_PAID" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_AdSlot_PaymentSourceType_PlanningPaymentSourceTypeAgencyPaid; -/** Value: "PLANNING_PAYMENT_SOURCE_TYPE_PUBLISHER_PAID" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_AdSlot_PaymentSourceType_PlanningPaymentSourceTypePublisherPaid; +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Advertiser_EuPoliticalAdsDeclaration_AdvertiserPlansToServeEuPoliticalAds; // ---------------------------------------------------------------------------- // GTLRDfareporting_Advertiser.status @@ -542,6 +519,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_BillingRate_UnitOfMeasure_E /** Value: "P2C" */ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_BillingRate_UnitOfMeasure_P2c; +// ---------------------------------------------------------------------------- +// GTLRDfareporting_Campaign.euPoliticalAdsDeclaration + +/** + * The campaign contains EU political ads. + * + * Value: "CONTAINS_EU_POLITICAL_ADS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Campaign_EuPoliticalAdsDeclaration_ContainsEuPoliticalAds; +/** + * The campaign does not contain EU political ads. + * + * Value: "DOES_NOT_CONTAIN_EU_POLITICAL_ADS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Campaign_EuPoliticalAdsDeclaration_DoesNotContainEuPoliticalAds; + // ---------------------------------------------------------------------------- // GTLRDfareporting_ContentSource.resourceType @@ -2967,6 +2960,177 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_CacheBus /** Value: "PHP" */ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_CacheBustingType_Php; +// ---------------------------------------------------------------------------- +// GTLRDfareporting_FloodlightActivity.conversionCategory + +/** + * The following are conversion categories added as part of + * go/new-categories-prd. The addition of items to a shopping cart or bag on an + * advertiser site. + * + * Value: "CONVERSION_CATEGORY_ADD_TO_CART" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryAddToCart; +/** + * When someone enters the checkout flow on an advertiser site. + * + * Value: "CONVERSION_CATEGORY_BEGIN_CHECKOUT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryBeginCheckout; +/** + * A booking of an appointment with an advertiser's business. + * + * Value: "CONVERSION_CATEGORY_BOOK_APPOINTMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryBookAppointment; +/** + * Boom event (for user list creation). This is an internal-only category. + * + * Value: "CONVERSION_CATEGORY_BOOM_EVENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryBoomEvent; +/** + * A call, SMS, email, chat or other type of contact to an advertiser. + * + * Value: "CONVERSION_CATEGORY_CONTACT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryContact; +/** + * A lead conversion imported from an external source into Google Ads, that has + * further completed a desired stage as defined by the lead gen advertiser. + * + * Value: "CONVERSION_CATEGORY_CONVERTED_LEAD" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryConvertedLead; +/** + * Unspecified category (called "Other" externally). + * + * Value: "CONVERSION_CATEGORY_DEFAULT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryDefault; +/** + * Software download action (as for an app). A conversion type that is created + * as a download type may not have its category changed. + * + * Value: "CONVERSION_CATEGORY_DOWNLOAD" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryDownload; +/** + * A website engagement event such as long site time or a GA Smart Goal, + * intended to be used for GA, Firebase, GA Gold goal imports. This will also + * be used for YouTube Hosted engagements like Add To Playlist, Likes etc. See + * go/add-to-playlist-conversion-buyside + * + * Value: "CONVERSION_CATEGORY_ENGAGEMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryEngagement; +/** + * A search for an advertiser's business location. + * + * Value: "CONVERSION_CATEGORY_GET_DIRECTIONS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryGetDirections; +/** + * A lead conversion imported from an external source into Google Ads. + * + * Value: "CONVERSION_CATEGORY_IMPORTED_LEAD" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryImportedLead; +/** + * Conversion event that provides the revenue value of impressions that were + * shown in-app to users. See go/ad-impression-type. + * + * Value: "CONVERSION_CATEGORY_IN_APP_AD_REVENUE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryInAppAdRevenue; +/** + * Message exchanges which indicate an interest in an advertiser's offering. + * + * Value: "CONVERSION_CATEGORY_MESSAGE_LEAD" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryMessageLead; +/** + * A click to an advertiser's partner site, e.g. a referral. + * + * Value: "CONVERSION_CATEGORY_OUTBOUND_CLICK" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryOutboundClick; +/** + * User visiting a page. + * + * Value: "CONVERSION_CATEGORY_PAGE_VIEW" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryPageView; +/** + * A call to indicate interesting in an advertiser's offering. Note: this is + * different from support calls. + * + * Value: "CONVERSION_CATEGORY_PHONE_CALL_LEAD" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryPhoneCallLead; +/** + * Purchase, sales, or "order placed" event. + * + * Value: "CONVERSION_CATEGORY_PURCHASE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryPurchase; +/** + * End of new conversion categories from go/new-categories-prd. A lead + * conversion imported from an external source into Google Ads, that has been + * further qualified by the advertiser. + * + * Value: "CONVERSION_CATEGORY_QUALIFIED_LEAD" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryQualifiedLead; +/** + * A quote or price estimate request. + * + * Value: "CONVERSION_CATEGORY_REQUEST_QUOTE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryRequestQuote; +/** + * Signup user action. + * + * Value: "CONVERSION_CATEGORY_SIGNUP" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategorySignup; +/** + * A sale occurring in a physical store. + * + * Value: "CONVERSION_CATEGORY_STORE_SALE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryStoreSale; +/** + * A visit to a physical store location. + * + * Value: "CONVERSION_CATEGORY_STORE_VISIT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryStoreVisit; +/** + * A submission of a form on an advertiser site indicating business interest. + * + * Value: "CONVERSION_CATEGORY_SUBMIT_LEAD_FORM" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategorySubmitLeadForm; +/** + * The start of a free subscription for a product or service. + * + * Value: "CONVERSION_CATEGORY_SUBSCRIBE_FREE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategorySubscribeFree; +/** + * The start of a paid subscription for a product or service. + * + * Value: "CONVERSION_CATEGORY_SUBSCRIBE_PAID" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategorySubscribePaid; +/** + * Key page views (ex: product page, article). + * + * Value: "CONVERSION_CATEGORY_VIEW_KEY_PAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryViewKeyPage; + // ---------------------------------------------------------------------------- // GTLRDfareporting_FloodlightActivity.countingMethod @@ -3290,14 +3454,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FsCommand_PositionOption_Ce */ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FsCommand_PositionOption_DistanceFromTopLeftCorner; -// ---------------------------------------------------------------------------- -// GTLRDfareporting_InventoryItem.type - -/** Value: "PLANNING_PLACEMENT_TYPE_CREDIT" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_InventoryItem_Type_PlanningPlacementTypeCredit; -/** Value: "PLANNING_PLACEMENT_TYPE_REGULAR" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_InventoryItem_Type_PlanningPlacementTypeRegular; - // ---------------------------------------------------------------------------- // GTLRDfareporting_Invoice.invoiceType @@ -3545,6 +3701,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_MeasurementPartnerWrappingD /** Value: "BLOCKING" */ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_MeasurementPartnerWrappingData_TagWrappingMode_Blocking; +/** Value: "BLOCKING_FILTERING_VPAID" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_MeasurementPartnerWrappingData_TagWrappingMode_BlockingFilteringVpaid; +/** Value: "BLOCKING_FILTERING_VPAID_ONLY" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_MeasurementPartnerWrappingData_TagWrappingMode_BlockingFilteringVpaidOnly; /** Value: "MONITORING" */ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_MeasurementPartnerWrappingData_TagWrappingMode_Monitoring; /** Value: "MONITORING_READ_ONLY" */ @@ -3620,16 +3780,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_ObjectFilter_Status_Assigne */ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_ObjectFilter_Status_None; -// ---------------------------------------------------------------------------- -// GTLRDfareporting_OrderContact.contactType - -/** Value: "PLANNING_ORDER_CONTACT_BUYER_BILLING_CONTACT" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_OrderContact_ContactType_PlanningOrderContactBuyerBillingContact; -/** Value: "PLANNING_ORDER_CONTACT_BUYER_CONTACT" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_OrderContact_ContactType_PlanningOrderContactBuyerContact; -/** Value: "PLANNING_ORDER_CONTACT_SELLER_CONTACT" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_OrderContact_ContactType_PlanningOrderContactSellerContact; - // ---------------------------------------------------------------------------- // GTLRDfareporting_Placement.activeStatus @@ -3829,56 +3979,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_PopupWindowProperties_Posit */ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_PopupWindowProperties_PositionType_Coordinates; -// ---------------------------------------------------------------------------- -// GTLRDfareporting_Pricing.capCostType - -/** Value: "PLANNING_PLACEMENT_CAP_COST_TYPE_CUMULATIVE" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Pricing_CapCostType_PlanningPlacementCapCostTypeCumulative; -/** Value: "PLANNING_PLACEMENT_CAP_COST_TYPE_MONTHLY" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Pricing_CapCostType_PlanningPlacementCapCostTypeMonthly; -/** Value: "PLANNING_PLACEMENT_CAP_COST_TYPE_NONE" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Pricing_CapCostType_PlanningPlacementCapCostTypeNone; - -// ---------------------------------------------------------------------------- -// GTLRDfareporting_Pricing.groupType - -/** - * A placement package represents "package pricing": Pricing and flight - * information is defined on the package, not on its child placements. The - * placements in a package do not need to be on the same page. - * - * Value: "PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Pricing_GroupType_PlanningPlacementGroupTypePackage; -/** - * A roadblock represents a set of placements that are all the same page. One - * of the child placements is designated as the "primary" placement for - * reporting purposes. - * - * Value: "PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK" - */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Pricing_GroupType_PlanningPlacementGroupTypeRoadblock; - -// ---------------------------------------------------------------------------- -// GTLRDfareporting_Pricing.pricingType - -/** Value: "PLANNING_PLACEMENT_PRICING_TYPE_CLICKS" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Pricing_PricingType_PlanningPlacementPricingTypeClicks; -/** Value: "PLANNING_PLACEMENT_PRICING_TYPE_CPA" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Pricing_PricingType_PlanningPlacementPricingTypeCpa; -/** Value: "PLANNING_PLACEMENT_PRICING_TYPE_CPC" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Pricing_PricingType_PlanningPlacementPricingTypeCpc; -/** Value: "PLANNING_PLACEMENT_PRICING_TYPE_CPM" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Pricing_PricingType_PlanningPlacementPricingTypeCpm; -/** Value: "PLANNING_PLACEMENT_PRICING_TYPE_CPM_ACTIVEVIEW" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Pricing_PricingType_PlanningPlacementPricingTypeCpmActiveview; -/** Value: "PLANNING_PLACEMENT_PRICING_TYPE_FLAT_RATE_CLICKS" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Pricing_PricingType_PlanningPlacementPricingTypeFlatRateClicks; -/** Value: "PLANNING_PLACEMENT_PRICING_TYPE_FLAT_RATE_IMPRESSIONS" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Pricing_PricingType_PlanningPlacementPricingTypeFlatRateImpressions; -/** Value: "PLANNING_PLACEMENT_PRICING_TYPE_IMPRESSIONS" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Pricing_PricingType_PlanningPlacementPricingTypeImpressions; - // ---------------------------------------------------------------------------- // GTLRDfareporting_PricingSchedule.capCostOption @@ -3905,32 +4005,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_PricingSchedule_PricingType /** Value: "PRICING_TYPE_FLAT_RATE_IMPRESSIONS" */ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_PricingSchedule_PricingType_PricingTypeFlatRateImpressions; -// ---------------------------------------------------------------------------- -// GTLRDfareporting_Project.audienceAgeGroup - -/** Value: "PLANNING_AUDIENCE_AGE_18_24" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Project_AudienceAgeGroup_PlanningAudienceAge1824; -/** Value: "PLANNING_AUDIENCE_AGE_25_34" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Project_AudienceAgeGroup_PlanningAudienceAge2534; -/** Value: "PLANNING_AUDIENCE_AGE_35_44" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Project_AudienceAgeGroup_PlanningAudienceAge3544; -/** Value: "PLANNING_AUDIENCE_AGE_45_54" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Project_AudienceAgeGroup_PlanningAudienceAge4554; -/** Value: "PLANNING_AUDIENCE_AGE_55_64" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Project_AudienceAgeGroup_PlanningAudienceAge5564; -/** Value: "PLANNING_AUDIENCE_AGE_65_OR_MORE" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Project_AudienceAgeGroup_PlanningAudienceAge65OrMore; -/** Value: "PLANNING_AUDIENCE_AGE_UNKNOWN" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Project_AudienceAgeGroup_PlanningAudienceAgeUnknown; - -// ---------------------------------------------------------------------------- -// GTLRDfareporting_Project.audienceGender - -/** Value: "PLANNING_AUDIENCE_GENDER_FEMALE" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Project_AudienceGender_PlanningAudienceGenderFemale; -/** Value: "PLANNING_AUDIENCE_GENDER_MALE" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Project_AudienceGender_PlanningAudienceGenderMale; - // ---------------------------------------------------------------------------- // GTLRDfareporting_ProximityFilter.radiusBucketType @@ -4082,8 +4156,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Report_Format_Excel; // ---------------------------------------------------------------------------- // GTLRDfareporting_Report.type -/** Value: "CROSS_DIMENSION_REACH" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Report_Type_CrossDimensionReach; /** Value: "CROSS_MEDIA_REACH" */ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Report_Type_CrossMediaReach; /** Value: "FLOODLIGHT" */ @@ -4095,18 +4167,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Report_Type_Reach; /** Value: "STANDARD" */ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Report_Type_Standard; -// ---------------------------------------------------------------------------- -// GTLRDfareporting_Report_CrossDimensionReachCriteria.dimension - -/** Value: "ADVERTISER" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Report_CrossDimensionReachCriteria_Dimension_Advertiser; -/** Value: "CAMPAIGN" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Report_CrossDimensionReachCriteria_Dimension_Campaign; -/** Value: "SITE_BY_ADVERTISER" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Report_CrossDimensionReachCriteria_Dimension_SiteByAdvertiser; -/** Value: "SITE_BY_CAMPAIGN" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Report_CrossDimensionReachCriteria_Dimension_SiteByCampaign; - // ---------------------------------------------------------------------------- // GTLRDfareporting_Report_Delivery.emailOwnerDeliveryType @@ -4831,6 +4891,58 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_L /** Value: "PORTRAIT" */ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_Portrait; +// ---------------------------------------------------------------------------- +// GTLRDfareporting_YoutubeSettings.callToActions + +/** Value: "CALL_TO_ACTION_APPLY_NOW" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionApplyNow; +/** Value: "CALL_TO_ACTION_BOOK_NOW" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionBookNow; +/** Value: "CALL_TO_ACTION_BUY_NOW" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionBuyNow; +/** Value: "CALL_TO_ACTION_CALL_NOW" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionCallNow; +/** Value: "CALL_TO_ACTION_CONTACT_US" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionContactUs; +/** Value: "CALL_TO_ACTION_DONATE_NOW" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionDonateNow; +/** Value: "CALL_TO_ACTION_DOWNLOAD" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionDownload; +/** Value: "CALL_TO_ACTION_GET_OFFER" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionGetOffer; +/** Value: "CALL_TO_ACTION_GET_QUOTE" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionGetQuote; +/** Value: "CALL_TO_ACTION_LEARN_MORE" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionLearnMore; +/** Value: "CALL_TO_ACTION_ORDER_NOW" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionOrderNow; +/** Value: "CALL_TO_ACTION_PLAY_NOW" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionPlayNow; +/** Value: "CALL_TO_ACTION_SCHEDULE_NOW" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionScheduleNow; +/** Value: "CALL_TO_ACTION_SEE_MORE" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionSeeMore; +/** Value: "CALL_TO_ACTION_SHOP_NOW" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionShopNow; +/** Value: "CALL_TO_ACTION_SIGN_UP" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionSignUp; +/** Value: "CALL_TO_ACTION_START_NOW" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionStartNow; +/** Value: "CALL_TO_ACTION_SUBSCRIBE" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionSubscribe; +/** Value: "CALL_TO_ACTION_TEST_DRIVE" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionTestDrive; +/** Value: "CALL_TO_ACTION_UNKNOWN" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionUnknown; +/** Value: "CALL_TO_ACTION_VIEW_MENU" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionViewMenu; +/** Value: "CALL_TO_ACTION_VISIT_SITE" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionVisitSite; +/** Value: "CALL_TO_ACTION_VISIT_STORE" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionVisitStore; +/** Value: "CALL_TO_ACTION_WATCH_NOW" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_YoutubeSettings_CallToActions_CallToActionWatchNow; + /** * Contains properties of a Campaign Manager account. */ @@ -5715,82 +5827,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P @end -/** - * Ad Slot - */ -@interface GTLRDfareporting_AdSlot : GTLRObject - -/** Comment for this ad slot. */ -@property(nonatomic, copy, nullable) NSString *comment; - -/** - * Ad slot compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering - * either on desktop, mobile devices or in mobile apps for regular or - * interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering in - * mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads - * developed with the VAST standard. - * - * Likely values: - * @arg @c kGTLRDfareporting_AdSlot_Compatibility_App Deprecated enum value. - * No longer supported. (Value: "APP") - * @arg @c kGTLRDfareporting_AdSlot_Compatibility_AppInterstitial Deprecated - * enum value. No longer supported. (Value: "APP_INTERSTITIAL") - * @arg @c kGTLRDfareporting_AdSlot_Compatibility_Display Value "DISPLAY" - * @arg @c kGTLRDfareporting_AdSlot_Compatibility_DisplayInterstitial Value - * "DISPLAY_INTERSTITIAL" - * @arg @c kGTLRDfareporting_AdSlot_Compatibility_InStreamAudio Value - * "IN_STREAM_AUDIO" - * @arg @c kGTLRDfareporting_AdSlot_Compatibility_InStreamVideo Value - * "IN_STREAM_VIDEO" - */ -@property(nonatomic, copy, nullable) NSString *compatibility; - -/** - * Height of this ad slot. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *height; - -/** - * ID of the placement from an external platform that is linked to this ad - * slot. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *linkedPlacementId; - -/** Name of this ad slot. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Payment source type of this ad slot. - * - * Likely values: - * @arg @c kGTLRDfareporting_AdSlot_PaymentSourceType_PlanningPaymentSourceTypeAgencyPaid - * Value "PLANNING_PAYMENT_SOURCE_TYPE_AGENCY_PAID" - * @arg @c kGTLRDfareporting_AdSlot_PaymentSourceType_PlanningPaymentSourceTypePublisherPaid - * Value "PLANNING_PAYMENT_SOURCE_TYPE_PUBLISHER_PAID" - */ -@property(nonatomic, copy, nullable) NSString *paymentSourceType; - -/** - * Primary ad slot of a roadblock inventory item. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *primary; - -/** - * Width of this ad slot. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *width; - -@end - - /** * Contains properties of a Campaign Manager advertiser. */ @@ -5830,6 +5866,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P /** Default email address used in sender field for tag emails. */ @property(nonatomic, copy, nullable) NSString *defaultEmail; +/** + * Optional. Whether the advertiser plans to serve EU political ads. + * + * Likely values: + * @arg @c kGTLRDfareporting_Advertiser_EuPoliticalAdsDeclaration_AdvertiserDoesNotPlanToServeEuPoliticalAds + * All new campaigns will have “No” selected for the question that asks + * if your campaign has EU political ads. You can change this for any + * campaign at any time. (Value: + * "ADVERTISER_DOES_NOT_PLAN_TO_SERVE_EU_POLITICAL_ADS") + * @arg @c kGTLRDfareporting_Advertiser_EuPoliticalAdsDeclaration_AdvertiserPlansToServeEuPoliticalAds + * You'll need to confirm if your campaign contains EU political + * advertising. (Value: "ADVERTISER_PLANS_TO_SERVE_EU_POLITICAL_ADS") + */ +@property(nonatomic, copy, nullable) NSString *euPoliticalAdsDeclaration; + /** * Floodlight configuration ID of this advertiser. The floodlight configuration * ID will be created automatically, so on insert this field should be left @@ -6678,6 +6729,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P */ @property(nonatomic, strong, nullable) GTLRDateTime *endDate; +/** + * Optional. Whether the campaign has EU political ads. Campaign Manager 360 + * doesn't allow campaigns with EU political ads to serve in the EU. They can + * still serve in other regions. + * + * Likely values: + * @arg @c kGTLRDfareporting_Campaign_EuPoliticalAdsDeclaration_ContainsEuPoliticalAds + * The campaign contains EU political ads. (Value: + * "CONTAINS_EU_POLITICAL_ADS") + * @arg @c kGTLRDfareporting_Campaign_EuPoliticalAdsDeclaration_DoesNotContainEuPoliticalAds + * The campaign does not contain EU political ads. (Value: + * "DOES_NOT_CONTAIN_EU_POLITICAL_ADS") + */ +@property(nonatomic, copy, nullable) NSString *euPoliticalAdsDeclaration; + /** * Overrides that can be used to activate or deactivate advertiser event tags. */ @@ -8125,9 +8191,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P */ @property(nonatomic, strong, nullable) NSArray *creativeAssets; -/** Required if dynamicAssetSelection is true. */ -@property(nonatomic, strong, nullable) GTLRDfareporting_CreativeAssetSelection *creativeAssetSelection; - /** * Creative field assignments for this creative. Applicable to all creative * types. @@ -8143,17 +8206,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P */ @property(nonatomic, strong, nullable) NSArray *customKeyValues; -/** - * Set this to true to enable the use of rules to target individual assets in - * this creative. When set to true creativeAssetSelection must be set. This - * also controls asset-level companions. When this is true, companion creatives - * should be assigned to creative assets. Learn more. Applicable to - * INSTREAM_VIDEO creatives. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *dynamicAssetSelection; - /** * List of exit events configured for the creative. For DISPLAY and * DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from @@ -9167,31 +9219,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P @end -/** - * Encapsulates the list of rules for asset selection and a default asset in - * case none of the rules match. Applicable to INSTREAM_VIDEO creatives. - */ -@interface GTLRDfareporting_CreativeAssetSelection : GTLRObject - -/** - * A creativeAssets[].id. This should refer to one of the parent assets in this - * creative, and will be served if none of the rules match. This is a required - * field. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *defaultAssetId; - -/** - * Rules determine which asset will be served to a viewer. Rules will be - * evaluated in the order in which they are stored in this list. This list must - * contain at least one rule. Applicable to INSTREAM_VIDEO creatives. - */ -@property(nonatomic, strong, nullable) NSArray *rules; - -@end - - /** * Creative Assignment. */ @@ -12102,42 +12129,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P @end -/** - * Flight - */ -@interface GTLRDfareporting_Flight : GTLRObject - -/** - * endDate - * - * Date only (yyyy-mm-dd). - */ -@property(nonatomic, strong, nullable) GTLRDateTime *endDate; - -/** - * Rate or cost of this flight. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *rateOrCost; - -/** - * startDate - * - * Date only (yyyy-mm-dd). - */ -@property(nonatomic, strong, nullable) GTLRDateTime *startDate; - -/** - * Units of this flight. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *units; - -@end - - /** * Floodlight Activity GenerateTag Response */ @@ -12249,6 +12240,99 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P */ @property(nonatomic, copy, nullable) NSString *cacheBustingType; +/** + * Required. The conversion category of the activity. + * + * Likely values: + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryAddToCart + * The following are conversion categories added as part of + * go/new-categories-prd. The addition of items to a shopping cart or bag + * on an advertiser site. (Value: "CONVERSION_CATEGORY_ADD_TO_CART") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryBeginCheckout + * When someone enters the checkout flow on an advertiser site. (Value: + * "CONVERSION_CATEGORY_BEGIN_CHECKOUT") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryBookAppointment + * A booking of an appointment with an advertiser's business. (Value: + * "CONVERSION_CATEGORY_BOOK_APPOINTMENT") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryBoomEvent + * Boom event (for user list creation). This is an internal-only + * category. (Value: "CONVERSION_CATEGORY_BOOM_EVENT") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryContact + * A call, SMS, email, chat or other type of contact to an advertiser. + * (Value: "CONVERSION_CATEGORY_CONTACT") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryConvertedLead + * A lead conversion imported from an external source into Google Ads, + * that has further completed a desired stage as defined by the lead gen + * advertiser. (Value: "CONVERSION_CATEGORY_CONVERTED_LEAD") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryDefault + * Unspecified category (called "Other" externally). (Value: + * "CONVERSION_CATEGORY_DEFAULT") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryDownload + * Software download action (as for an app). A conversion type that is + * created as a download type may not have its category changed. (Value: + * "CONVERSION_CATEGORY_DOWNLOAD") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryEngagement + * A website engagement event such as long site time or a GA Smart Goal, + * intended to be used for GA, Firebase, GA Gold goal imports. This will + * also be used for YouTube Hosted engagements like Add To Playlist, + * Likes etc. See go/add-to-playlist-conversion-buyside (Value: + * "CONVERSION_CATEGORY_ENGAGEMENT") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryGetDirections + * A search for an advertiser's business location. (Value: + * "CONVERSION_CATEGORY_GET_DIRECTIONS") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryImportedLead + * A lead conversion imported from an external source into Google Ads. + * (Value: "CONVERSION_CATEGORY_IMPORTED_LEAD") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryInAppAdRevenue + * Conversion event that provides the revenue value of impressions that + * were shown in-app to users. See go/ad-impression-type. (Value: + * "CONVERSION_CATEGORY_IN_APP_AD_REVENUE") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryMessageLead + * Message exchanges which indicate an interest in an advertiser's + * offering. (Value: "CONVERSION_CATEGORY_MESSAGE_LEAD") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryOutboundClick + * A click to an advertiser's partner site, e.g. a referral. (Value: + * "CONVERSION_CATEGORY_OUTBOUND_CLICK") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryPageView + * User visiting a page. (Value: "CONVERSION_CATEGORY_PAGE_VIEW") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryPhoneCallLead + * A call to indicate interesting in an advertiser's offering. Note: this + * is different from support calls. (Value: + * "CONVERSION_CATEGORY_PHONE_CALL_LEAD") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryPurchase + * Purchase, sales, or "order placed" event. (Value: + * "CONVERSION_CATEGORY_PURCHASE") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryQualifiedLead + * End of new conversion categories from go/new-categories-prd. A lead + * conversion imported from an external source into Google Ads, that has + * been further qualified by the advertiser. (Value: + * "CONVERSION_CATEGORY_QUALIFIED_LEAD") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryRequestQuote + * A quote or price estimate request. (Value: + * "CONVERSION_CATEGORY_REQUEST_QUOTE") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategorySignup + * Signup user action. (Value: "CONVERSION_CATEGORY_SIGNUP") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryStoreSale + * A sale occurring in a physical store. (Value: + * "CONVERSION_CATEGORY_STORE_SALE") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryStoreVisit + * A visit to a physical store location. (Value: + * "CONVERSION_CATEGORY_STORE_VISIT") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategorySubmitLeadForm + * A submission of a form on an advertiser site indicating business + * interest. (Value: "CONVERSION_CATEGORY_SUBMIT_LEAD_FORM") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategorySubscribeFree + * The start of a free subscription for a product or service. (Value: + * "CONVERSION_CATEGORY_SUBSCRIBE_FREE") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategorySubscribePaid + * The start of a paid subscription for a product or service. (Value: + * "CONVERSION_CATEGORY_SUBSCRIBE_PAID") + * @arg @c kGTLRDfareporting_FloodlightActivity_ConversionCategory_ConversionCategoryViewKeyPage + * Key page views (ex: product page, article). (Value: + * "CONVERSION_CATEGORY_VIEW_KEY_PAGE") + */ +@property(nonatomic, copy, nullable) NSString *conversionCategory; + /** * Counting method for conversions for this floodlight activity. This is a * required field. @@ -13022,196 +13106,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P /** - * Represents a buy from the Planning inventory store. + * Contains information about a single invoice */ -@interface GTLRDfareporting_InventoryItem : GTLRObject +@interface GTLRDfareporting_Invoice : GTLRObject /** - * Account ID of this inventory item. - * - * Uses NSNumber of longLongValue. + * The list of summarized campaign information associated with this invoice. */ -@property(nonatomic, strong, nullable) NSNumber *accountId; +@property(nonatomic, strong, nullable) NSArray *campaignSummaries; /** - * Ad slots of this inventory item. If this inventory item represents a - * standalone placement, there will be exactly one ad slot. If this inventory - * item represents a placement group, there will be more than one ad slot, each - * representing one child placement in that placement group. + * The originally issued invoice that is being adjusted by this invoice, if + * applicable. May appear on invoice PDF as *Reference invoice number*. */ -@property(nonatomic, strong, nullable) NSArray *adSlots; - -/** - * Advertiser ID of this inventory item. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *advertiserId; - -/** - * Content category ID of this inventory item. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *contentCategoryId; - -/** - * Estimated click-through rate of this inventory item. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *estimatedClickThroughRate; - -/** - * Estimated conversion rate of this inventory item. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *estimatedConversionRate; - -/** - * ID of this inventory item. - * - * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *identifier; - -/** - * Whether this inventory item is in plan. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *inPlan; - -/** - * Identifies what kind of resource this is. Value: the fixed string - * "dfareporting#inventoryItem". - */ -@property(nonatomic, copy, nullable) NSString *kind; - -/** Information about the most recent modification of this inventory item. */ -@property(nonatomic, strong, nullable) GTLRDfareporting_LastModifiedInfo *lastModifiedInfo; - -/** - * Name of this inventory item. For standalone inventory items, this is the - * same name as that of its only ad slot. For group inventory items, this can - * differ from the name of any of its ad slots. - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Negotiation channel ID of this inventory item. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *negotiationChannelId; - -/** - * Order ID of this inventory item. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *orderId; - -/** - * Placement strategy ID of this inventory item. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *placementStrategyId; - -/** Pricing of this inventory item. */ -@property(nonatomic, strong, nullable) GTLRDfareporting_Pricing *pricing; - -/** - * Project ID of this inventory item. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *projectId; - -/** - * RFP ID of this inventory item. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *rfpId; - -/** - * ID of the site this inventory item is associated with. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *siteId; - -/** - * Subaccount ID of this inventory item. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *subaccountId; - -/** - * Type of inventory item. - * - * Likely values: - * @arg @c kGTLRDfareporting_InventoryItem_Type_PlanningPlacementTypeCredit - * Value "PLANNING_PLACEMENT_TYPE_CREDIT" - * @arg @c kGTLRDfareporting_InventoryItem_Type_PlanningPlacementTypeRegular - * Value "PLANNING_PLACEMENT_TYPE_REGULAR" - */ -@property(nonatomic, copy, nullable) NSString *type; - -@end - - -/** - * Inventory item List Response - * - * @note This class supports NSFastEnumeration and indexed subscripting over - * its "inventoryItems" property. If returned as the result of a query, - * it should support automatic pagination (when @c shouldFetchNextPages - * is enabled). - */ -@interface GTLRDfareporting_InventoryItemsListResponse : GTLRCollectionObject - -/** - * Inventory item collection - * - * @note This property is used to support NSFastEnumeration and indexed - * subscripting on this class. - */ -@property(nonatomic, strong, nullable) NSArray *inventoryItems; - -/** - * Identifies what kind of resource this is. Value: the fixed string - * "dfareporting#inventoryItemsListResponse". - */ -@property(nonatomic, copy, nullable) NSString *kind; - -/** Pagination token to be used for the next list operation. */ -@property(nonatomic, copy, nullable) NSString *nextPageToken; - -@end - - -/** - * Contains information about a single invoice - */ -@interface GTLRDfareporting_Invoice : GTLRObject - -/** - * The list of summarized campaign information associated with this invoice. - */ -@property(nonatomic, strong, nullable) NSArray *campaignSummaries; - -/** - * The originally issued invoice that is being adjusted by this invoice, if - * applicable. May appear on invoice PDF as *Reference invoice number*. - */ -@property(nonatomic, copy, nullable) NSString *correctedInvoiceId; +@property(nonatomic, copy, nullable) NSString *correctedInvoiceId; /** Invoice currency code in ISO 4217 format. */ @property(nonatomic, copy, nullable) NSString *currencyCode; @@ -13788,6 +13696,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P * Likely values: * @arg @c kGTLRDfareporting_MeasurementPartnerWrappingData_TagWrappingMode_Blocking * Value "BLOCKING" + * @arg @c kGTLRDfareporting_MeasurementPartnerWrappingData_TagWrappingMode_BlockingFilteringVpaid + * Value "BLOCKING_FILTERING_VPAID" + * @arg @c kGTLRDfareporting_MeasurementPartnerWrappingData_TagWrappingMode_BlockingFilteringVpaidOnly + * Value "BLOCKING_FILTERING_VPAID_ONLY" * @arg @c kGTLRDfareporting_MeasurementPartnerWrappingData_TagWrappingMode_Monitoring * Value "MONITORING" * @arg @c kGTLRDfareporting_MeasurementPartnerWrappingData_TagWrappingMode_MonitoringReadOnly @@ -14338,183 +14250,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P @end -/** - * Describes properties of a Planning order. - */ -@interface GTLRDfareporting_Order : GTLRObject - -/** - * Account ID of this order. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *accountId; - -/** - * Advertiser ID of this order. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *advertiserId; - -/** - * IDs for users that have to approve documents created for this order. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSArray *approverUserProfileIds; - -/** Buyer invoice ID associated with this order. */ -@property(nonatomic, copy, nullable) NSString *buyerInvoiceId; - -/** Name of the buyer organization. */ -@property(nonatomic, copy, nullable) NSString *buyerOrganizationName; - -/** Comments in this order. */ -@property(nonatomic, copy, nullable) NSString *comments; - -/** Contacts for this order. */ -@property(nonatomic, strong, nullable) NSArray *contacts; - -/** - * ID of this order. This is a read-only, auto-generated field. - * - * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *identifier; - -/** - * Identifies what kind of resource this is. Value: the fixed string - * "dfareporting#order". - */ -@property(nonatomic, copy, nullable) NSString *kind; - -/** Information about the most recent modification of this order. */ -@property(nonatomic, strong, nullable) GTLRDfareporting_LastModifiedInfo *lastModifiedInfo; - -/** Name of this order. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** Notes of this order. */ -@property(nonatomic, copy, nullable) NSString *notes; - -/** - * ID of the terms and conditions template used in this order. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *planningTermId; - -/** - * Project ID of this order. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *projectId; - -/** Seller order ID associated with this order. */ -@property(nonatomic, copy, nullable) NSString *sellerOrderId; - -/** Name of the seller organization. */ -@property(nonatomic, copy, nullable) NSString *sellerOrganizationName; - -/** - * Site IDs this order is associated with. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSArray *siteId; - -/** Free-form site names this order is associated with. */ -@property(nonatomic, strong, nullable) NSArray *siteNames; - -/** - * Subaccount ID of this order. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *subaccountId; - -/** Terms and conditions of this order. */ -@property(nonatomic, copy, nullable) NSString *termsAndConditions; - -@end - - -/** - * Contact of an order. - */ -@interface GTLRDfareporting_OrderContact : GTLRObject - -/** - * Free-form information about this contact. It could be any information - * related to this contact in addition to type, title, name, and signature user - * profile ID. - */ -@property(nonatomic, copy, nullable) NSString *contactInfo; - -/** Name of this contact. */ -@property(nonatomic, copy, nullable) NSString *contactName; - -/** Title of this contact. */ -@property(nonatomic, copy, nullable) NSString *contactTitle; - -/** - * Type of this contact. - * - * Likely values: - * @arg @c kGTLRDfareporting_OrderContact_ContactType_PlanningOrderContactBuyerBillingContact - * Value "PLANNING_ORDER_CONTACT_BUYER_BILLING_CONTACT" - * @arg @c kGTLRDfareporting_OrderContact_ContactType_PlanningOrderContactBuyerContact - * Value "PLANNING_ORDER_CONTACT_BUYER_CONTACT" - * @arg @c kGTLRDfareporting_OrderContact_ContactType_PlanningOrderContactSellerContact - * Value "PLANNING_ORDER_CONTACT_SELLER_CONTACT" - */ -@property(nonatomic, copy, nullable) NSString *contactType; - -/** - * ID of the user profile containing the signature that will be embedded into - * order documents. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *signatureUserProfileId; - -@end - - -/** - * Order List Response - * - * @note This class supports NSFastEnumeration and indexed subscripting over - * its "orders" property. If returned as the result of a query, it should - * support automatic pagination (when @c shouldFetchNextPages is - * enabled). - */ -@interface GTLRDfareporting_OrdersListResponse : GTLRCollectionObject - -/** - * Identifies what kind of resource this is. Value: the fixed string - * "dfareporting#ordersListResponse". - */ -@property(nonatomic, copy, nullable) NSString *kind; - -/** Pagination token to be used for the next list operation. */ -@property(nonatomic, copy, nullable) NSString *nextPageToken; - -/** - * Order collection. - * - * @note This property is used to support NSFastEnumeration and indexed - * subscripting on this class. - */ -@property(nonatomic, strong, nullable) NSArray *orders; - -@end - - /** * Represents fields that are compatible to be selected for a report of type * "PATH_TO_CONVERSION". @@ -14626,6 +14361,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P */ @property(nonatomic, strong, nullable) GTLRDfareporting_DimensionValue *advertiserIdDimensionValue; +/** + * Optional. Whether the placement is enabled for YouTube integration. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowOnYoutube; + /** * Campaign ID of this placement. This field is a required field on insertion. * @@ -14930,6 +14672,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P */ @property(nonatomic, strong, nullable) NSNumber *wrappingOptOut; +/** + * Optional. YouTube settings for the placement. The placement must be enabled + * for YouTube to use this field. + */ +@property(nonatomic, strong, nullable) GTLRDfareporting_YoutubeSettings *youtubeSettings; + @end @@ -15534,94 +15282,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P @end -/** - * GTLRDfareporting_Pricing - */ -@interface GTLRDfareporting_Pricing : GTLRObject - -/** - * Cap cost type of this inventory item. - * - * Likely values: - * @arg @c kGTLRDfareporting_Pricing_CapCostType_PlanningPlacementCapCostTypeCumulative - * Value "PLANNING_PLACEMENT_CAP_COST_TYPE_CUMULATIVE" - * @arg @c kGTLRDfareporting_Pricing_CapCostType_PlanningPlacementCapCostTypeMonthly - * Value "PLANNING_PLACEMENT_CAP_COST_TYPE_MONTHLY" - * @arg @c kGTLRDfareporting_Pricing_CapCostType_PlanningPlacementCapCostTypeNone - * Value "PLANNING_PLACEMENT_CAP_COST_TYPE_NONE" - */ -@property(nonatomic, copy, nullable) NSString *capCostType; - -/** - * endDate - * - * Date only (yyyy-mm-dd). - */ -@property(nonatomic, strong, nullable) GTLRDateTime *endDate; - -/** - * Flights of this inventory item. A flight (a.k.a. pricing period) represents - * the inventory item pricing information for a specific period of time. - */ -@property(nonatomic, strong, nullable) NSArray *flights; - -/** - * Group type of this inventory item if it represents a placement group. Is - * null otherwise. There are two type of placement groups: - * PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE is a simple group of inventory items - * that acts as a single pricing point for a group of tags. - * PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK is a group of inventory items that - * not only acts as a single pricing point, but also assumes that all the tags - * in it will be served at the same time. A roadblock requires one of its - * assigned inventory items to be marked as primary. - * - * Likely values: - * @arg @c kGTLRDfareporting_Pricing_GroupType_PlanningPlacementGroupTypePackage - * A placement package represents "package pricing": Pricing and flight - * information is defined on the package, not on its child placements. - * The placements in a package do not need to be on the same page. - * (Value: "PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE") - * @arg @c kGTLRDfareporting_Pricing_GroupType_PlanningPlacementGroupTypeRoadblock - * A roadblock represents a set of placements that are all the same page. - * One of the child placements is designated as the "primary" placement - * for reporting purposes. (Value: - * "PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK") - */ -@property(nonatomic, copy, nullable) NSString *groupType; - -/** - * Pricing type of this inventory item. - * - * Likely values: - * @arg @c kGTLRDfareporting_Pricing_PricingType_PlanningPlacementPricingTypeClicks - * Value "PLANNING_PLACEMENT_PRICING_TYPE_CLICKS" - * @arg @c kGTLRDfareporting_Pricing_PricingType_PlanningPlacementPricingTypeCpa - * Value "PLANNING_PLACEMENT_PRICING_TYPE_CPA" - * @arg @c kGTLRDfareporting_Pricing_PricingType_PlanningPlacementPricingTypeCpc - * Value "PLANNING_PLACEMENT_PRICING_TYPE_CPC" - * @arg @c kGTLRDfareporting_Pricing_PricingType_PlanningPlacementPricingTypeCpm - * Value "PLANNING_PLACEMENT_PRICING_TYPE_CPM" - * @arg @c kGTLRDfareporting_Pricing_PricingType_PlanningPlacementPricingTypeCpmActiveview - * Value "PLANNING_PLACEMENT_PRICING_TYPE_CPM_ACTIVEVIEW" - * @arg @c kGTLRDfareporting_Pricing_PricingType_PlanningPlacementPricingTypeFlatRateClicks - * Value "PLANNING_PLACEMENT_PRICING_TYPE_FLAT_RATE_CLICKS" - * @arg @c kGTLRDfareporting_Pricing_PricingType_PlanningPlacementPricingTypeFlatRateImpressions - * Value "PLANNING_PLACEMENT_PRICING_TYPE_FLAT_RATE_IMPRESSIONS" - * @arg @c kGTLRDfareporting_Pricing_PricingType_PlanningPlacementPricingTypeImpressions - * Value "PLANNING_PLACEMENT_PRICING_TYPE_IMPRESSIONS" - */ -@property(nonatomic, copy, nullable) NSString *pricingType; - -/** - * startDate - * - * Date only (yyyy-mm-dd). - */ -@property(nonatomic, strong, nullable) GTLRDateTime *startDate; - -@end - - /** * Pricing Schedule */ @@ -15743,200 +15403,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P @end -/** - * Contains properties of a Planning project. - */ -@interface GTLRDfareporting_Project : GTLRObject - -/** - * Account ID of this project. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *accountId; - -/** - * Advertiser ID of this project. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *advertiserId; - -/** - * Audience age group of this project. - * - * Likely values: - * @arg @c kGTLRDfareporting_Project_AudienceAgeGroup_PlanningAudienceAge1824 - * Value "PLANNING_AUDIENCE_AGE_18_24" - * @arg @c kGTLRDfareporting_Project_AudienceAgeGroup_PlanningAudienceAge2534 - * Value "PLANNING_AUDIENCE_AGE_25_34" - * @arg @c kGTLRDfareporting_Project_AudienceAgeGroup_PlanningAudienceAge3544 - * Value "PLANNING_AUDIENCE_AGE_35_44" - * @arg @c kGTLRDfareporting_Project_AudienceAgeGroup_PlanningAudienceAge4554 - * Value "PLANNING_AUDIENCE_AGE_45_54" - * @arg @c kGTLRDfareporting_Project_AudienceAgeGroup_PlanningAudienceAge5564 - * Value "PLANNING_AUDIENCE_AGE_55_64" - * @arg @c kGTLRDfareporting_Project_AudienceAgeGroup_PlanningAudienceAge65OrMore - * Value "PLANNING_AUDIENCE_AGE_65_OR_MORE" - * @arg @c kGTLRDfareporting_Project_AudienceAgeGroup_PlanningAudienceAgeUnknown - * Value "PLANNING_AUDIENCE_AGE_UNKNOWN" - */ -@property(nonatomic, copy, nullable) NSString *audienceAgeGroup; - -/** - * Audience gender of this project. - * - * Likely values: - * @arg @c kGTLRDfareporting_Project_AudienceGender_PlanningAudienceGenderFemale - * Value "PLANNING_AUDIENCE_GENDER_FEMALE" - * @arg @c kGTLRDfareporting_Project_AudienceGender_PlanningAudienceGenderMale - * Value "PLANNING_AUDIENCE_GENDER_MALE" - */ -@property(nonatomic, copy, nullable) NSString *audienceGender; - -/** - * Budget of this project in the currency specified by the current account. The - * value stored in this field represents only the non-fractional amount. For - * example, for USD, the smallest value that can be represented by this field - * is 1 US dollar. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *budget; - -/** Client billing code of this project. */ -@property(nonatomic, copy, nullable) NSString *clientBillingCode; - -/** Name of the project client. */ -@property(nonatomic, copy, nullable) NSString *clientName; - -/** - * endDate - * - * Date only (yyyy-mm-dd). - */ -@property(nonatomic, strong, nullable) GTLRDateTime *endDate; - -/** - * ID of this project. This is a read-only, auto-generated field. - * - * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *identifier; - -/** - * Identifies what kind of resource this is. Value: the fixed string - * "dfareporting#project". - */ -@property(nonatomic, copy, nullable) NSString *kind; - -/** Information about the most recent modification of this project. */ -@property(nonatomic, strong, nullable) GTLRDfareporting_LastModifiedInfo *lastModifiedInfo; - -/** Name of this project. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** Overview of this project. */ -@property(nonatomic, copy, nullable) NSString *overview; - -/** - * startDate - * - * Date only (yyyy-mm-dd). - */ -@property(nonatomic, strong, nullable) GTLRDateTime *startDate; - -/** - * Subaccount ID of this project. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *subaccountId; - -/** - * Number of clicks that the advertiser is targeting. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *targetClicks; - -/** - * Number of conversions that the advertiser is targeting. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *targetConversions; - -/** - * CPA that the advertiser is targeting. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *targetCpaNanos; - -/** - * CPC that the advertiser is targeting. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *targetCpcNanos; - -/** - * vCPM from Active View that the advertiser is targeting. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *targetCpmActiveViewNanos; - -/** - * CPM that the advertiser is targeting. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *targetCpmNanos; - -/** - * Number of impressions that the advertiser is targeting. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *targetImpressions; - -@end - - -/** - * Project List Response - * - * @note This class supports NSFastEnumeration and indexed subscripting over - * its "projects" property. If returned as the result of a query, it - * should support automatic pagination (when @c shouldFetchNextPages is - * enabled). - */ -@interface GTLRDfareporting_ProjectsListResponse : GTLRCollectionObject - -/** - * Identifies what kind of resource this is. Value: the fixed string - * "dfareporting#projectsListResponse". - */ -@property(nonatomic, copy, nullable) NSString *kind; - -/** Pagination token to be used for the next list operation. */ -@property(nonatomic, copy, nullable) NSString *nextPageToken; - -/** - * Project collection. - * - * @note This property is used to support NSFastEnumeration and indexed - * subscripting on this class. - */ -@property(nonatomic, strong, nullable) NSArray *projects; - -@end - - /** * Contains proximity filter information. */ @@ -16347,9 +15813,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P /** The report criteria for a report of type "STANDARD". */ @property(nonatomic, strong, nullable) GTLRDfareporting_Report_Criteria *criteria; -/** The report criteria for a report of type "CROSS_DIMENSION_REACH". */ -@property(nonatomic, strong, nullable) GTLRDfareporting_Report_CrossDimensionReachCriteria *crossDimensionReachCriteria; - /** Optional. The report criteria for a report of type "CROSS_MEDIA_REACH". */ @property(nonatomic, strong, nullable) GTLRDfareporting_Report_CrossMediaReachCriteria *crossMediaReachCriteria; @@ -16430,8 +15893,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P * The type of the report. * * Likely values: - * @arg @c kGTLRDfareporting_Report_Type_CrossDimensionReach Value - * "CROSS_DIMENSION_REACH" * @arg @c kGTLRDfareporting_Report_Type_CrossMediaReach Value * "CROSS_MEDIA_REACH" * @arg @c kGTLRDfareporting_Report_Type_Floodlight Value "FLOODLIGHT" @@ -16475,51 +15936,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P @end -/** - * The report criteria for a report of type "CROSS_DIMENSION_REACH". - */ -@interface GTLRDfareporting_Report_CrossDimensionReachCriteria : GTLRObject - -/** The list of dimensions the report should include. */ -@property(nonatomic, strong, nullable) NSArray *breakdown; - -/** The date range this report should be run for. */ -@property(nonatomic, strong, nullable) GTLRDfareporting_DateRange *dateRange; - -/** - * The dimension option. - * - * Likely values: - * @arg @c kGTLRDfareporting_Report_CrossDimensionReachCriteria_Dimension_Advertiser - * Value "ADVERTISER" - * @arg @c kGTLRDfareporting_Report_CrossDimensionReachCriteria_Dimension_Campaign - * Value "CAMPAIGN" - * @arg @c kGTLRDfareporting_Report_CrossDimensionReachCriteria_Dimension_SiteByAdvertiser - * Value "SITE_BY_ADVERTISER" - * @arg @c kGTLRDfareporting_Report_CrossDimensionReachCriteria_Dimension_SiteByCampaign - * Value "SITE_BY_CAMPAIGN" - */ -@property(nonatomic, copy, nullable) NSString *dimension; - -/** The list of filters on which dimensions are filtered. */ -@property(nonatomic, strong, nullable) NSArray *dimensionFilters; - -/** The list of names of metrics the report should include. */ -@property(nonatomic, strong, nullable) NSArray *metricNames; - -/** The list of names of overlap metrics the report should include. */ -@property(nonatomic, strong, nullable) NSArray *overlapMetricNames; - -/** - * Whether the report is pivoted or not. Defaults to true. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *pivoted; - -@end - - /** * Optional. The report criteria for a report of type "CROSS_MEDIA_REACH". */ @@ -16676,15 +16092,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P /** The list of dimensions the report should include. */ @property(nonatomic, strong, nullable) NSArray *dimensions; -/** - * Whether to enable all reach dimension combinations in the report. Defaults - * to false. If enabled, the date range of the report should be within the last - * 42 days. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *enableAllDimensionCombinations; - /** The list of names of metrics the report should include. */ @property(nonatomic, strong, nullable) NSArray *metricNames; @@ -17060,35 +16467,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P @end -/** - * A rule associates an asset with a targeting template for asset-level - * targeting. Applicable to INSTREAM_VIDEO creatives. - */ -@interface GTLRDfareporting_Rule : GTLRObject - -/** - * A creativeAssets[].id. This should refer to one of the parent assets in this - * creative. This is a required field. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *assetId; - -/** A user-friendly name for this rule. This is a required field. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * A targeting template ID. The targeting from the targeting template will be - * used to determine whether this asset should be served. This is a required - * field. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *targetingTemplateId; - -@end - - /** * Contains a list of field filters that the given custom rule will apply. */ @@ -19225,6 +18603,47 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P @end + +/** + * Contains the YouTube settings. + */ +@interface GTLRDfareporting_YoutubeSettings : GTLRObject + +/** + * Optional. The IDs of the creatives to use for the business logo. Currently + * only one creative is supported. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSArray *businessLogoCreativeIds; + +/** Optional. The business name. */ +@property(nonatomic, copy, nullable) NSString *businessName; + +/** + * Optional. The call to actions. Currently only one call to action is + * supported. + */ +@property(nonatomic, strong, nullable) NSArray *callToActions; + +/** + * Optional. The descriptions. Currently only one description is supported. + */ +@property(nonatomic, strong, nullable) NSArray *descriptions; + +/** + * Optional. The headlines associated with the call to actions. Currently only + * one headline is supported. + */ +@property(nonatomic, strong, nullable) NSArray *headlines; + +/** + * Optional. The long headlines. Currently only one long headline is supported. + */ +@property(nonatomic, strong, nullable) NSArray *longHeadlines; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingQuery.h b/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingQuery.h index 4ff180227..c152f67dc 100644 --- a/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingQuery.h +++ b/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingQuery.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Campaign Manager 360 API (dfareporting/v4) +// Campaign Manager 360 API (dfareporting/v5) // Description: // Build applications to efficiently manage large or complex trafficking, // reporting, and attribution workflows for Campaign Manager 360. @@ -440,10 +440,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareportingTypeAdServingStandardAd; FOUNDATION_EXTERN NSString * const kGTLRDfareportingTypeAdServingTracking; /** Value: "COUNTER" */ FOUNDATION_EXTERN NSString * const kGTLRDfareportingTypeCounter; -/** Value: "PLANNING_PLACEMENT_TYPE_CREDIT" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareportingTypePlanningPlacementTypeCredit; -/** Value: "PLANNING_PLACEMENT_TYPE_REGULAR" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareportingTypePlanningPlacementTypeRegular; /** Value: "SALE" */ FOUNDATION_EXTERN NSString * const kGTLRDfareportingTypeSale; @@ -6307,154 +6303,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareportingTypesVpaidNonLinearVideo; @end -/** - * Gets one inventory item by ID. - * - * Method: dfareporting.inventoryItems.get - * - * Authorization scope(s): - * @c kGTLRAuthScopeDfareportingDfatrafficking - */ -@interface GTLRDfareportingQuery_InventoryItemsGet : GTLRDfareportingQuery - -/** - * Inventory item ID. - * - * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). - */ -@property(nonatomic, assign) long long identifier; - -/** User profile ID associated with this request. */ -@property(nonatomic, assign) long long profileId; - -/** Project ID for order documents. */ -@property(nonatomic, assign) long long projectId; - -/** - * Fetches a @c GTLRDfareporting_InventoryItem. - * - * Gets one inventory item by ID. - * - * @param profileId User profile ID associated with this request. - * @param projectId Project ID for order documents. - * @param identifier Inventory item ID. - * - * @return GTLRDfareportingQuery_InventoryItemsGet - */ -+ (instancetype)queryWithProfileId:(long long)profileId - projectId:(long long)projectId - identifier:(long long)identifier; - -@end - -/** - * Retrieves a list of inventory items, possibly filtered. This method supports - * paging. - * - * Method: dfareporting.inventoryItems.list - * - * Authorization scope(s): - * @c kGTLRAuthScopeDfareportingDfatrafficking - */ -@interface GTLRDfareportingQuery_InventoryItemsList : GTLRDfareportingQuery - -/** - * Select only inventory items with these IDs. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSArray *ids; - -/** Select only inventory items that are in plan. */ -@property(nonatomic, assign) BOOL inPlan; - -/** - * Maximum number of results to return. - * - * @note If not set, the documented server-side default will be 1000. - */ -@property(nonatomic, assign) NSInteger maxResults; - -/** - * Select only inventory items that belong to specified orders. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSArray *orderId; - -/** Value of the nextPageToken from the previous result page. */ -@property(nonatomic, copy, nullable) NSString *pageToken; - -/** User profile ID associated with this request. */ -@property(nonatomic, assign) long long profileId; - -/** Project ID for order documents. */ -@property(nonatomic, assign) long long projectId; - -/** - * Select only inventory items that are associated with these sites. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSArray *siteId; - -/** - * Field by which to sort the list. - * - * Likely values: - * @arg @c kGTLRDfareportingSortFieldId Value "ID" - * @arg @c kGTLRDfareportingSortFieldName Value "NAME" - * - * @note If not set, the documented server-side default will be - * kGTLRDfareportingSortFieldId. - */ -@property(nonatomic, copy, nullable) NSString *sortField; - -/** - * Order of sorted results. - * - * Likely values: - * @arg @c kGTLRDfareportingSortOrderAscending Ascending order. (Value: - * "ASCENDING") - * @arg @c kGTLRDfareportingSortOrderDescending Descending order. (Value: - * "DESCENDING") - * - * @note If not set, the documented server-side default will be - * kGTLRDfareportingSortOrderAscending. - */ -@property(nonatomic, copy, nullable) NSString *sortOrder; - -/** - * Select only inventory items with this type. - * - * Likely values: - * @arg @c kGTLRDfareportingTypePlanningPlacementTypeRegular Value - * "PLANNING_PLACEMENT_TYPE_REGULAR" - * @arg @c kGTLRDfareportingTypePlanningPlacementTypeCredit Value - * "PLANNING_PLACEMENT_TYPE_CREDIT" - */ -@property(nonatomic, copy, nullable) NSString *type; - -/** - * Fetches a @c GTLRDfareporting_InventoryItemsListResponse. - * - * Retrieves a list of inventory items, possibly filtered. This method supports - * paging. - * - * @param profileId User profile ID associated with this request. - * @param projectId Project ID for order documents. - * - * @return GTLRDfareportingQuery_InventoryItemsList - * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. - */ -+ (instancetype)queryWithProfileId:(long long)profileId - projectId:(long long)projectId; - -@end - /** * Retrieves a list of languages. * @@ -6799,141 +6647,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareportingTypesVpaidNonLinearVideo; @end -/** - * Gets one order by ID. - * - * Method: dfareporting.orders.get - * - * Authorization scope(s): - * @c kGTLRAuthScopeDfareportingDfatrafficking - */ -@interface GTLRDfareportingQuery_OrdersGet : GTLRDfareportingQuery - -/** - * Order ID. - * - * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). - */ -@property(nonatomic, assign) long long identifier; - -/** User profile ID associated with this request. */ -@property(nonatomic, assign) long long profileId; - -/** Project ID for orders. */ -@property(nonatomic, assign) long long projectId; - -/** - * Fetches a @c GTLRDfareporting_Order. - * - * Gets one order by ID. - * - * @param profileId User profile ID associated with this request. - * @param projectId Project ID for orders. - * @param identifier Order ID. - * - * @return GTLRDfareportingQuery_OrdersGet - */ -+ (instancetype)queryWithProfileId:(long long)profileId - projectId:(long long)projectId - identifier:(long long)identifier; - -@end - -/** - * Retrieves a list of orders, possibly filtered. This method supports paging. - * - * Method: dfareporting.orders.list - * - * Authorization scope(s): - * @c kGTLRAuthScopeDfareportingDfatrafficking - */ -@interface GTLRDfareportingQuery_OrdersList : GTLRDfareportingQuery - -/** - * Select only orders with these IDs. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSArray *ids; - -/** - * Maximum number of results to return. - * - * @note If not set, the documented server-side default will be 1000. - */ -@property(nonatomic, assign) NSInteger maxResults; - -/** Value of the nextPageToken from the previous result page. */ -@property(nonatomic, copy, nullable) NSString *pageToken; - -/** User profile ID associated with this request. */ -@property(nonatomic, assign) long long profileId; - -/** Project ID for orders. */ -@property(nonatomic, assign) long long projectId; - -/** - * Allows searching for orders by name or ID. Wildcards (*) are allowed. For - * example, "order*2015" will return orders with names like "order June 2015", - * "order April 2015", or simply "order 2015". Most of the searches also add - * wildcards implicitly at the start and the end of the search string. For - * example, a search string of "order" will match orders with name "my order", - * "order 2015", or simply "order". - */ -@property(nonatomic, copy, nullable) NSString *searchString; - -/** - * Select only orders that are associated with these site IDs. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSArray *siteId; - -/** - * Field by which to sort the list. - * - * Likely values: - * @arg @c kGTLRDfareportingSortFieldId Value "ID" - * @arg @c kGTLRDfareportingSortFieldName Value "NAME" - * - * @note If not set, the documented server-side default will be - * kGTLRDfareportingSortFieldId. - */ -@property(nonatomic, copy, nullable) NSString *sortField; - -/** - * Order of sorted results. - * - * Likely values: - * @arg @c kGTLRDfareportingSortOrderAscending Ascending order. (Value: - * "ASCENDING") - * @arg @c kGTLRDfareportingSortOrderDescending Descending order. (Value: - * "DESCENDING") - * - * @note If not set, the documented server-side default will be - * kGTLRDfareportingSortOrderAscending. - */ -@property(nonatomic, copy, nullable) NSString *sortOrder; - -/** - * Fetches a @c GTLRDfareporting_OrdersListResponse. - * - * Retrieves a list of orders, possibly filtered. This method supports paging. - * - * @param profileId User profile ID associated with this request. - * @param projectId Project ID for orders. - * - * @return GTLRDfareportingQuery_OrdersList - * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. - */ -+ (instancetype)queryWithProfileId:(long long)profileId - projectId:(long long)projectId; - -@end - /** * Gets one placement group by ID. * @@ -8098,133 +7811,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareportingTypesVpaidNonLinearVideo; @end -/** - * Gets one project by ID. - * - * Method: dfareporting.projects.get - * - * Authorization scope(s): - * @c kGTLRAuthScopeDfareportingDfatrafficking - */ -@interface GTLRDfareportingQuery_ProjectsGet : GTLRDfareportingQuery - -/** - * Project ID. - * - * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). - */ -@property(nonatomic, assign) long long identifier; - -/** User profile ID associated with this request. */ -@property(nonatomic, assign) long long profileId; - -/** - * Fetches a @c GTLRDfareporting_Project. - * - * Gets one project by ID. - * - * @param profileId User profile ID associated with this request. - * @param identifier Project ID. - * - * @return GTLRDfareportingQuery_ProjectsGet - */ -+ (instancetype)queryWithProfileId:(long long)profileId - identifier:(long long)identifier; - -@end - -/** - * Retrieves a list of projects, possibly filtered. This method supports paging - * . - * - * Method: dfareporting.projects.list - * - * Authorization scope(s): - * @c kGTLRAuthScopeDfareportingDfatrafficking - */ -@interface GTLRDfareportingQuery_ProjectsList : GTLRDfareportingQuery - -/** - * Select only projects with these advertiser IDs. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSArray *advertiserIds; - -/** - * Select only projects with these IDs. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSArray *ids; - -/** - * Maximum number of results to return. - * - * @note If not set, the documented server-side default will be 1000. - */ -@property(nonatomic, assign) NSInteger maxResults; - -/** Value of the nextPageToken from the previous result page. */ -@property(nonatomic, copy, nullable) NSString *pageToken; - -/** User profile ID associated with this request. */ -@property(nonatomic, assign) long long profileId; - -/** - * Allows searching for projects by name or ID. Wildcards (*) are allowed. For - * example, "project*2015" will return projects with names like "project June - * 2015", "project April 2015", or simply "project 2015". Most of the searches - * also add wildcards implicitly at the start and the end of the search string. - * For example, a search string of "project" will match projects with name "my - * project", "project 2015", or simply "project". - */ -@property(nonatomic, copy, nullable) NSString *searchString; - -/** - * Field by which to sort the list. - * - * Likely values: - * @arg @c kGTLRDfareportingSortFieldId Value "ID" - * @arg @c kGTLRDfareportingSortFieldName Value "NAME" - * - * @note If not set, the documented server-side default will be - * kGTLRDfareportingSortFieldId. - */ -@property(nonatomic, copy, nullable) NSString *sortField; - -/** - * Order of sorted results. - * - * Likely values: - * @arg @c kGTLRDfareportingSortOrderAscending Ascending order. (Value: - * "ASCENDING") - * @arg @c kGTLRDfareportingSortOrderDescending Descending order. (Value: - * "DESCENDING") - * - * @note If not set, the documented server-side default will be - * kGTLRDfareportingSortOrderAscending. - */ -@property(nonatomic, copy, nullable) NSString *sortOrder; - -/** - * Fetches a @c GTLRDfareporting_ProjectsListResponse. - * - * Retrieves a list of projects, possibly filtered. This method supports paging - * . - * - * @param profileId User profile ID associated with this request. - * - * @return GTLRDfareportingQuery_ProjectsList - * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. - */ -+ (instancetype)queryWithProfileId:(long long)profileId; - -@end - /** * Retrieves a list of regions. * @@ -8903,39 +8489,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareportingTypesVpaidNonLinearVideo; @end -/** - * Updates an existing report. This method supports patch semantics. - * - * Method: dfareporting.reports.patch - * - * Authorization scope(s): - * @c kGTLRAuthScopeDfareporting - */ -@interface GTLRDfareportingQuery_ReportsPatch : GTLRDfareportingQuery - -/** The Campaign Manager 360 user profile ID. */ -@property(nonatomic, assign) long long profileId; - -/** The ID of the report. */ -@property(nonatomic, assign) long long reportId; - -/** - * Fetches a @c GTLRDfareporting_Report. - * - * Updates an existing report. This method supports patch semantics. - * - * @param object The @c GTLRDfareporting_Report to include in the query. - * @param profileId The Campaign Manager 360 user profile ID. - * @param reportId The ID of the report. - * - * @return GTLRDfareportingQuery_ReportsPatch - */ -+ (instancetype)queryWithObject:(GTLRDfareporting_Report *)object - profileId:(long long)profileId - reportId:(long long)reportId; - -@end - /** * Runs a report. * diff --git a/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingService.h b/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingService.h index ec8424d18..0476b9bd2 100644 --- a/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingService.h +++ b/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingService.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Campaign Manager 360 API (dfareporting/v4) +// Campaign Manager 360 API (dfareporting/v5) // Description: // Build applications to efficiently manage large or complex trafficking, // reporting, and attribution workflows for Campaign Manager 360. diff --git a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowQuery.h b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowQuery.h index 9494d027c..209e81aeb 100644 --- a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowQuery.h +++ b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowQuery.h @@ -6424,8 +6424,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflowViewTestCaseViewUnspecified; @interface GTLRDialogflowQuery_ProjectsLocationsList : GTLRDialogflowQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m index d52ea0a09..5bd4bcc26 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m +++ b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m @@ -198,6 +198,7 @@ // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector.blockingReasons NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_BlockingReasons_AllowlistInServiceAttachment = @"ALLOWLIST_IN_SERVICE_ATTACHMENT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_BlockingReasons_AllowlistServiceAccount = @"ALLOWLIST_SERVICE_ACCOUNT"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_BlockingReasons_AllowlistStaticIp = @"ALLOWLIST_STATIC_IP"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_BlockingReasons_BlockingReasonUnspecified = @"BLOCKING_REASON_UNSPECIFIED"; @@ -274,6 +275,10 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_SolutionTypes_SolutionTypeSearch = @"SOLUTION_TYPE_SEARCH"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_SolutionTypes_SolutionTypeUnspecified = @"SOLUTION_TYPE_UNSPECIFIED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine.appType +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_AppType_AppTypeIntranet = @"APP_TYPE_INTRANET"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_AppType_AppTypeUnspecified = @"APP_TYPE_UNSPECIFIED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine.industryVertical NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_IndustryVertical_Generic = @"GENERIC"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_IndustryVertical_HealthcareFhir = @"HEALTHCARE_FHIR"; @@ -628,6 +633,11 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer_State_Succeeded = @"SUCCEEDED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult.verdict +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult_Verdict_Allow = @"ALLOW"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult_Verdict_Block = @"BLOCK"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult_Verdict_Unspecified = @"UNSPECIFIED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant.webGroundingType NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_WebGroundingType_WebGroundingTypeDisabled = @"WEB_GROUNDING_TYPE_DISABLED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_WebGroundingType_WebGroundingTypeEnterpriseWebSearch = @"WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH"; @@ -645,6 +655,11 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase_MatchType_SimpleStringMatch = @"SIMPLE_STRING_MATCH"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase_MatchType_WordBoundaryStringMatch = @"WORD_BOUNDARY_STRING_MATCH"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig.failureMode +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig_FailureMode_FailClosed = @"FAIL_CLOSED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig_FailureMode_FailOpen = @"FAIL_OPEN"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig_FailureMode_FailureModeUnspecified = @"FAILURE_MODE_UNSPECIFIED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata.state NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_State_Indexed = @"INDEXED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata_State_NotInIndex = @"NOT_IN_INDEX"; @@ -709,6 +724,10 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore_SolutionTypes_SolutionTypeSearch = @"SOLUTION_TYPE_SEARCH"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore_SolutionTypes_SolutionTypeUnspecified = @"SOLUTION_TYPE_UNSPECIFIED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine.appType +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_AppType_AppTypeIntranet = @"APP_TYPE_INTRANET"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_AppType_AppTypeUnspecified = @"APP_TYPE_UNSPECIFIED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine.industryVertical NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_IndustryVertical_Generic = @"GENERIC"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_IndustryVertical_HealthcareFhir = @"HEALTHCARE_FHIR"; @@ -748,6 +767,11 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEvaluation_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEvaluation_State_Succeeded = @"SUCCEEDED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaIdpConfig.idpType +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaIdpConfig_IdpType_Gsuite = @"GSUITE"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaIdpConfig_IdpType_IdpTypeUnspecified = @"IDP_TYPE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaIdpConfig_IdpType_ThirdParty = @"THIRD_PARTY"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig.mode NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig_Mode_Disabled = @"DISABLED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig_Mode_Enabled = @"ENABLED"; @@ -992,6 +1016,10 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DataStore_SolutionTypes_SolutionTypeSearch = @"SOLUTION_TYPE_SEARCH"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DataStore_SolutionTypes_SolutionTypeUnspecified = @"SOLUTION_TYPE_UNSPECIFIED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine.appType +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_AppType_AppTypeIntranet = @"APP_TYPE_INTRANET"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_AppType_AppTypeUnspecified = @"APP_TYPE_UNSPECIFIED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine.industryVertical NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_IndustryVertical_Generic = @"GENERIC"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_IndustryVertical_HealthcareFhir = @"HEALTHCARE_FHIR"; @@ -1024,6 +1052,11 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EngineSearchEngineConfig_SearchTier_SearchTierStandard = @"SEARCH_TIER_STANDARD"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EngineSearchEngineConfig_SearchTier_SearchTierUnspecified = @"SEARCH_TIER_UNSPECIFIED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1IdpConfig.idpType +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1IdpConfig_IdpType_Gsuite = @"GSUITE"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1IdpConfig_IdpType_IdpTypeUnspecified = @"IDP_TYPE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1IdpConfig_IdpType_ThirdParty = @"THIRD_PARTY"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ImportDocumentsRequest.reconciliationMode NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ImportDocumentsRequest_ReconciliationMode_Full = @"FULL"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ImportDocumentsRequest_ReconciliationMode_Incremental = @"INCREMENTAL"; @@ -1658,6 +1691,16 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingSourceLocat @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AclConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AclConfig +@dynamic idpConfig, name; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest @@ -2638,13 +2681,13 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnect @dynamic aclEnabled, actionConfig, actionState, alertPolicyConfigs, autoRunDisabled, bapConfig, blockingReasons, connectorModes, connectorType, createEuaSaas, createTime, dataSource, - destinationConfigs, endUserConfig, entities, errors, + destinationConfigs, endUserConfig, entities, errors, federatedConfig, hybridIngestionDisabled, identityRefreshInterval, identityScheduleConfig, incrementalRefreshInterval, incrementalSyncDisabled, kmsKeyName, lastSyncTime, latestPauseTime, name, nextSyncTime, params, privateConnectivityProjectId, - realtimeState, realtimeSyncConfig, refreshInterval, state, - staticIpAddresses, staticIpEnabled, syncMode, updateTime; + realtimeState, realtimeSyncConfig, refreshInterval, removeParamKeys, + state, staticIpAddresses, staticIpEnabled, syncMode, updateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2654,6 +2697,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnect @"destinationConfigs" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDestinationConfig class], @"entities" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity class], @"errors" : [GTLRDiscoveryEngine_GoogleRpcStatus class], + @"removeParamKeys" : [NSString class], @"staticIpAddresses" : [NSString class] }; return map; @@ -2714,6 +2758,44 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig +@dynamic additionalParams, authParams; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig_AdditionalParams +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig_AdditionalParams + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig_AuthParams +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig_AuthParams + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig @@ -3113,8 +3195,8 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEnableAdvan // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine -@dynamic chatEngineConfig, chatEngineMetadata, commonConfig, createTime, - dataStoreIds, disableAnalytics, displayName, features, +@dynamic appType, chatEngineConfig, chatEngineMetadata, commonConfig, + createTime, dataStoreIds, disableAnalytics, displayName, features, industryVertical, mediaRecommendationEngineConfig, name, recommendationMetadata, searchEngineConfig, similarDocumentsConfig, solutionType, updateTime; @@ -5431,7 +5513,8 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepAction // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer -@dynamic assistSkippedReasons, name, replies, state; +@dynamic assistSkippedReasons, customerPolicyEnforcementResult, name, replies, + state; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -5444,6 +5527,62 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult +@dynamic policyResults, verdict; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"policyResults" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult +@dynamic bannedPhrases; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"bannedPhrases" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult +@dynamic error, modelArmorViolation; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult +@dynamic bannedPhraseEnforcementResult, modelArmorEnforcementResult; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerReply @@ -5535,7 +5674,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContent // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicy -@dynamic bannedPhrases; +@dynamic bannedPhrases, modelArmorConfig; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -5557,6 +5696,16 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustome @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig +@dynamic failureMode, responseTemplate, userPromptTemplate; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGenerationConfig @@ -5832,6 +5981,16 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchVerifyTarge @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaAclConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaAclConfig +@dynamic idpConfig, name; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig @@ -6397,8 +6556,8 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEnableAdvanc // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine -@dynamic chatEngineConfig, chatEngineMetadata, commonConfig, createTime, - dataStoreIds, disableAnalytics, displayName, features, +@dynamic appType, chatEngineConfig, chatEngineMetadata, commonConfig, + createTime, dataStoreIds, disableAnalytics, displayName, features, industryVertical, mediaRecommendationEngineConfig, name, searchEngineConfig, solutionType, updateTime; @@ -6594,6 +6753,26 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaIdentityMapp @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaIdpConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaIdpConfig +@dynamic externalIdpConfig, idpType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig +@dynamic workforcePoolName; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata @@ -8709,8 +8888,8 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EnableAdvancedSi // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine -@dynamic chatEngineConfig, chatEngineMetadata, commonConfig, createTime, - dataStoreIds, disableAnalytics, displayName, features, +@dynamic appType, chatEngineConfig, chatEngineMetadata, commonConfig, + createTime, dataStoreIds, disableAnalytics, displayName, features, industryVertical, mediaRecommendationEngineConfig, name, searchEngineConfig, solutionType, updateTime; @@ -9032,6 +9211,26 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1IdentityMappingS @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1IdpConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1IdpConfig +@dynamic externalIdpConfig, idpType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig +@dynamic workforcePoolName; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata diff --git a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m index 2657b9879..8004e1196 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m +++ b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m @@ -4573,6 +4573,25 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsGetAclConfig + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsGetAclConfig *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AclConfig class]; + query.loggingName = @"discoveryengine.projects.locations.getAclConfig"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsGetCmekConfig @dynamic name; @@ -4898,6 +4917,33 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsUpdateAclConfig + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AclConfig *)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_ProjectsLocationsUpdateAclConfig *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AclConfig class]; + query.loggingName = @"discoveryengine.projects.locations.updateAclConfig"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsUpdateCmekConfig @dynamic name, setDefault; diff --git a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h index df4dd087e..f1f4c5c09 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h @@ -108,6 +108,9 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig_AdditionalParams; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig_AuthParams; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig_AdditionalParams; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig_AuthParams; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity; @@ -259,6 +262,10 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultSnippetInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerReply; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_EnabledTools; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContent; @@ -268,6 +275,7 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentFile; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicy; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGenerationConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContent; @@ -319,6 +327,8 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaIdpConfig; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaImportErrorConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaInterval; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaLanguageInfo; @@ -454,6 +464,8 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1HealthcareFhirConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1IdentityMappingEntry; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1IdentityMappingStore; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1IdpConfig; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequestInlineSource; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ImportDocumentsRequestInlineSource; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ImportErrorConfig; @@ -1533,6 +1545,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * Value: "ALLOWLIST_IN_SERVICE_ATTACHMENT" */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_BlockingReasons_AllowlistInServiceAttachment; +/** + * Connector requires customer to allowlist service account in their project. + * + * Value: "ALLOWLIST_SERVICE_ACCOUNT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_BlockingReasons_AllowlistServiceAccount; /** * Connector requires customer to allowlist static IPs. * @@ -1928,6 +1946,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_SolutionTypes_SolutionTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine.appType + +/** + * App type for intranet search and Agentspace. + * + * Value: "APP_TYPE_INTRANET" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_AppType_AppTypeIntranet; +/** + * All non specified apps. + * + * Value: "APP_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_AppType_AppTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine.industryVertical @@ -3653,6 +3687,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer_State_Succeeded; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult.verdict + +/** + * There was no policy violation. + * + * Value: "ALLOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult_Verdict_Allow; +/** + * Processing was blocked by the customer policy. + * + * Value: "BLOCK" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult_Verdict_Block; +/** + * Unknown value. + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult_Verdict_Unspecified; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant.webGroundingType @@ -3735,6 +3791,29 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase_MatchType_WordBoundaryStringMatch; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig.failureMode + +/** + * In case of a Model Armor processing failure, the request is rejected. + * + * Value: "FAIL_CLOSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig_FailureMode_FailClosed; +/** + * In case of a Model Armor processing failure, the request is allowed to + * proceed without any changes. + * + * Value: "FAIL_OPEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig_FailureMode_FailOpen; +/** + * Unspecified failure mode, default behavior is `FAIL_CLOSED`. + * + * Value: "FAILURE_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig_FailureMode_FailureModeUnspecified; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata.state @@ -4052,6 +4131,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore_SolutionTypes_SolutionTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine.appType + +/** + * App type for intranet search and Agentspace. + * + * Value: "APP_TYPE_INTRANET" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_AppType_AppTypeIntranet; +/** + * All non specified apps. + * + * Value: "APP_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_AppType_AppTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine.industryVertical @@ -4233,6 +4328,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEvaluation_State_Succeeded; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaIdpConfig.idpType + +/** + * Google 1P provider. + * + * Value: "GSUITE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaIdpConfig_IdpType_Gsuite; +/** + * Default value. ACL search not enabled. + * + * Value: "IDP_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaIdpConfig_IdpType_IdpTypeUnspecified; +/** + * Third party provider. + * + * Value: "THIRD_PARTY" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaIdpConfig_IdpType_ThirdParty; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig.mode @@ -5431,6 +5548,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DataStore_SolutionTypes_SolutionTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine.appType + +/** + * App type for intranet search and Agentspace. + * + * Value: "APP_TYPE_INTRANET" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_AppType_AppTypeIntranet; +/** + * All non specified apps. + * + * Value: "APP_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_AppType_AppTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine.industryVertical @@ -5578,6 +5711,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EngineSearchEngineConfig_SearchTier_SearchTierUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1IdpConfig.idpType + +/** + * Google 1P provider. + * + * Value: "GSUITE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1IdpConfig_IdpType_Gsuite; +/** + * Default value. ACL search not enabled. + * + * Value: "IDP_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1IdpConfig_IdpType_IdpTypeUnspecified; +/** + * Third party provider. + * + * Value: "THIRD_PARTY" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1IdpConfig_IdpType_ThirdParty; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ImportDocumentsRequest.reconciliationMode @@ -7705,6 +7860,24 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Access Control Configuration. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AclConfig : GTLRObject + +/** Identity provider config. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1IdpConfig *idpConfig; + +/** + * Immutable. The full resource name of the acl configuration. Format: + * `projects/{project}/locations/{location}/aclConfig`. This field must be a + * UTF-8 encoded string with a length limit of 1024 characters. + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * Request message for CompletionService.AdvancedCompleteQuery method. . */ @@ -9956,6 +10129,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, strong, nullable) NSArray *errors; +/** + * Optional. Any params and credentials used specifically for hybrid connectors + * supporting FEDERATED mode. This field should only be set if the connector is + * a hybrid connector and we want to enable FEDERATED mode. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig *federatedConfig; + /** * Optional. If the connector is a hybrid connector, determines whether * ingestion is enabled and appropriate resources are provisioned during @@ -10117,6 +10297,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, strong, nullable) GTLRDuration *refreshInterval; +/** + * Optional. Specifies keys to be removed from the 'params' field. This is only + * active when 'params' is included in the 'update_mask' in an + * UpdateDataConnectorRequest. Deletion takes precedence if a key is both in + * 'remove_param_keys' and present in the 'params' field of the request. + */ +@property(nonatomic, strong, nullable) NSArray *removeParamKeys; + /** * Output only. State of the connector. * @@ -10256,6 +10444,45 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Any params and credentials used specifically for hybrid connectors + * supporting FEDERATED mode. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig : GTLRObject + +/** Optional. Any additional parameters needed for FEDERATED. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig_AdditionalParams *additionalParams; + +/** Optional. Any authentication parameters specific to FEDERATED. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig_AuthParams *authParams; + +@end + + +/** + * Optional. Any additional parameters needed for FEDERATED. + * + * @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_GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig_AdditionalParams : GTLRObject +@end + + +/** + * Optional. Any authentication parameters specific to FEDERATED. + * + * @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_GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig_AuthParams : GTLRObject +@end + + /** * The configuration for realtime sync to store additional params for realtime * sync. @@ -11106,6 +11333,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine : GTLRObject +/** + * Optional. Immutable. This the application type which this engine resource + * represents. NOTE: this is a new concept independ of existing industry + * vertical or solution type. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_AppType_AppTypeIntranet + * App type for intranet search and Agentspace. (Value: + * "APP_TYPE_INTRANET") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_AppType_AppTypeUnspecified + * All non specified apps. (Value: "APP_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *appType; + /** * Configurations for the Chat Engine. Only applicable if solution_type is * SOLUTION_TYPE_CHAT. @@ -16872,6 +17113,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** Reasons for not answering the assist call. */ @property(nonatomic, strong, nullable) NSArray *assistSkippedReasons; +/** + * Optional. The field contains information about the various policy checks' + * results like the banned phrases or the Model Armor checks. This field is + * populated only if the assist call was skipped due to a policy violation. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult *customerPolicyEnforcementResult; + /** * Immutable. Identifier. Resource name of the `AssistAnswer`. Format: * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}` @@ -16903,6 +17151,78 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Customer policy enforcement results. Contains the results of the various + * policy checks, like the banned phrases or the Model Armor checks. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult : GTLRObject + +/** + * Customer policy enforcement results. Populated only if the assist call was + * skipped due to a policy violation. It contains results from those filters + * that blocked the processing of the query. + */ +@property(nonatomic, strong, nullable) NSArray *policyResults; + +/** + * Final verdict of the customer policy enforcement. If only one policy blocked + * the processing, the verdict is BLOCK. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult_Verdict_Allow + * There was no policy violation. (Value: "ALLOW") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult_Verdict_Block + * Processing was blocked by the customer policy. (Value: "BLOCK") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult_Verdict_Unspecified + * Unknown value. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *verdict; + +@end + + +/** + * Customer policy enforcement result for the banned phrase policy. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult : GTLRObject + +/** The banned phrases that were found in the query or the answer. */ +@property(nonatomic, strong, nullable) NSArray *bannedPhrases; + +@end + + +/** + * Customer policy enforcement result for the Model Armor policy. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult : GTLRObject + +/** + * The error returned by Model Armor if the policy enforcement failed for some + * reason. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleRpcStatus *error; + +/** The Model Armor violation that was found. */ +@property(nonatomic, copy, nullable) NSString *modelArmorViolation; + +@end + + +/** + * Customer policy enforcement result for a single policy type. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult : GTLRObject + +/** The policy enforcement result for the banned phrase policy. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult *bannedPhraseEnforcementResult; + +/** The policy enforcement result for the Model Armor policy. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult *modelArmorEnforcementResult; + +@end + + /** * One part of the multi-part response of the assist call. */ @@ -17102,6 +17422,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** Optional. List of banned phrases. */ @property(nonatomic, strong, nullable) NSArray *bannedPhrases; +/** + * Optional. Model Armor configuration to be used for sanitizing user prompts + * and assistant responses. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig *modelArmorConfig; + @end @@ -17143,6 +17469,47 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Configuration for customer defined Model Armor templates to be used for + * sanitizing user prompts and assistant responses. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig : GTLRObject + +/** + * Optional. Defines the failure mode for Model Armor sanitization. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig_FailureMode_FailClosed + * In case of a Model Armor processing failure, the request is rejected. + * (Value: "FAIL_CLOSED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig_FailureMode_FailOpen + * In case of a Model Armor processing failure, the request is allowed to + * proceed without any changes. (Value: "FAIL_OPEN") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig_FailureMode_FailureModeUnspecified + * Unspecified failure mode, default behavior is `FAIL_CLOSED`. (Value: + * "FAILURE_MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *failureMode; + +/** + * Optional. The resource name of the Model Armor template for sanitizing + * assistant responses. Format: + * `projects/{project}/locations/{location}/templates/{template_id}` If not + * specified, no sanitization will be applied to the assistant response. + */ +@property(nonatomic, copy, nullable) NSString *responseTemplate; + +/** + * Optional. The resource name of the Model Armor template for sanitizing user + * prompts. Format: + * `projects/{project}/locations/{location}/templates/{template_id}` If not + * specified, no sanitization will be applied to the user prompt. + */ +@property(nonatomic, copy, nullable) NSString *userPromptTemplate; + +@end + + /** * Configuration for the generation of the assistant response. */ @@ -17545,6 +17912,24 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Access Control Configuration. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaAclConfig : GTLRObject + +/** Identity provider config. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaIdpConfig *idpConfig; + +/** + * Immutable. The full resource name of the acl configuration. Format: + * `projects/{project}/locations/{location}/aclConfig`. This field must be a + * UTF-8 encoded string with a length limit of 1024 characters. + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * Configuration data for advance site search. */ @@ -18800,6 +19185,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine : GTLRObject +/** + * Optional. Immutable. This the application type which this engine resource + * represents. NOTE: this is a new concept independ of existing industry + * vertical or solution type. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_AppType_AppTypeIntranet + * App type for intranet search and Agentspace. (Value: + * "APP_TYPE_INTRANET") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_AppType_AppTypeUnspecified + * All non specified apps. (Value: "APP_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *appType; + /** * Configurations for the Chat Engine. Only applicable if solution_type is * SOLUTION_TYPE_CHAT. @@ -19359,6 +19758,41 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Identity Provider Config. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaIdpConfig : GTLRObject + +/** External Identity provider config. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig *externalIdpConfig; + +/** + * Identity provider type configured. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaIdpConfig_IdpType_Gsuite + * Google 1P provider. (Value: "GSUITE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaIdpConfig_IdpType_IdpTypeUnspecified + * Default value. ACL search not enabled. (Value: "IDP_TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaIdpConfig_IdpType_ThirdParty + * Third party provider. (Value: "THIRD_PARTY") + */ +@property(nonatomic, copy, nullable) NSString *idpType; + +@end + + +/** + * Third party IDP Config. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig : GTLRObject + +/** Workforce pool name. Example: "locations/global/workforcePools/pool_id" */ +@property(nonatomic, copy, nullable) NSString *workforcePoolName; + +@end + + /** * Metadata related to the progress of the ImportCompletionSuggestions * operation. This will be returned by the @@ -24658,6 +25092,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine : GTLRObject +/** + * Optional. Immutable. This the application type which this engine resource + * represents. NOTE: this is a new concept independ of existing industry + * vertical or solution type. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_AppType_AppTypeIntranet + * App type for intranet search and Agentspace. (Value: + * "APP_TYPE_INTRANET") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_AppType_AppTypeUnspecified + * All non specified apps. (Value: "APP_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *appType; + /** * Configurations for the Chat Engine. Only applicable if solution_type is * SOLUTION_TYPE_CHAT. @@ -25428,6 +25876,41 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Identity Provider Config. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1IdpConfig : GTLRObject + +/** External Identity provider config. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig *externalIdpConfig; + +/** + * Identity provider type configured. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1IdpConfig_IdpType_Gsuite + * Google 1P provider. (Value: "GSUITE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1IdpConfig_IdpType_IdpTypeUnspecified + * Default value. ACL search not enabled. (Value: "IDP_TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1IdpConfig_IdpType_ThirdParty + * Third party provider. (Value: "THIRD_PARTY") + */ +@property(nonatomic, copy, nullable) NSString *idpType; + +@end + + +/** + * Third party IDP Config. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig : GTLRObject + +/** Workforce pool name. Example: "locations/global/workforcePools/pool_id" */ +@property(nonatomic, copy, nullable) NSString *workforcePoolName; + +@end + + /** * Metadata related to the progress of the ImportCompletionSuggestions * operation. This will be returned by the diff --git a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h index e0d214611..30c499ae7 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h @@ -8239,6 +8239,40 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Gets the AclConfig. + * + * Method: discoveryengine.projects.locations.getAclConfig + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsGetAclConfig : GTLRDiscoveryEngineQuery + +/** + * Required. Resource name of AclConfig, such as `projects/ * /locations/ * + * /aclConfig`. If the caller does not have permission to access the AclConfig, + * regardless of whether or not it exists, a PERMISSION_DENIED error is + * returned. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AclConfig. + * + * Gets the AclConfig. + * + * @param name Required. Resource name of AclConfig, such as `projects/ * + * /locations/ * /aclConfig`. If the caller does not have permission to + * access the AclConfig, regardless of whether or not it exists, a + * PERMISSION_DENIED error is returned. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsGetAclConfig + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Gets the CmekConfig. * @@ -8810,6 +8844,46 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Default ACL configuration for use in a location of a customer's project. + * Updates will only reflect to new data stores. Existing data stores will + * still use the old value. + * + * Method: discoveryengine.projects.locations.updateAclConfig + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsUpdateAclConfig : GTLRDiscoveryEngineQuery + +/** + * Immutable. The full resource name of the acl configuration. Format: + * `projects/{project}/locations/{location}/aclConfig`. 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_GoogleCloudDiscoveryengineV1AclConfig. + * + * Default ACL configuration for use in a location of a customer's project. + * Updates will only reflect to new data stores. Existing data stores will + * still use the old value. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AclConfig to include in + * the query. + * @param name Immutable. The full resource name of the acl configuration. + * Format: `projects/{project}/locations/{location}/aclConfig`. This field + * must be a UTF-8 encoded string with a length limit of 1024 characters. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsUpdateAclConfig + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AclConfig *)object + name:(NSString *)name; + +@end + /** * Provisions a CMEK key for use in a location of a customer's project. This * method will also conduct location validation on the provided cmekConfig to diff --git a/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m b/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m index 0c4f9271d..f3fdc99c0 100644 --- a/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m +++ b/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m @@ -209,6 +209,11 @@ NSString * const kGTLRDisplayVideo_AdUrl_Type_AdUrlTypeBeaconSkip = @"AD_URL_TYPE_BEACON_SKIP"; NSString * const kGTLRDisplayVideo_AdUrl_Type_AdUrlTypeUnspecified = @"AD_URL_TYPE_UNSPECIFIED"; +// GTLRDisplayVideo_Advertiser.containsEuPoliticalAds +NSString * const kGTLRDisplayVideo_Advertiser_ContainsEuPoliticalAds_ContainsEuPoliticalAdvertising = @"CONTAINS_EU_POLITICAL_ADVERTISING"; +NSString * const kGTLRDisplayVideo_Advertiser_ContainsEuPoliticalAds_DoesNotContainEuPoliticalAdvertising = @"DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING"; +NSString * const kGTLRDisplayVideo_Advertiser_ContainsEuPoliticalAds_EuPoliticalAdvertisingStatusUnknown = @"EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN"; + // GTLRDisplayVideo_Advertiser.entityStatus NSString * const kGTLRDisplayVideo_Advertiser_EntityStatus_EntityStatusActive = @"ENTITY_STATUS_ACTIVE"; NSString * const kGTLRDisplayVideo_Advertiser_EntityStatus_EntityStatusArchived = @"ENTITY_STATUS_ARCHIVED"; @@ -257,6 +262,21 @@ NSString * const kGTLRDisplayVideo_AgeRangeTargetingOptionDetails_AgeRange_AgeRangeUnknown = @"AGE_RANGE_UNKNOWN"; NSString * const kGTLRDisplayVideo_AgeRangeTargetingOptionDetails_AgeRange_AgeRangeUnspecified = @"AGE_RANGE_UNSPECIFIED"; +// GTLRDisplayVideo_AlgorithmRulesComparisonValue.contentDurationValue +NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentDurationValue_ContentDuration0To1Min = @"CONTENT_DURATION_0_TO_1_MIN"; +NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentDurationValue_ContentDuration15To30Min = @"CONTENT_DURATION_15_TO_30_MIN"; +NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentDurationValue_ContentDuration1To5Min = @"CONTENT_DURATION_1_TO_5_MIN"; +NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentDurationValue_ContentDuration30To60Min = @"CONTENT_DURATION_30_TO_60_MIN"; +NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentDurationValue_ContentDuration5To15Min = @"CONTENT_DURATION_5_TO_15_MIN"; +NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentDurationValue_ContentDurationOver60Min = @"CONTENT_DURATION_OVER_60_MIN"; +NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentDurationValue_ContentDurationUnknown = @"CONTENT_DURATION_UNKNOWN"; +NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentDurationValue_ContentDurationUnspecified = @"CONTENT_DURATION_UNSPECIFIED"; + +// GTLRDisplayVideo_AlgorithmRulesComparisonValue.contentStreamTypeValue +NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentStreamTypeValue_ContentLiveStream = @"CONTENT_LIVE_STREAM"; +NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentStreamTypeValue_ContentOnDemand = @"CONTENT_ON_DEMAND"; +NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentStreamTypeValue_ContentStreamTypeUnspecified = @"CONTENT_STREAM_TYPE_UNSPECIFIED"; + // GTLRDisplayVideo_AlgorithmRulesComparisonValue.deviceTypeValue NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_DeviceTypeValue_RuleDeviceTypeComputer = @"RULE_DEVICE_TYPE_COMPUTER"; NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_DeviceTypeValue_RuleDeviceTypeConnectedDevice = @"RULE_DEVICE_TYPE_CONNECTED_DEVICE"; @@ -419,6 +439,9 @@ NSString * const kGTLRDisplayVideo_AlgorithmRulesSignal_ImpressionSignal_ImpressionSignalUnspecified = @"IMPRESSION_SIGNAL_UNSPECIFIED"; NSString * const kGTLRDisplayVideo_AlgorithmRulesSignal_ImpressionSignal_MobileModelId = @"MOBILE_MODEL_ID"; NSString * const kGTLRDisplayVideo_AlgorithmRulesSignal_ImpressionSignal_OperatingSystemId = @"OPERATING_SYSTEM_ID"; +NSString * const kGTLRDisplayVideo_AlgorithmRulesSignal_ImpressionSignal_VideoContentDurationBucket = @"VIDEO_CONTENT_DURATION_BUCKET"; +NSString * const kGTLRDisplayVideo_AlgorithmRulesSignal_ImpressionSignal_VideoDeliveryType = @"VIDEO_DELIVERY_TYPE"; +NSString * const kGTLRDisplayVideo_AlgorithmRulesSignal_ImpressionSignal_VideoGenreId = @"VIDEO_GENRE_ID"; // GTLRDisplayVideo_AlgorithmRulesSignalComparison.comparisonOperator NSString * const kGTLRDisplayVideo_AlgorithmRulesSignalComparison_ComparisonOperator_ComparisonOperatorUnspecified = @"COMPARISON_OPERATOR_UNSPECIFIED"; @@ -427,6 +450,7 @@ NSString * const kGTLRDisplayVideo_AlgorithmRulesSignalComparison_ComparisonOperator_GreaterThanOrEqualTo = @"GREATER_THAN_OR_EQUAL_TO"; NSString * const kGTLRDisplayVideo_AlgorithmRulesSignalComparison_ComparisonOperator_LessThan = @"LESS_THAN"; NSString * const kGTLRDisplayVideo_AlgorithmRulesSignalComparison_ComparisonOperator_LessThanOrEqualTo = @"LESS_THAN_OR_EQUAL_TO"; +NSString * const kGTLRDisplayVideo_AlgorithmRulesSignalComparison_ComparisonOperator_ListContains = @"LIST_CONTAINS"; // GTLRDisplayVideo_AlgorithmRulesSignalValue.activeViewSignal NSString * const kGTLRDisplayVideo_AlgorithmRulesSignalValue_ActiveViewSignal_ActiveViewSignalUnspecified = @"ACTIVE_VIEW_SIGNAL_UNSPECIFIED"; @@ -449,6 +473,7 @@ NSString * const kGTLRDisplayVideo_AppAssignedTargetingOptionDetails_AppPlatform_AppPlatformRoku = @"APP_PLATFORM_ROKU"; NSString * const kGTLRDisplayVideo_AppAssignedTargetingOptionDetails_AppPlatform_AppPlatformSamsungTv = @"APP_PLATFORM_SAMSUNG_TV"; NSString * const kGTLRDisplayVideo_AppAssignedTargetingOptionDetails_AppPlatform_AppPlatformUnspecified = @"APP_PLATFORM_UNSPECIFIED"; +NSString * const kGTLRDisplayVideo_AppAssignedTargetingOptionDetails_AppPlatform_AppPlatformVidaa = @"APP_PLATFORM_VIDAA"; NSString * const kGTLRDisplayVideo_AppAssignedTargetingOptionDetails_AppPlatform_AppPlatformVizioTv = @"APP_PLATFORM_VIZIO_TV"; NSString * const kGTLRDisplayVideo_AppAssignedTargetingOptionDetails_AppPlatform_AppPlatformXbox = @"APP_PLATFORM_XBOX"; @@ -833,6 +858,7 @@ NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion71 = @"SDF_VERSION_7_1"; NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion8 = @"SDF_VERSION_8"; NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion81 = @"SDF_VERSION_8_1"; +NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion9 = @"SDF_VERSION_9"; NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersionUnspecified = @"SDF_VERSION_UNSPECIFIED"; // GTLRDisplayVideo_Creative.creativeAttributes @@ -1189,6 +1215,11 @@ NSString * const kGTLRDisplayVideo_DoubleVerifyVideoViewability_VideoViewableRate_ViewedPerformance35PercentHigher = @"VIEWED_PERFORMANCE_35_PERCENT_HIGHER"; NSString * const kGTLRDisplayVideo_DoubleVerifyVideoViewability_VideoViewableRate_ViewedPerformance40PercentHigher = @"VIEWED_PERFORMANCE_40_PERCENT_HIGHER"; +// GTLRDisplayVideo_DuplicateLineItemRequest.containsEuPoliticalAds +NSString * const kGTLRDisplayVideo_DuplicateLineItemRequest_ContainsEuPoliticalAds_ContainsEuPoliticalAdvertising = @"CONTAINS_EU_POLITICAL_ADVERTISING"; +NSString * const kGTLRDisplayVideo_DuplicateLineItemRequest_ContainsEuPoliticalAds_DoesNotContainEuPoliticalAdvertising = @"DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING"; +NSString * const kGTLRDisplayVideo_DuplicateLineItemRequest_ContainsEuPoliticalAds_EuPoliticalAdvertisingStatusUnknown = @"EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN"; + // GTLRDisplayVideo_EnvironmentAssignedTargetingOptionDetails.environment NSString * const kGTLRDisplayVideo_EnvironmentAssignedTargetingOptionDetails_Environment_EnvironmentApp = @"ENVIRONMENT_APP"; NSString * const kGTLRDisplayVideo_EnvironmentAssignedTargetingOptionDetails_Environment_EnvironmentUnspecified = @"ENVIRONMENT_UNSPECIFIED"; @@ -1659,6 +1690,11 @@ NSString * const kGTLRDisplayVideo_GenderTargetingOptionDetails_Gender_GenderUnknown = @"GENDER_UNKNOWN"; NSString * const kGTLRDisplayVideo_GenderTargetingOptionDetails_Gender_GenderUnspecified = @"GENDER_UNSPECIFIED"; +// GTLRDisplayVideo_GenerateDefaultLineItemRequest.containsEuPoliticalAds +NSString * const kGTLRDisplayVideo_GenerateDefaultLineItemRequest_ContainsEuPoliticalAds_ContainsEuPoliticalAdvertising = @"CONTAINS_EU_POLITICAL_ADVERTISING"; +NSString * const kGTLRDisplayVideo_GenerateDefaultLineItemRequest_ContainsEuPoliticalAds_DoesNotContainEuPoliticalAdvertising = @"DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING"; +NSString * const kGTLRDisplayVideo_GenerateDefaultLineItemRequest_ContainsEuPoliticalAds_EuPoliticalAdvertisingStatusUnknown = @"EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN"; + // GTLRDisplayVideo_GenerateDefaultLineItemRequest.lineItemType NSString * const kGTLRDisplayVideo_GenerateDefaultLineItemRequest_LineItemType_LineItemTypeAudioDefault = @"LINE_ITEM_TYPE_AUDIO_DEFAULT"; NSString * const kGTLRDisplayVideo_GenerateDefaultLineItemRequest_LineItemType_LineItemTypeDisplayDefault = @"LINE_ITEM_TYPE_DISPLAY_DEFAULT"; @@ -2168,6 +2204,11 @@ NSString * const kGTLRDisplayVideo_Kpi_KpiType_KpiTypeViewability = @"KPI_TYPE_VIEWABILITY"; NSString * const kGTLRDisplayVideo_Kpi_KpiType_KpiTypeVtr = @"KPI_TYPE_VTR"; +// GTLRDisplayVideo_LineItem.containsEuPoliticalAds +NSString * const kGTLRDisplayVideo_LineItem_ContainsEuPoliticalAds_ContainsEuPoliticalAdvertising = @"CONTAINS_EU_POLITICAL_ADVERTISING"; +NSString * const kGTLRDisplayVideo_LineItem_ContainsEuPoliticalAds_DoesNotContainEuPoliticalAdvertising = @"DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING"; +NSString * const kGTLRDisplayVideo_LineItem_ContainsEuPoliticalAds_EuPoliticalAdvertisingStatusUnknown = @"EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN"; + // GTLRDisplayVideo_LineItem.entityStatus NSString * const kGTLRDisplayVideo_LineItem_EntityStatus_EntityStatusActive = @"ENTITY_STATUS_ACTIVE"; NSString * const kGTLRDisplayVideo_LineItem_EntityStatus_EntityStatusArchived = @"ENTITY_STATUS_ARCHIVED"; @@ -2511,6 +2552,7 @@ NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersion71 = @"SDF_VERSION_7_1"; NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersion8 = @"SDF_VERSION_8"; NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersion81 = @"SDF_VERSION_8_1"; +NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersion9 = @"SDF_VERSION_9"; NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersionUnspecified = @"SDF_VERSION_UNSPECIFIED"; // GTLRDisplayVideo_SdfDownloadTaskMetadata.version @@ -2529,6 +2571,7 @@ NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion71 = @"SDF_VERSION_7_1"; NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion8 = @"SDF_VERSION_8"; NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion81 = @"SDF_VERSION_8_1"; +NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion9 = @"SDF_VERSION_9"; NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersionUnspecified = @"SDF_VERSION_UNSPECIFIED"; // GTLRDisplayVideo_SensitiveCategoryAssignedTargetingOptionDetails.excludedSensitiveCategory @@ -2883,10 +2926,10 @@ @implementation GTLRDisplayVideo_AdUrl // @implementation GTLRDisplayVideo_Advertiser -@dynamic adServerConfig, advertiserId, billingConfig, creativeConfig, - dataAccessConfig, displayName, entityStatus, generalConfig, - integrationDetails, name, partnerId, prismaEnabled, servingConfig, - updateTime; +@dynamic adServerConfig, advertiserId, billingConfig, containsEuPoliticalAds, + creativeConfig, dataAccessConfig, displayName, entityStatus, + generalConfig, integrationDetails, name, partnerId, prismaEnabled, + servingConfig, updateTime; @end @@ -2998,9 +3041,10 @@ @implementation GTLRDisplayVideo_AlgorithmRules // @implementation GTLRDisplayVideo_AlgorithmRulesComparisonValue -@dynamic boolValue, creativeDimensionValue, dayAndTimeValue, deviceTypeValue, - doubleValue, environmentValue, exchangeValue, int64Value, - onScreenPositionValue, stringValue, videoPlayerSizeValue; +@dynamic boolValue, contentDurationValue, contentGenreIdValue, + contentStreamTypeValue, creativeDimensionValue, dayAndTimeValue, + deviceTypeValue, doubleValue, environmentValue, exchangeValue, + int64Value, onScreenPositionValue, stringValue, videoPlayerSizeValue; @end @@ -4671,7 +4715,7 @@ @implementation GTLRDisplayVideo_DoubleVerifyVideoViewability // @implementation GTLRDisplayVideo_DuplicateLineItemRequest -@dynamic targetDisplayName; +@dynamic containsEuPoliticalAds, targetDisplayName; @end @@ -5010,7 +5054,8 @@ @implementation GTLRDisplayVideo_GenderTargetingOptionDetails // @implementation GTLRDisplayVideo_GenerateDefaultLineItemRequest -@dynamic displayName, insertionOrderId, lineItemType, mobileApp; +@dynamic containsEuPoliticalAds, displayName, insertionOrderId, lineItemType, + mobileApp; @end @@ -5502,12 +5547,12 @@ @implementation GTLRDisplayVideo_LanguageTargetingOptionDetails // @implementation GTLRDisplayVideo_LineItem -@dynamic advertiserId, bidStrategy, budget, campaignId, conversionCounting, - creativeIds, displayName, entityStatus, excludeNewExchanges, flight, - frequencyCap, insertionOrderId, integrationDetails, lineItemId, - lineItemType, mobileApp, name, pacing, partnerCosts, - partnerRevenueModel, reservationType, targetingExpansion, updateTime, - warningMessages, youtubeAndPartnersSettings; +@dynamic advertiserId, bidStrategy, budget, campaignId, containsEuPoliticalAds, + conversionCounting, creativeIds, displayName, entityStatus, + excludeNewExchanges, flight, frequencyCap, insertionOrderId, + integrationDetails, lineItemId, lineItemType, mobileApp, name, pacing, + partnerCosts, partnerRevenueModel, reservationType, targetingExpansion, + updateTime, warningMessages, youtubeAndPartnersSettings; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h index 6febe5418..983ab7422 100644 --- a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h +++ b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h @@ -1281,6 +1281,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AdUrl_Type_AdUrlTypeBeaconS */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AdUrl_Type_AdUrlTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDisplayVideo_Advertiser.containsEuPoliticalAds + +/** + * Contains EU political advertising. + * + * Value: "CONTAINS_EU_POLITICAL_ADVERTISING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_Advertiser_ContainsEuPoliticalAds_ContainsEuPoliticalAdvertising; +/** + * Does not contain EU political advertising. + * + * Value: "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_Advertiser_ContainsEuPoliticalAds_DoesNotContainEuPoliticalAdvertising; +/** + * Unknown. + * + * Value: "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_Advertiser_ContainsEuPoliticalAds_EuPoliticalAdvertisingStatusUnknown; + // ---------------------------------------------------------------------------- // GTLRDisplayVideo_Advertiser.entityStatus @@ -1570,6 +1592,83 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AgeRangeTargetingOptionDeta */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AgeRangeTargetingOptionDetails_AgeRange_AgeRangeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDisplayVideo_AlgorithmRulesComparisonValue.contentDurationValue + +/** + * Content is 0-1 minute long. + * + * Value: "CONTENT_DURATION_0_TO_1_MIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentDurationValue_ContentDuration0To1Min; +/** + * Content is 15-30 minutes long. + * + * Value: "CONTENT_DURATION_15_TO_30_MIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentDurationValue_ContentDuration15To30Min; +/** + * Content is 1-5 minutes long. + * + * Value: "CONTENT_DURATION_1_TO_5_MIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentDurationValue_ContentDuration1To5Min; +/** + * Content is 30-60 minutes long. + * + * Value: "CONTENT_DURATION_30_TO_60_MIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentDurationValue_ContentDuration30To60Min; +/** + * Content is 5-15 minutes long. + * + * Value: "CONTENT_DURATION_5_TO_15_MIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentDurationValue_ContentDuration5To15Min; +/** + * Content is over 60 minutes long. + * + * Value: "CONTENT_DURATION_OVER_60_MIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentDurationValue_ContentDurationOver60Min; +/** + * The content duration is unknown. + * + * Value: "CONTENT_DURATION_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentDurationValue_ContentDurationUnknown; +/** + * Content duration is not specified in this version. This enum is a place + * holder for a default value and does not represent a real content duration. + * + * Value: "CONTENT_DURATION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentDurationValue_ContentDurationUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDisplayVideo_AlgorithmRulesComparisonValue.contentStreamTypeValue + +/** + * The content is being live-streamed. + * + * Value: "CONTENT_LIVE_STREAM" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentStreamTypeValue_ContentLiveStream; +/** + * The content is viewed on-demand. + * + * Value: "CONTENT_ON_DEMAND" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentStreamTypeValue_ContentOnDemand; +/** + * Content stream type is not specified in this version. This enum is a place + * holder for a default value and does not represent a real content stream + * type. + * + * Value: "CONTENT_STREAM_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentStreamTypeValue_ContentStreamTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRDisplayVideo_AlgorithmRulesComparisonValue.deviceTypeValue @@ -2494,6 +2593,29 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesSignal_Impres * Value: "OPERATING_SYSTEM_ID" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesSignal_ImpressionSignal_OperatingSystemId; +/** + * Video content duration. Value is stored in the contentDurationValue field of + * the comparison value. The comparisonOperator field must be set to + * `LIST_CONTAINS`. + * + * Value: "VIDEO_CONTENT_DURATION_BUCKET" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesSignal_ImpressionSignal_VideoContentDurationBucket; +/** + * Video delivery type. Value is stored in the contentStreamTypeValue field of + * the comparison value. The comparisonOperator field must be set to + * `LIST_CONTAINS`. + * + * Value: "VIDEO_DELIVERY_TYPE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesSignal_ImpressionSignal_VideoDeliveryType; +/** + * Video genre id. Value is stored in the int64Value field of the comparison + * value. The comparisonOperator field must be set to `LIST_CONTAINS`. + * + * Value: "VIDEO_GENRE_ID" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesSignal_ImpressionSignal_VideoGenreId; // ---------------------------------------------------------------------------- // GTLRDisplayVideo_AlgorithmRulesSignalComparison.comparisonOperator @@ -2534,6 +2656,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesSignalCompari * Value: "LESS_THAN_OR_EQUAL_TO" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesSignalComparison_ComparisonOperator_LessThanOrEqualTo; +/** + * Signal value is a list and contains the comparison value. + * + * Value: "LIST_CONTAINS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesSignalComparison_ComparisonOperator_ListContains; // ---------------------------------------------------------------------------- // GTLRDisplayVideo_AlgorithmRulesSignalValue.activeViewSignal @@ -2658,6 +2786,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AppAssignedTargetingOptionD * Value: "APP_PLATFORM_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AppAssignedTargetingOptionDetails_AppPlatform_AppPlatformUnspecified; +/** + * The app platform is Vidaa. + * + * Value: "APP_PLATFORM_VIDAA" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AppAssignedTargetingOptionDetails_AppPlatform_AppPlatformVidaa; /** * The app platform is VIZIO TV. * @@ -4876,6 +5010,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskReques * Value: "SDF_VERSION_8_1" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion81; +/** + * SDF version 9. Read the [v9 migration + * guide](/display-video/api/structured-data-file/v9-migration-guide) before + * migrating to this version. + * + * Value: "SDF_VERSION_9" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion9; /** * SDF version value is not specified or is unknown in this version. * @@ -6841,6 +6983,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_DoubleVerifyVideoViewabilit */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_DoubleVerifyVideoViewability_VideoViewableRate_ViewedPerformance40PercentHigher; +// ---------------------------------------------------------------------------- +// GTLRDisplayVideo_DuplicateLineItemRequest.containsEuPoliticalAds + +/** + * Contains EU political advertising. + * + * Value: "CONTAINS_EU_POLITICAL_ADVERTISING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_DuplicateLineItemRequest_ContainsEuPoliticalAds_ContainsEuPoliticalAdvertising; +/** + * Does not contain EU political advertising. + * + * Value: "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_DuplicateLineItemRequest_ContainsEuPoliticalAds_DoesNotContainEuPoliticalAdvertising; +/** + * Unknown. + * + * Value: "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_DuplicateLineItemRequest_ContainsEuPoliticalAds_EuPoliticalAdvertisingStatusUnknown; + // ---------------------------------------------------------------------------- // GTLRDisplayVideo_EnvironmentAssignedTargetingOptionDetails.environment @@ -9548,6 +9712,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_GenderTargetingOptionDetail */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_GenderTargetingOptionDetails_Gender_GenderUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDisplayVideo_GenerateDefaultLineItemRequest.containsEuPoliticalAds + +/** + * Contains EU political advertising. + * + * Value: "CONTAINS_EU_POLITICAL_ADVERTISING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_GenerateDefaultLineItemRequest_ContainsEuPoliticalAds_ContainsEuPoliticalAdvertising; +/** + * Does not contain EU political advertising. + * + * Value: "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_GenerateDefaultLineItemRequest_ContainsEuPoliticalAds_DoesNotContainEuPoliticalAdvertising; +/** + * Unknown. + * + * Value: "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_GenerateDefaultLineItemRequest_ContainsEuPoliticalAds_EuPoliticalAdvertisingStatusUnknown; + // ---------------------------------------------------------------------------- // GTLRDisplayVideo_GenerateDefaultLineItemRequest.lineItemType @@ -12367,6 +12553,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_Kpi_KpiType_KpiTypeViewabil */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_Kpi_KpiType_KpiTypeVtr; +// ---------------------------------------------------------------------------- +// GTLRDisplayVideo_LineItem.containsEuPoliticalAds + +/** + * Contains EU political advertising. + * + * Value: "CONTAINS_EU_POLITICAL_ADVERTISING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_LineItem_ContainsEuPoliticalAds_ContainsEuPoliticalAdvertising; +/** + * Does not contain EU political advertising. + * + * Value: "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_LineItem_ContainsEuPoliticalAds_DoesNotContainEuPoliticalAdvertising; +/** + * Unknown. + * + * Value: "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_LineItem_ContainsEuPoliticalAds_EuPoliticalAdvertisingStatusUnknown; + // ---------------------------------------------------------------------------- // GTLRDisplayVideo_LineItem.entityStatus @@ -14204,6 +14412,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersio * Value: "SDF_VERSION_8_1" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersion81; +/** + * SDF version 9. Read the [v9 migration + * guide](/display-video/api/structured-data-file/v9-migration-guide) before + * migrating to this version. + * + * Value: "SDF_VERSION_9" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersion9; /** * SDF version value is not specified or is unknown in this version. * @@ -14310,6 +14526,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Ver * Value: "SDF_VERSION_8_1" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion81; +/** + * SDF version 9. Read the [v9 migration + * guide](/display-video/api/structured-data-file/v9-migration-guide) before + * migrating to this version. + * + * Value: "SDF_VERSION_9" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion9; /** * SDF version value is not specified or is unknown in this version. * @@ -16535,6 +16759,27 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail /** Required. Billing related settings of the advertiser. */ @property(nonatomic, strong, nullable) GTLRDisplayVideo_AdvertiserBillingConfig *billingConfig; +/** + * Optional. Whether this advertiser contains line items that serve European + * Union political ads. If this field is set to + * `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING`, then the following will happen: + * * Any new line items created under this advertiser will be assigned + * `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` if not otherwise specified. * + * Any existing line items under this advertiser that do not have a set value + * be updated to `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` within a day. + * + * Likely values: + * @arg @c kGTLRDisplayVideo_Advertiser_ContainsEuPoliticalAds_ContainsEuPoliticalAdvertising + * Contains EU political advertising. (Value: + * "CONTAINS_EU_POLITICAL_ADVERTISING") + * @arg @c kGTLRDisplayVideo_Advertiser_ContainsEuPoliticalAds_DoesNotContainEuPoliticalAdvertising + * Does not contain EU political advertising. (Value: + * "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING") + * @arg @c kGTLRDisplayVideo_Advertiser_ContainsEuPoliticalAds_EuPoliticalAdvertisingStatusUnknown + * Unknown. (Value: "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *containsEuPoliticalAds; + /** Required. Creative related settings of the advertiser. */ @property(nonatomic, strong, nullable) GTLRDisplayVideo_AdvertiserCreativeConfig *creativeConfig; @@ -17005,6 +17250,56 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail */ @property(nonatomic, strong, nullable) NSNumber *boolValue; +/** + * Video content duration value. + * + * Likely values: + * @arg @c kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentDurationValue_ContentDuration0To1Min + * Content is 0-1 minute long. (Value: "CONTENT_DURATION_0_TO_1_MIN") + * @arg @c kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentDurationValue_ContentDuration15To30Min + * Content is 15-30 minutes long. (Value: + * "CONTENT_DURATION_15_TO_30_MIN") + * @arg @c kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentDurationValue_ContentDuration1To5Min + * Content is 1-5 minutes long. (Value: "CONTENT_DURATION_1_TO_5_MIN") + * @arg @c kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentDurationValue_ContentDuration30To60Min + * Content is 30-60 minutes long. (Value: + * "CONTENT_DURATION_30_TO_60_MIN") + * @arg @c kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentDurationValue_ContentDuration5To15Min + * Content is 5-15 minutes long. (Value: "CONTENT_DURATION_5_TO_15_MIN") + * @arg @c kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentDurationValue_ContentDurationOver60Min + * Content is over 60 minutes long. (Value: + * "CONTENT_DURATION_OVER_60_MIN") + * @arg @c kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentDurationValue_ContentDurationUnknown + * The content duration is unknown. (Value: "CONTENT_DURATION_UNKNOWN") + * @arg @c kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentDurationValue_ContentDurationUnspecified + * Content duration is not specified in this version. This enum is a + * place holder for a default value and does not represent a real content + * duration. (Value: "CONTENT_DURATION_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *contentDurationValue; + +/** + * Video genre id value. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *contentGenreIdValue; + +/** + * Video delivery type value. + * + * Likely values: + * @arg @c kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentStreamTypeValue_ContentLiveStream + * The content is being live-streamed. (Value: "CONTENT_LIVE_STREAM") + * @arg @c kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentStreamTypeValue_ContentOnDemand + * The content is viewed on-demand. (Value: "CONTENT_ON_DEMAND") + * @arg @c kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ContentStreamTypeValue_ContentStreamTypeUnspecified + * Content stream type is not specified in this version. This enum is a + * place holder for a default value and does not represent a real content + * stream type. (Value: "CONTENT_STREAM_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *contentStreamTypeValue; + /** Creative dimension value. */ @property(nonatomic, strong, nullable) GTLRDisplayVideo_Dimensions *creativeDimensionValue; @@ -17528,6 +17823,18 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * @arg @c kGTLRDisplayVideo_AlgorithmRulesSignal_ImpressionSignal_OperatingSystemId * The operating system identifier. Value is stored in the int64Value * field of the comparison value. (Value: "OPERATING_SYSTEM_ID") + * @arg @c kGTLRDisplayVideo_AlgorithmRulesSignal_ImpressionSignal_VideoContentDurationBucket + * Video content duration. Value is stored in the contentDurationValue + * field of the comparison value. The comparisonOperator field must be + * set to `LIST_CONTAINS`. (Value: "VIDEO_CONTENT_DURATION_BUCKET") + * @arg @c kGTLRDisplayVideo_AlgorithmRulesSignal_ImpressionSignal_VideoDeliveryType + * Video delivery type. Value is stored in the contentStreamTypeValue + * field of the comparison value. The comparisonOperator field must be + * set to `LIST_CONTAINS`. (Value: "VIDEO_DELIVERY_TYPE") + * @arg @c kGTLRDisplayVideo_AlgorithmRulesSignal_ImpressionSignal_VideoGenreId + * Video genre id. Value is stored in the int64Value field of the + * comparison value. The comparisonOperator field must be set to + * `LIST_CONTAINS`. (Value: "VIDEO_GENRE_ID") */ @property(nonatomic, copy, nullable) NSString *impressionSignal; @@ -17563,6 +17870,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * @arg @c kGTLRDisplayVideo_AlgorithmRulesSignalComparison_ComparisonOperator_LessThanOrEqualTo * Signal value is less than or equal to the comparison value. (Value: * "LESS_THAN_OR_EQUAL_TO") + * @arg @c kGTLRDisplayVideo_AlgorithmRulesSignalComparison_ComparisonOperator_ListContains + * Signal value is a list and contains the comparison value. (Value: + * "LIST_CONTAINS") */ @property(nonatomic, copy, nullable) NSString *comparisonOperator; @@ -17673,6 +17983,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * Default value when app platform is not specified in this version. This * enum is a placeholder for default value and does not represent a real * platform option. (Value: "APP_PLATFORM_UNSPECIFIED") + * @arg @c kGTLRDisplayVideo_AppAssignedTargetingOptionDetails_AppPlatform_AppPlatformVidaa + * The app platform is Vidaa. (Value: "APP_PLATFORM_VIDAA") * @arg @c kGTLRDisplayVideo_AppAssignedTargetingOptionDetails_AppPlatform_AppPlatformVizioTv * The app platform is VIZIO TV. (Value: "APP_PLATFORM_VIZIO_TV") * @arg @c kGTLRDisplayVideo_AppAssignedTargetingOptionDetails_AppPlatform_AppPlatformXbox @@ -19583,7 +19895,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail /** * Required. A field mask identifying which fields to update. Only the * following fields are currently supported: * entityStatus * - * containsEuPoliticalAdvertising + * containsEuPoliticalAds * * String format is a comma-separated list of fields. */ @@ -21371,6 +21683,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * before migrating to this version. (Value: "SDF_VERSION_8") * @arg @c kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion81 * SDF version 8.1. (Value: "SDF_VERSION_8_1") + * @arg @c kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion9 + * SDF version 9. Read the [v9 migration + * guide](/display-video/api/structured-data-file/v9-migration-guide) + * before migrating to this version. (Value: "SDF_VERSION_9") * @arg @c kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersionUnspecified * SDF version value is not specified or is unknown in this version. * (Value: "SDF_VERSION_UNSPECIFIED") @@ -23365,6 +23681,30 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail */ @interface GTLRDisplayVideo_DuplicateLineItemRequest : GTLRObject +/** + * Whether this line item will serve European Union political ads. If + * contains_eu_political_ads has been set to + * `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` in the parent advertiser, then + * this field will be assigned `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` if + * not otherwise specified. This field can then be updated using the UI, API, + * or Structured Data Files. *Warning*: Starting **September 8, 2025**, this + * field must be set. If not, either the value + * `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` will be assigned to the line + * item if the parent advertiser has declared that it does not serve EU + * political ads, or **the request will fail**. + * + * Likely values: + * @arg @c kGTLRDisplayVideo_DuplicateLineItemRequest_ContainsEuPoliticalAds_ContainsEuPoliticalAdvertising + * Contains EU political advertising. (Value: + * "CONTAINS_EU_POLITICAL_ADVERTISING") + * @arg @c kGTLRDisplayVideo_DuplicateLineItemRequest_ContainsEuPoliticalAds_DoesNotContainEuPoliticalAdvertising + * Does not contain EU political advertising. (Value: + * "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING") + * @arg @c kGTLRDisplayVideo_DuplicateLineItemRequest_ContainsEuPoliticalAds_EuPoliticalAdvertisingStatusUnknown + * Unknown. (Value: "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *containsEuPoliticalAds; + /** * The display name of the new line item. Must be UTF-8 encoded with a maximum * size of 240 bytes. @@ -25129,6 +25469,30 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail */ @interface GTLRDisplayVideo_GenerateDefaultLineItemRequest : GTLRObject +/** + * Whether this line item will serve European Union political ads. If + * contains_eu_political_ads has been set to + * `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` in the parent advertiser, then + * this field will be assigned `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` if + * not otherwise specified. This field can then be updated using the UI, API, + * or Structured Data Files. *Warning*: Starting **September 8, 2025**, this + * field must be set. If not, either the value + * `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` will be assigned to the line + * item if the parent advertiser has declared that it does not serve EU + * political ads, or **the request will fail**. + * + * Likely values: + * @arg @c kGTLRDisplayVideo_GenerateDefaultLineItemRequest_ContainsEuPoliticalAds_ContainsEuPoliticalAdvertising + * Contains EU political advertising. (Value: + * "CONTAINS_EU_POLITICAL_ADVERTISING") + * @arg @c kGTLRDisplayVideo_GenerateDefaultLineItemRequest_ContainsEuPoliticalAds_DoesNotContainEuPoliticalAdvertising + * Does not contain EU political advertising. (Value: + * "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING") + * @arg @c kGTLRDisplayVideo_GenerateDefaultLineItemRequest_ContainsEuPoliticalAds_EuPoliticalAdvertisingStatusUnknown + * Unknown. (Value: "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *containsEuPoliticalAds; + /** * Required. The display name of the line item. Must be UTF-8 encoded with a * maximum size of 240 bytes. @@ -27651,6 +28015,30 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail */ @property(nonatomic, strong, nullable) NSNumber *campaignId; +/** + * Whether this line item will serve European Union political ads. If + * contains_eu_political_ads has been set to + * `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` in the parent advertiser, then + * this field will be assigned `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` if + * not otherwise specified. This field can then be updated using the UI, API, + * or Structured Data Files. *Warning*: Starting **September 8, 2025**, this + * field must be set when creating a new line item. If not, either the value + * `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` will be assigned if the parent + * advertiser has declared that it does not serve EU political ads, or **the + * `advertisers.lineItems.create` request will fail**. + * + * Likely values: + * @arg @c kGTLRDisplayVideo_LineItem_ContainsEuPoliticalAds_ContainsEuPoliticalAdvertising + * Contains EU political advertising. (Value: + * "CONTAINS_EU_POLITICAL_ADVERTISING") + * @arg @c kGTLRDisplayVideo_LineItem_ContainsEuPoliticalAds_DoesNotContainEuPoliticalAdvertising + * Does not contain EU political advertising. (Value: + * "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING") + * @arg @c kGTLRDisplayVideo_LineItem_ContainsEuPoliticalAds_EuPoliticalAdvertisingStatusUnknown + * Unknown. (Value: "EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *containsEuPoliticalAds; + /** The conversion tracking setting of the line item. */ @property(nonatomic, strong, nullable) GTLRDisplayVideo_ConversionCountingConfig *conversionCounting; @@ -31179,6 +31567,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * before migrating to this version. (Value: "SDF_VERSION_8") * @arg @c kGTLRDisplayVideo_SdfConfig_Version_SdfVersion81 SDF version 8.1. * (Value: "SDF_VERSION_8_1") + * @arg @c kGTLRDisplayVideo_SdfConfig_Version_SdfVersion9 SDF version 9. + * Read the [v9 migration + * guide](/display-video/api/structured-data-file/v9-migration-guide) + * before migrating to this version. (Value: "SDF_VERSION_9") * @arg @c kGTLRDisplayVideo_SdfConfig_Version_SdfVersionUnspecified SDF * version value is not specified or is unknown in this version. (Value: * "SDF_VERSION_UNSPECIFIED") @@ -31257,6 +31649,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * before migrating to this version. (Value: "SDF_VERSION_8") * @arg @c kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion81 SDF * version 8.1. (Value: "SDF_VERSION_8_1") + * @arg @c kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion9 SDF + * version 9. Read the [v9 migration + * guide](/display-video/api/structured-data-file/v9-migration-guide) + * before migrating to this version. (Value: "SDF_VERSION_9") * @arg @c kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersionUnspecified * SDF version value is not specified or is unknown in this version. * (Value: "SDF_VERSION_UNSPECIFIED") @@ -32997,9 +33393,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * assigned at the line item level, this field is only applicable for the * following strategy types: * * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPA` * - * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_ROAS` When the bidding - * strategy is assigned at the ad group level, this field is only applicable - * for the following strategy types: * + * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_ROAS` * + * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_RESERVE_SHARE_OF_VOICE` When the + * bidding strategy is assigned at the ad group level, this field is only + * applicable for the following strategy types: * * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPM` * * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPV` * * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPA` * diff --git a/Sources/GeneratedServices/Dns/Public/GoogleAPIClientForREST/GTLRDnsObjects.h b/Sources/GeneratedServices/Dns/Public/GoogleAPIClientForREST/GTLRDnsObjects.h index 31ed8c3b0..2fc23419e 100644 --- a/Sources/GeneratedServices/Dns/Public/GoogleAPIClientForREST/GTLRDnsObjects.h +++ b/Sources/GeneratedServices/Dns/Public/GoogleAPIClientForREST/GTLRDnsObjects.h @@ -1620,7 +1620,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDns_RRSetRoutingPolicyLoadBalancerTarget */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; -/** Configurations related to DNS64 for this Policy. */ +/** Configurations related to DNS64 for this policy. */ @property(nonatomic, strong, nullable) GTLRDns_PolicyDns64Config *dns64Config; /** @@ -1736,7 +1736,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDns_RRSetRoutingPolicyLoadBalancerTarget @interface GTLRDns_PolicyDns64ConfigScope : GTLRObject /** - * Controls whether DNS64 is enabled globally at the network level. + * Controls whether DNS64 is enabled globally for all networks bound to the + * policy. * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/Dns/Public/GoogleAPIClientForREST/GTLRDnsQuery.h b/Sources/GeneratedServices/Dns/Public/GoogleAPIClientForREST/GTLRDnsQuery.h index e3f35578a..4b38c62af 100644 --- a/Sources/GeneratedServices/Dns/Public/GoogleAPIClientForREST/GTLRDnsQuery.h +++ b/Sources/GeneratedServices/Dns/Public/GoogleAPIClientForREST/GTLRDnsQuery.h @@ -837,7 +837,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDnsSortByStartTime; @end /** - * Creates a new Policy. + * Creates a new policy. * * Method: dns.policies.create * @@ -860,7 +860,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDnsSortByStartTime; /** * Fetches a @c GTLRDns_Policy. * - * Creates a new Policy. + * Creates a new policy. * * @param object The @c GTLRDns_Policy to include in the query. * @param project Identifies the project addressed by this request. @@ -873,7 +873,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDnsSortByStartTime; @end /** - * Deletes a previously created Policy. Fails if the policy is still being + * Deletes a previously created policy. Fails if the policy is still being * referenced by a network. * * Method: dns.policies.delete @@ -901,7 +901,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDnsSortByStartTime; * Upon successful completion, the callback's object and error parameters will * be nil. This query does not fetch an object. * - * Deletes a previously created Policy. Fails if the policy is still being + * Deletes a previously created policy. Fails if the policy is still being * referenced by a network. * * @param project Identifies the project addressed by this request. @@ -916,7 +916,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDnsSortByStartTime; @end /** - * Fetches the representation of an existing Policy. + * Fetches the representation of an existing policy. * * Method: dns.policies.get * @@ -944,7 +944,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDnsSortByStartTime; /** * Fetches a @c GTLRDns_Policy. * - * Fetches the representation of an existing Policy. + * Fetches the representation of an existing policy. * * @param project Identifies the project addressed by this request. * @param policy User given friendly name of the policy addressed by this @@ -958,7 +958,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDnsSortByStartTime; @end /** - * Enumerates all Policies associated with a project. + * Enumerates all policies associated with a project. * * Method: dns.policies.list * @@ -988,7 +988,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDnsSortByStartTime; /** * Fetches a @c GTLRDns_PoliciesListResponse. * - * Enumerates all Policies associated with a project. + * Enumerates all policies associated with a project. * * @param project Identifies the project addressed by this request. * @@ -1003,7 +1003,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDnsSortByStartTime; @end /** - * Applies a partial update to an existing Policy. + * Applies a partial update to an existing policy. * * Method: dns.policies.patch * @@ -1029,7 +1029,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDnsSortByStartTime; /** * Fetches a @c GTLRDns_PoliciesPatchResponse. * - * Applies a partial update to an existing Policy. + * Applies a partial update to an existing policy. * * @param object The @c GTLRDns_Policy to include in the query. * @param project Identifies the project addressed by this request. @@ -1045,7 +1045,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDnsSortByStartTime; @end /** - * Updates an existing Policy. + * Updates an existing policy. * * Method: dns.policies.update * @@ -1071,7 +1071,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDnsSortByStartTime; /** * Fetches a @c GTLRDns_PoliciesUpdateResponse. * - * Updates an existing Policy. + * Updates an existing policy. * * @param object The @c GTLRDns_Policy to include in the query. * @param project Identifies the project addressed by this request. @@ -1302,7 +1302,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDnsSortByStartTime; /** * Restricts the list to return only records with this fully qualified domain - * name. + * name. Mutually exclusive with the {\@code filter} field. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1317,7 +1317,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDnsSortByStartTime; /** * Restricts the list to return only records of this type. If present, the - * "name" parameter must also be present. + * "name" parameter must also be present. Mutually exclusive with the {\@code + * filter} field. */ @property(nonatomic, copy, nullable) NSString *type; diff --git a/Sources/GeneratedServices/Document/GTLRDocumentObjects.m b/Sources/GeneratedServices/Document/GTLRDocumentObjects.m index 2c47ef8ce..b63360bad 100644 --- a/Sources/GeneratedServices/Document/GTLRDocumentObjects.m +++ b/Sources/GeneratedServices/Document/GTLRDocumentObjects.m @@ -15,6 +15,27 @@ // ---------------------------------------------------------------------------- // Constants +// GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation.validationOperator +NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation_ValidationOperator_OperationTypeEq = @"OPERATION_TYPE_EQ"; +NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation_ValidationOperator_OperationTypeGe = @"OPERATION_TYPE_GE"; +NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation_ValidationOperator_OperationTypeGt = @"OPERATION_TYPE_GT"; +NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation_ValidationOperator_OperationTypeLe = @"OPERATION_TYPE_LE"; +NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation_ValidationOperator_OperationTypeLt = @"OPERATION_TYPE_LT"; +NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation_ValidationOperator_OperationTypeNe = @"OPERATION_TYPE_NE"; +NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation_ValidationOperator_OperationTypeUnspecified = @"OPERATION_TYPE_UNSPECIFIED"; + +// GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation.operationType +NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeAbs = @"OPERATION_TYPE_ABS"; +NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeCount = @"OPERATION_TYPE_COUNT"; +NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeDiv = @"OPERATION_TYPE_DIV"; +NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeMax = @"OPERATION_TYPE_MAX"; +NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeMin = @"OPERATION_TYPE_MIN"; +NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeMul = @"OPERATION_TYPE_MUL"; +NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeSub = @"OPERATION_TYPE_SUB"; +NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeSum = @"OPERATION_TYPE_SUM"; +NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeUnique = @"OPERATION_TYPE_UNIQUE"; +NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeUnspecified = @"OPERATION_TYPE_UNSPECIFIED"; + // GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata.destDatasetType NSString * const kGTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata_DestDatasetType_DatasetSplitTest = @"DATASET_SPLIT_TEST"; NSString * const kGTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata_DestDatasetType_DatasetSplitTrain = @"DATASET_SPLIT_TRAIN"; @@ -173,13 +194,6 @@ NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_OccurrenceType_RequiredMultiple = @"REQUIRED_MULTIPLE"; NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_OccurrenceType_RequiredOnce = @"REQUIRED_ONCE"; -// GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult.validationResultType -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeInvalid = @"VALIDATION_RESULT_TYPE_INVALID"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeNotApplicable = @"VALIDATION_RESULT_TYPE_NOT_APPLICABLE"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeSkipped = @"VALIDATION_RESULT_TYPE_SKIPPED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeUnspecified = @"VALIDATION_RESULT_TYPE_UNSPECIFIED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeValid = @"VALIDATION_RESULT_TYPE_VALID"; - // GTLRDocument_GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics.metricsType NSString * const kGTLRDocument_GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics_MetricsType_Aggregate = @"AGGREGATE"; NSString * const kGTLRDocument_GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics_MetricsType_MetricsTypeUnspecified = @"METRICS_TYPE_UNSPECIFIED"; @@ -246,6 +260,110 @@ NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions_TrainingMethod_TemplateBased = @"TEMPLATE_BASED"; NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions_TrainingMethod_TrainingMethodUnspecified = @"TRAINING_METHOD_UNSPECIFIED"; +// ---------------------------------------------------------------------------- +// +// GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInput +// + +@implementation GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInput +@dynamic validationRules; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"validationRules" : [GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule +// + +@implementation GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule +@dynamic descriptionProperty, fieldOccurrences, fieldRegex, formValidation, + name; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant +// + +@implementation GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant +@dynamic floatValue; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField +// + +@implementation GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField +@dynamic defaultValue, fieldName; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences +// + +@implementation GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences +@dynamic field, maxOccurrences, minOccurrences; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex +// + +@implementation GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex +@dynamic field, pattern; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation +// + +@implementation GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation +@dynamic leftOperand, rightOperand, validationOperator; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation +// + +@implementation GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation +@dynamic constants, fields, operations, operationType; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"constants" : [GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant class], + @"fields" : [GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField class], + @"operations" : [GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDocument_GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadata @@ -1558,7 +1676,7 @@ @implementation GTLRDocument_GoogleCloudDocumentaiV1DisableProcessorResponse @implementation GTLRDocument_GoogleCloudDocumentaiV1Document @dynamic chunkedDocument, content, docid, documentLayout, entities, entityRelations, error, mimeType, pages, revisions, shardInfo, text, - textChanges, textStyles, uri, validationOutputs; + textChanges, textStyles, uri; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1567,8 +1685,7 @@ @implementation GTLRDocument_GoogleCloudDocumentaiV1Document @"pages" : [GTLRDocument_GoogleCloudDocumentaiV1DocumentPage class], @"revisions" : [GTLRDocument_GoogleCloudDocumentaiV1DocumentRevision class], @"textChanges" : [GTLRDocument_GoogleCloudDocumentaiV1DocumentTextChange class], - @"textStyles" : [GTLRDocument_GoogleCloudDocumentaiV1DocumentStyle class], - @"validationOutputs" : [GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutput class] + @"textStyles" : [GTLRDocument_GoogleCloudDocumentaiV1DocumentStyle class] }; return map; } @@ -2446,34 +2563,6 @@ @implementation GTLRDocument_GoogleCloudDocumentaiV1DocumentTextChange @end -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutput -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutput -@dynamic passAllRules, validationResults; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"validationResults" : [GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult -// - -@implementation GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult -@dynamic ruleDescription, ruleName, validationDetails, validationResultType; -@end - - // ---------------------------------------------------------------------------- // // GTLRDocument_GoogleCloudDocumentaiV1EnableProcessorMetadata diff --git a/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h b/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h index ff2ba294a..6772c1230 100644 --- a/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h +++ b/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h @@ -16,6 +16,13 @@ #error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. #endif +@class GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule; +@class GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant; +@class GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField; +@class GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences; +@class GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex; +@class GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation; +@class GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation; @class GTLRDocument_GoogleCloudDocumentaiUiv1beta3AutoLabelDocumentsMetadataIndividualAutoLabelStatus; @class GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchDeleteDocumentsMetadataIndividualBatchDeleteStatus; @class GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadataIndividualBatchMoveStatus; @@ -114,8 +121,6 @@ @class GTLRDocument_GoogleCloudDocumentaiV1DocumentTextAnchor; @class GTLRDocument_GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment; @class GTLRDocument_GoogleCloudDocumentaiV1DocumentTextChange; -@class GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutput; -@class GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult; @class GTLRDocument_GoogleCloudDocumentaiV1Evaluation; @class GTLRDocument_GoogleCloudDocumentaiV1Evaluation_EntityMetrics; @class GTLRDocument_GoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics; @@ -176,6 +181,48 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation.validationOperator + +/** Value: "OPERATION_TYPE_EQ" */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation_ValidationOperator_OperationTypeEq; +/** Value: "OPERATION_TYPE_GE" */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation_ValidationOperator_OperationTypeGe; +/** Value: "OPERATION_TYPE_GT" */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation_ValidationOperator_OperationTypeGt; +/** Value: "OPERATION_TYPE_LE" */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation_ValidationOperator_OperationTypeLe; +/** Value: "OPERATION_TYPE_LT" */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation_ValidationOperator_OperationTypeLt; +/** Value: "OPERATION_TYPE_NE" */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation_ValidationOperator_OperationTypeNe; +/** Value: "OPERATION_TYPE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation_ValidationOperator_OperationTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation.operationType + +/** Value: "OPERATION_TYPE_ABS" */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeAbs; +/** Value: "OPERATION_TYPE_COUNT" */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeCount; +/** Value: "OPERATION_TYPE_DIV" */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeDiv; +/** Value: "OPERATION_TYPE_MAX" */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeMax; +/** Value: "OPERATION_TYPE_MIN" */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeMin; +/** Value: "OPERATION_TYPE_MUL" */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeMul; +/** Value: "OPERATION_TYPE_SUB" */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeSub; +/** Value: "OPERATION_TYPE_SUM" */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeSum; +/** Value: "OPERATION_TYPE_UNIQUE" */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeUnique; +/** Value: "OPERATION_TYPE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRDocument_GoogleCloudDocumentaiUiv1beta3BatchMoveDocumentsMetadata.destDatasetType @@ -955,40 +1002,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1Document */ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_OccurrenceType_RequiredOnce; -// ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult.validationResultType - -/** - * The validation is invalid. - * - * Value: "VALIDATION_RESULT_TYPE_INVALID" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeInvalid; -/** - * The validation is not applicable. - * - * Value: "VALIDATION_RESULT_TYPE_NOT_APPLICABLE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeNotApplicable; -/** - * The validation is skipped. - * - * Value: "VALIDATION_RESULT_TYPE_SKIPPED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeSkipped; -/** - * The validation result type is unspecified. - * - * Value: "VALIDATION_RESULT_TYPE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeUnspecified; -/** - * The validation is valid. - * - * Value: "VALIDATION_RESULT_TYPE_VALID" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeValid; - // ---------------------------------------------------------------------------- // GTLRDocument_GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics.metricsType @@ -1329,6 +1342,190 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro /** Value: "TRAINING_METHOD_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions_TrainingMethod_TrainingMethodUnspecified; +/** + * Definition of the validation rules. Those are the input to the validator + * logic and they are used to validate a document. + */ +@interface GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInput : GTLRObject + +@property(nonatomic, strong, nullable) NSArray *validationRules; + +@end + + +/** + * GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule + */ +@interface GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRule : GTLRObject + +/** + * Description of the validation rule. This has no use but for documentation + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +@property(nonatomic, strong, nullable) GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences *fieldOccurrences; +@property(nonatomic, strong, nullable) GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex *fieldRegex; +@property(nonatomic, strong, nullable) GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation *formValidation; + +/** Name of the validation rule. */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * The constant value used in the validation rules. + */ +@interface GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant : GTLRObject + +/** + * floatValue + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *floatValue; + +@end + + +/** + * GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField + */ +@interface GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField : GTLRObject + +/** + * Default value to use if the field is not present. If the field is missing + * and the default value is not set, the validation run as if the field is not + * present in the validation logic. + */ +@property(nonatomic, strong, nullable) GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleConstant *defaultValue; + +/** + * The field name to validate. This can be a simple field name or a nested + * field one using the ':' (meant as an aggregator) or '*' (meant as foreach) + * operators. + */ +@property(nonatomic, copy, nullable) NSString *fieldName; + +@end + + +/** + * GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences + */ +@interface GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldOccurrences : GTLRObject + +@property(nonatomic, strong, nullable) GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField *field; + +/** + * maxOccurrences + * + * Uses NSNumber of unsignedIntValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxOccurrences; + +/** + * Min and max occurrences of the field. If not set, there is limit set. The + * defined interval is a closed-closed interval, i.e. [min, max]. + * + * Uses NSNumber of unsignedIntValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minOccurrences; + +@end + + +/** + * GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex + */ +@interface GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFieldRegex : GTLRObject + +@property(nonatomic, strong, nullable) GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleField *field; + +/** Python regex to validate the field values. */ +@property(nonatomic, copy, nullable) NSString *pattern; + +@end + + +/** + * GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation + */ +@interface GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation : GTLRObject + +@property(nonatomic, strong, nullable) GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation *leftOperand; +@property(nonatomic, strong, nullable) GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation *rightOperand; + +/** + * The relational operator to be applied to the operands. + * + * Likely values: + * @arg @c kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation_ValidationOperator_OperationTypeEq + * Value "OPERATION_TYPE_EQ" + * @arg @c kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation_ValidationOperator_OperationTypeGe + * Value "OPERATION_TYPE_GE" + * @arg @c kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation_ValidationOperator_OperationTypeGt + * Value "OPERATION_TYPE_GT" + * @arg @c kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation_ValidationOperator_OperationTypeLe + * Value "OPERATION_TYPE_LE" + * @arg @c kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation_ValidationOperator_OperationTypeLt + * Value "OPERATION_TYPE_LT" + * @arg @c kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation_ValidationOperator_OperationTypeNe + * Value "OPERATION_TYPE_NE" + * @arg @c kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidation_ValidationOperator_OperationTypeUnspecified + * Value "OPERATION_TYPE_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *validationOperator; + +@end + + +/** + * GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation + */ +@interface GTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation : GTLRObject + +/** A list of constants to be used as operands. */ +@property(nonatomic, strong, nullable) NSArray *constants; + +/** A list of fields to be used as operands. */ +@property(nonatomic, strong, nullable) NSArray *fields; + +/** A list of recursive operations to be used as operands. */ +@property(nonatomic, strong, nullable) NSArray *operations; + +/** + * The operation type to be applied to all the operands. + * + * Likely values: + * @arg @c kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeAbs + * Value "OPERATION_TYPE_ABS" + * @arg @c kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeCount + * Value "OPERATION_TYPE_COUNT" + * @arg @c kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeDiv + * Value "OPERATION_TYPE_DIV" + * @arg @c kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeMax + * Value "OPERATION_TYPE_MAX" + * @arg @c kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeMin + * Value "OPERATION_TYPE_MIN" + * @arg @c kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeMul + * Value "OPERATION_TYPE_MUL" + * @arg @c kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeSub + * Value "OPERATION_TYPE_SUB" + * @arg @c kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeSum + * Value "OPERATION_TYPE_SUM" + * @arg @c kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeUnique + * Value "OPERATION_TYPE_UNIQUE" + * @arg @c kGTLRDocument_CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleFormValidationOperation_OperationType_OperationTypeUnspecified + * Value "OPERATION_TYPE_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *operationType; + +@end + + /** * Metadata of the auto-labeling documents operation. */ @@ -3408,12 +3605,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro */ @property(nonatomic, copy, nullable) NSString *uri; -/** - * The output of the validation given the document and the validation rules. - * The output is appended to the document in the processing order. - */ -@property(nonatomic, strong, nullable) NSArray *validationOutputs; - @end @@ -5134,64 +5325,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro @end -/** - * The output of the validation given the document and the validation rules. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutput : GTLRObject - -/** - * The overall result of the validation, true if all applicable rules are - * valid. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *passAllRules; - -/** The result of each validation rule. */ -@property(nonatomic, strong, nullable) NSArray *validationResults; - -@end - - -/** - * Validation result for a single validation rule. - */ -@interface GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult : GTLRObject - -/** The description of the validation rule. */ -@property(nonatomic, copy, nullable) NSString *ruleDescription; - -/** The name of the validation rule. */ -@property(nonatomic, copy, nullable) NSString *ruleName; - -/** - * The detailed information of the running the validation process using the - * entity from the document based on the validation rule. - */ -@property(nonatomic, copy, nullable) NSString *validationDetails; - -/** - * The result of the validation rule. - * - * Likely values: - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeInvalid - * The validation is invalid. (Value: "VALIDATION_RESULT_TYPE_INVALID") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeNotApplicable - * The validation is not applicable. (Value: - * "VALIDATION_RESULT_TYPE_NOT_APPLICABLE") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeSkipped - * The validation is skipped. (Value: "VALIDATION_RESULT_TYPE_SKIPPED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeUnspecified - * The validation result type is unspecified. (Value: - * "VALIDATION_RESULT_TYPE_UNSPECIFIED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeValid - * The validation is valid. (Value: "VALIDATION_RESULT_TYPE_VALID") - */ -@property(nonatomic, copy, nullable) NSString *validationResultType; - -@end - - /** * The long-running operation metadata for the EnableProcessor method. */ diff --git a/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentQuery.h b/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentQuery.h index 1df610bb6..d660bce37 100644 --- a/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentQuery.h +++ b/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentQuery.h @@ -137,8 +137,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRDocumentQuery_ProjectsLocationsList : GTLRDocumentQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h index cfe65d177..dd4f966e3 100644 --- a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h +++ b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h @@ -886,7 +886,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** * Output only. The user who set the content restriction. Only populated if - * `readOnly` is true. + * `readOnly=true`. */ @property(nonatomic, strong, nullable) GTLRDrive_User *restrictingUser; @@ -927,7 +927,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio @property(nonatomic, strong, nullable) NSNumber *restrictedForReaders; /** - * Whether download and copy is restricted for writers. If true, download is + * Whether download and copy is restricted for writers. If `true`, download is * also restricted for readers. * * Uses NSNumber of boolValue. @@ -950,7 +950,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** * The download restriction of the file applied directly by the owner or - * organizer. This does not take into account shared drive settings or DLP + * organizer. This doesn't take into account shared drive settings or DLP * rules. */ @property(nonatomic, strong, nullable) GTLRDrive_DownloadRestriction *itemDownloadRestriction; @@ -1382,7 +1382,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** * Output only. Capabilities the current user has on this file. Each capability - * corresponds to a fine-grained action that a user may take. + * corresponds to a fine-grained action that a user may take. For more + * information, see [Understand file + * capabilities](https://developers.google.com/workspace/drive/api/guides/manage-sharing#capabilities). */ @property(nonatomic, strong, nullable) GTLRDrive_File_Capabilities *capabilities; @@ -1399,8 +1401,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio @property(nonatomic, strong, nullable) NSArray *contentRestrictions; /** - * Whether the options to copy, print, or download this file, should be - * disabled for readers and commenters. + * Whether the options to copy, print, or download this file should be disabled + * for readers and commenters. * * Uses NSNumber of boolValue. */ @@ -1447,8 +1449,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** * The color for a folder or a shortcut to a folder as an RGB hex string. The * supported colors are published in the `folderColorPalette` field of the - * About resource. If an unsupported color is specified, the closest color in - * the palette is used instead. + * [`about`](/workspace/drive/api/reference/rest/v3/about) resource. If an + * unsupported color is specified, the closest color in the palette is used + * instead. */ @property(nonatomic, copy, nullable) NSString *folderColorRgb; @@ -1456,8 +1459,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio * Output only. The full file extension extracted from the `name` field. May * contain multiple concatenated extensions, such as "tar.gz". This is only * available for files with binary content in Google Drive. This is - * automatically updated when the `name` field changes, however it is not - * cleared if the new name does not contain a valid extension. + * automatically updated when the `name` field changes, however it's not + * cleared if the new name doesn't contain a valid extension. */ @property(nonatomic, copy, nullable) NSString *fullFileExtension; @@ -1470,7 +1473,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio @property(nonatomic, strong, nullable) NSNumber *hasAugmentedPermissions; /** - * Output only. Whether this file has a thumbnail. This does not indicate + * Output only. Whether this file has a thumbnail. This doesn't indicate * whether the requesting app has access to the thumbnail. To check access, * look for the presence of the thumbnailLink field. * @@ -1544,7 +1547,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio * appropriate value from uploaded content, if no value is provided. The value * cannot be changed unless a new revision is uploaded. If a file is created * with a Google Doc MIME type, the uploaded content is imported, if possible. - * The supported import formats are published in the About resource. + * The supported import formats are published in the + * [`about`](/workspace/drive/api/reference/rest/v3/about) resource. */ @property(nonatomic, copy, nullable) NSString *mimeType; @@ -1565,9 +1569,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio @property(nonatomic, strong, nullable) GTLRDateTime *modifiedTime; /** - * The name of the file. This is not necessarily unique within a folder. Note - * that for immutable items such as the top level folders of shared drives, My - * Drive root folder, and Application Data folder the name is constant. + * The name of the file. This isn't necessarily unique within a folder. Note + * that for immutable items such as the top-level folders of shared drives, the + * My Drive root folder, and the Application Data folder, the name is constant. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1632,7 +1636,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** * Output only. The SHA1 checksum associated with this file, if available. This - * field is only populated for files with content stored in Google Drive; it is + * field is only populated for files with content stored in Google Drive; it's * not populated for Docs Editors or shortcut files. */ @property(nonatomic, copy, nullable) NSString *sha1Checksum; @@ -1640,7 +1644,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** * Output only. The SHA256 checksum associated with this file, if available. * This field is only populated for files with content stored in Google Drive; - * it is not populated for Docs Editors or shortcut files. + * it's not populated for Docs Editors or shortcut files. */ @property(nonatomic, copy, nullable) NSString *sha256Checksum; @@ -1672,8 +1676,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio @property(nonatomic, strong, nullable) GTLRDrive_File_ShortcutDetails *shortcutDetails; /** - * Output only. Size in bytes of blobs and first party editor files. Won't be - * populated for files that have no size, like shortcuts and folders. + * Output only. Size in bytes of blobs and Google Workspace editor files. Won't + * be populated for files that have no size, like shortcuts and folders. * * Uses NSNumber of longLongValue. */ @@ -1681,7 +1685,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** * Output only. The list of spaces which contain the file. The currently - * supported values are 'drive', 'appDataFolder' and 'photos'. + * supported values are `drive`, `appDataFolder`, and `photos`. */ @property(nonatomic, strong, nullable) NSArray *spaces; @@ -1699,10 +1703,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio * Output only. A short-lived link to the file's thumbnail, if available. * Typically lasts on the order of hours. Not intended for direct usage on web * applications due to [Cross-Origin Resource Sharing - * (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies, - * consider using a proxy server. Only populated when the requesting app can + * (CORS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies. + * Consider using a proxy server. Only populated when the requesting app can * access the file's content. If the file isn't shared publicly, the URL - * returned in `Files.thumbnailLink` must be fetched using a credentialed + * returned in `files.thumbnailLink` must be fetched using a credentialed * request. */ @property(nonatomic, copy, nullable) NSString *thumbnailLink; @@ -1809,7 +1813,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** * Output only. Capabilities the current user has on this file. Each capability - * corresponds to a fine-grained action that a user may take. + * corresponds to a fine-grained action that a user may take. For more + * information, see [Understand file + * capabilities](https://developers.google.com/workspace/drive/api/guides/manage-sharing#capabilities). */ @interface GTLRDrive_File_Capabilities : GTLRObject @@ -1823,7 +1829,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** * Output only. Whether the current user can add children to this folder. This - * is always false when the item is not a folder. + * is always `false` when the item isn't a folder. * * Uses NSNumber of boolValue. */ @@ -1831,8 +1837,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** * Output only. Whether the current user can add a folder from another drive - * (different shared drive or My Drive) to this folder. This is false when the - * item is not a folder. Only populated for items in shared drives. + * (different shared drive or My Drive) to this folder. This is `false` when + * the item isn't a folder. Only populated for items in shared drives. * * Uses NSNumber of boolValue. */ @@ -1864,7 +1870,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio @property(nonatomic, strong, nullable) NSNumber *canChangeItemDownloadRestriction; /** - * Output only. Whether the current user can change the securityUpdateEnabled + * Output only. Whether the current user can change the `securityUpdateEnabled` * field on link share metadata. * * Uses NSNumber of boolValue. @@ -1888,7 +1894,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** * Output only. Whether the current user can copy this file. For an item in a * shared drive, whether the current user can copy non-folder descendants of - * this item, or this item itself if it is not a folder. + * this item, or this item if it's not a folder. * * Uses NSNumber of boolValue. */ @@ -1903,7 +1909,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** * Output only. Whether the current user can delete children of this folder. - * This is false when the item is not a folder. Only populated for items in + * This is `false` when the item isn't a folder. Only populated for items in * shared drives. * * Uses NSNumber of boolValue. @@ -1942,7 +1948,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** * Output only. Whether the current user can list the children of this folder. - * This is always false when the item is not a folder. + * This is always `false` when the item isn't a folder. * * Uses NSNumber of boolValue. */ @@ -1957,7 +1963,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** * Deprecated: Output only. Use one of `canModifyEditorContentRestriction`, - * `canModifyOwnerContentRestriction` or `canRemoveContentRestriction`. + * `canModifyOwnerContentRestriction`, or `canRemoveContentRestriction`. * * Uses NSNumber of boolValue. */ @@ -1988,7 +1994,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** * Output only. Whether the current user can move children of this folder - * outside of the shared drive. This is false when the item is not a folder. + * outside of the shared drive. This is `false` when the item isn't a folder. * Only populated for items in shared drives. * * Uses NSNumber of boolValue. @@ -2004,7 +2010,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** * Output only. Whether the current user can move children of this folder - * within this drive. This is false when the item is not a folder. Note that a + * within this drive. This is `false` when the item isn't a folder. Note that a * request to move the child may still fail depending on the current user's * access to the child and to the destination folder. * @@ -2029,7 +2035,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** * Output only. Whether the current user can move this item outside of this * drive by changing its parent. Note that a request to change the parent of - * the item may still fail depending on the new parent that is being added. + * the item may still fail depending on the new parent that's being added. * * Uses NSNumber of boolValue. */ @@ -2045,7 +2051,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** * Output only. Whether the current user can move this item within this drive. * Note that a request to change the parent of the item may still fail - * depending on the new parent that is being added and the parent that is being + * depending on the new parent that's being added and the parent that is being * removed. * * Uses NSNumber of boolValue. @@ -2085,8 +2091,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** * Output only. Whether the current user can read the revisions resource of * this file. For a shared drive item, whether revisions of non-folder - * descendants of this item, or this item itself if it is not a folder, can be - * read. + * descendants of this item, or this item if it's not a folder, can be read. * * Uses NSNumber of boolValue. */ @@ -2101,15 +2106,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** * Output only. Whether the current user can remove children from this folder. - * This is always false when the item is not a folder. For a folder in a shared - * drive, use `canDeleteChildren` or `canTrashChildren` instead. + * This is always `false` when the item isn't a folder. For a folder in a + * shared drive, use `canDeleteChildren` or `canTrashChildren` instead. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *canRemoveChildren; /** - * Output only. Whether there is a content restriction on the file that can be + * Output only. Whether there's a content restriction on the file that can be * removed by the current user. * * Uses NSNumber of boolValue. @@ -2149,7 +2154,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** * Output only. Whether the current user can trash children of this folder. - * This is false when the item is not a folder. Only populated for items in + * This is `false` when the item isn't a folder. Only populated for items in * shared drives. * * Uses NSNumber of boolValue. @@ -2174,7 +2179,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** * Text to be indexed for the file to improve fullText queries. This is limited - * to 128KB in length and may contain HTML elements. + * to 128 KB in length and may contain HTML elements. */ @property(nonatomic, copy, nullable) NSString *indexableText; @@ -2386,7 +2391,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio */ @property(nonatomic, copy, nullable) NSString *targetMimeType; -/** Output only. The ResourceKey for the target file. */ +/** Output only. The `resourceKey` for the target file. */ @property(nonatomic, copy, nullable) NSString *targetResourceKey; @end @@ -2429,7 +2434,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio @interface GTLRDrive_File_ContentHints_Thumbnail : GTLRObject /** - * The thumbnail data encoded with URL-safe Base64 (RFC 4648 section 5). + * The thumbnail data encoded with URL-safe Base64 ([RFC 4648 section + * 5](https://datatracker.ietf.org/doc/html/rfc4648#section-5)). * * Contains encoded binary data; GTLRBase64 can encode/decode (probably * web-safe format). @@ -2482,7 +2488,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio @interface GTLRDrive_FileList : GTLRCollectionObject /** - * The list of files. If nextPageToken is populated, then this list may be + * The list of files. If `nextPageToken` is populated, then this list may be * incomplete and an additional page of results should be fetched. * * @note This property is used to support NSFastEnumeration and indexed @@ -2493,9 +2499,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** * Whether the search process was incomplete. If true, then some search results * might be missing, since all documents were not searched. This can occur when - * searching multiple drives with the 'allDrives' corpora, but all corpora + * searching multiple drives with the `allDrives` corpora, but all corpora * couldn't be searched. When this happens, it's suggested that clients narrow - * their query by choosing a different corpus such as 'user' or 'drive'. + * their query by choosing a different corpus such as `user` or `drive`. * * Uses NSNumber of boolValue. */ @@ -2632,7 +2638,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** The ID of the field to be modified. */ @property(nonatomic, copy, nullable) NSString *fieldId; -/** This is always drive#labelFieldModification. */ +/** This is always `"drive#labelFieldModification"`. */ @property(nonatomic, copy, nullable) NSString *kind; /** @@ -2657,7 +2663,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio @property(nonatomic, strong, nullable) NSArray *setTextValues; /** - * Replaces a `user` field with these new values. The values must be valid + * Replaces a `user` field with these new values. The values must be a valid * email addresses. */ @property(nonatomic, strong, nullable) NSArray *setUserValues; @@ -2682,7 +2688,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio */ @interface GTLRDrive_LabelList : GTLRCollectionObject -/** This is always drive#labelList */ +/** This is always `"drive#labelList"`. */ @property(nonatomic, copy, nullable) NSString *kind; /** @@ -2707,7 +2713,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** - * A modification to a label on a file. A LabelModification can be used to + * A modification to a label on a file. A `LabelModification` can be used to * apply a label to a file, update an existing label on a file, or remove a * label from a file. */ @@ -2716,7 +2722,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** The list of modifications to this label's fields. */ @property(nonatomic, strong, nullable) NSArray *fieldModifications; -/** This is always drive#labelModification. */ +/** This is always `"drive#labelModification"`. */ @property(nonatomic, copy, nullable) NSString *kind; /** The ID of the label to modify. */ @@ -2767,7 +2773,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio */ @interface GTLRDrive_ModifyLabelsRequest : GTLRObject -/** This is always drive#modifyLabelsRequest. */ +/** This is always `"drive#modifyLabelsRequest"`. */ @property(nonatomic, copy, nullable) NSString *kind; /** The list of modifications to apply to the labels on the file. */ @@ -2777,12 +2783,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** - * Response to a ModifyLabels request. This contains only those labels which + * Response to a `ModifyLabels` request. This contains only those labels which * were added or updated by the request. */ @interface GTLRDrive_ModifyLabelsResponse : GTLRObject -/** This is always drive#modifyLabelsResponse */ +/** This is always `"drive#modifyLabelsResponse"`. */ @property(nonatomic, copy, nullable) NSString *kind; /** The list of labels which were added or updated by the request. */ diff --git a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h index caf81955b..1124705d6 100644 --- a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h +++ b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h @@ -892,7 +892,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Creates a shared drive. + * Creates a shared drive. For more information, see [Manage shared + * drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives). * * Method: drive.drives.create * @@ -913,7 +914,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches a @c GTLRDrive_Drive. * - * Creates a shared drive. + * Creates a shared drive. For more information, see [Manage shared + * drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives). * * @param object The @c GTLRDrive_Drive to include in the query. * @param requestId Required. An ID, such as a random UUID, which uniquely @@ -931,7 +933,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Permanently deletes a shared drive for which the user is an `organizer`. The - * shared drive cannot contain any untrashed items. + * shared drive cannot contain any untrashed items. For more information, see + * [Manage shared + * drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives). * * Method: drive.drives.delete * @@ -965,7 +969,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * be nil. This query does not fetch an object. * * Permanently deletes a shared drive for which the user is an `organizer`. The - * shared drive cannot contain any untrashed items. + * shared drive cannot contain any untrashed items. For more information, see + * [Manage shared + * drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives). * * @param driveId The ID of the shared drive. * @@ -976,7 +982,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Gets a shared drive's metadata by ID. + * Gets a shared drive's metadata by ID. For more information, see [Manage + * shared + * drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives). * * Method: drive.drives.get * @@ -1001,7 +1009,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches a @c GTLRDrive_Drive. * - * Gets a shared drive's metadata by ID. + * Gets a shared drive's metadata by ID. For more information, see [Manage + * shared + * drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives). * * @param driveId The ID of the shared drive. * @@ -1012,7 +1022,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Hides a shared drive from the default view. + * Hides a shared drive from the default view. For more information, see + * [Manage shared + * drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives). * * Method: drive.drives.hide * @@ -1027,7 +1039,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches a @c GTLRDrive_Drive. * - * Hides a shared drive from the default view. + * Hides a shared drive from the default view. For more information, see + * [Manage shared + * drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives). * * @param driveId The ID of the shared drive. * @@ -1093,7 +1107,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Restores a shared drive to the default view. + * Restores a shared drive to the default view. For more information, see + * [Manage shared + * drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives). * * Method: drive.drives.unhide * @@ -1108,7 +1124,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches a @c GTLRDrive_Drive. * - * Restores a shared drive to the default view. + * Restores a shared drive to the default view. For more information, see + * [Manage shared + * drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives). * * @param driveId The ID of the shared drive. * @@ -1119,7 +1137,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Updates the metadata for a shared drive. + * Updates the metadata for a shared drive. For more information, see [Manage + * shared + * drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives). * * Method: drive.drives.update * @@ -1143,7 +1163,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches a @c GTLRDrive_Drive. * - * Updates the metadata for a shared drive. + * Updates the metadata for a shared drive. For more information, see [Manage + * shared + * drives](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives). * * @param object The @c GTLRDrive_Drive to include in the query. * @param driveId The ID of the shared drive. @@ -1157,7 +1179,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Creates a copy of a file and applies any requested updates with patch - * semantics. + * semantics. For more information, see [Create and manage + * files](https://developers.google.com/workspace/drive/api/guides/create-file). * * Method: drive.files.copy * @@ -1170,12 +1193,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @interface GTLRDriveQuery_FilesCopy : GTLRDriveQuery /** - * Deprecated. Copying files into multiple folders is no longer supported. Use + * Deprecated: Copying files into multiple folders is no longer supported. Use * shortcuts instead. * * @note If not set, the documented server-side default will be false. */ -@property(nonatomic, assign) BOOL enforceSingleParent; +@property(nonatomic, assign) BOOL enforceSingleParent GTLR_DEPRECATED; /** The ID of the file. */ @property(nonatomic, copy, nullable) NSString *fileId; @@ -1198,12 +1221,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Specifies which additional view's permissions to include in the response. - * Only 'published' is supported. + * Only `published` is supported. */ @property(nonatomic, copy, nullable) NSString *includePermissionsForView; /** - * Whether to set the 'keepForever' field in the new head revision. This is + * Whether to set the `keepForever` field in the new head revision. This is * only applicable to files with binary content in Google Drive. Only 200 * revisions for the file can be kept forever. If the limit is reached, try * deleting pinned revisions. @@ -1236,7 +1259,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * Fetches a @c GTLRDrive_File. * * Creates a copy of a file and applies any requested updates with patch - * semantics. + * semantics. For more information, see [Create and manage + * files](https://developers.google.com/workspace/drive/api/guides/create-file). * * @param object The @c GTLRDrive_File to include in the query. * @param fileId The ID of the file. @@ -1249,22 +1273,25 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Creates a new file. This method supports an * /upload* URI and accepts - * uploaded media with the following characteristics: - *Maximum file size:* - * 5,120 GB - *Accepted Media MIME types:*`* / *` Note: Specify a valid MIME - * type, rather than the literal `* / *` value. The literal `* / *` is only - * used to indicate that any valid MIME type can be uploaded. For more + * Creates a file. For more information, see [Create and manage + * files](/workspace/drive/api/guides/create-file). This method supports an * + * /upload* URI and accepts uploaded media with the following characteristics: + * - *Maximum file size:* 5,120 GB - *Accepted Media MIME types:* `* / *` + * (Specify a valid MIME type, rather than the literal `* / *` value. The + * literal `* / *` is only used to indicate that any valid MIME type can be + * uploaded. For more information, see [Google Workspace and Google Drive + * supported MIME types](/workspace/drive/api/guides/mime-types).) For more * information on uploading files, see [Upload file * data](/workspace/drive/api/guides/manage-uploads). Apps creating shortcuts - * with `files.create` must specify the MIME type + * with the `create` method must specify the MIME type * `application/vnd.google-apps.shortcut`. Apps should specify a file extension * in the `name` property when inserting files with the API. For example, an * operation to insert a JPEG file should specify something like `"name": * "cat.jpg"` in the metadata. Subsequent `GET` requests include the read-only * `fileExtension` property populated with the extension originally specified - * in the `title` property. When a Google Drive user requests to download a + * in the `name` property. When a Google Drive user requests to download a * file, or when the file is downloaded through the sync client, Drive builds a - * full filename (with extension) based on the title. In cases where the + * full filename (with extension) based on the name. In cases where the * extension is missing, Drive attempts to determine the extension based on the * file's MIME type. * @@ -1278,11 +1305,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @interface GTLRDriveQuery_FilesCreate : GTLRDriveQuery /** - * Deprecated. Creating files in multiple folders is no longer supported. + * Deprecated: Creating files in multiple folders is no longer supported. * * @note If not set, the documented server-side default will be false. */ -@property(nonatomic, assign) BOOL enforceSingleParent; +@property(nonatomic, assign) BOOL enforceSingleParent GTLR_DEPRECATED; /** * Whether to ignore the domain's default visibility settings for the created @@ -1302,12 +1329,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Specifies which additional view's permissions to include in the response. - * Only 'published' is supported. + * Only `published` is supported. */ @property(nonatomic, copy, nullable) NSString *includePermissionsForView; /** - * Whether to set the 'keepForever' field in the new head revision. This is + * Whether to set the `keepForever` field in the new head revision. This is * only applicable to files with binary content in Google Drive. Only 200 * revisions for the file can be kept forever. If the limit is reached, try * deleting pinned revisions. @@ -1346,22 +1373,25 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches a @c GTLRDrive_File. * - * Creates a new file. This method supports an * /upload* URI and accepts - * uploaded media with the following characteristics: - *Maximum file size:* - * 5,120 GB - *Accepted Media MIME types:*`* / *` Note: Specify a valid MIME - * type, rather than the literal `* / *` value. The literal `* / *` is only - * used to indicate that any valid MIME type can be uploaded. For more + * Creates a file. For more information, see [Create and manage + * files](/workspace/drive/api/guides/create-file). This method supports an * + * /upload* URI and accepts uploaded media with the following characteristics: + * - *Maximum file size:* 5,120 GB - *Accepted Media MIME types:* `* / *` + * (Specify a valid MIME type, rather than the literal `* / *` value. The + * literal `* / *` is only used to indicate that any valid MIME type can be + * uploaded. For more information, see [Google Workspace and Google Drive + * supported MIME types](/workspace/drive/api/guides/mime-types).) For more * information on uploading files, see [Upload file * data](/workspace/drive/api/guides/manage-uploads). Apps creating shortcuts - * with `files.create` must specify the MIME type + * with the `create` method must specify the MIME type * `application/vnd.google-apps.shortcut`. Apps should specify a file extension * in the `name` property when inserting files with the API. For example, an * operation to insert a JPEG file should specify something like `"name": * "cat.jpg"` in the metadata. Subsequent `GET` requests include the read-only * `fileExtension` property populated with the extension originally specified - * in the `title` property. When a Google Drive user requests to download a + * in the `name` property. When a Google Drive user requests to download a * file, or when the file is downloaded through the sync client, Drive builds a - * full filename (with extension) based on the title. In cases where the + * full filename (with extension) based on the name. In cases where the * extension is missing, Drive attempts to determine the extension based on the * file's MIME type. * @@ -1378,6 +1408,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Permanently deletes a file owned by the user without moving it to the trash. + * For more information, see [Trash or delete files and + * folders](https://developers.google.com/workspace/drive/api/guides/delete). * If the file belongs to a shared drive, the user must be an `organizer` on * the parent folder. If the target is a folder, all descendants owned by the * user are also deleted. @@ -1392,9 +1424,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @interface GTLRDriveQuery_FilesDelete : GTLRDriveQuery /** - * Deprecated: If an item is not in a shared drive and its last parent is - * deleted but the item itself is not, the item will be placed under its - * owner's root. + * Deprecated: If an item isn't in a shared drive and its last parent is + * deleted but the item itself isn't, the item will be placed under its owner's + * root. * * @note If not set, the documented server-side default will be false. */ @@ -1423,6 +1455,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * be nil. This query does not fetch an object. * * Permanently deletes a file owned by the user without moving it to the trash. + * For more information, see [Trash or delete files and + * folders](https://developers.google.com/workspace/drive/api/guides/delete). * If the file belongs to a shared drive, the user must be an `organizer` on * the parent folder. If the target is a folder, all descendants owned by the * user are also deleted. @@ -1436,8 +1470,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Downloads content of a file. Operations are valid for 24 hours from the time - * of creation. + * Downloads the content of a file. For more information, see [Download and + * export + * files](https://developers.google.com/workspace/drive/api/guides/manage-downloads). + * Operations are valid for 24 hours from the time of creation. * * Method: drive.files.download * @@ -1453,11 +1489,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Optional. The MIME type the file should be downloaded as. This field can - * only be set when downloading Google Workspace documents. See [Export MIME - * types for Google Workspace documents](/drive/api/guides/ref-export-formats) - * for the list of supported MIME types. If not set, a Google Workspace - * document is downloaded with a default MIME type. The default MIME type might - * change in the future. + * only be set when downloading Google Workspace documents. For a list of + * supported MIME types, see [Export MIME types for Google Workspace + * documents](/workspace/drive/api/guides/ref-export-formats). If not set, a + * Google Workspace document is downloaded with a default MIME type. The + * default MIME type might change in the future. */ @property(nonatomic, copy, nullable) NSString *mimeType; @@ -1472,8 +1508,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches a @c GTLRDrive_Operation. * - * Downloads content of a file. Operations are valid for 24 hours from the time - * of creation. + * Downloads the content of a file. For more information, see [Download and + * export + * files](https://developers.google.com/workspace/drive/api/guides/manage-downloads). + * Operations are valid for 24 hours from the time of creation. * * @param fileId Required. The ID of the file to download. * @@ -1484,7 +1522,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Permanently deletes all of the user's trashed files. + * Permanently deletes all of the user's trashed files. For more information, + * see [Trash or delete files and + * folders](https://developers.google.com/workspace/drive/api/guides/delete). * * Method: drive.files.emptyTrash * @@ -1497,9 +1537,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @property(nonatomic, copy, nullable) NSString *driveId; /** - * Deprecated: If an item is not in a shared drive and its last parent is - * deleted but the item itself is not, the item will be placed under its - * owner's root. + * Deprecated: If an item isn't in a shared drive and its last parent is + * deleted but the item itself isn't, the item will be placed under its owner's + * root. * * @note If not set, the documented server-side default will be false. */ @@ -1509,7 +1549,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * Upon successful completion, the callback's object and error parameters will * be nil. This query does not fetch an object. * - * Permanently deletes all of the user's trashed files. + * Permanently deletes all of the user's trashed files. For more information, + * see [Trash or delete files and + * folders](https://developers.google.com/workspace/drive/api/guides/delete). * * @return GTLRDriveQuery_FilesEmptyTrash */ @@ -1519,7 +1561,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Exports a Google Workspace document to the requested MIME type and returns - * exported byte content. Note that the exported content is limited to 10MB. + * exported byte content. For more information, see [Download and export + * files](https://developers.google.com/workspace/drive/api/guides/manage-downloads). + * Note that the exported content is limited to 10 MB. * * Method: drive.files.export * @@ -1534,18 +1578,26 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** The ID of the file. */ @property(nonatomic, copy, nullable) NSString *fileId; -/** Required. The MIME type of the format requested for this export. */ +/** + * Required. The MIME type of the format requested for this export. For a list + * of supported MIME types, see [Export MIME types for Google Workspace + * documents](/workspace/drive/api/guides/ref-export-formats). + */ @property(nonatomic, copy, nullable) NSString *mimeType; /** * Fetches the requested resource data as a @c GTLRDataObject. * * Exports a Google Workspace document to the requested MIME type and returns - * exported byte content. Note that the exported content is limited to 10MB. + * exported byte content. For more information, see [Download and export + * files](https://developers.google.com/workspace/drive/api/guides/manage-downloads). + * Note that the exported content is limited to 10 MB. * * @param fileId The ID of the file. * @param mimeType Required. The MIME type of the format requested for this - * export. + * export. For a list of supported MIME types, see [Export MIME types for + * Google Workspace + * documents](/workspace/drive/api/guides/ref-export-formats). * * @return GTLRDriveQuery_FilesExport */ @@ -1556,7 +1608,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Generates a set of file IDs which can be provided in create or copy - * requests. + * requests. For more information, see [Create and manage + * files](https://developers.google.com/workspace/drive/api/guides/create-file). * * Method: drive.files.generateIds * @@ -1576,8 +1629,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @property(nonatomic, assign) NSInteger count; /** - * The space in which the IDs can be used to create new files. Supported values - * are 'drive' and 'appDataFolder'. (Default: 'drive') + * The space in which the IDs can be used to create files. Supported values are + * `drive` and `appDataFolder`. (Default: `drive`.) For more information, see + * [File + * organization](https://developers.google.com/workspace/drive/api/guides/about-files#file-organization). * * @note If not set, the documented server-side default will be drive. */ @@ -1585,8 +1640,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * The type of items which the IDs can be used for. Supported values are - * 'files' and 'shortcuts'. Note that 'shortcuts' are only supported in the - * `drive` 'space'. (Default: 'files') + * `files` and `shortcuts`. Note that `shortcuts` are only supported in the + * `drive` `space`. (Default: `files`.) For more information, see [File + * organization](https://developers.google.com/workspace/drive/api/guides/about-files#file-organization). * * @note If not set, the documented server-side default will be files. */ @@ -1596,7 +1652,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * Fetches a @c GTLRDrive_GeneratedIds. * * Generates a set of file IDs which can be provided in create or copy - * requests. + * requests. For more information, see [Create and manage + * files](https://developers.google.com/workspace/drive/api/guides/create-file). * * @return GTLRDriveQuery_FilesGenerateIds */ @@ -1605,12 +1662,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Gets a file's metadata or content by ID. If you provide the URL parameter - * `alt=media`, then the response includes the file contents in the response - * body. Downloading content with `alt=media` only works if the file is stored - * in Drive. To download Google Docs, Sheets, and Slides use + * Gets a file's metadata or content by ID. For more information, see [Search + * for files and folders](/workspace/drive/api/guides/search-files). If you + * provide the URL parameter `alt=media`, then the response includes the file + * contents in the response body. Downloading content with `alt=media` only + * works if the file is stored in Drive. To download Google Docs, Sheets, and + * Slides use * [`files.export`](/workspace/drive/api/reference/rest/v3/files/export) - * instead. For more information, see [Download & export + * instead. For more information, see [Download and export * files](/workspace/drive/api/guides/manage-downloads). * * Method: drive.files.get @@ -1648,7 +1707,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Specifies which additional view's permissions to include in the response. - * Only 'published' is supported. + * Only `published` is supported. */ @property(nonatomic, copy, nullable) NSString *includePermissionsForView; @@ -1670,12 +1729,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches a @c GTLRDrive_File. * - * Gets a file's metadata or content by ID. If you provide the URL parameter - * `alt=media`, then the response includes the file contents in the response - * body. Downloading content with `alt=media` only works if the file is stored - * in Drive. To download Google Docs, Sheets, and Slides use + * Gets a file's metadata or content by ID. For more information, see [Search + * for files and folders](/workspace/drive/api/guides/search-files). If you + * provide the URL parameter `alt=media`, then the response includes the file + * contents in the response body. Downloading content with `alt=media` only + * works if the file is stored in Drive. To download Google Docs, Sheets, and + * Slides use * [`files.export`](/workspace/drive/api/reference/rest/v3/files/export) - * instead. For more information, see [Download & export + * instead. For more information, see [Download and export * files](/workspace/drive/api/guides/manage-downloads). * * @param fileId The ID of the file. @@ -1687,12 +1748,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches the requested resource data as a @c GTLRDataObject. * - * Gets a file's metadata or content by ID. If you provide the URL parameter - * `alt=media`, then the response includes the file contents in the response - * body. Downloading content with `alt=media` only works if the file is stored - * in Drive. To download Google Docs, Sheets, and Slides use + * Gets a file's metadata or content by ID. For more information, see [Search + * for files and folders](/workspace/drive/api/guides/search-files). If you + * provide the URL parameter `alt=media`, then the response includes the file + * contents in the response body. Downloading content with `alt=media` only + * works if the file is stored in Drive. To download Google Docs, Sheets, and + * Slides use * [`files.export`](/workspace/drive/api/reference/rest/v3/files/export) - * instead. For more information, see [Download & export + * instead. For more information, see [Download and export * files](/workspace/drive/api/guides/manage-downloads). * * @param fileId The ID of the file. @@ -1704,12 +1767,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Lists the user's files. This method accepts the `q` parameter, which is a - * search query combining one or more search terms. For more information, see - * the [Search for files & folders](/workspace/drive/api/guides/search-files) - * guide. *Note:* This method returns *all* files by default, including trashed - * files. If you don't want trashed files to appear in the list, use the - * `trashed=false` query parameter to remove trashed files from the results. + * Lists the user's files. For more information, see [Search for files and + * folders](/workspace/drive/api/guides/search-files). This method accepts the + * `q` parameter, which is a search query combining one or more search terms. + * This method returns *all* files by default, including trashed files. If you + * don't want trashed files to appear in the list, use the `trashed=false` + * query parameter to remove trashed files from the results. * * Method: drive.files.list * @@ -1726,16 +1789,17 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @interface GTLRDriveQuery_FilesList : GTLRDriveQuery /** - * Bodies of items (files/documents) to which the query applies. Supported - * bodies are 'user', 'domain', 'drive', and 'allDrives'. Prefer 'user' or - * 'drive' to 'allDrives' for efficiency. By default, corpora is set to 'user'. - * However, this can change depending on the filter set through the 'q' - * parameter. + * Bodies of items (files or documents) to which the query applies. Supported + * bodies are: * `user` * `domain` * `drive` * `allDrives` Prefer `user` or + * `drive` to `allDrives` for efficiency. By default, corpora is set to `user`. + * However, this can change depending on the filter set through the `q` + * parameter. For more information, see [File + * organization](https://developers.google.com/workspace/drive/api/guides/about-files#file-organization). */ @property(nonatomic, copy, nullable) NSString *corpora; /** - * Deprecated: The source of files to list. Use 'corpora' instead. + * Deprecated: The source of files to list. Use `corpora` instead. * * Likely values: * @arg @c kGTLRDriveCorpusDomain Files shared to the user's domain. (Value: @@ -1763,7 +1827,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Specifies which additional view's permissions to include in the response. - * Only 'published' is supported. + * Only `published` is supported. */ @property(nonatomic, copy, nullable) NSString *includePermissionsForView; @@ -1787,7 +1851,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * `sharedWithMeTime`: When the file was shared with the user, if applicable. * * `starred`: Whether the user has starred the file. * `viewedByMeTime`: The * last time the file was viewed by the user. Each key sorts ascending by - * default, but can be reversed with the 'desc' modifier. Example usage: + * default, but can be reversed with the `desc` modifier. Example usage: * `?orderBy=folder,modifiedTime desc,name`. */ @property(nonatomic, copy, nullable) NSString *orderBy; @@ -1803,19 +1867,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * The token for continuing a previous list request on the next page. This - * should be set to the value of 'nextPageToken' from the previous response. + * should be set to the value of `nextPageToken` from the previous response. */ @property(nonatomic, copy, nullable) NSString *pageToken; /** - * A query for filtering the file results. See the "Search for files & folders" - * guide for supported syntax. + * A query for filtering the file results. For supported syntax, see [Search + * for files and folders](/workspace/drive/api/guides/search-files). */ @property(nonatomic, copy, nullable) NSString *q; /** * A comma-separated list of spaces to query within the corpora. Supported - * values are 'drive' and 'appDataFolder'. + * values are `drive` and `appDataFolder`. For more information, see [File + * organization](https://developers.google.com/workspace/drive/api/guides/about-files#file-organization). * * @note If not set, the documented server-side default will be drive. */ @@ -1842,12 +1907,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches a @c GTLRDrive_FileList. * - * Lists the user's files. This method accepts the `q` parameter, which is a - * search query combining one or more search terms. For more information, see - * the [Search for files & folders](/workspace/drive/api/guides/search-files) - * guide. *Note:* This method returns *all* files by default, including trashed - * files. If you don't want trashed files to appear in the list, use the - * `trashed=false` query parameter to remove trashed files from the results. + * Lists the user's files. For more information, see [Search for files and + * folders](/workspace/drive/api/guides/search-files). This method accepts the + * `q` parameter, which is a search query combining one or more search terms. + * This method returns *all* files by default, including trashed files. If you + * don't want trashed files to appear in the list, use the `trashed=false` + * query parameter to remove trashed files from the results. * * @return GTLRDriveQuery_FilesList * @@ -1860,7 +1925,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Lists the labels on a file. + * Lists the labels on a file. For more information, see [List labels on a + * file](https://developers.google.com/workspace/drive/api/guides/list-labels). * * Method: drive.files.listLabels * @@ -1888,14 +1954,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * The token for continuing a previous list request on the next page. This - * should be set to the value of 'nextPageToken' from the previous response. + * should be set to the value of `nextPageToken` from the previous response. */ @property(nonatomic, copy, nullable) NSString *pageToken; /** * Fetches a @c GTLRDrive_LabelList. * - * Lists the labels on a file. + * Lists the labels on a file. For more information, see [List labels on a + * file](https://developers.google.com/workspace/drive/api/guides/list-labels). * * @param fileId The ID for the file. * @@ -1910,8 +1977,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Modifies the set of labels applied to a file. Returns a list of the labels - * that were added or modified. + * Modifies the set of labels applied to a file. For more information, see [Set + * a label field on a + * file](https://developers.google.com/workspace/drive/api/guides/set-label). + * Returns a list of the labels that were added or modified. * * Method: drive.files.modifyLabels * @@ -1928,8 +1997,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches a @c GTLRDrive_ModifyLabelsResponse. * - * Modifies the set of labels applied to a file. Returns a list of the labels - * that were added or modified. + * Modifies the set of labels applied to a file. For more information, see [Set + * a label field on a + * file](https://developers.google.com/workspace/drive/api/guides/set-label). + * Returns a list of the labels that were added or modified. * * @param object The @c GTLRDrive_ModifyLabelsRequest to include in the query. * @param fileId The ID of the file to which the labels belong. @@ -1942,15 +2013,17 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Updates a file's metadata and/or content. When calling this method, only + * Updates a file's metadata, content, or both. When calling this method, only * populate fields in the request that you want to modify. When updating * fields, some fields might be changed automatically, such as `modifiedDate`. * This method supports patch semantics. This method supports an * /upload* URI * and accepts uploaded media with the following characteristics: - *Maximum - * file size:* 5,120 GB - *Accepted Media MIME types:*`* / *` Note: Specify a - * valid MIME type, rather than the literal `* / *` value. The literal `* / *` - * is only used to indicate that any valid MIME type can be uploaded. For more - * information on uploading files, see [Upload file + * file size:* 5,120 GB - *Accepted Media MIME types:* `* / *` (Specify a valid + * MIME type, rather than the literal `* / *` value. The literal `* / *` is + * only used to indicate that any valid MIME type can be uploaded. For more + * information, see [Google Workspace and Google Drive supported MIME + * types](/workspace/drive/api/guides/mime-types).) For more information on + * uploading files, see [Upload file * data](/workspace/drive/api/guides/manage-uploads). * * Method: drive.files.update @@ -1986,12 +2059,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Specifies which additional view's permissions to include in the response. - * Only 'published' is supported. + * Only `published` is supported. */ @property(nonatomic, copy, nullable) NSString *includePermissionsForView; /** - * Whether to set the 'keepForever' field in the new head revision. This is + * Whether to set the `keepForever` field in the new head revision. This is * only applicable to files with binary content in Google Drive. Only 200 * revisions for the file can be kept forever. If the limit is reached, try * deleting pinned revisions. @@ -2033,15 +2106,17 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches a @c GTLRDrive_File. * - * Updates a file's metadata and/or content. When calling this method, only + * Updates a file's metadata, content, or both. When calling this method, only * populate fields in the request that you want to modify. When updating * fields, some fields might be changed automatically, such as `modifiedDate`. * This method supports patch semantics. This method supports an * /upload* URI * and accepts uploaded media with the following characteristics: - *Maximum - * file size:* 5,120 GB - *Accepted Media MIME types:*`* / *` Note: Specify a - * valid MIME type, rather than the literal `* / *` value. The literal `* / *` - * is only used to indicate that any valid MIME type can be uploaded. For more - * information on uploading files, see [Upload file + * file size:* 5,120 GB - *Accepted Media MIME types:* `* / *` (Specify a valid + * MIME type, rather than the literal `* / *` value. The literal `* / *` is + * only used to indicate that any valid MIME type can be uploaded. For more + * information, see [Google Workspace and Google Drive supported MIME + * types](/workspace/drive/api/guides/mime-types).) For more information on + * uploading files, see [Upload file * data](/workspace/drive/api/guides/manage-uploads). * * @param object The @c GTLRDrive_File to include in the query. @@ -2058,7 +2133,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Subscribes to changes to a file. + * Subscribes to changes to a file. For more information, see [Notifications + * for resource + * changes](https://developers.google.com/workspace/drive/api/guides/push). * * Method: drive.files.watch * @@ -2095,7 +2172,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Specifies which additional view's permissions to include in the response. - * Only 'published' is supported. + * Only `published` is supported. */ @property(nonatomic, copy, nullable) NSString *includePermissionsForView; @@ -2117,7 +2194,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches a @c GTLRDrive_Channel. * - * Subscribes to changes to a file. + * Subscribes to changes to a file. For more information, see [Notifications + * for resource + * changes](https://developers.google.com/workspace/drive/api/guides/push). * * @param object The @c GTLRDrive_Channel to include in the query. * @param fileId The ID of the file. @@ -2207,7 +2286,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Whether to send a notification email when sharing to users or groups. This - * defaults to true for users and groups, and is not allowed for other + * defaults to `true` for users and groups, and is not allowed for other * requests. It must not be disabled for ownership transfers. */ @property(nonatomic, assign) BOOL sendNotificationEmail; @@ -2782,7 +2861,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * Permanently deletes a file version. You can only delete revisions for files * with binary content in Google Drive, like images or videos. Revisions for * other files, like Google Docs or Sheets, and the last remaining file version - * can't be deleted. + * can't be deleted. For more information, see [Manage file + * revisions](https://developers.google.com/drive/api/guides/manage-revisions). * * Method: drive.revisions.delete * @@ -2806,7 +2886,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * Permanently deletes a file version. You can only delete revisions for files * with binary content in Google Drive, like images or videos. Revisions for * other files, like Google Docs or Sheets, and the last remaining file version - * can't be deleted. + * can't be deleted. For more information, see [Manage file + * revisions](https://developers.google.com/drive/api/guides/manage-revisions). * * @param fileId The ID of the file. * @param revisionId The ID of the revision. @@ -2819,7 +2900,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Gets a revision's metadata or content by ID. + * Gets a revision's metadata or content by ID. For more information, see + * [Manage file + * revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions). * * Method: drive.revisions.get * @@ -2854,7 +2937,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches a @c GTLRDrive_Revision. * - * Gets a revision's metadata or content by ID. + * Gets a revision's metadata or content by ID. For more information, see + * [Manage file + * revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions). * * @param fileId The ID of the file. * @param revisionId The ID of the revision. @@ -2867,7 +2952,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches the requested resource data as a @c GTLRDataObject. * - * Gets a revision's metadata or content by ID. + * Gets a revision's metadata or content by ID. For more information, see + * [Manage file + * revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions). * * @param fileId The ID of the file. * @param revisionId The ID of the revision. @@ -2880,7 +2967,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Lists a file's revisions. + * Lists a file's revisions. For more information, see [Manage file + * revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions). * * Method: drive.revisions.list * @@ -2916,7 +3004,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches a @c GTLRDrive_RevisionList. * - * Lists a file's revisions. + * Lists a file's revisions. For more information, see [Manage file + * revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions). * * @param fileId The ID of the file. * @@ -2931,7 +3020,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Updates a revision with patch semantics. + * Updates a revision with patch semantics. For more information, see [Manage + * file + * revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions). * * Method: drive.revisions.update * @@ -2951,7 +3042,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches a @c GTLRDrive_Revision. * - * Updates a revision with patch semantics. + * Updates a revision with patch semantics. For more information, see [Manage + * file + * revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions). * * @param object The @c GTLRDrive_Revision to include in the query. * @param fileId The ID of the file. diff --git a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h index c97aecc47..99130a566 100644 --- a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h +++ b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h @@ -1190,9 +1190,9 @@ FOUNDATION_EXTERN NSString * const kGTLREventarc_StateCondition_Code_Unknown; /** * Optional. An authentication config used to authenticate message requests, * such that destinations can verify the source. For example, this can be used - * with private GCP destinations that require GCP credentials to access like - * Cloud Run. This field is optional and should be set only by users interested - * in authenticated push + * with private Google Cloud destinations that require Google Cloud credentials + * for access like Cloud Run. This field is optional and should be set only by + * users interested in authenticated push. */ @property(nonatomic, strong, nullable) GTLREventarc_GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig *authenticationConfig; @@ -1251,7 +1251,7 @@ FOUNDATION_EXTERN NSString * const kGTLREventarc_StateCondition_Code_Unknown; /** * Optional. This authenticate method will apply Google OIDC tokens signed by a - * GCP service account to the requests. + * Google Cloud service account to the requests. */ @property(nonatomic, strong, nullable) GTLREventarc_GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOidcToken *googleOidc; @@ -1298,8 +1298,9 @@ FOUNDATION_EXTERN NSString * const kGTLREventarc_StateCondition_Code_Unknown; /** * Represents a config used to authenticate with a Google OIDC token using a - * GCP service account. Use this authentication method to invoke your Cloud Run - * and Cloud Functions destinations or HTTP endpoints that support Google OIDC. + * Google Cloud service account. Use this authentication method to invoke your + * Cloud Run and Cloud Functions destinations or HTTP endpoints that support + * Google OIDC. */ @interface GTLREventarc_GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOidcToken : GTLRObject diff --git a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcQuery.h b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcQuery.h index 6d5941ceb..e9c687020 100644 --- a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcQuery.h +++ b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcQuery.h @@ -1537,8 +1537,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLREventarcQuery_ProjectsLocationsList : GTLREventarcQuery /** - * Optional. Do not use this field. It is unsupported and is ignored unless - * explicitly documented otherwise. This is primarily for internal usage. + * Optional. Unless explicitly documented otherwise, don't use this unsupported + * field which is primarily intended for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/FirebaseAppDistribution/GTLRFirebaseAppDistributionObjects.m b/Sources/GeneratedServices/FirebaseAppDistribution/GTLRFirebaseAppDistributionObjects.m index c41bed433..f9d7410d4 100644 --- a/Sources/GeneratedServices/FirebaseAppDistribution/GTLRFirebaseAppDistributionObjects.m +++ b/Sources/GeneratedServices/FirebaseAppDistribution/GTLRFirebaseAppDistributionObjects.m @@ -468,7 +468,8 @@ + (NSString *)collectionItemsKey { @implementation GTLRFirebaseAppDistribution_GoogleFirebaseAppdistroV1Release @dynamic binaryDownloadUri, buildVersion, createTime, displayVersion, - firebaseConsoleUri, name, releaseNotes, testingUri; + expireTime, firebaseConsoleUri, name, releaseNotes, testingUri, + updateTime; @end diff --git a/Sources/GeneratedServices/FirebaseAppDistribution/Public/GoogleAPIClientForREST/GTLRFirebaseAppDistributionObjects.h b/Sources/GeneratedServices/FirebaseAppDistribution/Public/GoogleAPIClientForREST/GTLRFirebaseAppDistributionObjects.h index 4443ed3fc..db5e3a59d 100644 --- a/Sources/GeneratedServices/FirebaseAppDistribution/Public/GoogleAPIClientForREST/GTLRFirebaseAppDistributionObjects.h +++ b/Sources/GeneratedServices/FirebaseAppDistribution/Public/GoogleAPIClientForREST/GTLRFirebaseAppDistributionObjects.h @@ -1247,6 +1247,9 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppDistribution_GoogleFirebaseAp */ @property(nonatomic, copy, nullable) NSString *displayVersion; +/** Output only. The time the release will expire. */ +@property(nonatomic, strong, nullable) GTLRDateTime *expireTime; + /** * Output only. A link to the Firebase console displaying a single release. */ @@ -1268,6 +1271,9 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppDistribution_GoogleFirebaseAp */ @property(nonatomic, copy, nullable) NSString *testingUri; +/** Output only. The time the release was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + @end diff --git a/Sources/GeneratedServices/FirebaseAppHosting/GTLRFirebaseAppHostingObjects.m b/Sources/GeneratedServices/FirebaseAppHosting/GTLRFirebaseAppHostingObjects.m index bb963f4e3..03d6a135d 100644 --- a/Sources/GeneratedServices/FirebaseAppHosting/GTLRFirebaseAppHostingObjects.m +++ b/Sources/GeneratedServices/FirebaseAppHosting/GTLRFirebaseAppHostingObjects.m @@ -144,6 +144,22 @@ NSString * const kGTLRFirebaseAppHosting_Rollout_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRFirebaseAppHosting_Rollout_State_Succeeded = @"SUCCEEDED"; +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_ArchiveSource +// + +@implementation GTLRFirebaseAppHosting_ArchiveSource +@dynamic author, descriptionProperty, externalSignedUri, rootDirectory, + userStorageUri; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRFirebaseAppHosting_Backend @@ -152,7 +168,8 @@ @implementation GTLRFirebaseAppHosting_Backend @dynamic annotations, appId, codebase, createTime, deleteTime, displayName, environment, ETag, labels, managedResources, mode, name, reconciling, - serviceAccount, servingLocality, uid, updateTime, uri; + requestLogsDisabled, serviceAccount, servingLocality, uid, updateTime, + uri; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; @@ -254,7 +271,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRFirebaseAppHosting_BuildSource -@dynamic codebase, container; +@dynamic archive, codebase, container; @end @@ -856,6 +873,16 @@ @implementation GTLRFirebaseAppHosting_ServingBehavior @end +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_SourceUserMetadata +// + +@implementation GTLRFirebaseAppHosting_SourceUserMetadata +@dynamic displayName, email, imageUri; +@end + + // ---------------------------------------------------------------------------- // // GTLRFirebaseAppHosting_Status diff --git a/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingObjects.h b/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingObjects.h index 0f2d7a768..303499ce2 100644 --- a/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingObjects.h +++ b/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingObjects.h @@ -20,6 +20,7 @@ #error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. #endif +@class GTLRFirebaseAppHosting_ArchiveSource; @class GTLRFirebaseAppHosting_Backend; @class GTLRFirebaseAppHosting_Backend_Annotations; @class GTLRFirebaseAppHosting_Backend_Labels; @@ -57,6 +58,7 @@ @class GTLRFirebaseAppHosting_RunConfig; @class GTLRFirebaseAppHosting_RunService; @class GTLRFirebaseAppHosting_ServingBehavior; +@class GTLRFirebaseAppHosting_SourceUserMetadata; @class GTLRFirebaseAppHosting_Status; @class GTLRFirebaseAppHosting_Status_Details_Item; @class GTLRFirebaseAppHosting_Traffic_Annotations; @@ -801,6 +803,39 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Rollout_State_StateUn */ FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Rollout_State_Succeeded; +/** + * The URI of an storage archive or a signed URL to use as the build source. + */ +@interface GTLRFirebaseAppHosting_ArchiveSource : GTLRObject + +/** + * Optional. The author contained in the metadata of a version control change. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_SourceUserMetadata *author; + +/** + * Optional. An optional message that describes the uploaded version of the + * source code. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** Signed URL to an archive in a storage bucket. */ +@property(nonatomic, copy, nullable) NSString *externalSignedUri; + +/** Optional. Relative path in the archive. */ +@property(nonatomic, copy, nullable) NSString *rootDirectory; + +/** + * URI to an archive in Cloud Storage. The object must be a zipped (.zip) or + * gzipped archive file (.tar.gz) containing source to deploy. + */ +@property(nonatomic, copy, nullable) NSString *userStorageUri; + +@end + + /** * A backend is the primary resource of App Hosting. */ @@ -873,6 +908,14 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Rollout_State_Succeed */ @property(nonatomic, strong, nullable) NSNumber *reconciling; +/** + * Optional. A field that, if true, indicates that incoming request logs are + * disabled for this backend. Incoming request logs are enabled by default. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requestLogsDisabled; + /** * Required. The name of the service account used for Cloud Build and Cloud * Run. Should have the role roles/firebaseapphosting.computeRunner or @@ -1093,6 +1136,9 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Rollout_State_Succeed */ @interface GTLRFirebaseAppHosting_BuildSource : GTLRObject +/** An archive source. */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_ArchiveSource *archive; + /** A codebase source. */ @property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_CodebaseSource *codebase; @@ -2305,8 +2351,9 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Rollout_State_Succeed @property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_Rollout_Annotations *annotations; /** - * Immutable. The name of a build that already exists. It doesn't have to be - * built; a rollout will wait for a build to be ready before updating traffic. + * Required. Immutable. The name of a build that already exists. It doesn't + * have to be built; a rollout will wait for a build to be ready before + * updating traffic. */ @property(nonatomic, copy, nullable) NSString *build; @@ -2536,6 +2583,29 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Rollout_State_Succeed @end +/** + * Metadata for the user who started the build. + */ +@interface GTLRFirebaseAppHosting_SourceUserMetadata : GTLRObject + +/** Output only. The user-chosen displayname. May be empty. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Output only. The account email linked to the EUC that created the build. May + * be a service account or other robot account. + */ +@property(nonatomic, copy, nullable) NSString *email; + +/** + * Output only. The URI of a profile photo associated with the user who created + * the build. + */ +@property(nonatomic, copy, nullable) NSString *imageUri; + +@end + + /** * The `Status` type defines a logical error model that is suitable for * different programming environments, including REST APIs and RPC APIs. It is diff --git a/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingQuery.h b/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingQuery.h index 5bc262419..906c2132a 100644 --- a/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingQuery.h +++ b/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingQuery.h @@ -1090,8 +1090,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRFirebaseAppHostingQuery_ProjectsLocationsList : GTLRFirebaseAppHostingQuery /** - * Optional. Do not use this field. It is unsupported and is ignored unless - * explicitly documented otherwise. This is primarily for internal usage. + * Optional. Unless explicitly documented otherwise, don't use this unsupported + * field which is primarily intended for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/FirebaseDataConnect/Public/GoogleAPIClientForREST/GTLRFirebaseDataConnectQuery.h b/Sources/GeneratedServices/FirebaseDataConnect/Public/GoogleAPIClientForREST/GTLRFirebaseDataConnectQuery.h index 4644c58fd..98e01d73f 100644 --- a/Sources/GeneratedServices/FirebaseDataConnect/Public/GoogleAPIClientForREST/GTLRFirebaseDataConnectQuery.h +++ b/Sources/GeneratedServices/FirebaseDataConnect/Public/GoogleAPIClientForREST/GTLRFirebaseDataConnectQuery.h @@ -74,8 +74,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRFirebaseDataConnectQuery_ProjectsLocationsList : GTLRFirebaseDataConnectQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/Firebaseappcheck/GTLRFirebaseappcheckObjects.m b/Sources/GeneratedServices/Firebaseappcheck/GTLRFirebaseappcheckObjects.m index 98bf2047e..3036bb46d 100644 --- a/Sources/GeneratedServices/Firebaseappcheck/GTLRFirebaseappcheckObjects.m +++ b/Sources/GeneratedServices/Firebaseappcheck/GTLRFirebaseappcheckObjects.m @@ -14,6 +14,13 @@ // ---------------------------------------------------------------------------- // Constants +// GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity.minDeviceRecognitionLevel +NSString * const kGTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity_MinDeviceRecognitionLevel_DeviceRecognitionLevelUnspecified = @"DEVICE_RECOGNITION_LEVEL_UNSPECIFIED"; +NSString * const kGTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity_MinDeviceRecognitionLevel_MeetsBasicIntegrity = @"MEETS_BASIC_INTEGRITY"; +NSString * const kGTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity_MinDeviceRecognitionLevel_MeetsDeviceIntegrity = @"MEETS_DEVICE_INTEGRITY"; +NSString * const kGTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity_MinDeviceRecognitionLevel_MeetsStrongIntegrity = @"MEETS_STRONG_INTEGRITY"; +NSString * const kGTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity_MinDeviceRecognitionLevel_NoIntegrity = @"NO_INTEGRITY"; + // GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1ResourcePolicy.enforcementMode NSString * const kGTLRFirebaseappcheck_GoogleFirebaseAppcheckV1ResourcePolicy_EnforcementMode_Enforced = @"ENFORCED"; NSString * const kGTLRFirebaseappcheck_GoogleFirebaseAppcheckV1ResourcePolicy_EnforcementMode_Off = @"OFF"; @@ -458,7 +465,37 @@ + (NSString *)collectionItemsKey { // @implementation GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfig -@dynamic name, tokenTtl; +@dynamic accountDetails, appIntegrity, deviceIntegrity, name, tokenTtl; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigAccountDetails +// + +@implementation GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigAccountDetails +@dynamic requireLicensed; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigAppIntegrity +// + +@implementation GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigAppIntegrity +@dynamic allowUnrecognizedVersion; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity +// + +@implementation GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity +@dynamic minDeviceRecognitionLevel; @end @@ -496,7 +533,17 @@ @implementation GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PublicJwkSet // @implementation GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig -@dynamic name, siteKey, tokenTtl; +@dynamic name, riskAnalysis, siteKey, tokenTtl; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfigRiskAnalysis +// + +@implementation GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfigRiskAnalysis +@dynamic minValidScore; @end @@ -506,7 +553,7 @@ @implementation GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1RecaptchaEnterprise // @implementation GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1RecaptchaV3Config -@dynamic name, siteSecret, siteSecretSet, tokenTtl; +@dynamic minValidScore, name, siteSecret, siteSecretSet, tokenTtl; @end diff --git a/Sources/GeneratedServices/Firebaseappcheck/Public/GoogleAPIClientForREST/GTLRFirebaseappcheckObjects.h b/Sources/GeneratedServices/Firebaseappcheck/Public/GoogleAPIClientForREST/GTLRFirebaseappcheckObjects.h index 8af53b2d7..36708167c 100644 --- a/Sources/GeneratedServices/Firebaseappcheck/Public/GoogleAPIClientForREST/GTLRFirebaseappcheckObjects.h +++ b/Sources/GeneratedServices/Firebaseappcheck/Public/GoogleAPIClientForREST/GTLRFirebaseappcheckObjects.h @@ -20,8 +20,12 @@ @class GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1DebugToken; @class GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1DeviceCheckConfig; @class GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfig; +@class GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigAccountDetails; +@class GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigAppIntegrity; +@class GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity; @class GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PublicJwk; @class GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig; +@class GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfigRiskAnalysis; @class GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1RecaptchaV3Config; @class GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1ResourcePolicy; @class GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1SafetyNetConfig; @@ -40,6 +44,73 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity.minDeviceRecognitionLevel + +/** + * Default value. Do not specify this value directly. When this default value + * is detected in a configuration, the `NO_INTEGRITY` default level takes + * effect. + * + * Value: "DEVICE_RECOGNITION_LEVEL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity_MinDeviceRecognitionLevel_DeviceRecognitionLevelUnspecified; +/** + * This level corresponds to the `MEETS_BASIC_INTEGRITY` [optional device + * recognition + * label](https://developer.android.com/google/play/integrity/verdicts#optional-device-labels). + * This value represents the most basic level of device integrity, and is the + * minimum allowed in App Check's standard implementation of Play Integrity. + * Warning: Because this is an optional response, you **must** first explicitly + * [opt in your app in the Play + * Console](https://developer.android.com/google/play/integrity/setup#optional) + * in order to receive this label. Without this opt-in, **your app may break** + * for any user whose device is eligible for `MEETS_BASIC_INTEGRITY` but not + * `MEETS_DEVICE_INTEGRITY`. This API is **not** responsible for any such + * opt-ins. + * + * Value: "MEETS_BASIC_INTEGRITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity_MinDeviceRecognitionLevel_MeetsBasicIntegrity; +/** + * This level corresponds to the `MEETS_DEVICE_INTEGRITY` [device recognition + * verdict](https://developer.android.com/google/play/integrity/verdicts#device-integrity-field). + * Any app integrated with Play Integrity will automatically be eligible to + * receive this label without any additional action from you. At this level, + * devices that have the `MEETS_BASIC_INTEGRITY` label but **not** the + * `MEETS_DEVICE_INTEGRITY` label will be rejected. + * + * Value: "MEETS_DEVICE_INTEGRITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity_MinDeviceRecognitionLevel_MeetsDeviceIntegrity; +/** + * This level corresponds to the `MEETS_STRONG_INTEGRITY` [optional device + * recognition + * label](https://developer.android.com/google/play/integrity/verdicts#optional-device-labels). + * This value represents the highest level of device integrity. At this level, + * devices that have the `MEETS_BASIC_INTEGRITY` or `MEETS_DEVICE_INTEGRITY` + * but **not** the `MEETS_STRONG_INTEGRITY` label will be rejected. Warning: + * Because this is an optional response, you **must** first explicitly [opt in + * your app in the Play + * Console](https://developer.android.com/google/play/integrity/setup#optional) + * in order to receive this label. Without this opt-in, **your app may break** + * for any user whose device is eligible for `MEETS_STRONG_INTEGRITY`. This API + * is **not** responsible for any such opt-ins. + * + * Value: "MEETS_STRONG_INTEGRITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity_MinDeviceRecognitionLevel_MeetsStrongIntegrity; +/** + * If this level is set, no explicit device integrity label requirements will + * be checked. However, because Play Integrity's other features may perform + * (and require) their own intrinsic device integrity checks, your + * `app_integrity` and `account_details` settings may still cause some device + * integrity checks to be performed. + * + * Value: "NO_INTEGRITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity_MinDeviceRecognitionLevel_NoIntegrity; + // ---------------------------------------------------------------------------- // GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1ResourcePolicy.enforcementMode @@ -851,6 +922,45 @@ GTLR_DEPRECATED */ @interface GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfig : GTLRObject +/** + * Specifies account requirements for Android devices running your app. These + * settings correspond to requirements on the [**account details** + * field](https://developer.android.com/google/play/integrity/verdicts#account-details-field) + * obtained from the Play Integrity API. See the [default responses + * table](https://developer.android.com/google/play/integrity/setup#default) + * for a quick summary. The default values for these settings work for most + * apps, and are recommended. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigAccountDetails *accountDetails; + +/** + * Specifies application integrity requirements for Android devices running + * your app. These settings correspond to requirements on the [**application + * integrity** + * field](https://developer.android.com/google/play/integrity/verdicts#application-integrity-field) + * obtained from the Play Integrity API. See the [default responses + * table](https://developer.android.com/google/play/integrity/setup#default) + * for a quick summary. The default values for these settings work for most + * apps, and are recommended. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigAppIntegrity *appIntegrity; + +/** + * Specifies device integrity requirements for Android devices running your + * app. These settings correspond to requirements on the [**device integrity** + * field](https://developer.android.com/google/play/integrity/verdicts#device-integrity-field) + * obtained from the Play Integrity API. See the [default responses + * table](https://developer.android.com/google/play/integrity/setup#default) + * for a quick summary. Warning: There are also + * [conditional](https://developer.android.com/google/play/integrity/setup#conditional) + * as well as + * [optional](https://developer.android.com/google/play/integrity/setup#optional_device_information) + * responses that you can receive, but requires additional explicit opt-in from + * you. The App Check API is **not** responsible for any such opt-ins. The + * default values for these settings work for most apps, and are recommended. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity *deviceIntegrity; + /** * Required. The relative resource name of the Play Integrity configuration * object, in the format: ``` @@ -868,6 +978,145 @@ GTLR_DEPRECATED @end +/** + * A settings object specifying account requirements for Android devices + * running your app. These settings correspond to requirements on the + * [**account details** + * field](https://developer.android.com/google/play/integrity/verdicts#account-details-field) + * obtained from the Play Integrity API. See the [default responses + * table](https://developer.android.com/google/play/integrity/setup#default) + * for a quick summary. The default values for these settings work for most + * apps, and are recommended. + */ +@interface GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigAccountDetails : GTLRObject + +/** + * Specifies whether the caller must have received the [`LICENSED` + * verdict](https://developer.android.com/google/play/integrity/verdicts#account-details-field). + * For additional details about scenarios where your users will receive this + * `LICENSED` label, see [the default responses + * table](https://developer.android.com/google/play/integrity/setup#default). + * If set to `true`, apps without the `LICENSED` app licensing verdict will be + * rejected. If set to `false`, any app licensing verdict is allowed. The + * default value is `false`. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requireLicensed; + +@end + + +/** + * A settings object specifying application integrity requirements for Android + * devices running your app. These settings correspond to requirements on the + * [**application integrity** + * field](https://developer.android.com/google/play/integrity/verdicts#application-integrity-field) + * obtained from the Play Integrity API. See the [default responses + * table](https://developer.android.com/google/play/integrity/setup#default) + * for a quick summary. The default values for these settings work for most + * apps, and are recommended. + */ +@interface GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigAppIntegrity : GTLRObject + +/** + * Specifies whether your running app is allowed to have the + * `UNRECOGNIZED_VERSION` [app recognition + * verdict](https://developer.android.com/google/play/integrity/verdicts#application-integrity-field). + * Note that the app recognition verdict `PLAY_RECOGNIZED` is a strong, + * comprehensive integrity signal that takes into account various other + * signals, including conditional and optional device integrity responses that + * you have opted into. If your app is published off-Play, this field should be + * set to `true` to allow instances of your app installed from off-Play sources + * to function. If set to `false`, only `PLAY_RECOGNIZED` verdicts are allowed, + * and both `UNRECOGNIZED_VERSION` and `UNEVALUATED` will be rejected. If set + * to `true`, any app recognition verdict is allowed. The default value is + * `false`. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowUnrecognizedVersion; + +@end + + +/** + * A settings object specifying device integrity requirements for Android + * devices running your app. These settings correspond to requirements on the + * [**device integrity** + * field](https://developer.android.com/google/play/integrity/verdicts#device-integrity-field) + * obtained from the Play Integrity API. See the [default responses + * table](https://developer.android.com/google/play/integrity/setup#default) + * for a quick summary. Warning: There are also + * [conditional](https://developer.android.com/google/play/integrity/setup#conditional) + * as well as + * [optional](https://developer.android.com/google/play/integrity/setup#optional_device_information) + * responses that you can receive, but requires additional explicit opt-in from + * you. The App Check API is **not** responsible for any such opt-ins. The + * default values for these settings work for most apps, and are recommended. + */ +@interface GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity : GTLRObject + +/** + * Specifies the minimum device integrity level in order for the device to be + * considered valid. Any device with a device recognition verdict lower than + * this level will be rejected. If this is unspecified, the default level is + * `NO_INTEGRITY`. + * + * Likely values: + * @arg @c kGTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity_MinDeviceRecognitionLevel_DeviceRecognitionLevelUnspecified + * Default value. Do not specify this value directly. When this default + * value is detected in a configuration, the `NO_INTEGRITY` default level + * takes effect. (Value: "DEVICE_RECOGNITION_LEVEL_UNSPECIFIED") + * @arg @c kGTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity_MinDeviceRecognitionLevel_MeetsBasicIntegrity + * This level corresponds to the `MEETS_BASIC_INTEGRITY` [optional device + * recognition + * label](https://developer.android.com/google/play/integrity/verdicts#optional-device-labels). + * This value represents the most basic level of device integrity, and is + * the minimum allowed in App Check's standard implementation of Play + * Integrity. Warning: Because this is an optional response, you **must** + * first explicitly [opt in your app in the Play + * Console](https://developer.android.com/google/play/integrity/setup#optional) + * in order to receive this label. Without this opt-in, **your app may + * break** for any user whose device is eligible for + * `MEETS_BASIC_INTEGRITY` but not `MEETS_DEVICE_INTEGRITY`. This API is + * **not** responsible for any such opt-ins. (Value: + * "MEETS_BASIC_INTEGRITY") + * @arg @c kGTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity_MinDeviceRecognitionLevel_MeetsDeviceIntegrity + * This level corresponds to the `MEETS_DEVICE_INTEGRITY` [device + * recognition + * verdict](https://developer.android.com/google/play/integrity/verdicts#device-integrity-field). + * Any app integrated with Play Integrity will automatically be eligible + * to receive this label without any additional action from you. At this + * level, devices that have the `MEETS_BASIC_INTEGRITY` label but **not** + * the `MEETS_DEVICE_INTEGRITY` label will be rejected. (Value: + * "MEETS_DEVICE_INTEGRITY") + * @arg @c kGTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity_MinDeviceRecognitionLevel_MeetsStrongIntegrity + * This level corresponds to the `MEETS_STRONG_INTEGRITY` [optional + * device recognition + * label](https://developer.android.com/google/play/integrity/verdicts#optional-device-labels). + * This value represents the highest level of device integrity. At this + * level, devices that have the `MEETS_BASIC_INTEGRITY` or + * `MEETS_DEVICE_INTEGRITY` but **not** the `MEETS_STRONG_INTEGRITY` + * label will be rejected. Warning: Because this is an optional response, + * you **must** first explicitly [opt in your app in the Play + * Console](https://developer.android.com/google/play/integrity/setup#optional) + * in order to receive this label. Without this opt-in, **your app may + * break** for any user whose device is eligible for + * `MEETS_STRONG_INTEGRITY`. This API is **not** responsible for any such + * opt-ins. (Value: "MEETS_STRONG_INTEGRITY") + * @arg @c kGTLRFirebaseappcheck_GoogleFirebaseAppcheckV1PlayIntegrityConfigDeviceIntegrity_MinDeviceRecognitionLevel_NoIntegrity + * If this level is set, no explicit device integrity label requirements + * will be checked. However, because Play Integrity's other features may + * perform (and require) their own intrinsic device integrity checks, + * your `app_integrity` and `account_details` settings may still cause + * some device integrity checks to be performed. (Value: "NO_INTEGRITY") + */ +@property(nonatomic, copy, nullable) NSString *minDeviceRecognitionLevel; + +@end + + /** * A JWK as specified by [section 4 of RFC * 7517](https://tools.ietf.org/html/rfc7517#section-4) and [section 6.3.1 of @@ -946,6 +1195,15 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Specifies risk tolerance and requirements for your application. These + * settings correspond to requirements on the + * [**`riskAnalysis`**](https://cloud.google.com/recaptcha/docs/interpret-assessment-website#interpret_assessment) + * tuple in the assessment obtained from reCAPTCHA Enterprise. The default + * values for these settings work for most apps, and are recommended. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfigRiskAnalysis *riskAnalysis; + /** * The score-based site key [created in reCAPTCHA * Enterprise](https://cloud.google.com/recaptcha-enterprise/docs/create-key#creating_a_site_key) @@ -966,6 +1224,28 @@ GTLR_DEPRECATED @end +/** + * A settings object specifying risk tolerance and requirements for your + * application. These settings correspond to requirements on the + * [**`riskAnalysis`**](https://cloud.google.com/recaptcha/docs/interpret-assessment-website#interpret_assessment) + * tuple in the assessment obtained from reCAPTCHA Enterprise. The default + * values for these settings work for most apps, and are recommended. + */ +@interface GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfigRiskAnalysis : GTLRObject + +/** + * Specifies a minimum score required for a reCAPTCHA token to be considered + * valid. If its score is greater than or equal to this value, it will be + * accepted; otherwise, it will be rejected. The value must be between 0.0 and + * 1.0. The default value is 0.5. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minValidScore; + +@end + + /** * An app's reCAPTCHA v3 configuration object. This configuration is used by * ExchangeRecaptchaV3Token to validate reCAPTCHA tokens issued to apps by @@ -974,6 +1254,16 @@ GTLR_DEPRECATED */ @interface GTLRFirebaseappcheck_GoogleFirebaseAppcheckV1RecaptchaV3Config : GTLRObject +/** + * Specifies a minimum score required for a reCAPTCHA token to be considered + * valid. If its score is greater than or equal to this value, it will be + * accepted; otherwise, it will be rejected. The value must be between 0.0 and + * 1.0. The default value is 0.5. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minValidScore; + /** * Required. The relative resource name of the reCAPTCHA v3 configuration * object, in the format: ``` diff --git a/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h b/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h index 127cc8b96..766ef2b7c 100644 --- a/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h +++ b/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h @@ -753,9 +753,9 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_GoogleFirestoreAdminV1Index_Ap // GTLRFirestore_GoogleFirestoreAdminV1Index.density /** - * An index entry will be added regardless of whether the document contains any - * of the fields specified in the index. Non-existent fields are treated as - * having a NULL value when generating index entries. + * An index entry will exist regardless of if the fields are present or not. + * This is the default density for an Enterprise Edition database. The index + * will store `unset` values for fields that are not present in the document. * * Value: "DENSE" */ @@ -767,17 +767,31 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_GoogleFirestoreAdminV1Index_De */ FOUNDATION_EXTERN NSString * const kGTLRFirestore_GoogleFirestoreAdminV1Index_Density_DensityUnspecified; /** - * In order for an index entry to be added, the document must contain all - * fields specified in the index. This is the only allowed value for indexes - * having ApiScope `ANY_API` and `DATASTORE_MODE_API`. + * An index entry will only exist if ALL fields are present in the document. + * This is both the default and only allowed value for Standard Edition + * databases (for both Cloud Firestore `ANY_API` and Cloud Datastore + * `DATASTORE_MODE_API`). Take for example the following document: ``` { + * "__name__": "...", "a": 1, "b": 2, "c": 3 } ``` an index on `(a ASC, b ASC, + * c ASC, __name__ ASC)` will generate an index entry for this document since + * `a`, 'b', `c`, and `__name__` are all present but an index of `(a ASC, d + * ASC, __name__ ASC)` will not generate an index entry for this document since + * `d` is missing. This means that such indexes can only be used to serve a + * query when the query has either implicit or explicit requirements that all + * fields from the index are present. * * Value: "SPARSE_ALL" */ FOUNDATION_EXTERN NSString * const kGTLRFirestore_GoogleFirestoreAdminV1Index_Density_SparseAll; /** - * In order for an index entry to be added, the document must contain at least - * one of the fields specified in the index. Non-existent fields are treated as - * having a NULL value when generating index entries. + * An index entry will exist if ANY field are present in the document. This is + * used as the definition of a sparse index for Enterprise Edition databases. + * Take for example the following document: ``` { "__name__": "...", "a": 1, + * "b": 2, "c": 3 } ``` an index on `(a ASC, d ASC)` will generate an index + * entry for this document since `a` is present, and will fill in an `unset` + * value for `d`. An index on `(d ASC, e ASC)` will not generate any index + * entry as neither `d` nor `e` are present. An index that contains `__name__` + * will generate an index entry for all documents since Firestore guarantees + * that all documents have a `__name__` field. * * Value: "SPARSE_ANY" */ @@ -2573,7 +2587,7 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; * Valid characters are /a-z-/ with first character a letter and the last a * letter or a number. Must not be UUID-like * /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. "(default)" database ID is also - * valid. + * valid if the database is Standard edition. */ @property(nonatomic, copy, nullable) NSString *databaseId; @@ -3313,22 +3327,37 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; * * Likely values: * @arg @c kGTLRFirestore_GoogleFirestoreAdminV1Index_Density_Dense An index - * entry will be added regardless of whether the document contains any of - * the fields specified in the index. Non-existent fields are treated as - * having a NULL value when generating index entries. (Value: "DENSE") + * entry will exist regardless of if the fields are present or not. This + * is the default density for an Enterprise Edition database. The index + * will store `unset` values for fields that are not present in the + * document. (Value: "DENSE") * @arg @c kGTLRFirestore_GoogleFirestoreAdminV1Index_Density_DensityUnspecified * Unspecified. It will use database default setting. This value is input * only. (Value: "DENSITY_UNSPECIFIED") - * @arg @c kGTLRFirestore_GoogleFirestoreAdminV1Index_Density_SparseAll In - * order for an index entry to be added, the document must contain all - * fields specified in the index. This is the only allowed value for - * indexes having ApiScope `ANY_API` and `DATASTORE_MODE_API`. (Value: - * "SPARSE_ALL") - * @arg @c kGTLRFirestore_GoogleFirestoreAdminV1Index_Density_SparseAny In - * order for an index entry to be added, the document must contain at - * least one of the fields specified in the index. Non-existent fields - * are treated as having a NULL value when generating index entries. - * (Value: "SPARSE_ANY") + * @arg @c kGTLRFirestore_GoogleFirestoreAdminV1Index_Density_SparseAll An + * index entry will only exist if ALL fields are present in the document. + * This is both the default and only allowed value for Standard Edition + * databases (for both Cloud Firestore `ANY_API` and Cloud Datastore + * `DATASTORE_MODE_API`). Take for example the following document: ``` { + * "__name__": "...", "a": 1, "b": 2, "c": 3 } ``` an index on `(a ASC, b + * ASC, c ASC, __name__ ASC)` will generate an index entry for this + * document since `a`, 'b', `c`, and `__name__` are all present but an + * index of `(a ASC, d ASC, __name__ ASC)` will not generate an index + * entry for this document since `d` is missing. This means that such + * indexes can only be used to serve a query when the query has either + * implicit or explicit requirements that all fields from the index are + * present. (Value: "SPARSE_ALL") + * @arg @c kGTLRFirestore_GoogleFirestoreAdminV1Index_Density_SparseAny An + * index entry will exist if ANY field are present in the document. This + * is used as the definition of a sparse index for Enterprise Edition + * databases. Take for example the following document: ``` { "__name__": + * "...", "a": 1, "b": 2, "c": 3 } ``` an index on `(a ASC, d ASC)` will + * generate an index entry for this document since `a` is present, and + * will fill in an `unset` value for `d`. An index on `(d ASC, e ASC)` + * will not generate any index entry as neither `d` nor `e` are present. + * An index that contains `__name__` will generate an index entry for all + * documents since Firestore guarantees that all documents have a + * `__name__` field. (Value: "SPARSE_ANY") */ @property(nonatomic, copy, nullable) NSString *density; @@ -3876,7 +3905,7 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; * Valid characters are /a-z-/ with first character a letter and the last a * letter or a number. Must not be UUID-like * /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. "(default)" database ID is also - * valid. + * valid if the database is Standard edition. */ @property(nonatomic, copy, nullable) NSString *databaseId; diff --git a/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreQuery.h b/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreQuery.h index 5fce2ed56..3eda71b53 100644 --- a/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreQuery.h +++ b/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreQuery.h @@ -650,7 +650,7 @@ NS_ASSUME_NONNULL_BEGIN * characters. Valid characters are /a-z-/ with first character a letter and * the last a letter or a number. Must not be UUID-like * /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. "(default)" database ID is also - * valid. + * valid if the database is Standard edition. */ @property(nonatomic, copy, nullable) NSString *databaseId; @@ -2343,8 +2343,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRFirestoreQuery_ProjectsLocationsList : GTLRFirestoreQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m b/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m index 64b2b6de3..a79979e01 100644 --- a/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m +++ b/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m @@ -25,7 +25,6 @@ // GTLRGKEHub_ClusterUpgradeUpgradeStatus.code NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_CodeUnspecified = @"CODE_UNSPECIFIED"; NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_Complete = @"COMPLETE"; -NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_ForcedComplete = @"FORCED_COMPLETE"; NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_ForcedSoaking = @"FORCED_SOAKING"; NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_Ineligible = @"INELIGIBLE"; NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_InProgress = @"IN_PROGRESS"; diff --git a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h index f99a09ea8..e41cf6ff6 100644 --- a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h +++ b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h @@ -194,14 +194,6 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_ * Value: "COMPLETE" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_Complete; -/** - * The upgrade was forced into soaking and the soaking time has passed. This is - * the equivalent of COMPLETE status for upgrades that were forced into - * soaking. - * - * Value: "FORCED_COMPLETE" - */ -FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_ForcedComplete; /** * A cluster will be forced to enter soaking if an upgrade doesn't finish * within a certain limit, despite it's actual status. @@ -2287,10 +2279,6 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_WorkloadCertificateSpec_Certifica * has passed all post conditions (soaking). At the scope level, this * means all eligible clusters are in COMPLETE status. (Value: * "COMPLETE") - * @arg @c kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_ForcedComplete The - * upgrade was forced into soaking and the soaking time has passed. This - * is the equivalent of COMPLETE status for upgrades that were forced - * into soaking. (Value: "FORCED_COMPLETE") * @arg @c kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_ForcedSoaking A * cluster will be forced to enter soaking if an upgrade doesn't finish * within a certain limit, despite it's actual status. (Value: diff --git a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubQuery.h b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubQuery.h index cc432f6b7..3a1d5336f 100644 --- a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubQuery.h +++ b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubQuery.h @@ -68,8 +68,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRGKEHubQuery_ProjectsLocationsList : GTLRGKEHubQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/GKEOnPrem/GTLRGKEOnPremObjects.m b/Sources/GeneratedServices/GKEOnPrem/GTLRGKEOnPremObjects.m index cc598d7b6..13faecda5 100644 --- a/Sources/GeneratedServices/GKEOnPrem/GTLRGKEOnPremObjects.m +++ b/Sources/GeneratedServices/GKEOnPrem/GTLRGKEOnPremObjects.m @@ -1816,7 +1816,8 @@ @implementation GTLRGKEOnPrem_VmwareAdminCluster createTime, descriptionProperty, enableAdvancedCluster, endpoint, ETag, fleet, imageType, loadBalancer, localName, name, networkConfig, onPremVersion, platformConfig, preparedSecrets, privateRegistryConfig, - reconciling, state, status, uid, updateTime, validationCheck, vcenter; + proxy, reconciling, state, status, uid, updateTime, validationCheck, + vcenter; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -1944,6 +1945,16 @@ @implementation GTLRGKEOnPrem_VmwareAdminPrivateRegistryConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRGKEOnPrem_VmwareAdminProxy +// + +@implementation GTLRGKEOnPrem_VmwareAdminProxy +@dynamic noProxy, url; +@end + + // ---------------------------------------------------------------------------- // // GTLRGKEOnPrem_VmwareAdminSeesawConfig diff --git a/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremObjects.h b/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremObjects.h index 7a815fc85..763671841 100644 --- a/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremObjects.h +++ b/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremObjects.h @@ -120,6 +120,7 @@ @class GTLRGKEOnPrem_VmwareAdminNetworkConfig; @class GTLRGKEOnPrem_VmwareAdminPreparedSecretsConfig; @class GTLRGKEOnPrem_VmwareAdminPrivateRegistryConfig; +@class GTLRGKEOnPrem_VmwareAdminProxy; @class GTLRGKEOnPrem_VmwareAdminSeesawConfig; @class GTLRGKEOnPrem_VmwareAdminVCenterConfig; @class GTLRGKEOnPrem_VmwareAdminVipConfig; @@ -4118,6 +4119,9 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEOnPrem_VmwareNodePool_State_Stopping; /** Configuration for registry. */ @property(nonatomic, strong, nullable) GTLRGKEOnPrem_VmwareAdminPrivateRegistryConfig *privateRegistryConfig; +/** Configuration for proxy. */ +@property(nonatomic, strong, nullable) GTLRGKEOnPrem_VmwareAdminProxy *proxy; + /** * Output only. If set, there are currently changes in flight to the VMware * admin cluster. @@ -4419,6 +4423,25 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEOnPrem_VmwareNodePool_State_Stopping; @end +/** + * VmwareAdminProxy represents configuration for admin cluster proxy. + */ +@interface GTLRGKEOnPrem_VmwareAdminProxy : GTLRObject + +/** + * A comma-separated list of IP addresses, IP address ranges, host names, and + * domain names that should not go through the proxy server. When Google + * Distributed Cloud sends a request to one of these addresses, hosts, or + * domains, the request is sent directly. + */ +@property(nonatomic, copy, nullable) NSString *noProxy; + +/** The HTTP address of proxy server. */ +@property(nonatomic, copy, nullable) NSString *url; + +@end + + /** * VmwareSeesawConfig represents configuration parameters for an already * existing Seesaw load balancer. IMPORTANT: Please note that the Anthos diff --git a/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremQuery.h b/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremQuery.h index 353dad0a6..46d28293e 100644 --- a/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremQuery.h +++ b/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremQuery.h @@ -1884,8 +1884,8 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEOnPremViewNodePoolViewUnspecified; @interface GTLRGKEOnPremQuery_ProjectsLocationsList : GTLRGKEOnPremQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h index 3ccd13c28..fff3a142e 100644 --- a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h +++ b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h @@ -1713,8 +1713,18 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - - * [User + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.bot`: When using this authorization + * scope, this method returns details about a message the Chat app has access + * to, like direct messages and [slash + * commands](https://developers.google.com/workspace/chat/slash-commands) that + * invoke the Chat app. - + * `https://www.googleapis.com/auth/chat.app.messages.readonly` with + * [administrator approval](https://support.google.com/a?p=chat-app-auth) + * (available in [Developer + * Preview](https://developers.google.com/workspace/preview)). When using this + * authentication scope, this method returns details about a public message in + * a space. - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) * with one of the following authorization scopes: - * `https://www.googleapis.com/auth/chat.messages.readonly` - @@ -1748,8 +1758,18 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - - * [User + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.bot`: When using this authorization + * scope, this method returns details about a message the Chat app has access + * to, like direct messages and [slash + * commands](https://developers.google.com/workspace/chat/slash-commands) that + * invoke the Chat app. - + * `https://www.googleapis.com/auth/chat.app.messages.readonly` with + * [administrator approval](https://support.google.com/a?p=chat-app-auth) + * (available in [Developer + * Preview](https://developers.google.com/workspace/preview)). When using this + * authentication scope, this method returns details about a public message in + * a space. - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) * with one of the following authorization scopes: - * `https://www.googleapis.com/auth/chat.messages.readonly` - @@ -1770,15 +1790,24 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa /** * Lists messages in a space that the caller is a member of, including messages - * from blocked members and spaces. If you list messages from a space with no + * from blocked members and spaces. System messages, like those announcing new + * space members, aren't included. If you list messages from a space with no * messages, the response is an empty object. When using a REST/HTTP interface, * the response contains an empty JSON object, `{}`. For an example, see [List * messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). - * Requires [user + * Supports the following types of + * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): + * - [App + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) + * with [administrator approval](https://support.google.com/a?p=chat-app-auth) + * in [Developer Preview](https://developers.google.com/workspace/preview) with + * the authorization scope: - + * `https://www.googleapis.com/auth/chat.app.messages.readonly`. When using + * this authentication scope, this method only returns public messages in a + * space. It doesn't include private messages. - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * with one of the following [authorization - * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - * - `https://www.googleapis.com/auth/chat.messages.readonly` - + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.messages.readonly` - * `https://www.googleapis.com/auth/chat.messages` - * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) * @@ -1855,15 +1884,24 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Fetches a @c GTLRHangoutsChat_ListMessagesResponse. * * Lists messages in a space that the caller is a member of, including messages - * from blocked members and spaces. If you list messages from a space with no + * from blocked members and spaces. System messages, like those announcing new + * space members, aren't included. If you list messages from a space with no * messages, the response is an empty object. When using a REST/HTTP interface, * the response contains an empty JSON object, `{}`. For an example, see [List * messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). - * Requires [user + * Supports the following types of + * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): + * - [App + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) + * with [administrator approval](https://support.google.com/a?p=chat-app-auth) + * in [Developer Preview](https://developers.google.com/workspace/preview) with + * the authorization scope: - + * `https://www.googleapis.com/auth/chat.app.messages.readonly`. When using + * this authentication scope, this method only returns public messages in a + * space. It doesn't include private messages. - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * with one of the following [authorization - * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): - * - `https://www.googleapis.com/auth/chat.messages.readonly` - + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.messages.readonly` - * `https://www.googleapis.com/auth/chat.messages` - * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) * @@ -2437,13 +2475,15 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa /** * Returns a list of spaces in a Google Workspace organization based on an - * administrator's search. Requires [user authentication with administrator + * administrator's search. In the request, set `use_admin_access` to `true`. + * For an example, see [Search for and manage + * spaces](https://developers.google.com/workspace/chat/search-manage-admin). + * Requires [user authentication with administrator * privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-privileges) * and one of the following [authorization * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): * - `https://www.googleapis.com/auth/chat.admin.spaces.readonly` - - * `https://www.googleapis.com/auth/chat.admin.spaces` In the request, set - * `use_admin_access` to `true`. + * `https://www.googleapis.com/auth/chat.admin.spaces` * * Method: chat.spaces.search * @@ -2542,13 +2582,15 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Fetches a @c GTLRHangoutsChat_SearchSpacesResponse. * * Returns a list of spaces in a Google Workspace organization based on an - * administrator's search. Requires [user authentication with administrator + * administrator's search. In the request, set `use_admin_access` to `true`. + * For an example, see [Search for and manage + * spaces](https://developers.google.com/workspace/chat/search-manage-admin). + * Requires [user authentication with administrator * privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-privileges) * and one of the following [authorization * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): * - `https://www.googleapis.com/auth/chat.admin.spaces.readonly` - - * `https://www.googleapis.com/auth/chat.admin.spaces` In the request, set - * `use_admin_access` to `true`. + * `https://www.googleapis.com/auth/chat.admin.spaces` * * @return GTLRHangoutsChatQuery_SpacesSearch * diff --git a/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingObjects.h b/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingObjects.h index 18615e4f7..ceadae444 100644 --- a/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingObjects.h +++ b/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingObjects.h @@ -4282,7 +4282,7 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns @property(nonatomic, strong, nullable) GTLRLogging_Query *loggingQuery; /** - * Optional. Resource name of the recent query.In the format: + * Output only. Resource name of the recent query.In the format: * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/recentQueries/[QUERY_ID]" For * a list of supported locations, see Supported Regions * (https://cloud.google.com/logging/docs/region-support)The QUERY_ID is a diff --git a/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingQuery.h b/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingQuery.h index 03d70c40c..d0e46531b 100644 --- a/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingQuery.h +++ b/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingQuery.h @@ -1281,8 +1281,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRLoggingQuery_BillingAccountsLocationsList : GTLRLoggingQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; @@ -4018,8 +4018,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRLoggingQuery_FoldersLocationsList : GTLRLoggingQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; @@ -6274,8 +6274,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRLoggingQuery_LocationsList : GTLRLoggingQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; @@ -7975,8 +7975,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRLoggingQuery_OrganizationsLocationsList : GTLRLoggingQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; @@ -10710,8 +10710,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRLoggingQuery_ProjectsLocationsList : GTLRLoggingQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/Looker/GTLRLookerObjects.m b/Sources/GeneratedServices/Looker/GTLRLookerObjects.m index dbdf6c3ae..dc548515e 100644 --- a/Sources/GeneratedServices/Looker/GTLRLookerObjects.m +++ b/Sources/GeneratedServices/Looker/GTLRLookerObjects.m @@ -498,7 +498,8 @@ @implementation GTLRLooker_RestoreInstanceRequest // @implementation GTLRLooker_ServiceAttachment -@dynamic connectionStatus, localFqdn, localFqdns, targetServiceAttachmentUri; +@dynamic connectionStatus, failureReason, localFqdn, localFqdns, + targetServiceAttachmentUri; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h b/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h index e5673396f..48a42c81e 100644 --- a/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h +++ b/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h @@ -1365,6 +1365,13 @@ FOUNDATION_EXTERN NSString * const kGTLRLooker_ServiceAttachment_ConnectionStatu */ @property(nonatomic, copy, nullable) NSString *connectionStatus; +/** + * Output only. Reason the service attachment creation failed. This value will + * only be populated if the service attachment encounters an issue during + * provisioning. + */ +@property(nonatomic, copy, nullable) NSString *failureReason; + /** * Optional. Fully qualified domain name that will be used in the private DNS * record created for the service attachment. diff --git a/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerQuery.h b/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerQuery.h index 7a61a6f93..944b45977 100644 --- a/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerQuery.h +++ b/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerQuery.h @@ -515,8 +515,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRLookerQuery_ProjectsLocationsList : GTLRLookerQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaObjects.m b/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaObjects.m index ee1bbbc3d..1e1d5f105 100644 --- a/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaObjects.m +++ b/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaObjects.m @@ -235,7 +235,8 @@ @implementation GTLRManagedKafka_CheckCompatibilityResponse @implementation GTLRManagedKafka_Cluster @dynamic capacityConfig, createTime, gcpConfig, labels, name, rebalanceConfig, - satisfiesPzi, satisfiesPzs, state, tlsConfig, updateTime; + satisfiesPzi, satisfiesPzs, state, tlsConfig, updateOptions, + updateTime; @end @@ -1130,6 +1131,16 @@ @implementation GTLRManagedKafka_TrustConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRManagedKafka_UpdateOptions +// + +@implementation GTLRManagedKafka_UpdateOptions +@dynamic allowBrokerDownscaleOnClusterUpscale; +@end + + // ---------------------------------------------------------------------------- // // GTLRManagedKafka_UpdateSchemaConfigRequest diff --git a/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaObjects.h b/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaObjects.h index 95211f78d..3396a80a5 100644 --- a/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaObjects.h +++ b/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaObjects.h @@ -53,6 +53,7 @@ @class GTLRManagedKafka_Topic; @class GTLRManagedKafka_Topic_Configs; @class GTLRManagedKafka_TrustConfig; +@class GTLRManagedKafka_UpdateOptions; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -777,6 +778,12 @@ FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_UpdateSchemaModeRequest_Mod /** Optional. TLS configuration for the Kafka cluster. */ @property(nonatomic, strong, nullable) GTLRManagedKafka_TlsConfig *tlsConfig; +/** + * Optional. UpdateOptions represents options that control how updates to the + * cluster are applied. + */ +@property(nonatomic, strong, nullable) GTLRManagedKafka_UpdateOptions *updateOptions; + /** Output only. The time when the cluster was last updated. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @@ -2262,6 +2269,28 @@ FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_UpdateSchemaModeRequest_Mod @end +/** + * UpdateOptions specifies options that influence how a cluster update is + * applied. These options control the behavior of the update process, rather + * than defining the desired end-state of a cluster. + */ +@interface GTLRManagedKafka_UpdateOptions : GTLRObject + +/** + * Optional. If true, allows an update operation that increases the total vCPU + * and/or memory allocation of the cluster to significantly decrease the + * per-broker vCPU and/or memory allocation. This can result in reduced + * performance and availability. By default, the update operation will fail if + * an upscale request results in a vCPU or memory allocation for the brokers + * that is smaller than 90% of the current broker size. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowBrokerDownscaleOnClusterUpscale; + +@end + + /** * Request for updating schema config. On a SchemaSubject-level SchemaConfig, * an unset field will be removed from the SchemaConfig. diff --git a/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaQuery.h b/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaQuery.h index 3841faf82..ffa5eca8f 100644 --- a/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaQuery.h +++ b/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaQuery.h @@ -1575,8 +1575,8 @@ FOUNDATION_EXTERN NSString * const kGTLRManagedKafkaViewSchemaRegistryViewUnspec @interface GTLRManagedKafkaQuery_ProjectsLocationsList : GTLRManagedKafkaQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIQuery.h b/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIQuery.h index 27eef0d91..1fa5c0ba9 100644 --- a/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIQuery.h +++ b/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIQuery.h @@ -1562,8 +1562,8 @@ FOUNDATION_EXTERN NSString * const kGTLRMigrationCenterAPIViewReportViewUnspecif @interface GTLRMigrationCenterAPIQuery_ProjectsLocationsList : GTLRMigrationCenterAPIQuery /** - * Optional. Do not use this field. It is unsupported and is ignored unless - * explicitly documented otherwise. This is primarily for internal usage. + * Optional. Unless explicitly documented otherwise, don't use this unsupported + * field which is primarily intended for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesObjects.m b/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesObjects.m index f9a48319c..223698be9 100644 --- a/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesObjects.m +++ b/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesObjects.m @@ -167,6 +167,12 @@ NSString * const kGTLRNetAppFiles_SimpleExportPolicyRule_AccessType_ReadOnly = @"READ_ONLY"; NSString * const kGTLRNetAppFiles_SimpleExportPolicyRule_AccessType_ReadWrite = @"READ_WRITE"; +// GTLRNetAppFiles_SimpleExportPolicyRule.squashMode +NSString * const kGTLRNetAppFiles_SimpleExportPolicyRule_SquashMode_AllSquash = @"ALL_SQUASH"; +NSString * const kGTLRNetAppFiles_SimpleExportPolicyRule_SquashMode_NoRootSquash = @"NO_ROOT_SQUASH"; +NSString * const kGTLRNetAppFiles_SimpleExportPolicyRule_SquashMode_RootSquash = @"ROOT_SQUASH"; +NSString * const kGTLRNetAppFiles_SimpleExportPolicyRule_SquashMode_SquashModeUnspecified = @"SQUASH_MODE_UNSPECIFIED"; + // GTLRNetAppFiles_Snapshot.state NSString * const kGTLRNetAppFiles_Snapshot_State_Creating = @"CREATING"; NSString * const kGTLRNetAppFiles_Snapshot_State_Deleting = @"DELETING"; @@ -1116,9 +1122,9 @@ @implementation GTLRNetAppFiles_RevertVolumeRequest // @implementation GTLRNetAppFiles_SimpleExportPolicyRule -@dynamic accessType, allowedClients, hasRootAccess, kerberos5iReadOnly, +@dynamic accessType, allowedClients, anonUid, hasRootAccess, kerberos5iReadOnly, kerberos5iReadWrite, kerberos5pReadOnly, kerberos5pReadWrite, - kerberos5ReadOnly, kerberos5ReadWrite, nfsv3, nfsv4; + kerberos5ReadOnly, kerberos5ReadWrite, nfsv3, nfsv4, squashMode; @end @@ -1212,12 +1218,13 @@ @implementation GTLRNetAppFiles_StopReplicationRequest @implementation GTLRNetAppFiles_StoragePool @dynamic activeDirectory, allowAutoTiering, availableThroughputMibps, - capacityGib, createTime, customPerformanceEnabled, descriptionProperty, - enableHotTierAutoResize, encryptionType, globalAccessAllowed, - hotTierSizeGib, kmsConfig, labels, ldapEnabled, name, network, - psaRange, qosType, replicaZone, satisfiesPzi, satisfiesPzs, - serviceLevel, state, stateDetails, totalIops, totalThroughputMibps, - volumeCapacityGib, volumeCount, zoneProperty; + capacityGib, coldTierSizeUsedGib, createTime, customPerformanceEnabled, + descriptionProperty, enableHotTierAutoResize, encryptionType, + globalAccessAllowed, hotTierSizeGib, hotTierSizeUsedGib, kmsConfig, + labels, ldapEnabled, name, network, psaRange, qosType, replicaZone, + satisfiesPzi, satisfiesPzs, serviceLevel, state, stateDetails, + totalIops, totalThroughputMibps, volumeCapacityGib, volumeCount, + zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -1339,13 +1346,13 @@ @implementation GTLRNetAppFiles_VerifyKmsConfigResponse @implementation GTLRNetAppFiles_Volume @dynamic activeDirectory, backupConfig, capacityGib, coldTierSizeGib, createTime, descriptionProperty, encryptionType, exportPolicy, - hasReplication, hybridReplicationParameters, kerberosEnabled, - kmsConfig, labels, largeCapacity, ldapEnabled, mountOptions, - multipleEndpoints, name, network, protocols, psaRange, replicaZone, - restoreParameters, restrictedActions, securityStyle, serviceLevel, - shareName, smbSettings, snapReserve, snapshotDirectory, snapshotPolicy, - state, stateDetails, storagePool, throughputMibps, tieringPolicy, - unixPermissions, usedGib, zoneProperty; + hasReplication, hotTierSizeUsedGib, hybridReplicationParameters, + kerberosEnabled, kmsConfig, labels, largeCapacity, ldapEnabled, + mountOptions, multipleEndpoints, name, network, protocols, psaRange, + replicaZone, restoreParameters, restrictedActions, securityStyle, + serviceLevel, shareName, smbSettings, snapReserve, snapshotDirectory, + snapshotPolicy, state, stateDetails, storagePool, throughputMibps, + tieringPolicy, unixPermissions, usedGib, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h b/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h index 171c992c9..52337c38e 100644 --- a/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h +++ b/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h @@ -833,6 +833,35 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_SimpleExportPolicyRule_Acces */ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_SimpleExportPolicyRule_AccessType_ReadWrite; +// ---------------------------------------------------------------------------- +// GTLRNetAppFiles_SimpleExportPolicyRule.squashMode + +/** + * All users are squashed to anonymous user ID. + * + * Value: "ALL_SQUASH" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_SimpleExportPolicyRule_SquashMode_AllSquash; +/** + * The root user (UID 0) retains full access. Other users are unaffected. + * + * Value: "NO_ROOT_SQUASH" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_SimpleExportPolicyRule_SquashMode_NoRootSquash; +/** + * The root user (UID 0) is squashed to anonymous user ID. Other users are + * unaffected. + * + * Value: "ROOT_SQUASH" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_SimpleExportPolicyRule_SquashMode_RootSquash; +/** + * Defaults to NO_ROOT_SQUASH. + * + * Value: "SQUASH_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_SimpleExportPolicyRule_SquashMode_SquashModeUnspecified; + // ---------------------------------------------------------------------------- // GTLRNetAppFiles_Snapshot.state @@ -3225,6 +3254,14 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; /** Comma separated list of allowed clients IP addresses */ @property(nonatomic, copy, nullable) NSString *allowedClients; +/** + * Optional. An integer representing the anonymous user ID. Range is 0 to + * 4294967295. Required when squash_mode is ROOT_SQUASH or ALL_SQUASH. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *anonUid; + /** Whether Unix root access will be granted. */ @property(nonatomic, copy, nullable) NSString *hasRootAccess; @@ -3299,6 +3336,25 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; */ @property(nonatomic, strong, nullable) NSNumber *nfsv4; +/** + * Optional. Defines how user identity squashing is applied for this export + * rule. This field is the preferred way to configure squashing behavior and + * takes precedence over `has_root_access` if both are provided. + * + * Likely values: + * @arg @c kGTLRNetAppFiles_SimpleExportPolicyRule_SquashMode_AllSquash All + * users are squashed to anonymous user ID. (Value: "ALL_SQUASH") + * @arg @c kGTLRNetAppFiles_SimpleExportPolicyRule_SquashMode_NoRootSquash + * The root user (UID 0) retains full access. Other users are unaffected. + * (Value: "NO_ROOT_SQUASH") + * @arg @c kGTLRNetAppFiles_SimpleExportPolicyRule_SquashMode_RootSquash The + * root user (UID 0) is squashed to anonymous user ID. Other users are + * unaffected. (Value: "ROOT_SQUASH") + * @arg @c kGTLRNetAppFiles_SimpleExportPolicyRule_SquashMode_SquashModeUnspecified + * Defaults to NO_ROOT_SQUASH. (Value: "SQUASH_MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *squashMode; + @end @@ -3501,6 +3557,14 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; */ @property(nonatomic, strong, nullable) NSNumber *capacityGib; +/** + * Output only. Total cold tier data rounded down to the nearest GiB used by + * the storage pool. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *coldTierSizeUsedGib; + /** Output only. Create time of the storage pool */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -3561,6 +3625,14 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; */ @property(nonatomic, strong, nullable) NSNumber *hotTierSizeGib; +/** + * Output only. Total hot tier data rounded down to the nearest GiB used by the + * storage pool. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hotTierSizeUsedGib; + /** Optional. Specifies the KMS config to be used for volume encryption. */ @property(nonatomic, copy, nullable) NSString *kmsConfig; @@ -3938,6 +4010,14 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; */ @property(nonatomic, strong, nullable) NSNumber *hasReplication; +/** + * Output only. Total hot tier data rounded down to the nearest GiB used by the + * Volume. This field is only used for flex Service Level + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hotTierSizeUsedGib; + /** Optional. The Hybrid Replication parameters for the volume. */ @property(nonatomic, strong, nullable) GTLRNetAppFiles_HybridReplicationParameters *hybridReplicationParameters; diff --git a/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesQuery.h b/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesQuery.h index 515184656..bf511c4a4 100644 --- a/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesQuery.h +++ b/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesQuery.h @@ -1084,8 +1084,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRNetAppFilesQuery_ProjectsLocationsList : GTLRNetAppFilesQuery /** - * Optional. Do not use this field. It is unsupported and is ignored unless - * explicitly documented otherwise. This is primarily for internal usage. + * Optional. Unless explicitly documented otherwise, don't use this unsupported + * field which is primarily intended for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m index 3fb73333c..1839df46e 100644 --- a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m +++ b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m @@ -127,6 +127,9 @@ NSString * const kGTLRNetworkManagement_DropInfo_Cause_HybridNegNonLocalDynamicRouteMatched = @"HYBRID_NEG_NON_LOCAL_DYNAMIC_ROUTE_MATCHED"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_IngressFirewallTagsUnsupportedByDirectVpcEgress = @"INGRESS_FIREWALL_TAGS_UNSUPPORTED_BY_DIRECT_VPC_EGRESS"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_InstanceNotRunning = @"INSTANCE_NOT_RUNNING"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_L2InterconnectDestinationIpMismatch = @"L2_INTERCONNECT_DESTINATION_IP_MISMATCH"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_L2InterconnectUnsupportedPort = @"L2_INTERCONNECT_UNSUPPORTED_PORT"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_L2InterconnectUnsupportedProtocol = @"L2_INTERCONNECT_UNSUPPORTED_PROTOCOL"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_LoadBalancerBackendInvalidNetwork = @"LOAD_BALANCER_BACKEND_INVALID_NETWORK"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_LoadBalancerBackendIpVersionMismatch = @"LOAD_BALANCER_BACKEND_IP_VERSION_MISMATCH"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_LoadBalancerHasNoProxySubnet = @"LOAD_BALANCER_HAS_NO_PROXY_SUBNET"; @@ -185,6 +188,40 @@ NSString * const kGTLRNetworkManagement_DropInfo_Cause_VpnTunnelLocalSelectorMismatch = @"VPN_TUNNEL_LOCAL_SELECTOR_MISMATCH"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_VpnTunnelRemoteSelectorMismatch = @"VPN_TUNNEL_REMOTE_SELECTOR_MISMATCH"; +// GTLRNetworkManagement_EffectiveVpcFlowLogsConfig.aggregationInterval +NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_AggregationInterval_AggregationIntervalUnspecified = @"AGGREGATION_INTERVAL_UNSPECIFIED"; +NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_AggregationInterval_Interval10Min = @"INTERVAL_10_MIN"; +NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_AggregationInterval_Interval15Min = @"INTERVAL_15_MIN"; +NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_AggregationInterval_Interval1Min = @"INTERVAL_1_MIN"; +NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_AggregationInterval_Interval30Sec = @"INTERVAL_30_SEC"; +NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_AggregationInterval_Interval5Min = @"INTERVAL_5_MIN"; +NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_AggregationInterval_Interval5Sec = @"INTERVAL_5_SEC"; + +// GTLRNetworkManagement_EffectiveVpcFlowLogsConfig.crossProjectMetadata +NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_CrossProjectMetadata_CrossProjectMetadataDisabled = @"CROSS_PROJECT_METADATA_DISABLED"; +NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_CrossProjectMetadata_CrossProjectMetadataEnabled = @"CROSS_PROJECT_METADATA_ENABLED"; +NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_CrossProjectMetadata_CrossProjectMetadataUnspecified = @"CROSS_PROJECT_METADATA_UNSPECIFIED"; + +// GTLRNetworkManagement_EffectiveVpcFlowLogsConfig.metadata +NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Metadata_CustomMetadata = @"CUSTOM_METADATA"; +NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Metadata_ExcludeAllMetadata = @"EXCLUDE_ALL_METADATA"; +NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Metadata_IncludeAllMetadata = @"INCLUDE_ALL_METADATA"; +NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Metadata_MetadataUnspecified = @"METADATA_UNSPECIFIED"; + +// GTLRNetworkManagement_EffectiveVpcFlowLogsConfig.scope +NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Scope_ComputeApiSubnet = @"COMPUTE_API_SUBNET"; +NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Scope_InterconnectAttachment = @"INTERCONNECT_ATTACHMENT"; +NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Scope_Network = @"NETWORK"; +NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Scope_Organization = @"ORGANIZATION"; +NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Scope_ScopeUnspecified = @"SCOPE_UNSPECIFIED"; +NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Scope_Subnet = @"SUBNET"; +NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Scope_VpnTunnel = @"VPN_TUNNEL"; + +// GTLRNetworkManagement_EffectiveVpcFlowLogsConfig.state +NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_State_Disabled = @"DISABLED"; +NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_State_Enabled = @"ENABLED"; +NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_State_StateUnspecified = @"STATE_UNSPECIFIED"; + // GTLRNetworkManagement_Endpoint.forwardingRuleTarget NSString * const kGTLRNetworkManagement_Endpoint_ForwardingRuleTarget_ForwardingRuleTargetUnspecified = @"FORWARDING_RULE_TARGET_UNSPECIFIED"; NSString * const kGTLRNetworkManagement_Endpoint_ForwardingRuleTarget_Instance = @"INSTANCE"; @@ -255,6 +292,13 @@ NSString * const kGTLRNetworkManagement_InstanceInfo_Status_Running = @"RUNNING"; NSString * const kGTLRNetworkManagement_InstanceInfo_Status_StatusUnspecified = @"STATUS_UNSPECIFIED"; +// GTLRNetworkManagement_InterconnectAttachmentInfo.type +NSString * const kGTLRNetworkManagement_InterconnectAttachmentInfo_Type_Dedicated = @"DEDICATED"; +NSString * const kGTLRNetworkManagement_InterconnectAttachmentInfo_Type_L2Dedicated = @"L2_DEDICATED"; +NSString * const kGTLRNetworkManagement_InterconnectAttachmentInfo_Type_Partner = @"PARTNER"; +NSString * const kGTLRNetworkManagement_InterconnectAttachmentInfo_Type_PartnerProvider = @"PARTNER_PROVIDER"; +NSString * const kGTLRNetworkManagement_InterconnectAttachmentInfo_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; + // GTLRNetworkManagement_LoadBalancerBackend.healthCheckFirewallState NSString * const kGTLRNetworkManagement_LoadBalancerBackend_HealthCheckFirewallState_Configured = @"CONFIGURED"; NSString * const kGTLRNetworkManagement_LoadBalancerBackend_HealthCheckFirewallState_HealthCheckFirewallStateUnspecified = @"HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED"; @@ -303,6 +347,7 @@ // GTLRNetworkManagement_NatInfo.type NSString * const kGTLRNetworkManagement_NatInfo_Type_CloudNat = @"CLOUD_NAT"; NSString * const kGTLRNetworkManagement_NatInfo_Type_ExternalToInternal = @"EXTERNAL_TO_INTERNAL"; +NSString * const kGTLRNetworkManagement_NatInfo_Type_GkePodIpMasquerading = @"GKE_POD_IP_MASQUERADING"; NSString * const kGTLRNetworkManagement_NatInfo_Type_InternalToExternal = @"INTERNAL_TO_EXTERNAL"; NSString * const kGTLRNetworkManagement_NatInfo_Type_PrivateServiceConnect = @"PRIVATE_SERVICE_CONNECT"; NSString * const kGTLRNetworkManagement_NatInfo_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; @@ -406,6 +451,7 @@ NSString * const kGTLRNetworkManagement_Step_State_ApplyIngressFirewallRule = @"APPLY_INGRESS_FIREWALL_RULE"; NSString * const kGTLRNetworkManagement_Step_State_ApplyRoute = @"APPLY_ROUTE"; NSString * const kGTLRNetworkManagement_Step_State_ArriveAtExternalLoadBalancer = @"ARRIVE_AT_EXTERNAL_LOAD_BALANCER"; +NSString * const kGTLRNetworkManagement_Step_State_ArriveAtHybridSubnet = @"ARRIVE_AT_HYBRID_SUBNET"; NSString * const kGTLRNetworkManagement_Step_State_ArriveAtInstance = @"ARRIVE_AT_INSTANCE"; NSString * const kGTLRNetworkManagement_Step_State_ArriveAtInterconnectAttachment = @"ARRIVE_AT_INTERCONNECT_ATTACHMENT"; NSString * const kGTLRNetworkManagement_Step_State_ArriveAtInternalLoadBalancer = @"ARRIVE_AT_INTERNAL_LOAD_BALANCER"; @@ -446,6 +492,11 @@ NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_AggregationInterval_Interval5Min = @"INTERVAL_5_MIN"; NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_AggregationInterval_Interval5Sec = @"INTERVAL_5_SEC"; +// GTLRNetworkManagement_VpcFlowLogsConfig.crossProjectMetadata +NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_CrossProjectMetadata_CrossProjectMetadataDisabled = @"CROSS_PROJECT_METADATA_DISABLED"; +NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_CrossProjectMetadata_CrossProjectMetadataEnabled = @"CROSS_PROJECT_METADATA_ENABLED"; +NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_CrossProjectMetadata_CrossProjectMetadataUnspecified = @"CROSS_PROJECT_METADATA_UNSPECIFIED"; + // GTLRNetworkManagement_VpcFlowLogsConfig.metadata NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_Metadata_CustomMetadata = @"CUSTOM_METADATA"; NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_Metadata_ExcludeAllMetadata = @"EXCLUDE_ALL_METADATA"; @@ -712,6 +763,26 @@ @implementation GTLRNetworkManagement_EdgeLocation @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_EffectiveVpcFlowLogsConfig +// + +@implementation GTLRNetworkManagement_EffectiveVpcFlowLogsConfig +@dynamic aggregationInterval, crossProjectMetadata, filterExpr, flowSampling, + interconnectAttachment, metadata, metadataFields, name, network, scope, + state, subnet, vpnTunnel; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"metadataFields" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkManagement_Empty @@ -852,6 +923,16 @@ @implementation GTLRNetworkManagement_Host @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_HybridSubnetInfo +// + +@implementation GTLRNetworkManagement_HybridSubnetInfo +@dynamic displayName, region, uri; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkManagement_InstanceInfo @@ -878,7 +959,8 @@ @implementation GTLRNetworkManagement_InstanceInfo // @implementation GTLRNetworkManagement_InterconnectAttachmentInfo -@dynamic cloudRouterUri, displayName, interconnectUri, region, uri; +@dynamic cloudRouterUri, displayName, interconnectUri, + l2AttachmentMatchedIpAddress, region, type, uri; @end @@ -1385,6 +1467,29 @@ @implementation GTLRNetworkManagement_ProxyConnectionInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_QueryOrgVpcFlowLogsConfigsResponse +// + +@implementation GTLRNetworkManagement_QueryOrgVpcFlowLogsConfigsResponse +@dynamic nextPageToken, unreachable, vpcFlowLogsConfigs; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"unreachable" : [NSString class], + @"vpcFlowLogsConfigs" : [GTLRNetworkManagement_VpcFlowLogsConfig class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"vpcFlowLogsConfigs"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkManagement_ReachabilityDetails @@ -1490,6 +1595,29 @@ @implementation GTLRNetworkManagement_SetIamPolicyRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_ShowEffectiveFlowLogsConfigsResponse +// + +@implementation GTLRNetworkManagement_ShowEffectiveFlowLogsConfigsResponse +@dynamic effectiveFlowLogsConfigs, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"effectiveFlowLogsConfigs" : [GTLRNetworkManagement_EffectiveVpcFlowLogsConfig class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"effectiveFlowLogsConfigs"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkManagement_SingleEdgeResponse @@ -1542,7 +1670,7 @@ @implementation GTLRNetworkManagement_Step @dynamic abort, appEngineVersion, causesDrop, cloudFunction, cloudRunRevision, cloudSqlInstance, deliver, descriptionProperty, directVpcEgressConnection, drop, endpoint, firewall, forward, - forwardingRule, gkeMaster, googleService, instance, + forwardingRule, gkeMaster, googleService, hybridSubnet, instance, interconnectAttachment, loadBalancer, loadBalancerBackendInfo, nat, network, projectId, proxyConnection, redisCluster, redisInstance, route, serverlessExternalConnection, serverlessNeg, state, @@ -1635,9 +1763,10 @@ @implementation GTLRNetworkManagement_VpcConnectorInfo // @implementation GTLRNetworkManagement_VpcFlowLogsConfig -@dynamic aggregationInterval, createTime, descriptionProperty, filterExpr, - flowSampling, interconnectAttachment, labels, metadata, metadataFields, - name, state, targetResourceState, updateTime, vpnTunnel; +@dynamic aggregationInterval, createTime, crossProjectMetadata, + descriptionProperty, filterExpr, flowSampling, interconnectAttachment, + labels, metadata, metadataFields, name, network, state, subnet, + targetResourceState, updateTime, vpnTunnel; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; diff --git a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementQuery.m b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementQuery.m index 4711ecfb1..5693aeca7 100644 --- a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementQuery.m +++ b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementQuery.m @@ -146,6 +146,117 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRNetworkManagementQuery_OrganizationsLocationsVpcFlowLogsConfigsCreate + +@dynamic parent, vpcFlowLogsConfigId; + ++ (instancetype)queryWithObject:(GTLRNetworkManagement_VpcFlowLogsConfig *)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}/vpcFlowLogsConfigs"; + GTLRNetworkManagementQuery_OrganizationsLocationsVpcFlowLogsConfigsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkManagement_Operation class]; + query.loggingName = @"networkmanagement.organizations.locations.vpcFlowLogsConfigs.create"; + return query; +} + +@end + +@implementation GTLRNetworkManagementQuery_OrganizationsLocationsVpcFlowLogsConfigsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkManagementQuery_OrganizationsLocationsVpcFlowLogsConfigsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkManagement_Operation class]; + query.loggingName = @"networkmanagement.organizations.locations.vpcFlowLogsConfigs.delete"; + return query; +} + +@end + +@implementation GTLRNetworkManagementQuery_OrganizationsLocationsVpcFlowLogsConfigsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkManagementQuery_OrganizationsLocationsVpcFlowLogsConfigsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkManagement_VpcFlowLogsConfig class]; + query.loggingName = @"networkmanagement.organizations.locations.vpcFlowLogsConfigs.get"; + return query; +} + +@end + +@implementation GTLRNetworkManagementQuery_OrganizationsLocationsVpcFlowLogsConfigsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/vpcFlowLogsConfigs"; + GTLRNetworkManagementQuery_OrganizationsLocationsVpcFlowLogsConfigsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkManagement_ListVpcFlowLogsConfigsResponse class]; + query.loggingName = @"networkmanagement.organizations.locations.vpcFlowLogsConfigs.list"; + return query; +} + +@end + +@implementation GTLRNetworkManagementQuery_OrganizationsLocationsVpcFlowLogsConfigsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRNetworkManagement_VpcFlowLogsConfig *)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}"; + GTLRNetworkManagementQuery_OrganizationsLocationsVpcFlowLogsConfigsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRNetworkManagement_Operation class]; + query.loggingName = @"networkmanagement.organizations.locations.vpcFlowLogsConfigs.patch"; + return query; +} + +@end + @implementation GTLRNetworkManagementQuery_ProjectsLocationsGet @dynamic name; @@ -798,3 +909,41 @@ + (instancetype)queryWithObject:(GTLRNetworkManagement_VpcFlowLogsConfig *)objec } @end + +@implementation GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsQueryOrgVpcFlowLogsConfigs + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/vpcFlowLogsConfigs:queryOrgVpcFlowLogsConfigs"; + GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsQueryOrgVpcFlowLogsConfigs *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkManagement_QueryOrgVpcFlowLogsConfigsResponse class]; + query.loggingName = @"networkmanagement.projects.locations.vpcFlowLogsConfigs.queryOrgVpcFlowLogsConfigs"; + return query; +} + +@end + +@implementation GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsShowEffectiveFlowLogsConfigs + +@dynamic filter, pageSize, pageToken, parent, resource; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/vpcFlowLogsConfigs:showEffectiveFlowLogsConfigs"; + GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsShowEffectiveFlowLogsConfigs *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkManagement_ShowEffectiveFlowLogsConfigsResponse class]; + query.loggingName = @"networkmanagement.projects.locations.vpcFlowLogsConfigs.showEffectiveFlowLogsConfigs"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h index 2274cd71c..7157f790b 100644 --- a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h +++ b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h @@ -32,6 +32,7 @@ @class GTLRNetworkManagement_DirectVpcEgressConnectionInfo; @class GTLRNetworkManagement_DropInfo; @class GTLRNetworkManagement_EdgeLocation; +@class GTLRNetworkManagement_EffectiveVpcFlowLogsConfig; @class GTLRNetworkManagement_Endpoint; @class GTLRNetworkManagement_EndpointInfo; @class GTLRNetworkManagement_Expr; @@ -42,6 +43,7 @@ @class GTLRNetworkManagement_GKEMasterInfo; @class GTLRNetworkManagement_GoogleServiceInfo; @class GTLRNetworkManagement_Host; +@class GTLRNetworkManagement_HybridSubnetInfo; @class GTLRNetworkManagement_InstanceInfo; @class GTLRNetworkManagement_InterconnectAttachmentInfo; @class GTLRNetworkManagement_LatencyDistribution; @@ -811,6 +813,27 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_Ingress * Value: "INSTANCE_NOT_RUNNING" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_InstanceNotRunning; +/** + * Packet is dropped due to destination IP not matching the appliance mapping + * IPs configured on the L2 Interconnect attachment. + * + * Value: "L2_INTERCONNECT_DESTINATION_IP_MISMATCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_L2InterconnectDestinationIpMismatch; +/** + * Packet is dropped due to using an unsupported port (any other than 6081) for + * L2 Interconnect. + * + * Value: "L2_INTERCONNECT_UNSUPPORTED_PORT" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_L2InterconnectUnsupportedPort; +/** + * Packet is dropped due to using an unsupported protocol (any other than UDP) + * for L2 Interconnect. + * + * Value: "L2_INTERCONNECT_UNSUPPORTED_PROTOCOL" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_L2InterconnectUnsupportedProtocol; /** * Packet is dropped due to a load balancer backend instance not having a * network interface in the network expected by the load balancer. @@ -1204,6 +1227,172 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_VpnTunn */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_VpnTunnelRemoteSelectorMismatch; +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_EffectiveVpcFlowLogsConfig.aggregationInterval + +/** + * If not specified, will default to INTERVAL_5_SEC. + * + * Value: "AGGREGATION_INTERVAL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_AggregationInterval_AggregationIntervalUnspecified; +/** + * Aggregate logs in 10m intervals. + * + * Value: "INTERVAL_10_MIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_AggregationInterval_Interval10Min; +/** + * Aggregate logs in 15m intervals. + * + * Value: "INTERVAL_15_MIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_AggregationInterval_Interval15Min; +/** + * Aggregate logs in 1m intervals. + * + * Value: "INTERVAL_1_MIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_AggregationInterval_Interval1Min; +/** + * Aggregate logs in 30s intervals. + * + * Value: "INTERVAL_30_SEC" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_AggregationInterval_Interval30Sec; +/** + * Aggregate logs in 5m intervals. + * + * Value: "INTERVAL_5_MIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_AggregationInterval_Interval5Min; +/** + * Aggregate logs in 5s intervals. + * + * Value: "INTERVAL_5_SEC" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_AggregationInterval_Interval5Sec; + +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_EffectiveVpcFlowLogsConfig.crossProjectMetadata + +/** + * When CROSS_PROJECT_METADATA_DISABLED, metadata from other projects will not + * be included in the logs. + * + * Value: "CROSS_PROJECT_METADATA_DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_CrossProjectMetadata_CrossProjectMetadataDisabled; +/** + * When CROSS_PROJECT_METADATA_ENABLED, metadata from other projects will be + * included in the logs. + * + * Value: "CROSS_PROJECT_METADATA_ENABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_CrossProjectMetadata_CrossProjectMetadataEnabled; +/** + * If not specified, the default is CROSS_PROJECT_METADATA_ENABLED. + * + * Value: "CROSS_PROJECT_METADATA_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_CrossProjectMetadata_CrossProjectMetadataUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_EffectiveVpcFlowLogsConfig.metadata + +/** + * Include only custom fields (specified in metadata_fields). + * + * Value: "CUSTOM_METADATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Metadata_CustomMetadata; +/** + * Exclude all metadata fields. + * + * Value: "EXCLUDE_ALL_METADATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Metadata_ExcludeAllMetadata; +/** + * Include all metadata fields. + * + * Value: "INCLUDE_ALL_METADATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Metadata_IncludeAllMetadata; +/** + * If not specified, will default to INCLUDE_ALL_METADATA. + * + * Value: "METADATA_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Metadata_MetadataUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_EffectiveVpcFlowLogsConfig.scope + +/** + * Target resource is a subnet, and the config originates from the Compute API. + * + * Value: "COMPUTE_API_SUBNET" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Scope_ComputeApiSubnet; +/** + * Target resource is an interconnect attachment. + * + * Value: "INTERCONNECT_ATTACHMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Scope_InterconnectAttachment; +/** + * Target resource is a network. + * + * Value: "NETWORK" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Scope_Network; +/** + * Configuration applies to an entire organization. + * + * Value: "ORGANIZATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Scope_Organization; +/** + * Scope is unspecified. + * + * Value: "SCOPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Scope_ScopeUnspecified; +/** + * Target resource is a subnet (Network Management API). + * + * Value: "SUBNET" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Scope_Subnet; +/** + * Target resource is a VPN tunnel. + * + * Value: "VPN_TUNNEL" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Scope_VpnTunnel; + +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_EffectiveVpcFlowLogsConfig.state + +/** + * When DISABLED, this configuration will not generate logs. + * + * Value: "DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_State_Disabled; +/** + * When ENABLED, this configuration will generate logs. + * + * Value: "ENABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_State_Enabled; +/** + * If not specified, will default to ENABLED. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_State_StateUnspecified; + // ---------------------------------------------------------------------------- // GTLRNetworkManagement_Endpoint.forwardingRuleTarget @@ -1587,6 +1776,40 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_InstanceInfo_Status_Ru */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_InstanceInfo_Status_StatusUnspecified; +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_InterconnectAttachmentInfo.type + +/** + * Attachment to a dedicated interconnect. + * + * Value: "DEDICATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_InterconnectAttachmentInfo_Type_Dedicated; +/** + * Attachment to a L2 interconnect, created by the customer. + * + * Value: "L2_DEDICATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_InterconnectAttachmentInfo_Type_L2Dedicated; +/** + * Attachment to a partner interconnect, created by the customer. + * + * Value: "PARTNER" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_InterconnectAttachmentInfo_Type_Partner; +/** + * Attachment to a partner interconnect, created by the partner. + * + * Value: "PARTNER_PROVIDER" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_InterconnectAttachmentInfo_Type_PartnerProvider; +/** + * Unspecified type. + * + * Value: "TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_InterconnectAttachmentInfo_Type_TypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRNetworkManagement_LoadBalancerBackend.healthCheckFirewallState @@ -1828,6 +2051,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NatInfo_Type_CloudNat; * Value: "EXTERNAL_TO_INTERNAL" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NatInfo_Type_ExternalToInternal; +/** + * GKE Pod IP address masquerading. + * + * Value: "GKE_POD_IP_MASQUERADING" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NatInfo_Type_GkePodIpMasquerading; /** * From Compute Engine instance's internal address to external address. * @@ -2372,6 +2601,13 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_ApplyRoute; * Value: "ARRIVE_AT_EXTERNAL_LOAD_BALANCER" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_ArriveAtExternalLoadBalancer GTLR_DEPRECATED; +/** + * Forwarding state: arriving at a hybrid subnet. Appropriate routing + * configuration will be determined here. + * + * Value: "ARRIVE_AT_HYBRID_SUBNET" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_ArriveAtHybridSubnet; /** * Forwarding state: arriving at a Compute Engine instance. * @@ -2435,7 +2671,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_Drop; */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_Forward; /** - * Transition state: packet header translated. + * Transition state: packet header translated. The `nat` field is populated + * with the translation information. * * Value: "NAT" */ @@ -2621,6 +2858,30 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_Aggr */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_AggregationInterval_Interval5Sec; +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_VpcFlowLogsConfig.crossProjectMetadata + +/** + * When CROSS_PROJECT_METADATA_DISABLED, metadata from other projects will not + * be included in the logs. + * + * Value: "CROSS_PROJECT_METADATA_DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_CrossProjectMetadata_CrossProjectMetadataDisabled; +/** + * When CROSS_PROJECT_METADATA_ENABLED, metadata from other projects will be + * included in the logs. + * + * Value: "CROSS_PROJECT_METADATA_ENABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_CrossProjectMetadata_CrossProjectMetadataEnabled; +/** + * If not specified, the default is CROSS_PROJECT_METADATA_ENABLED. + * + * Value: "CROSS_PROJECT_METADATA_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_CrossProjectMetadata_CrossProjectMetadataUnspecified; + // ---------------------------------------------------------------------------- // GTLRNetworkManagement_VpcFlowLogsConfig.metadata @@ -3626,6 +3887,17 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W * @arg @c kGTLRNetworkManagement_DropInfo_Cause_InstanceNotRunning Packet is * sent from or to a Compute Engine instance that is not in a running * state. (Value: "INSTANCE_NOT_RUNNING") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_L2InterconnectDestinationIpMismatch + * Packet is dropped due to destination IP not matching the appliance + * mapping IPs configured on the L2 Interconnect attachment. (Value: + * "L2_INTERCONNECT_DESTINATION_IP_MISMATCH") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_L2InterconnectUnsupportedPort + * Packet is dropped due to using an unsupported port (any other than + * 6081) for L2 Interconnect. (Value: "L2_INTERCONNECT_UNSUPPORTED_PORT") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_L2InterconnectUnsupportedProtocol + * Packet is dropped due to using an unsupported protocol (any other than + * UDP) for L2 Interconnect. (Value: + * "L2_INTERCONNECT_UNSUPPORTED_PROTOCOL") * @arg @c kGTLRNetworkManagement_DropInfo_Cause_LoadBalancerBackendInvalidNetwork * Packet is dropped due to a load balancer backend instance not having a * network interface in the network expected by the load balancer. @@ -3871,6 +4143,171 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W @end +/** + * A configuration to generate a response for GetEffectiveVpcFlowLogsConfig + * request. + */ +@interface GTLRNetworkManagement_EffectiveVpcFlowLogsConfig : GTLRObject + +/** + * The aggregation interval for the logs. Default value is INTERVAL_5_SEC. + * + * Likely values: + * @arg @c kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_AggregationInterval_AggregationIntervalUnspecified + * If not specified, will default to INTERVAL_5_SEC. (Value: + * "AGGREGATION_INTERVAL_UNSPECIFIED") + * @arg @c kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_AggregationInterval_Interval10Min + * Aggregate logs in 10m intervals. (Value: "INTERVAL_10_MIN") + * @arg @c kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_AggregationInterval_Interval15Min + * Aggregate logs in 15m intervals. (Value: "INTERVAL_15_MIN") + * @arg @c kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_AggregationInterval_Interval1Min + * Aggregate logs in 1m intervals. (Value: "INTERVAL_1_MIN") + * @arg @c kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_AggregationInterval_Interval30Sec + * Aggregate logs in 30s intervals. (Value: "INTERVAL_30_SEC") + * @arg @c kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_AggregationInterval_Interval5Min + * Aggregate logs in 5m intervals. (Value: "INTERVAL_5_MIN") + * @arg @c kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_AggregationInterval_Interval5Sec + * Aggregate logs in 5s intervals. (Value: "INTERVAL_5_SEC") + */ +@property(nonatomic, copy, nullable) NSString *aggregationInterval; + +/** + * Determines whether to include cross project annotations in the logs. This + * field is available only for organization configurations. If not specified in + * org configs will be set to CROSS_PROJECT_METADATA_ENABLED. + * + * Likely values: + * @arg @c kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_CrossProjectMetadata_CrossProjectMetadataDisabled + * When CROSS_PROJECT_METADATA_DISABLED, metadata from other projects + * will not be included in the logs. (Value: + * "CROSS_PROJECT_METADATA_DISABLED") + * @arg @c kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_CrossProjectMetadata_CrossProjectMetadataEnabled + * When CROSS_PROJECT_METADATA_ENABLED, metadata from other projects will + * be included in the logs. (Value: "CROSS_PROJECT_METADATA_ENABLED") + * @arg @c kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_CrossProjectMetadata_CrossProjectMetadataUnspecified + * If not specified, the default is CROSS_PROJECT_METADATA_ENABLED. + * (Value: "CROSS_PROJECT_METADATA_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *crossProjectMetadata; + +/** Export filter used to define which VPC Flow Logs should be logged. */ +@property(nonatomic, copy, nullable) NSString *filterExpr; + +/** + * The value of the field must be in (0, 1]. The sampling rate of VPC Flow Logs + * where 1.0 means all collected logs are reported. Setting the sampling rate + * to 0.0 is not allowed. If you want to disable VPC Flow Logs, use the state + * field instead. Default value is 1.0. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *flowSampling; + +/** + * Traffic will be logged from the Interconnect Attachment. Format: + * projects/{project_id}/regions/{region}/interconnectAttachments/{name} + */ +@property(nonatomic, copy, nullable) NSString *interconnectAttachment; + +/** + * Configures whether all, none or a subset of metadata fields should be added + * to the reported VPC flow logs. Default value is INCLUDE_ALL_METADATA. + * + * Likely values: + * @arg @c kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Metadata_CustomMetadata + * Include only custom fields (specified in metadata_fields). (Value: + * "CUSTOM_METADATA") + * @arg @c kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Metadata_ExcludeAllMetadata + * Exclude all metadata fields. (Value: "EXCLUDE_ALL_METADATA") + * @arg @c kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Metadata_IncludeAllMetadata + * Include all metadata fields. (Value: "INCLUDE_ALL_METADATA") + * @arg @c kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Metadata_MetadataUnspecified + * If not specified, will default to INCLUDE_ALL_METADATA. (Value: + * "METADATA_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *metadata; + +/** + * Custom metadata fields to include in the reported VPC flow logs. Can only be + * specified if "metadata" was set to CUSTOM_METADATA. + */ +@property(nonatomic, strong, nullable) NSArray *metadataFields; + +/** + * Unique name of the configuration. The name can have one of the following + * forms: - For project-level configurations: + * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + * - For organization-level configurations: + * `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + * - For a Compute config, the name will be the path of the subnet: + * `projects/{project_id}/regions/{region}/subnetworks/{subnet_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments + * within the network. Format: projects/{project_id}/global/networks/{name} + */ +@property(nonatomic, copy, nullable) NSString *network; + +/** + * Specifies the scope of the config (e.g., SUBNET, NETWORK, ORGANIZATION..). + * + * Likely values: + * @arg @c kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Scope_ComputeApiSubnet + * Target resource is a subnet, and the config originates from the + * Compute API. (Value: "COMPUTE_API_SUBNET") + * @arg @c kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Scope_InterconnectAttachment + * Target resource is an interconnect attachment. (Value: + * "INTERCONNECT_ATTACHMENT") + * @arg @c kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Scope_Network + * Target resource is a network. (Value: "NETWORK") + * @arg @c kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Scope_Organization + * Configuration applies to an entire organization. (Value: + * "ORGANIZATION") + * @arg @c kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Scope_ScopeUnspecified + * Scope is unspecified. (Value: "SCOPE_UNSPECIFIED") + * @arg @c kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Scope_Subnet + * Target resource is a subnet (Network Management API). (Value: + * "SUBNET") + * @arg @c kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_Scope_VpnTunnel + * Target resource is a VPN tunnel. (Value: "VPN_TUNNEL") + */ +@property(nonatomic, copy, nullable) NSString *scope; + +/** + * The state of the VPC Flow Log configuration. Default value is ENABLED. When + * creating a new configuration, it must be enabled. Setting state=DISABLED + * will pause the log generation for this config. + * + * Likely values: + * @arg @c kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_State_Disabled + * When DISABLED, this configuration will not generate logs. (Value: + * "DISABLED") + * @arg @c kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_State_Enabled + * When ENABLED, this configuration will generate logs. (Value: + * "ENABLED") + * @arg @c kGTLRNetworkManagement_EffectiveVpcFlowLogsConfig_State_StateUnspecified + * If not specified, will default to ENABLED. (Value: + * "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Traffic will be logged from VMs within the subnetwork. Format: + * projects/{project_id}/regions/{region}/subnetworks/{name} + */ +@property(nonatomic, copy, nullable) NSString *subnet; + +/** + * Traffic will be logged from the VPN Tunnel. Format: + * projects/{project_id}/regions/{region}/vpnTunnels/{name} + */ +@property(nonatomic, copy, nullable) NSString *vpnTunnel; + +@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 @@ -4505,6 +4942,23 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W @end +/** + * For display only. Metadata associated with a hybrid subnet. + */ +@interface GTLRNetworkManagement_HybridSubnetInfo : GTLRObject + +/** Name of a hybrid subnet. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Name of a Google Cloud region where the hybrid subnet is configured. */ +@property(nonatomic, copy, nullable) NSString *region; + +/** URI of a hybrid subnet. */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + /** * For display only. Metadata associated with a Compute Engine instance. */ @@ -4577,12 +5031,35 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W */ @property(nonatomic, copy, nullable) NSString *interconnectUri; +/** Appliance IP address that was matched for L2_DEDICATED attachments. */ +@property(nonatomic, copy, nullable) NSString *l2AttachmentMatchedIpAddress; + /** * Name of a Google Cloud region where the Interconnect attachment is * configured. */ @property(nonatomic, copy, nullable) NSString *region; +/** + * The type of interconnect attachment this is. + * + * Likely values: + * @arg @c kGTLRNetworkManagement_InterconnectAttachmentInfo_Type_Dedicated + * Attachment to a dedicated interconnect. (Value: "DEDICATED") + * @arg @c kGTLRNetworkManagement_InterconnectAttachmentInfo_Type_L2Dedicated + * Attachment to a L2 interconnect, created by the customer. (Value: + * "L2_DEDICATED") + * @arg @c kGTLRNetworkManagement_InterconnectAttachmentInfo_Type_Partner + * Attachment to a partner interconnect, created by the customer. (Value: + * "PARTNER") + * @arg @c kGTLRNetworkManagement_InterconnectAttachmentInfo_Type_PartnerProvider + * Attachment to a partner interconnect, created by the partner. (Value: + * "PARTNER_PROVIDER") + * @arg @c kGTLRNetworkManagement_InterconnectAttachmentInfo_Type_TypeUnspecified + * Unspecified type. (Value: "TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + /** URI of an Interconnect attachment. */ @property(nonatomic, copy, nullable) NSString *uri; @@ -5239,6 +5716,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W * @arg @c kGTLRNetworkManagement_NatInfo_Type_ExternalToInternal From * Compute Engine instance's external address to internal address. * (Value: "EXTERNAL_TO_INTERNAL") + * @arg @c kGTLRNetworkManagement_NatInfo_Type_GkePodIpMasquerading GKE Pod + * IP address masquerading. (Value: "GKE_POD_IP_MASQUERADING") * @arg @c kGTLRNetworkManagement_NatInfo_Type_InternalToExternal From * Compute Engine instance's internal address to external address. * (Value: "INTERNAL_TO_EXTERNAL") @@ -5874,6 +6353,35 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W @end +/** + * Response for the `QueryVpcFlowLogsConfigs` method. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "vpcFlowLogsConfigs" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRNetworkManagement_QueryOrgVpcFlowLogsConfigsResponse : GTLRCollectionObject + +/** Page token to fetch the next set of configurations. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * Locations that could not be reached (when querying all locations with `-`). + */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +/** + * List of VPC Flow Log configurations. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *vpcFlowLogsConfigs; + +@end + + /** * Results of the configuration analysis from the last run of the test. */ @@ -6247,6 +6755,35 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W @end +/** + * Response for the `ShowEffectiveFlowLogsConfigs` method. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "effectiveFlowLogsConfigs" property. If returned as the result of + * a query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRNetworkManagement_ShowEffectiveFlowLogsConfigsResponse : GTLRCollectionObject + +/** + * List of Effective Vpc Flow Logs configurations. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *effectiveFlowLogsConfigs; + +/** Page token to fetch the next set of configurations. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * Locations that could not be reached (when querying all locations with `-`). + */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + /** * Probing results for a single edge device. */ @@ -6422,6 +6959,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W /** Display information of a Google service */ @property(nonatomic, strong, nullable) GTLRNetworkManagement_GoogleServiceInfo *googleService; +/** Display information of a hybrid subnet. */ +@property(nonatomic, strong, nullable) GTLRNetworkManagement_HybridSubnetInfo *hybridSubnet; + /** Display information of a Compute Engine instance. */ @property(nonatomic, strong, nullable) GTLRNetworkManagement_InstanceInfo *instance; @@ -6490,6 +7030,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W * @arg @c kGTLRNetworkManagement_Step_State_ArriveAtExternalLoadBalancer * Forwarding state: arriving at a Compute Engine external load balancer. * (Value: "ARRIVE_AT_EXTERNAL_LOAD_BALANCER") + * @arg @c kGTLRNetworkManagement_Step_State_ArriveAtHybridSubnet Forwarding + * state: arriving at a hybrid subnet. Appropriate routing configuration + * will be determined here. (Value: "ARRIVE_AT_HYBRID_SUBNET") * @arg @c kGTLRNetworkManagement_Step_State_ArriveAtInstance Forwarding * state: arriving at a Compute Engine instance. (Value: * "ARRIVE_AT_INSTANCE") @@ -6518,7 +7061,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W * could be forwarded to a network with an unknown configuration. (Value: * "FORWARD") * @arg @c kGTLRNetworkManagement_Step_State_Nat Transition state: packet - * header translated. (Value: "NAT") + * header translated. The `nat` field is populated with the translation + * information. (Value: "NAT") * @arg @c kGTLRNetworkManagement_Step_State_ProxyConnection Transition * state: original connection is terminated and a new proxied connection * is initiated. (Value: "PROXY_CONNECTION") @@ -6734,6 +7278,25 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W /** Output only. The time the config was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * Optional. Determines whether to include cross project annotations in the + * logs. This field is available only for organization configurations. If not + * specified in org configs will be set to CROSS_PROJECT_METADATA_ENABLED. + * + * Likely values: + * @arg @c kGTLRNetworkManagement_VpcFlowLogsConfig_CrossProjectMetadata_CrossProjectMetadataDisabled + * When CROSS_PROJECT_METADATA_DISABLED, metadata from other projects + * will not be included in the logs. (Value: + * "CROSS_PROJECT_METADATA_DISABLED") + * @arg @c kGTLRNetworkManagement_VpcFlowLogsConfig_CrossProjectMetadata_CrossProjectMetadataEnabled + * When CROSS_PROJECT_METADATA_ENABLED, metadata from other projects will + * be included in the logs. (Value: "CROSS_PROJECT_METADATA_ENABLED") + * @arg @c kGTLRNetworkManagement_VpcFlowLogsConfig_CrossProjectMetadata_CrossProjectMetadataUnspecified + * If not specified, the default is CROSS_PROJECT_METADATA_ENABLED. + * (Value: "CROSS_PROJECT_METADATA_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *crossProjectMetadata; + /** * Optional. The user-supplied description of the VPC Flow Logs configuration. * Maximum of 512 characters. @@ -6800,6 +7363,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments + * within the network. Format: projects/{project_id}/global/networks/{name} + */ +@property(nonatomic, copy, nullable) NSString *network; + /** * Optional. The state of the VPC Flow Log configuration. Default value is * ENABLED. When creating a new configuration, it must be enabled. Setting @@ -6816,6 +7385,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_W */ @property(nonatomic, copy, nullable) NSString *state; +/** + * Traffic will be logged from VMs within the subnetwork. Format: + * projects/{project_id}/regions/{region}/subnetworks/{name} + */ +@property(nonatomic, copy, nullable) NSString *subnet; + /** * Output only. Describes the state of the configured target resource for * diagnostic purposes. diff --git a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementQuery.h b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementQuery.h index 4e384ca33..0a6019370 100644 --- a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementQuery.h +++ b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementQuery.h @@ -71,8 +71,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRNetworkManagementQuery_OrganizationsLocationsList : GTLRNetworkManagementQuery /** - * Optional. Do not use this field. It is unsupported and is ignored unless - * explicitly documented otherwise. This is primarily for internal usage. + * Optional. Unless explicitly documented otherwise, don't use this unsupported + * field which is primarily intended for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; @@ -263,6 +263,250 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Creates a new `VpcFlowLogsConfig`. If a configuration with the exact same + * settings already exists (even if the ID is different), the creation fails. + * Notes: 1. Creating a configuration with `state=DISABLED` will fail 2. The + * following fields are not considered as settings for the purpose of the check + * mentioned above, therefore - creating another configuration with the same + * fields but different values for the following fields will fail as well: * + * name * create_time * update_time * labels * description + * + * Method: networkmanagement.organizations.locations.vpcFlowLogsConfigs.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_OrganizationsLocationsVpcFlowLogsConfigsCreate : GTLRNetworkManagementQuery + +/** + * Required. The parent resource of the VpcFlowLogsConfig to create, in one of + * the following formats: - For project-level resources: + * `projects/{project_id}/locations/global` - For organization-level resources: + * `organizations/{organization_id}/locations/global` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** Required. ID of the `VpcFlowLogsConfig`. */ +@property(nonatomic, copy, nullable) NSString *vpcFlowLogsConfigId; + +/** + * Fetches a @c GTLRNetworkManagement_Operation. + * + * Creates a new `VpcFlowLogsConfig`. If a configuration with the exact same + * settings already exists (even if the ID is different), the creation fails. + * Notes: 1. Creating a configuration with `state=DISABLED` will fail 2. The + * following fields are not considered as settings for the purpose of the check + * mentioned above, therefore - creating another configuration with the same + * fields but different values for the following fields will fail as well: * + * name * create_time * update_time * labels * description + * + * @param object The @c GTLRNetworkManagement_VpcFlowLogsConfig to include in + * the query. + * @param parent Required. The parent resource of the VpcFlowLogsConfig to + * create, in one of the following formats: - For project-level resources: + * `projects/{project_id}/locations/global` - For organization-level + * resources: `organizations/{organization_id}/locations/global` + * + * @return GTLRNetworkManagementQuery_OrganizationsLocationsVpcFlowLogsConfigsCreate + */ ++ (instancetype)queryWithObject:(GTLRNetworkManagement_VpcFlowLogsConfig *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a specific `VpcFlowLogsConfig`. + * + * Method: networkmanagement.organizations.locations.vpcFlowLogsConfigs.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_OrganizationsLocationsVpcFlowLogsConfigsDelete : GTLRNetworkManagementQuery + +/** + * Required. The resource name of the VpcFlowLogsConfig, in one of the + * following formats: - For a project-level resource: + * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + * - For an organization-level resource: + * `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRNetworkManagement_Operation. + * + * Deletes a specific `VpcFlowLogsConfig`. + * + * @param name Required. The resource name of the VpcFlowLogsConfig, in one of + * the following formats: - For a project-level resource: + * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + * - For an organization-level resource: + * `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + * + * @return GTLRNetworkManagementQuery_OrganizationsLocationsVpcFlowLogsConfigsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets the details of a specific `VpcFlowLogsConfig`. + * + * Method: networkmanagement.organizations.locations.vpcFlowLogsConfigs.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_OrganizationsLocationsVpcFlowLogsConfigsGet : GTLRNetworkManagementQuery + +/** + * Required. The resource name of the VpcFlowLogsConfig, in one of the + * following formats: - For project-level resources: + * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + * - For organization-level resources: + * `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRNetworkManagement_VpcFlowLogsConfig. + * + * Gets the details of a specific `VpcFlowLogsConfig`. + * + * @param name Required. The resource name of the VpcFlowLogsConfig, in one of + * the following formats: - For project-level resources: + * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + * - For organization-level resources: + * `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + * + * @return GTLRNetworkManagementQuery_OrganizationsLocationsVpcFlowLogsConfigsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists all `VpcFlowLogsConfigs` in a given organization. + * + * Method: networkmanagement.organizations.locations.vpcFlowLogsConfigs.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_OrganizationsLocationsVpcFlowLogsConfigsList : GTLRNetworkManagementQuery + +/** + * Optional. Lists the `VpcFlowLogsConfigs` that match the filter expression. A + * filter expression must use the supported [CEL logic operators] + * (https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators). + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Optional. Field to use to sort the list. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** Optional. Number of `VpcFlowLogsConfigs` to return. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. Page token from an earlier query, as returned in + * `next_page_token`. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent resource of the VpcFlowLogsConfig, in one of the + * following formats: - For project-level resourcs: + * `projects/{project_id}/locations/global` - For organization-level resources: + * `organizations/{organization_id}/locations/global` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRNetworkManagement_ListVpcFlowLogsConfigsResponse. + * + * Lists all `VpcFlowLogsConfigs` in a given organization. + * + * @param parent Required. The parent resource of the VpcFlowLogsConfig, in one + * of the following formats: - For project-level resourcs: + * `projects/{project_id}/locations/global` - For organization-level + * resources: `organizations/{organization_id}/locations/global` + * + * @return GTLRNetworkManagementQuery_OrganizationsLocationsVpcFlowLogsConfigsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates an existing `VpcFlowLogsConfig`. If a configuration with the exact + * same settings already exists (even if the ID is different), the creation + * fails. Notes: 1. Updating a configuration with `state=DISABLED` will fail 2. + * The following fields are not considered as settings for the purpose of the + * check mentioned above, therefore - updating another configuration with the + * same fields but different values for the following fields will fail as well: + * * name * create_time * update_time * labels * description + * + * Method: networkmanagement.organizations.locations.vpcFlowLogsConfigs.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_OrganizationsLocationsVpcFlowLogsConfigsPatch : GTLRNetworkManagementQuery + +/** + * Identifier. Unique name of the configuration. The name can have one of the + * following forms: - For project-level configurations: + * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + * - For organization-level configurations: + * `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. Mask of fields to update. At least one path must be supplied in + * this field. For example, to change the state of the configuration to + * ENABLED, specify `update_mask` = `"state"`, and the `vpc_flow_logs_config` + * would be: `vpc_flow_logs_config = { name = + * "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config" state = + * "ENABLED" }` + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRNetworkManagement_Operation. + * + * Updates an existing `VpcFlowLogsConfig`. If a configuration with the exact + * same settings already exists (even if the ID is different), the creation + * fails. Notes: 1. Updating a configuration with `state=DISABLED` will fail 2. + * The following fields are not considered as settings for the purpose of the + * check mentioned above, therefore - updating another configuration with the + * same fields but different values for the following fields will fail as well: + * * name * create_time * update_time * labels * description + * + * @param object The @c GTLRNetworkManagement_VpcFlowLogsConfig to include in + * the query. + * @param name Identifier. Unique name of the configuration. The name can have + * one of the following forms: - For project-level configurations: + * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + * - For organization-level configurations: + * `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + * + * @return GTLRNetworkManagementQuery_OrganizationsLocationsVpcFlowLogsConfigsPatch + */ ++ (instancetype)queryWithObject:(GTLRNetworkManagement_VpcFlowLogsConfig *)object + name:(NSString *)name; + +@end + /** * Gets information about a location. * @@ -865,8 +1109,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRNetworkManagementQuery_ProjectsLocationsList : GTLRNetworkManagementQuery /** - * Optional. Do not use this field. It is unsupported and is ignored unless - * explicitly documented otherwise. This is primarily for internal usage. + * Optional. Unless explicitly documented otherwise, don't use this unsupported + * field which is primarily intended for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; @@ -1546,6 +1790,122 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * QueryOrgVpcFlowLogsConfigs returns a list of all organization-level VPC Flow + * Logs configurations applicable to the specified project. + * + * Method: networkmanagement.projects.locations.vpcFlowLogsConfigs.queryOrgVpcFlowLogsConfigs + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsQueryOrgVpcFlowLogsConfigs : GTLRNetworkManagementQuery + +/** + * Optional. Lists the `VpcFlowLogsConfigs` that match the filter expression. A + * filter expression must use the supported [CEL logic operators] + * (https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators). + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Optional. Number of `VpcFlowLogsConfigs` to return. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. Page token from an earlier query, as returned in + * `next_page_token`. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent resource of the VpcFlowLogsConfig, specified in the + * following format: `projects/{project_id}/locations/global` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRNetworkManagement_QueryOrgVpcFlowLogsConfigsResponse. + * + * QueryOrgVpcFlowLogsConfigs returns a list of all organization-level VPC Flow + * Logs configurations applicable to the specified project. + * + * @param parent Required. The parent resource of the VpcFlowLogsConfig, + * specified in the following format: + * `projects/{project_id}/locations/global` + * + * @return GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsQueryOrgVpcFlowLogsConfigs + * + * @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 + +/** + * ShowEffectiveFlowLogsConfigs returns a list of all VPC Flow Logs + * configurations applicable to a specified resource. + * + * Method: networkmanagement.projects.locations.vpcFlowLogsConfigs.showEffectiveFlowLogsConfigs + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsShowEffectiveFlowLogsConfigs : GTLRNetworkManagementQuery + +/** + * Optional. Lists the `EffectiveVpcFlowLogsConfigs` that match the filter + * expression. A filter expression must use the supported [CEL logic operators] + * (https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators). + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. Number of `EffectiveVpcFlowLogsConfigs` to return. Default is 30. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. Page token from an earlier query, as returned in + * `next_page_token`. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent resource of the VpcFlowLogsConfig, specified in the + * following format: `projects/{project_id}/locations/global` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Required. The resource to get the effective VPC Flow Logs configuration for. + * The resource must belong to the same project as the parent. The resource + * must be a network, subnetwork, interconnect attachment, VPN tunnel, or a + * project. + */ +@property(nonatomic, copy, nullable) NSString *resource; + +/** + * Fetches a @c GTLRNetworkManagement_ShowEffectiveFlowLogsConfigsResponse. + * + * ShowEffectiveFlowLogsConfigs returns a list of all VPC Flow Logs + * configurations applicable to a specified resource. + * + * @param parent Required. The parent resource of the VpcFlowLogsConfig, + * specified in the following format: + * `projects/{project_id}/locations/global` + * + * @return GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsShowEffectiveFlowLogsConfigs + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m b/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m index 2c32f73e2..f926b081d 100644 --- a/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m +++ b/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m @@ -805,8 +805,8 @@ @implementation GTLRNetworkSecurity_Expr @implementation GTLRNetworkSecurity_FirewallEndpoint @dynamic associatedNetworks, associations, billingProjectId, createTime, - descriptionProperty, labels, name, reconciling, satisfiesPzi, - satisfiesPzs, state, updateTime; + descriptionProperty, endpointSettings, labels, name, reconciling, + satisfiesPzi, satisfiesPzs, state, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -872,6 +872,15 @@ @implementation GTLRNetworkSecurity_FirewallEndpointAssociationReference @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkSecurity_FirewallEndpointEndpointSettings +// + +@implementation GTLRNetworkSecurity_FirewallEndpointEndpointSettings +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkSecurity_GatewaySecurityPolicy diff --git a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h index 324c39890..37f3494d2 100644 --- a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h +++ b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h @@ -49,6 +49,7 @@ @class GTLRNetworkSecurity_FirewallEndpointAssociation; @class GTLRNetworkSecurity_FirewallEndpointAssociation_Labels; @class GTLRNetworkSecurity_FirewallEndpointAssociationReference; +@class GTLRNetworkSecurity_FirewallEndpointEndpointSettings; @class GTLRNetworkSecurity_GatewaySecurityPolicy; @class GTLRNetworkSecurity_GatewaySecurityPolicyRule; @class GTLRNetworkSecurity_GoogleCloudNetworksecurityV1CertificateProvider; @@ -2185,8 +2186,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF /** * Required. All gateways and forwarding rules referenced by this policy and * extensions must share the same load balancing scheme. Supported values: - * `INTERNAL_MANAGED` and `EXTERNAL_MANAGED`. For more information, refer to - * [Backend services + * `INTERNAL_MANAGED`, `INTERNAL_SELF_MANAGED`, and `EXTERNAL_MANAGED`. For + * more information, refer to [Backend services * overview](https://cloud.google.com/load-balancing/docs/backend-service). * * Likely values: @@ -2207,7 +2208,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF /** * Required. A list of references to the Forwarding Rules on which this policy - * will be applied. + * will be applied. For policies created for Cloudrun, this field will + * reference the Cloud Run services. */ @property(nonatomic, strong, nullable) NSArray *resources; @@ -2591,6 +2593,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; +/** Optional. Settings for the endpoint. */ +@property(nonatomic, strong, nullable) GTLRNetworkSecurity_FirewallEndpointEndpointSettings *endpointSettings; + /** Optional. Labels as key value pairs */ @property(nonatomic, strong, nullable) GTLRNetworkSecurity_FirewallEndpoint_Labels *labels; @@ -2752,6 +2757,13 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF @end +/** + * Settings for the endpoint. + */ +@interface GTLRNetworkSecurity_FirewallEndpointEndpointSettings : GTLRObject +@end + + /** * The GatewaySecurityPolicy resource contains a collection of * GatewaySecurityPolicyRules and associated metadata. diff --git a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityQuery.h b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityQuery.h index 950be2643..f6a399805 100644 --- a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityQuery.h +++ b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityQuery.h @@ -4526,8 +4526,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRNetworkSecurityQuery_ProjectsLocationsList : GTLRNetworkSecurityQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m index f3d814b0c..a049f85ca 100644 --- a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m +++ b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m @@ -377,6 +377,16 @@ @implementation GTLRNetworkconnectivity_AutoAccept @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_AutoCreatedSubnetworkInfo +// + +@implementation GTLRNetworkconnectivity_AutoCreatedSubnetworkInfo +@dynamic internalRange, internalRangeRef, subnetwork, subnetworkRef; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_Binding @@ -1133,6 +1143,29 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_ListRemoteTransportProfilesResponse +// + +@implementation GTLRNetworkconnectivity_ListRemoteTransportProfilesResponse +@dynamic nextPageToken, remoteTransportProfiles, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"remoteTransportProfiles" : [GTLRNetworkconnectivity_RemoteTransportProfile class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"remoteTransportProfiles"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_ListRoutesResponse @@ -1294,6 +1327,29 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_ListTransportsResponse +// + +@implementation GTLRNetworkconnectivity_ListTransportsResponse +@dynamic nextPageToken, transports, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"transports" : [GTLRNetworkconnectivity_Transport class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"transports"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_Location @@ -1705,6 +1761,30 @@ @implementation GTLRNetworkconnectivity_RejectSpokeUpdateRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_RemoteTransportProfile +// + +@implementation GTLRNetworkconnectivity_RemoteTransportProfile +@dynamic createTime, labels, name, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_RemoteTransportProfile_Labels +// + +@implementation GTLRNetworkconnectivity_RemoteTransportProfile_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_Route @@ -1880,8 +1960,9 @@ + (Class)classForAdditionalProperties { // @implementation GTLRNetworkconnectivity_ServiceConnectionPolicy -@dynamic createTime, descriptionProperty, ETag, infrastructure, labels, name, - network, pscConfig, pscConnections, serviceClass, updateTime; +@dynamic autoCreatedSubnetInfo, createTime, descriptionProperty, ETag, + infrastructure, labels, name, network, pscConfig, pscConnections, + serviceClass, updateTime; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -2127,6 +2208,30 @@ @implementation GTLRNetworkconnectivity_TestIamPermissionsResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_Transport +// + +@implementation GTLRNetworkconnectivity_Transport +@dynamic createTime, labels, name, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_Transport_Labels +// + +@implementation GTLRNetworkconnectivity_Transport_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_VirtualMachine diff --git a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityQuery.m b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityQuery.m index 525fc3843..5fce9b745 100644 --- a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityQuery.m +++ b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityQuery.m @@ -13,6 +13,17 @@ // ---------------------------------------------------------------------------- // Constants +// autoSubnetworkConfigIpStack +NSString * const kGTLRNetworkconnectivityAutoSubnetworkConfigIpStackIpv4Ipv6 = @"IPV4_IPV6"; +NSString * const kGTLRNetworkconnectivityAutoSubnetworkConfigIpStackIpv4Only = @"IPV4_ONLY"; +NSString * const kGTLRNetworkconnectivityAutoSubnetworkConfigIpStackIpv6Only = @"IPV6_ONLY"; +NSString * const kGTLRNetworkconnectivityAutoSubnetworkConfigIpStackSubnetIpStackUnspecified = @"SUBNET_IP_STACK_UNSPECIFIED"; + +// subnetworkMode +NSString * const kGTLRNetworkconnectivitySubnetworkModeAutoCreated = @"AUTO_CREATED"; +NSString * const kGTLRNetworkconnectivitySubnetworkModeSubnetworkModeUnspecified = @"SUBNETWORK_MODE_UNSPECIFIED"; +NSString * const kGTLRNetworkconnectivitySubnetworkModeUserProvided = @"USER_PROVIDED"; + // view NSString * const kGTLRNetworkconnectivityViewBasic = @"BASIC"; NSString * const kGTLRNetworkconnectivityViewDetailed = @"DETAILED"; @@ -1417,6 +1428,44 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsRemoteTransportProfilesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkconnectivityQuery_ProjectsLocationsRemoteTransportProfilesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkconnectivity_RemoteTransportProfile class]; + query.loggingName = @"networkconnectivity.projects.locations.remoteTransportProfiles.get"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsRemoteTransportProfilesList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/remoteTransportProfiles"; + GTLRNetworkconnectivityQuery_ProjectsLocationsRemoteTransportProfilesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkconnectivity_ListRemoteTransportProfilesResponse class]; + query.loggingName = @"networkconnectivity.projects.locations.remoteTransportProfiles.list"; + return query; +} + +@end + @implementation GTLRNetworkconnectivityQuery_ProjectsLocationsServiceClassesDelete @dynamic ETag, name, requestId; @@ -1776,7 +1825,18 @@ + (instancetype)queryWithObject:(GTLRNetworkconnectivity_TestIamPermissionsReque @implementation GTLRNetworkconnectivityQuery_ProjectsLocationsServiceConnectionPoliciesCreate -@dynamic parent, requestId, serviceConnectionPolicyId; +@dynamic autoSubnetworkConfigAllocRangeSpace, autoSubnetworkConfigIpStack, + autoSubnetworkConfigPrefixLength, parent, requestId, + serviceConnectionPolicyId, subnetworkMode; + ++ (NSDictionary *)parameterNameMap { + NSDictionary *map = @{ + @"autoSubnetworkConfigAllocRangeSpace" : @"autoSubnetworkConfig.allocRangeSpace", + @"autoSubnetworkConfigIpStack" : @"autoSubnetworkConfig.ipStack", + @"autoSubnetworkConfigPrefixLength" : @"autoSubnetworkConfig.prefixLength" + }; + return map; +} + (instancetype)queryWithObject:(GTLRNetworkconnectivity_ServiceConnectionPolicy *)object parent:(NSString *)parent { @@ -2241,3 +2301,114 @@ + (instancetype)queryWithObject:(GTLRNetworkconnectivity_TestIamPermissionsReque } @end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsTransportsCreate + +@dynamic parent, requestId, transportId; + ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_Transport *)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}/transports"; + GTLRNetworkconnectivityQuery_ProjectsLocationsTransportsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkconnectivity_GoogleLongrunningOperation class]; + query.loggingName = @"networkconnectivity.projects.locations.transports.create"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsTransportsDelete + +@dynamic name, requestId; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkconnectivityQuery_ProjectsLocationsTransportsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkconnectivity_GoogleLongrunningOperation class]; + query.loggingName = @"networkconnectivity.projects.locations.transports.delete"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsTransportsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkconnectivityQuery_ProjectsLocationsTransportsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkconnectivity_Transport class]; + query.loggingName = @"networkconnectivity.projects.locations.transports.get"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsTransportsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/transports"; + GTLRNetworkconnectivityQuery_ProjectsLocationsTransportsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkconnectivity_ListTransportsResponse class]; + query.loggingName = @"networkconnectivity.projects.locations.transports.list"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsTransportsPatch + +@dynamic name, requestId, updateMask; + ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_Transport *)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_ProjectsLocationsTransportsPatch *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.transports.patch"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h index 889bd7b6b..e30b90349 100644 --- a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h +++ b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h @@ -18,6 +18,7 @@ @class GTLRNetworkconnectivity_AuditConfig; @class GTLRNetworkconnectivity_AuditLogConfig; @class GTLRNetworkconnectivity_AutoAccept; +@class GTLRNetworkconnectivity_AutoCreatedSubnetworkInfo; @class GTLRNetworkconnectivity_Binding; @class GTLRNetworkconnectivity_ConsumerPscConfig; @class GTLRNetworkconnectivity_ConsumerPscConfig_ProducerInstanceMetadata; @@ -72,6 +73,8 @@ @class GTLRNetworkconnectivity_PscPropagationStatus; @class GTLRNetworkconnectivity_RegionalEndpoint; @class GTLRNetworkconnectivity_RegionalEndpoint_Labels; +@class GTLRNetworkconnectivity_RemoteTransportProfile; +@class GTLRNetworkconnectivity_RemoteTransportProfile_Labels; @class GTLRNetworkconnectivity_Route; @class GTLRNetworkconnectivity_Route_Labels; @class GTLRNetworkconnectivity_RouterApplianceInstance; @@ -96,6 +99,8 @@ @class GTLRNetworkconnectivity_StateMetadata; @class GTLRNetworkconnectivity_StateReason; @class GTLRNetworkconnectivity_StateTimeline; +@class GTLRNetworkconnectivity_Transport; +@class GTLRNetworkconnectivity_Transport_Labels; @class GTLRNetworkconnectivity_VirtualMachine; @class GTLRNetworkconnectivity_Warnings; @class GTLRNetworkconnectivity_Warnings_Data; @@ -348,19 +353,19 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_ConsumerPscConnectio // GTLRNetworkconnectivity_DestinationEndpoint.state /** - * The Endpoint is invalid. + * The `DestinationEndpoint` resource is invalid. * * Value: "INVALID" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_DestinationEndpoint_State_Invalid; /** - * An invalid state as the default case. + * An invalid state, which is the default case. * * Value: "STATE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_DestinationEndpoint_State_StateUnspecified; /** - * The Endpoint is valid. + * The `DestinationEndpoint` resource is valid. * * Value: "VALID" */ @@ -1081,28 +1086,29 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_RouteTable_State_Upd // GTLRNetworkconnectivity_ServiceConfig.eligibilityCriteria /** - * An invalid eligibility criteria as the default case. + * The service is not eligible for Data Transfer Essentials configuration. This + * is the default case. * * Value: "ELIGIBILITY_CRITERIA_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_EligibilityCriteriaUnspecified; /** - * The service is eligible for multicloud data transfer only for the premium - * network tier. + * The service is eligible for Data Transfer Essentials configuration only for + * Premium Tier. * * Value: "NETWORK_SERVICE_TIER_PREMIUM_ONLY" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_NetworkServiceTierPremiumOnly; /** - * The service is eligible for multicloud data transfer only for the standard - * network tier. + * The service is eligible for Data Transfer Essentials configuration only for + * Standard Tier. * * Value: "NETWORK_SERVICE_TIER_STANDARD_ONLY" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_NetworkServiceTierStandardOnly; /** - * The service is eligible for multicloud data transfer only for the regional - * endpoint. + * The service is eligible for Data Transfer Essentials configuration only for + * the regional endpoint. * * Value: "REQUEST_ENDPOINT_REGIONAL_ENDPOINT_ONLY" */ @@ -1429,13 +1435,13 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_StateMetadata_State_ */ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_StateMetadata_State_Deleting; /** - * An invalid state as the default case. + * An invalid state, which is the default case. * * Value: "STATE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_StateMetadata_State_StateUnspecified; /** - * The resource is not in use for billing and is suspended. + * The resource is suspended and not in use. * * Value: "SUSPENDED" */ @@ -1727,6 +1733,38 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * Information for the automatically created subnetwork and its associated IR. + */ +@interface GTLRNetworkconnectivity_AutoCreatedSubnetworkInfo : GTLRObject + +/** + * Output only. URI of the automatically created Internal Range. Only set if + * the subnetwork mode is AUTO_CREATED during creation. + */ +@property(nonatomic, copy, nullable) NSString *internalRange; + +/** + * Output only. URI of the automatically created Internal Range reference. Only + * set if the subnetwork mode is AUTO_CREATED during creation. + */ +@property(nonatomic, copy, nullable) NSString *internalRangeRef; + +/** + * Output only. URI of the automatically created subnetwork. Only set if the + * subnetwork mode is AUTO_CREATED during creation. + */ +@property(nonatomic, copy, nullable) NSString *subnetwork; + +/** + * Output only. URI of the automatically created subnetwork reference. Only set + * if the subnetwork mode is AUTO_CREATED during creation. + */ +@property(nonatomic, copy, nullable) NSString *subnetworkRef; + +@end + + /** * Associates `members`, or principals, with a `role`. */ @@ -2078,35 +2116,37 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** - * The Destination resource. + * The `Destination` resource. It specifies the IP prefix and the associated + * autonomous system numbers (ASN) that you want to include in a + * `MulticloudDataTransferConfig` resource. */ @interface GTLRNetworkconnectivity_Destination : GTLRObject -/** Output only. Time when the Destination was created. */ +/** Output only. Time when the `Destination` resource was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Optional. An optional field to provide a description of this resource. + * Optional. A description of this resource. * * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; /** - * Required. Unordered list. The list of Endpoints configured for the IP - * Prefix. + * Required. Unordered list. The list of `DestinationEndpoint` resources + * configured for the IP prefix. */ @property(nonatomic, strong, nullable) NSArray *endpoints; /** - * The etag is computed by the server, and may be sent on update and delete - * requests to ensure the client has an up-to-date value before proceeding. + * The etag is computed by the server, and might be sent with update and delete + * requests so that the client has an up-to-date value before proceeding. */ @property(nonatomic, copy, nullable) NSString *ETag; /** - * Required. Immutable. Remote IP Prefix in the remote CSP, where the - * customer's workload is located + * Required. Immutable. The IP prefix that represents your workload on another + * CSP. */ @property(nonatomic, copy, nullable) NSString *ipPrefix; @@ -2114,32 +2154,32 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @property(nonatomic, strong, nullable) GTLRNetworkconnectivity_Destination_Labels *labels; /** - * Identifier. The name of the Destination resource. Format: + * Identifier. The name of the `Destination` resource. Format: * `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}`. */ @property(nonatomic, copy, nullable) NSString *name; /** - * Output only. The timeline of the expected Destination states or the current - * rest state. If a state change is expected, the value will be the list of - * ADDING, DELETING or SUSPENDING statesdepending on the actions taken. - * Example: "state_timeline": { "states": [ { "state": "ADDING", // The time - * when the Destination will be activated. "effective_time": - * "2024-12-01T08:00:00Z" }, { "state": "SUSPENDING", // The time when the - * Destination will be suspended. "effective_time": "2024-12-01T20:00:00Z" } ] - * } + * Output only. The timeline of the expected `Destination` states or the + * current rest state. If a state change is expected, the value is `ADDING`, + * `DELETING` or `SUSPENDING`, depending on the action specified. Example: + * "state_timeline": { "states": [ { // The time when the `Destination` + * resource will be activated. "effectiveTime": "2024-12-01T08:00:00Z", + * "state": "ADDING" }, { // The time when the `Destination` resource will be + * suspended. "effectiveTime": "2024-12-01T20:00:00Z", "state": "SUSPENDING" } + * ] } */ @property(nonatomic, strong, nullable) GTLRNetworkconnectivity_StateTimeline *stateTimeline; /** - * Output only. The Google-generated UUID for the destination. This value is - * unique across all destination resources. If a destination is deleted and - * another with the same name is created, the new destination is assigned a - * different uid. + * Output only. The Google-generated unique ID for the `Destination` resource. + * This value is unique across all `Destination` resources. If a resource is + * deleted and another with the same name is created, the new resource is + * assigned a different and unique ID. */ @property(nonatomic, copy, nullable) NSString *uid; -/** Output only. Time when the Destination was updated. */ +/** Output only. Time when the `Destination` resource was updated. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end @@ -2158,34 +2198,35 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** - * The metadata for a DestinationEndpoint. + * The metadata for a `DestinationEndpoint` resource. */ @interface GTLRNetworkconnectivity_DestinationEndpoint : GTLRObject /** - * Required. The ASN of the remote IP Prefix. + * Required. The ASN of the remote IP prefix. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *asn; -/** Required. The name of the CSP of the remote IP Prefix. */ +/** Required. The CSP of the remote IP prefix. */ @property(nonatomic, copy, nullable) NSString *csp; /** - * Output only. The state of the Endpoint. + * Output only. The state of the `DestinationEndpoint` resource. * * Likely values: * @arg @c kGTLRNetworkconnectivity_DestinationEndpoint_State_Invalid The - * Endpoint is invalid. (Value: "INVALID") + * `DestinationEndpoint` resource is invalid. (Value: "INVALID") * @arg @c kGTLRNetworkconnectivity_DestinationEndpoint_State_StateUnspecified - * An invalid state as the default case. (Value: "STATE_UNSPECIFIED") + * An invalid state, which is the default case. (Value: + * "STATE_UNSPECIFIED") * @arg @c kGTLRNetworkconnectivity_DestinationEndpoint_State_Valid The - * Endpoint is valid. (Value: "VALID") + * `DestinationEndpoint` resource is valid. (Value: "VALID") */ @property(nonatomic, copy, nullable) NSString *state; -/** Output only. Time when the DestinationEndpoint was updated. */ +/** Output only. Time when the `DestinationEndpoint` resource was updated. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end @@ -3180,7 +3221,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** - * Response message for ListDestinations. + * Response message to list `Destination` resources. * * @note This class supports NSFastEnumeration and indexed subscripting over * its "destinations" property. If returned as the result of a query, it @@ -3190,7 +3231,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @interface GTLRNetworkconnectivity_ListDestinationsResponse : GTLRCollectionObject /** - * Destinations to be returned. + * The list of `Destination` resources to be listed. * * @note This property is used to support NSFastEnumeration and indexed * subscripting on this class. @@ -3355,7 +3396,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** - * Response message for ListMulticloudDataTransferConfigs. + * Response message to list `MulticloudDataTransferConfig` resources. * * @note This class supports NSFastEnumeration and indexed subscripting over * its "multicloudDataTransferConfigs" property. If returned as the @@ -3365,7 +3406,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @interface GTLRNetworkconnectivity_ListMulticloudDataTransferConfigsResponse : GTLRCollectionObject /** - * MulticloudDataTransferConfigs to be returned. + * The list of `MulticloudDataTransferConfig` resources to be listed. * * @note This property is used to support NSFastEnumeration and indexed * subscripting on this class. @@ -3382,7 +3423,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** - * Response message for ListMulticloudDataTransferSupportedServices. + * Response message to list the services in your project in regions that are + * eligible for Data Transfer Essentials configuration. * * @note This class supports NSFastEnumeration and indexed subscripting over * its "multicloudDataTransferSupportedServices" property. If returned as @@ -3465,6 +3507,33 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * Message for response to listing RemoteTransportProfiles + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "remoteTransportProfiles" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRNetworkconnectivity_ListRemoteTransportProfilesResponse : GTLRCollectionObject + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of RemoteTransportProfiles + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *remoteTransportProfiles; + +/** Unordered list. Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + /** * Response for HubService.ListRoutes method. * @@ -3678,6 +3747,33 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * Message for response to listing Transports + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "transports" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRNetworkconnectivity_ListTransportsResponse : GTLRCollectionObject + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of Transport + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *transports; + +/** Unordered list. Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + /** * A resource that represents a Google Cloud location. */ @@ -3774,40 +3870,43 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** - * The MulticloudDataTransferConfig resource. This lists the services for which - * customer is opting in for Multicloud Data Transfer. + * The `MulticloudDataTransferConfig` resource. It lists the services that you + * configure for Data Transfer Essentials billing and metering. */ @interface GTLRNetworkconnectivity_MulticloudDataTransferConfig : GTLRObject -/** Output only. Time when the MulticloudDataTransferConfig was created. */ +/** + * Output only. Time when the `MulticloudDataTransferConfig` resource was + * created. + */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Optional. An optional field to provide a description of this resource. + * Optional. A description of this resource. * * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; /** - * Output only. The number of Destinations in use under the - * MulticloudDataTransferConfig resource. + * Output only. The number of `Destination` resources in use with the + * `MulticloudDataTransferConfig` resource. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *destinationsActiveCount; /** - * Output only. The number of Destinations configured under the - * MulticloudDataTransferConfig resource. + * Output only. The number of `Destination` resources configured for the + * `MulticloudDataTransferConfig` resource. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *destinationsCount; /** - * The etag is computed by the server, and may be sent on update and delete - * requests to ensure the client has an up-to-date value before proceeding. + * The etag is computed by the server, and might be sent with update and delete + * requests so that the client has an up-to-date value before proceeding. */ @property(nonatomic, copy, nullable) NSString *ETag; @@ -3815,31 +3914,34 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @property(nonatomic, strong, nullable) GTLRNetworkconnectivity_MulticloudDataTransferConfig_Labels *labels; /** - * Identifier. The name of the MulticloudDataTransferConfig resource. Format: + * Identifier. The name of the `MulticloudDataTransferConfig` resource. Format: * `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}`. */ @property(nonatomic, copy, nullable) NSString *name; /** - * Optional. This map services to either their current or planned states. - * Service names are keys, and the associated values describe the service's - * state. If a state change is expected, the value will be the list of ADDING - * or DELETING states depending on the actions taken. Example: "services": { - * "big-query": { "states": [ { "state": "ADDING", "effective_time": - * "2024-12-12T08:00:00Z" }, ] }, "cloud-storage": { "states": [ { "state": - * "ACTIVE", } ] } } + * Optional. Maps services to their current or planned states. Service names + * are keys, and the associated values describe the state of the service. If a + * state change is expected, the value is either `ADDING` or `DELETING`, + * depending on the actions taken. Sample output: "services": { "big-query": { + * "states": [ { "effectiveTime": "2024-12-12T08:00:00Z" "state": "ADDING", }, + * ] }, "cloud-storage": { "states": [ { "state": "ACTIVE", } ] } } */ @property(nonatomic, strong, nullable) GTLRNetworkconnectivity_MulticloudDataTransferConfig_Services *services; /** - * Output only. The Google-generated UUID for the MulticloudDataTransferConfig. - * This value is unique across all MulticloudDataTransferConfig resources. If a - * MulticloudDataTransferConfig is deleted and another with the same name is - * created, the new MulticloudDataTransferConfig is assigned a different uid. + * Output only. The Google-generated unique ID for the + * `MulticloudDataTransferConfig` resource. This value is unique across all + * `MulticloudDataTransferConfig` resources. If a resource is deleted and + * another with the same name is created, the new resource is assigned a + * different and unique ID. */ @property(nonatomic, copy, nullable) NSString *uid; -/** Output only. Time when the MulticloudDataTransferConfig was updated. */ +/** + * Output only. Time when the `MulticloudDataTransferConfig` resource was + * updated. + */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end @@ -3858,13 +3960,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** - * Optional. This map services to either their current or planned states. - * Service names are keys, and the associated values describe the service's - * state. If a state change is expected, the value will be the list of ADDING - * or DELETING states depending on the actions taken. Example: "services": { - * "big-query": { "states": [ { "state": "ADDING", "effective_time": - * "2024-12-12T08:00:00Z" }, ] }, "cloud-storage": { "states": [ { "state": - * "ACTIVE", } ] } } + * Optional. Maps services to their current or planned states. Service names + * are keys, and the associated values describe the state of the service. If a + * state change is expected, the value is either `ADDING` or `DELETING`, + * depending on the actions taken. Sample output: "services": { "big-query": { + * "states": [ { "effectiveTime": "2024-12-12T08:00:00Z" "state": "ADDING", }, + * ] }, "cloud-storage": { "states": [ { "state": "ACTIVE", } ] } } * * @note This class is documented as having more properties of * GTLRNetworkconnectivity_StateTimeline. Use @c -additionalJSONKeys and @@ -3876,14 +3977,18 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** - * The supported service for Multicloud Data Transfer. + * A service in your project in a region that is eligible for Data Transfer + * Essentials configuration. */ @interface GTLRNetworkconnectivity_MulticloudDataTransferSupportedService : GTLRObject /** Identifier. The name of the service. */ @property(nonatomic, copy, nullable) NSString *name; -/** Output only. The network service tiers supported for the service. */ +/** + * Output only. The network service tier or regional endpoint supported for the + * service. + */ @property(nonatomic, strong, nullable) NSArray *serviceConfigs; @end @@ -4702,6 +4807,38 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * Message describing RemoteTransportProfile object + */ +@interface GTLRNetworkconnectivity_RemoteTransportProfile : GTLRObject + +/** Output only. [Output only] Create time stamp */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Optional. Labels as key value pairs */ +@property(nonatomic, strong, nullable) GTLRNetworkconnectivity_RemoteTransportProfile_Labels *labels; + +/** Identifier. name of resource */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. [Output only] Update time stamp */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@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 GTLRNetworkconnectivity_RemoteTransportProfile_Labels : GTLRObject +@end + + /** * A route defines a path from VM instances within a spoke to a specific * destination resource. Only VPC spokes have routes. @@ -5036,37 +5173,34 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** - * Specifies the Multicloud Data Transfer supported services configuration. - * This includes either the network tier or the request endpoint. If end of - * support for multicloud data transfer is planned for a service's network tier - * or request endpoint, the end time will be provided. + * Specifies eligibility information for the service. */ @interface GTLRNetworkconnectivity_ServiceConfig : GTLRObject /** - * Output only. The eligibility criteria for the service. The user has to meet - * the eligibility criteria specified here for the service to qualify for - * multicloud data transfer. + * Output only. The eligibility criteria for the service. * * Likely values: * @arg @c kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_EligibilityCriteriaUnspecified - * An invalid eligibility criteria as the default case. (Value: + * The service is not eligible for Data Transfer Essentials + * configuration. This is the default case. (Value: * "ELIGIBILITY_CRITERIA_UNSPECIFIED") * @arg @c kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_NetworkServiceTierPremiumOnly - * The service is eligible for multicloud data transfer only for the - * premium network tier. (Value: "NETWORK_SERVICE_TIER_PREMIUM_ONLY") + * The service is eligible for Data Transfer Essentials configuration + * only for Premium Tier. (Value: "NETWORK_SERVICE_TIER_PREMIUM_ONLY") * @arg @c kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_NetworkServiceTierStandardOnly - * The service is eligible for multicloud data transfer only for the - * standard network tier. (Value: "NETWORK_SERVICE_TIER_STANDARD_ONLY") + * The service is eligible for Data Transfer Essentials configuration + * only for Standard Tier. (Value: "NETWORK_SERVICE_TIER_STANDARD_ONLY") * @arg @c kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_RequestEndpointRegionalEndpointOnly - * The service is eligible for multicloud data transfer only for the - * regional endpoint. (Value: "REQUEST_ENDPOINT_REGIONAL_ENDPOINT_ONLY") + * The service is eligible for Data Transfer Essentials configuration + * only for the regional endpoint. (Value: + * "REQUEST_ENDPOINT_REGIONAL_ENDPOINT_ONLY") */ @property(nonatomic, copy, nullable) NSString *eligibilityCriteria; /** - * Output only. The eligibility criteria support end time. If the end time is - * not specified, no planned end time is available. + * Output only. The end time for eligibility criteria support. If not + * specified, no planned end time is set. */ @property(nonatomic, strong, nullable) GTLRDateTime *supportEndTime; @@ -5130,7 +5264,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** * The service class identifier this ServiceConnectionMap is for. The user of * ServiceConnectionMap create API needs to have - * networkconnecitivty.serviceclasses.use iam permission for the service class. + * networkconnectivity.serviceClasses.use IAM permission for the service class. */ @property(nonatomic, copy, nullable) NSString *serviceClass; @@ -5166,6 +5300,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin */ @interface GTLRNetworkconnectivity_ServiceConnectionPolicy : GTLRObject +/** + * Output only. Information for the automatically created subnetwork and its + * associated IR. + */ +@property(nonatomic, strong, nullable) GTLRNetworkconnectivity_AutoCreatedSubnetworkInfo *autoCreatedSubnetInfo; + /** Output only. Time when the ServiceConnectionPolicy was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -5650,12 +5790,11 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @interface GTLRNetworkconnectivity_StateMetadata : GTLRObject /** - * Output only. This field will be accompanied only with transient states - * (PENDING_ADD, PENDING_DELETE, PENDING_SUSPENSION) and denotes the time when - * the transient state of the resource will be effective. For instance, if the - * state is "ADDING," this field will show the time the resource transitions to - * "ACTIVE." Similarly, if the state is "PENDING_DELETE," it will show the - * deletion time. + * Output only. Accompanies only the transient states, which include `ADDING`, + * `DELETING`, and `SUSPENDING`, to denote the time until which the transient + * state of the resource will be effective. For instance, if the state is + * `ADDING`, this field shows the time when the resource state transitions to + * `ACTIVE`. */ @property(nonatomic, strong, nullable) GTLRDateTime *effectiveTime; @@ -5670,10 +5809,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin * @arg @c kGTLRNetworkconnectivity_StateMetadata_State_Deleting The resource * is being deleted. (Value: "DELETING") * @arg @c kGTLRNetworkconnectivity_StateMetadata_State_StateUnspecified An - * invalid state as the default case. (Value: "STATE_UNSPECIFIED") + * invalid state, which is the default case. (Value: "STATE_UNSPECIFIED") * @arg @c kGTLRNetworkconnectivity_StateMetadata_State_Suspended The - * resource is not in use for billing and is suspended. (Value: - * "SUSPENDED") + * resource is suspended and not in use. (Value: "SUSPENDED") * @arg @c kGTLRNetworkconnectivity_StateMetadata_State_Suspending The * resource is being suspended. (Value: "SUSPENDING") */ @@ -5724,7 +5862,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** - * The timeline of pending states for a resource. + * The timeline of the pending states for a resource. */ @interface GTLRNetworkconnectivity_StateTimeline : GTLRObject @@ -5764,6 +5902,38 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * Message describing Transport object + */ +@interface GTLRNetworkconnectivity_Transport : GTLRObject + +/** Output only. [Output only] Create time stamp */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Optional. Labels as key value pairs */ +@property(nonatomic, strong, nullable) GTLRNetworkconnectivity_Transport_Labels *labels; + +/** Identifier. name of resource */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. [Output only] Update time stamp */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@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 GTLRNetworkconnectivity_Transport_Labels : GTLRObject +@end + + /** * VM instances that this policy-based route applies to. */ diff --git a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h index 0d78f5cb1..a5453a2e8 100644 --- a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h +++ b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h @@ -26,6 +26,58 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the query classes' properties below. +// ---------------------------------------------------------------------------- +// autoSubnetworkConfigIpStack + +/** + * Will use IPv4 and IPv6 (dual stack). + * + * Value: "IPV4_IPV6" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityAutoSubnetworkConfigIpStackIpv4Ipv6; +/** + * Will create an IPV4_ONLY subnetwork. + * + * Value: "IPV4_ONLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityAutoSubnetworkConfigIpStackIpv4Only; +/** + * Will create an IPV6_ONLY subnetwork. + * + * Value: "IPV6_ONLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityAutoSubnetworkConfigIpStackIpv6Only; +/** + * Default value. Will create an IPV4_ONLY subnetwork by default. + * + * Value: "SUBNET_IP_STACK_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityAutoSubnetworkConfigIpStackSubnetIpStackUnspecified; + +// ---------------------------------------------------------------------------- +// subnetworkMode + +/** + * Subnetwork list is empty from the user input. A subnetwork will be created + * automatically. + * + * Value: "AUTO_CREATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivitySubnetworkModeAutoCreated; +/** + * The default value if the enum is unset. Note user is not allowed to set the + * subnetwork mode to this value. + * + * Value: "SUBNETWORK_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivitySubnetworkModeSubnetworkModeUnspecified; +/** + * Subnetworks are provided from the user input. + * + * Value: "USER_PROVIDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivitySubnetworkModeUserProvided; + // ---------------------------------------------------------------------------- // view @@ -1811,7 +1863,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @end /** - * Creates a MulticloudDataTransferConfig in a given project and location. + * Creates a `MulticloudDataTransferConfig` resource in a specified project and + * location. * * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.create * @@ -1821,38 +1874,39 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsCreate : GTLRNetworkconnectivityQuery /** - * Required. The ID to use for the MulticloudDataTransferConfig, which will - * become the final component of the MulticloudDataTransferConfig's resource - * name. + * Required. The ID to use for the `MulticloudDataTransferConfig` resource, + * which becomes the final component of the `MulticloudDataTransferConfig` + * resource name. */ @property(nonatomic, copy, nullable) NSString *multicloudDataTransferConfigId; -/** Required. The parent resource's name */ +/** Required. The name of the parent resource. */ @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 MulticloudDataTransferConfigs. The request ID must be a - * valid UUID with the exception that zero UUID is not supported - * (00000000-0000-0000-0000-000000000000). + * Optional. A request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server can ignore the request if it + * has already been completed. The server waits 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, can ignore the second request. + * This prevents clients from accidentally creating duplicate + * `MulticloudDataTransferConfig` resources. The request ID must be a valid + * UUID with the exception that zero UUID + * (00000000-0000-0000-0000-000000000000) isn't supported. */ @property(nonatomic, copy, nullable) NSString *requestId; /** * Fetches a @c GTLRNetworkconnectivity_GoogleLongrunningOperation. * - * Creates a MulticloudDataTransferConfig in a given project and location. + * Creates a `MulticloudDataTransferConfig` resource in a specified project and + * location. * * @param object The @c GTLRNetworkconnectivity_MulticloudDataTransferConfig to * include in the query. - * @param parent Required. The parent resource's name + * @param parent Required. The name of the parent resource. * * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsCreate */ @@ -1862,7 +1916,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @end /** - * Deletes a single MulticloudDataTransferConfig. + * Deletes a `MulticloudDataTransferConfig` resource. * * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.delete * @@ -1872,39 +1926,39 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDelete : GTLRNetworkconnectivityQuery /** - * Optional. The etag is computed by the server, and may be sent on update and - * delete requests to ensure the client has an up-to-date value before + * Optional. The etag is computed by the server, and might be sent with update + * and delete requests so that the client has an up-to-date value before * proceeding. */ @property(nonatomic, copy, nullable) NSString *ETag; /** - * Required. The name of the MulticloudDataTransferConfig resource to delete. + * Required. The name of the `MulticloudDataTransferConfig` resource to delete. */ @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 MulticloudDataTransferConfigs. The request ID must be a - * valid UUID with the exception that zero UUID is not supported - * (00000000-0000-0000-0000-000000000000). + * Optional. A request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server can ignore the request if it + * has already been completed. The server waits 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, can ignore the second request. + * This prevents clients from accidentally creating duplicate + * `MulticloudDataTransferConfig` resources. The request ID must be a valid + * UUID with the exception that zero UUID + * (00000000-0000-0000-0000-000000000000) isn't supported. */ @property(nonatomic, copy, nullable) NSString *requestId; /** * Fetches a @c GTLRNetworkconnectivity_GoogleLongrunningOperation. * - * Deletes a single MulticloudDataTransferConfig. + * Deletes a `MulticloudDataTransferConfig` resource. * - * @param name Required. The name of the MulticloudDataTransferConfig resource - * to delete. + * @param name Required. The name of the `MulticloudDataTransferConfig` + * resource to delete. * * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDelete */ @@ -1913,7 +1967,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @end /** - * Creates a Destination in a given project and location. + * Creates a `Destination` resource in a specified project and location. * * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.create * @@ -1923,37 +1977,36 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsCreate : GTLRNetworkconnectivityQuery /** - * Required. The ID to use for the Destination, which will become the final - * component of the Destination's resource name. + * Required. The ID to use for the `Destination` resource, which becomes the + * final component of the `Destination` resource name. */ @property(nonatomic, copy, nullable) NSString *destinationId; -/** Required. The parent resource's name */ +/** Required. The name of the parent resource. */ @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 Destinations. The request ID must be a valid UUID with - * the exception that zero UUID is not supported - * (00000000-0000-0000-0000-000000000000). + * Optional. A request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server can ignore the request if it + * has already been completed. The server waits 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, can ignore the second request. + * This prevents clients from accidentally creating duplicate `Destination` + * resources. The request ID must be a valid UUID with the exception that zero + * UUID (00000000-0000-0000-0000-000000000000) isn't supported. */ @property(nonatomic, copy, nullable) NSString *requestId; /** * Fetches a @c GTLRNetworkconnectivity_GoogleLongrunningOperation. * - * Creates a Destination in a given project and location. + * Creates a `Destination` resource in a specified project and location. * * @param object The @c GTLRNetworkconnectivity_Destination to include in the * query. - * @param parent Required. The parent resource's name + * @param parent Required. The name of the parent resource. * * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsCreate */ @@ -1963,7 +2016,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @end /** - * Deletes a single Destination. + * Deletes a `Destination` resource. * * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.delete * @@ -1973,35 +2026,34 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsDelete : GTLRNetworkconnectivityQuery /** - * Optional. The etag is computed by the server, and may be sent on update and - * delete requests to ensure the client has an up-to-date value before + * Optional. The etag is computed by the server, and might be sent with update + * and delete requests so that the client has an up-to-date value before * proceeding. */ @property(nonatomic, copy, nullable) NSString *ETag; -/** Required. The name of the Destination resource to delete. */ +/** Required. The name of the `Destination` resource to delete. */ @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. The request ID must be a valid UUID with - * the exception that zero UUID is not supported - * (00000000-0000-0000-0000-000000000000). + * Optional. A request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server can ignore the request if it + * has already been completed. The server waits 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, can ignore the second request. + * The request ID must be a valid UUID with the exception that zero UUID + * (00000000-0000-0000-0000-000000000000) isn't supported. */ @property(nonatomic, copy, nullable) NSString *requestId; /** * Fetches a @c GTLRNetworkconnectivity_GoogleLongrunningOperation. * - * Deletes a single Destination. + * Deletes a `Destination` resource. * - * @param name Required. The name of the Destination resource to delete. + * @param name Required. The name of the `Destination` resource to delete. * * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsDelete */ @@ -2010,7 +2062,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @end /** - * Gets details of a single Destination. + * Gets the details of a `Destination` resource. * * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.get * @@ -2019,15 +2071,15 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif */ @interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsGet : GTLRNetworkconnectivityQuery -/** Required. Name of the Destination to get. */ +/** Required. The name of the `Destination` resource to get. */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRNetworkconnectivity_Destination. * - * Gets details of a single Destination. + * Gets the details of a `Destination` resource. * - * @param name Required. Name of the Destination to get. + * @param name Required. The name of the `Destination` resource to get. * * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsGet */ @@ -2036,7 +2088,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @end /** - * Lists Destinations in a given project and location. + * Lists the `Destination` resources in a specified project and location. * * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.list * @@ -2046,37 +2098,34 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsList : GTLRNetworkconnectivityQuery /** - * Optional. A filter expression that filters the results listed in the - * response. + * Optional. An expression that filters the results listed in the response. */ @property(nonatomic, copy, nullable) NSString *filter; -/** Optional. Sort the results by a certain order. */ +/** Optional. The sort order of the results. */ @property(nonatomic, copy, nullable) NSString *orderBy; -/** - * Optional. The maximum number of results per page that should be returned. - */ +/** Optional. The maximum number of results listed per page. */ @property(nonatomic, assign) NSInteger pageSize; /** Optional. The page token. */ @property(nonatomic, copy, nullable) NSString *pageToken; -/** Required. The parent resource's name */ +/** Required. The name of the parent resource. */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Optional. If true, allow partial responses for multi-regional Aggregated - * List requests. + * Optional. If `true`, allow partial responses for multi-regional aggregated + * list requests. */ @property(nonatomic, assign) BOOL returnPartialSuccess; /** * Fetches a @c GTLRNetworkconnectivity_ListDestinationsResponse. * - * Lists Destinations in a given project and location. + * Lists the `Destination` resources in a specified project and location. * - * @param parent Required. The parent resource's name + * @param parent Required. The name of the parent resource. * * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsList * @@ -2089,7 +2138,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @end /** - * Updates a Destination in a given project and location. + * Updates a `Destination` resource in a specified project and location. * * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.patch * @@ -2099,31 +2148,30 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsPatch : GTLRNetworkconnectivityQuery /** - * Identifier. The name of the Destination resource. Format: + * Identifier. The name of the `Destination` resource. Format: * `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}`. */ @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. The request ID must be a valid UUID with - * the exception that zero UUID is not supported - * (00000000-0000-0000-0000-000000000000). + * Optional. A request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server can ignore the request if it + * has already been completed. The server waits 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, can ignore the second request. + * The request ID must be a valid UUID with the exception that zero UUID + * (00000000-0000-0000-0000-000000000000) isn't supported. */ @property(nonatomic, copy, nullable) NSString *requestId; /** - * Optional. Field mask is used to specify the fields to be overwritten in the - * Destination 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. + * Optional. `FieldMask is used to specify the fields to be overwritten in the + * `Destination` resource by the update. The fields specified in `update_mask` + * are relative to the resource, not the full request. A field is overwritten + * if it is in the mask. If you don't specify a mask, all fields are + * overwritten. * * String format is a comma-separated list of fields. */ @@ -2132,11 +2180,11 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif /** * Fetches a @c GTLRNetworkconnectivity_GoogleLongrunningOperation. * - * Updates a Destination in a given project and location. + * Updates a `Destination` resource in a specified project and location. * * @param object The @c GTLRNetworkconnectivity_Destination to include in the * query. - * @param name Identifier. The name of the Destination resource. Format: + * @param name Identifier. The name of the `Destination` resource. Format: * `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}`. * * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsPatch @@ -2147,7 +2195,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @end /** - * Gets details of a single MulticloudDataTransferConfig. + * Gets the details of a `MulticloudDataTransferConfig` resource. * * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.get * @@ -2156,15 +2204,18 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif */ @interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsGet : GTLRNetworkconnectivityQuery -/** Required. Name of the MulticloudDataTransferConfig to get. */ +/** + * Required. The name of the `MulticloudDataTransferConfig` resource to get. + */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRNetworkconnectivity_MulticloudDataTransferConfig. * - * Gets details of a single MulticloudDataTransferConfig. + * Gets the details of a `MulticloudDataTransferConfig` resource. * - * @param name Required. Name of the MulticloudDataTransferConfig to get. + * @param name Required. The name of the `MulticloudDataTransferConfig` + * resource to get. * * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsGet */ @@ -2173,7 +2224,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @end /** - * Lists MulticloudDataTransferConfigs in a given project and location. + * Lists the `MulticloudDataTransferConfig` resources in a specified project + * and location. * * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.list * @@ -2183,28 +2235,25 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsList : GTLRNetworkconnectivityQuery /** - * Optional. A filter expression that filters the results listed in the - * response. + * Optional. An expression that filters the results listed in the response. */ @property(nonatomic, copy, nullable) NSString *filter; -/** Optional. Sort the results by a certain order. */ +/** Optional. The sort order of the results. */ @property(nonatomic, copy, nullable) NSString *orderBy; -/** - * Optional. The maximum number of results per page that should be returned. - */ +/** Optional. The maximum number of results listed per page. */ @property(nonatomic, assign) NSInteger pageSize; /** Optional. The page token. */ @property(nonatomic, copy, nullable) NSString *pageToken; -/** Required. The parent resource's name */ +/** Required. The name of the parent resource. */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Optional. If true, allow partial responses for multi-regional Aggregated - * List requests. + * Optional. If `true`, allows partial responses for multi-regional aggregated + * list requests. */ @property(nonatomic, assign) BOOL returnPartialSuccess; @@ -2212,9 +2261,10 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif * Fetches a @c * GTLRNetworkconnectivity_ListMulticloudDataTransferConfigsResponse. * - * Lists MulticloudDataTransferConfigs in a given project and location. + * Lists the `MulticloudDataTransferConfig` resources in a specified project + * and location. * - * @param parent Required. The parent resource's name + * @param parent Required. The name of the parent resource. * * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsList * @@ -2227,7 +2277,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @end /** - * Updates a MulticloudDataTransferConfig in a given project and location. + * Updates a `MulticloudDataTransferConfig` resource in a specified project and + * location. * * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.patch * @@ -2237,32 +2288,32 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsPatch : GTLRNetworkconnectivityQuery /** - * Identifier. The name of the MulticloudDataTransferConfig resource. Format: + * Identifier. The name of the `MulticloudDataTransferConfig` resource. Format: * `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}`. */ @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 MulticloudDataTransferConfigs. The request ID must be a - * valid UUID with the exception that zero UUID is not supported - * (00000000-0000-0000-0000-000000000000). + * Optional. A request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server can ignore the request if it + * has already been completed. The server waits 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, can ignore the second request. + * This prevents clients from accidentally creating duplicate + * `MulticloudDataTransferConfig` resources. The request ID must be a valid + * UUID with the exception that zero UUID + * (00000000-0000-0000-0000-000000000000) isn't supported. */ @property(nonatomic, copy, nullable) NSString *requestId; /** - * Optional. Field mask is used to specify the fields to be overwritten in the - * MulticloudDataTransferConfig 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. + * Optional. `FieldMask` is used to specify the fields in the + * `MulticloudDataTransferConfig` resource to be overwritten by the update. The + * fields specified in `update_mask` are relative to the resource, not the full + * request. A field is overwritten if it is in the mask. If you don't specify a + * mask, all fields are overwritten. * * String format is a comma-separated list of fields. */ @@ -2271,11 +2322,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif /** * Fetches a @c GTLRNetworkconnectivity_GoogleLongrunningOperation. * - * Updates a MulticloudDataTransferConfig in a given project and location. + * Updates a `MulticloudDataTransferConfig` resource in a specified project and + * location. * * @param object The @c GTLRNetworkconnectivity_MulticloudDataTransferConfig to * include in the query. - * @param name Identifier. The name of the MulticloudDataTransferConfig + * @param name Identifier. The name of the `MulticloudDataTransferConfig` * resource. Format: * `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}`. * @@ -2287,7 +2339,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @end /** - * Gets details of a single MulticloudDataTransferSupportedServices. + * Gets the details of a service that is supported for Data Transfer + * Essentials. * * Method: networkconnectivity.projects.locations.multicloudDataTransferSupportedServices.get * @@ -2302,7 +2355,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif /** * Fetches a @c GTLRNetworkconnectivity_MulticloudDataTransferSupportedService. * - * Gets details of a single MulticloudDataTransferSupportedServices. + * Gets the details of a service that is supported for Data Transfer + * Essentials. * * @param name Required. The name of the service. * @@ -2313,8 +2367,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @end /** - * Lists the supported services for Multicloud Data Transfer. This is a - * passthrough method. + * Lists the services in the project for a region that are supported for Data + * Transfer Essentials. * * Method: networkconnectivity.projects.locations.multicloudDataTransferSupportedServices.list * @@ -2323,25 +2377,23 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif */ @interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferSupportedServicesList : GTLRNetworkconnectivityQuery -/** - * Optional. The maximum number of results per page that should be returned. - */ +/** Optional. The maximum number of results listed per page. */ @property(nonatomic, assign) NSInteger pageSize; /** Optional. The page token. */ @property(nonatomic, copy, nullable) NSString *pageToken; -/** Required. The parent resource's name */ +/** Required. The name of the parent resource. */ @property(nonatomic, copy, nullable) NSString *parent; /** * Fetches a @c * GTLRNetworkconnectivity_ListMulticloudDataTransferSupportedServicesResponse. * - * Lists the supported services for Multicloud Data Transfer. This is a - * passthrough method. + * Lists the services in the project for a region that are supported for Data + * Transfer Essentials. * - * @param parent Required. The parent resource's name + * @param parent Required. The name of the parent resource. * * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferSupportedServicesList * @@ -2669,6 +2721,79 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @end +/** + * Gets details of a single RemoteTransportProfile. + * + * Method: networkconnectivity.projects.locations.remoteTransportProfiles.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsRemoteTransportProfilesGet : GTLRNetworkconnectivityQuery + +/** Required. Name of the resource */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRNetworkconnectivity_RemoteTransportProfile. + * + * Gets details of a single RemoteTransportProfile. + * + * @param name Required. Name of the resource + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsRemoteTransportProfilesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists RemoteTransportProfiles in a given project and location. + * + * Method: networkconnectivity.projects.locations.remoteTransportProfiles.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsRemoteTransportProfilesList : GTLRNetworkconnectivityQuery + +/** 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 ListRemoteTransportProfilesRequest */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRNetworkconnectivity_ListRemoteTransportProfilesResponse. + * + * Lists RemoteTransportProfiles in a given project and location. + * + * @param parent Required. Parent value for ListRemoteTransportProfilesRequest + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsRemoteTransportProfilesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + /** * Deletes a single ServiceClass. * @@ -3361,6 +3486,38 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif */ @interface GTLRNetworkconnectivityQuery_ProjectsLocationsServiceConnectionPoliciesCreate : GTLRNetworkconnectivityQuery +/** + * Optional. The space where we search for a free range to create a subnetwork. + * It can be narrow down or pick a different space. This is in standard CIDR + * format. If not specified, “10.0.0.0/8” is used. Only eligible for IPV4_ONLY + * and IPV4_IPV6 subnetwork. + */ +@property(nonatomic, copy, nullable) NSString *autoSubnetworkConfigAllocRangeSpace; + +/** + * Optional. The requested IP stack for the subnetwork. If not specified, IPv4 + * is used. + * + * Likely values: + * @arg @c kGTLRNetworkconnectivityAutoSubnetworkConfigIpStackSubnetIpStackUnspecified + * Default value. Will create an IPV4_ONLY subnetwork by default. (Value: + * "SUBNET_IP_STACK_UNSPECIFIED") + * @arg @c kGTLRNetworkconnectivityAutoSubnetworkConfigIpStackIpv4Only Will + * create an IPV4_ONLY subnetwork. (Value: "IPV4_ONLY") + * @arg @c kGTLRNetworkconnectivityAutoSubnetworkConfigIpStackIpv6Only Will + * create an IPV6_ONLY subnetwork. (Value: "IPV6_ONLY") + * @arg @c kGTLRNetworkconnectivityAutoSubnetworkConfigIpStackIpv4Ipv6 Will + * use IPv4 and IPv6 (dual stack). (Value: "IPV4_IPV6") + */ +@property(nonatomic, copy, nullable) NSString *autoSubnetworkConfigIpStack; + +/** + * Optional. The desired prefix length for the subnet's IP address range. E.g., + * 24 for a /24. The actual range is allocated from available space. If not + * specified, 24 is used. Only eligible for IPV4_ONLY and IPV4_IPV6 subnetwork. + */ +@property(nonatomic, assign) NSInteger autoSubnetworkConfigPrefixLength; + /** * Required. The parent resource's name of the ServiceConnectionPolicy. ex. * projects/123/locations/us-east1 @@ -3389,6 +3546,23 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif */ @property(nonatomic, copy, nullable) NSString *serviceConnectionPolicyId; +/** + * Optional. If this field is not set, USER_PROVIDED is the inferred value to + * use. + * + * Likely values: + * @arg @c kGTLRNetworkconnectivitySubnetworkModeSubnetworkModeUnspecified + * The default value if the enum is unset. Note user is not allowed to + * set the subnetwork mode to this value. (Value: + * "SUBNETWORK_MODE_UNSPECIFIED") + * @arg @c kGTLRNetworkconnectivitySubnetworkModeUserProvided Subnetworks are + * provided from the user input. (Value: "USER_PROVIDED") + * @arg @c kGTLRNetworkconnectivitySubnetworkModeAutoCreated Subnetwork list + * is empty from the user input. A subnetwork will be created + * automatically. (Value: "AUTO_CREATED") + */ +@property(nonatomic, copy, nullable) NSString *subnetworkMode; + /** * Fetches a @c GTLRNetworkconnectivity_GoogleLongrunningOperation. * @@ -4244,6 +4418,222 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @end +/** + * Creates a new Transport in a given project and location. + * + * Method: networkconnectivity.projects.locations.transports.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsTransportsCreate : GTLRNetworkconnectivityQuery + +/** 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; + +/** Required. Id of the requesting object */ +@property(nonatomic, copy, nullable) NSString *transportId; + +/** + * Fetches a @c GTLRNetworkconnectivity_GoogleLongrunningOperation. + * + * Creates a new Transport in a given project and location. + * + * @param object The @c GTLRNetworkconnectivity_Transport to include in the + * query. + * @param parent Required. Value for parent. + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsTransportsCreate + */ ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_Transport *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single Transport. + * + * Method: networkconnectivity.projects.locations.transports.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsTransportsDelete : GTLRNetworkconnectivityQuery + +/** 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; + +/** + * Fetches a @c GTLRNetworkconnectivity_GoogleLongrunningOperation. + * + * Deletes a single Transport. + * + * @param name Required. Name of the resource + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsTransportsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets details of a single Transport. + * + * Method: networkconnectivity.projects.locations.transports.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsTransportsGet : GTLRNetworkconnectivityQuery + +/** Required. Name of the resource */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRNetworkconnectivity_Transport. + * + * Gets details of a single Transport. + * + * @param name Required. Name of the resource + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsTransportsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists Transports in a given project and location. + * + * Method: networkconnectivity.projects.locations.transports.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsTransportsList : GTLRNetworkconnectivityQuery + +/** 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 ListTransportsRequest */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRNetworkconnectivity_ListTransportsResponse. + * + * Lists Transports in a given project and location. + * + * @param parent Required. Parent value for ListTransportsRequest + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsTransportsList + * + * @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 Transport. + * + * Method: networkconnectivity.projects.locations.transports.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsTransportsPatch : GTLRNetworkconnectivityQuery + +/** Identifier. name of 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 since the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Optional. Field mask is used to specify the fields to be overwritten in the + * Transport 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 present in the request will be 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 single Transport. + * + * @param object The @c GTLRNetworkconnectivity_Transport to include in the + * query. + * @param name Identifier. name of resource + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsTransportsPatch + */ ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_Transport *)object + name:(NSString *)name; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseObjects.m b/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseObjects.m index 6283d3186..a8570479f 100644 --- a/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseObjects.m +++ b/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseObjects.m @@ -277,6 +277,13 @@ NSString * const kGTLROracleDatabase_GenerateAutonomousDatabaseWalletRequest_Type_GenerateTypeUnspecified = @"GENERATE_TYPE_UNSPECIFIED"; NSString * const kGTLROracleDatabase_GenerateAutonomousDatabaseWalletRequest_Type_Single = @"SINGLE"; +// GTLROracleDatabase_IdentityConnector.connectionState +NSString * const kGTLROracleDatabase_IdentityConnector_ConnectionState_Connected = @"CONNECTED"; +NSString * const kGTLROracleDatabase_IdentityConnector_ConnectionState_ConnectionStateUnspecified = @"CONNECTION_STATE_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_IdentityConnector_ConnectionState_Disconnected = @"DISCONNECTED"; +NSString * const kGTLROracleDatabase_IdentityConnector_ConnectionState_PartiallyConnected = @"PARTIALLY_CONNECTED"; +NSString * const kGTLROracleDatabase_IdentityConnector_ConnectionState_Unknown = @"UNKNOWN"; + // GTLROracleDatabase_MaintenanceWindow.daysOfWeek NSString * const kGTLROracleDatabase_MaintenanceWindow_DaysOfWeek_DayOfWeekUnspecified = @"DAY_OF_WEEK_UNSPECIFIED"; NSString * const kGTLROracleDatabase_MaintenanceWindow_DaysOfWeek_Friday = @"FRIDAY"; @@ -616,8 +623,8 @@ @implementation GTLROracleDatabase_CloudExadataInfrastructureProperties @implementation GTLROracleDatabase_CloudVmCluster @dynamic backupOdbSubnet, backupSubnetCidr, cidr, createTime, displayName, - exadataInfrastructure, gcpOracleZone, labels, name, network, - odbNetwork, odbSubnet, properties; + exadataInfrastructure, gcpOracleZone, identityConnector, labels, name, + network, odbNetwork, odbSubnet, properties; @end @@ -806,6 +813,16 @@ @implementation GTLROracleDatabase_GiVersion @end +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_IdentityConnector +// + +@implementation GTLROracleDatabase_IdentityConnector +@dynamic connectionState, serviceAgentEmail; +@end + + // ---------------------------------------------------------------------------- // // GTLROracleDatabase_ListAutonomousDatabaseBackupsResponse diff --git a/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseObjects.h b/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseObjects.h index d155a247f..6b4c14213 100644 --- a/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseObjects.h +++ b/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseObjects.h @@ -45,6 +45,7 @@ @class GTLROracleDatabase_DbSystemShape; @class GTLROracleDatabase_Entitlement; @class GTLROracleDatabase_GiVersion; +@class GTLROracleDatabase_IdentityConnector; @class GTLROracleDatabase_Location; @class GTLROracleDatabase_Location_Labels; @class GTLROracleDatabase_Location_Metadata; @@ -1382,6 +1383,40 @@ FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_GenerateAutonomousDatabas */ FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_GenerateAutonomousDatabaseWalletRequest_Type_Single; +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_IdentityConnector.connectionState + +/** + * The identity pool connection is connected. + * + * Value: "CONNECTED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_IdentityConnector_ConnectionState_Connected; +/** + * Default unspecified value. + * + * Value: "CONNECTION_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_IdentityConnector_ConnectionState_ConnectionStateUnspecified; +/** + * The identity pool connection is disconnected. + * + * Value: "DISCONNECTED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_IdentityConnector_ConnectionState_Disconnected; +/** + * The identity pool connection is partially connected. + * + * Value: "PARTIALLY_CONNECTED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_IdentityConnector_ConnectionState_PartiallyConnected; +/** + * The identity pool connection is in an unknown state. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_IdentityConnector_ConnectionState_Unknown; + // ---------------------------------------------------------------------------- // GTLROracleDatabase_MaintenanceWindow.daysOfWeek @@ -2923,7 +2958,9 @@ FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_ScheduledOperationDetails @property(nonatomic, copy, nullable) NSString *entitlementId; /** - * Optional. Google Cloud Platform location where Oracle Exadata is hosted. + * Optional. The GCP Oracle zone where Oracle Exadata Infrastructure is hosted. + * Example: us-east4-b-r2. If not specified, the system will pick a zone based + * on availability. */ @property(nonatomic, copy, nullable) NSString *gcpOracleZone; @@ -3201,11 +3238,18 @@ FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_ScheduledOperationDetails @property(nonatomic, copy, nullable) NSString *exadataInfrastructure; /** - * Output only. Google Cloud Platform location where Oracle Exadata is hosted. - * It is same as Google Cloud Platform Oracle zone of Exadata infrastructure. + * Output only. The GCP Oracle zone where Oracle CloudVmCluster is hosted. This + * will be the same as the gcp_oracle_zone of the CloudExadataInfrastructure. + * Example: us-east4-b-r2. */ @property(nonatomic, copy, nullable) NSString *gcpOracleZone; +/** + * Output only. The identity connector details which will allow OCI to securely + * access the resources in the customer project. + */ +@property(nonatomic, strong, nullable) GTLROracleDatabase_IdentityConnector *identityConnector; + /** Optional. Labels or tags associated with the VM Cluster. */ @property(nonatomic, strong, nullable) GTLROracleDatabase_CloudVmCluster_Labels *labels; @@ -4038,6 +4082,40 @@ FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_ScheduledOperationDetails @end +/** + * The identity connector details which will allow OCI to securely access the + * resources in the customer project. + */ +@interface GTLROracleDatabase_IdentityConnector : GTLRObject + +/** + * Output only. The connection state of the identity connector. + * + * Likely values: + * @arg @c kGTLROracleDatabase_IdentityConnector_ConnectionState_Connected + * The identity pool connection is connected. (Value: "CONNECTED") + * @arg @c kGTLROracleDatabase_IdentityConnector_ConnectionState_ConnectionStateUnspecified + * Default unspecified value. (Value: "CONNECTION_STATE_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_IdentityConnector_ConnectionState_Disconnected + * The identity pool connection is disconnected. (Value: "DISCONNECTED") + * @arg @c kGTLROracleDatabase_IdentityConnector_ConnectionState_PartiallyConnected + * The identity pool connection is partially connected. (Value: + * "PARTIALLY_CONNECTED") + * @arg @c kGTLROracleDatabase_IdentityConnector_ConnectionState_Unknown The + * identity pool connection is in an unknown state. (Value: "UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *connectionState; + +/** + * Output only. A google managed service account on which customers can grant + * roles to access resources in the customer project. Example: + * `p176944527254-55-75119d87fd8f\@gcp-sa-oci.iam.gserviceaccount.com` + */ +@property(nonatomic, copy, nullable) NSString *serviceAgentEmail; + +@end + + /** * The response for `AutonomousDatabaseBackup.List`. * diff --git a/Sources/GeneratedServices/OrgPolicyAPI/Public/GoogleAPIClientForREST/GTLROrgPolicyAPIObjects.h b/Sources/GeneratedServices/OrgPolicyAPI/Public/GoogleAPIClientForREST/GTLROrgPolicyAPIObjects.h index 13fda14ee..8a8c36516 100644 --- a/Sources/GeneratedServices/OrgPolicyAPI/Public/GoogleAPIClientForREST/GTLROrgPolicyAPIObjects.h +++ b/Sources/GeneratedServices/OrgPolicyAPI/Public/GoogleAPIClientForREST/GTLROrgPolicyAPIObjects.h @@ -831,8 +831,8 @@ FOUNDATION_EXTERN NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2Custo /** * Optional. Required for managed constraints if parameters are defined. Passes * parameter values when policy enforcement is enabled. Ensure that parameter - * value types match those defined in the constraint definition. For example: { - * "allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true } + * value types match those defined in the constraint definition. For example: + * ``` { "allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true } ``` */ @property(nonatomic, strong, nullable) GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2PolicySpecPolicyRule_Parameters *parameters; @@ -848,8 +848,8 @@ FOUNDATION_EXTERN NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2Custo /** * Optional. Required for managed constraints if parameters are defined. Passes * parameter values when policy enforcement is enabled. Ensure that parameter - * value types match those defined in the constraint definition. For example: { - * "allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true } + * value types match those defined in the constraint definition. For example: + * ``` { "allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true } ``` * * @note This class is documented as having more properties of any valid JSON * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to diff --git a/Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/GTLRParallelstoreQuery.h b/Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/GTLRParallelstoreQuery.h index dbe864d80..005fda40b 100644 --- a/Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/GTLRParallelstoreQuery.h +++ b/Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/GTLRParallelstoreQuery.h @@ -366,8 +366,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRParallelstoreQuery_ProjectsLocationsList : GTLRParallelstoreQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m b/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m index c80f068f4..205a89859 100644 --- a/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m +++ b/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m @@ -277,13 +277,23 @@ @implementation GTLRPlayIntegrity_PcRequestDetails @end +// ---------------------------------------------------------------------------- +// +// GTLRPlayIntegrity_PcTestingDetails +// + +@implementation GTLRPlayIntegrity_PcTestingDetails +@dynamic isTestingResponse; +@end + + // ---------------------------------------------------------------------------- // // GTLRPlayIntegrity_PcTokenPayloadExternal // @implementation GTLRPlayIntegrity_PcTokenPayloadExternal -@dynamic accountDetails, deviceIntegrity, requestDetails; +@dynamic accountDetails, deviceIntegrity, requestDetails, testingDetails; @end diff --git a/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h b/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h index 84f5db730..efdd54f2a 100644 --- a/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h +++ b/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h @@ -28,6 +28,7 @@ @class GTLRPlayIntegrity_PcAccountDetails; @class GTLRPlayIntegrity_PcDeviceIntegrity; @class GTLRPlayIntegrity_PcRequestDetails; +@class GTLRPlayIntegrity_PcTestingDetails; @class GTLRPlayIntegrity_PcTokenPayloadExternal; @class GTLRPlayIntegrity_RecentDeviceActivity; @class GTLRPlayIntegrity_RequestDetails; @@ -757,6 +758,22 @@ GTLR_DEPRECATED @end +/** + * Contains additional information generated for testing responses. + */ +@interface GTLRPlayIntegrity_PcTestingDetails : GTLRObject + +/** + * Indicates that the information contained in this payload is a testing + * response that is statically overridden for a tester. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isTestingResponse; + +@end + + /** * Contains PC device attestation details. */ @@ -771,6 +788,12 @@ GTLR_DEPRECATED /** Required. Details about the integrity request. */ @property(nonatomic, strong, nullable) GTLRPlayIntegrity_PcRequestDetails *requestDetails; +/** + * Indicates that this payload is generated for testing purposes and contains + * any additional data that is linked with testing status. + */ +@property(nonatomic, strong, nullable) GTLRPlayIntegrity_PcTestingDetails *testingDetails; + @end diff --git a/Sources/GeneratedServices/Reports/GTLRReportsQuery.m b/Sources/GeneratedServices/Reports/GTLRReportsQuery.m index 187a182d1..3a8fd96d5 100644 --- a/Sources/GeneratedServices/Reports/GTLRReportsQuery.m +++ b/Sources/GeneratedServices/Reports/GTLRReportsQuery.m @@ -27,6 +27,7 @@ NSString * const kGTLRReportsApplicationNameDrive = @"drive"; NSString * const kGTLRReportsApplicationNameGcp = @"gcp"; NSString * const kGTLRReportsApplicationNameGeminiInWorkspaceApps = @"gemini_in_workspace_apps"; +NSString * const kGTLRReportsApplicationNameGmail = @"gmail"; NSString * const kGTLRReportsApplicationNameGplus = @"gplus"; NSString * const kGTLRReportsApplicationNameGroups = @"groups"; NSString * const kGTLRReportsApplicationNameGroupsEnterprise = @"groups_enterprise"; diff --git a/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsQuery.h b/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsQuery.h index 9ab1abf13..a759a3409 100644 --- a/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsQuery.h +++ b/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsQuery.h @@ -105,6 +105,13 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsApplicationNameGcp; * Value: "gemini_in_workspace_apps" */ FOUNDATION_EXTERN NSString * const kGTLRReportsApplicationNameGeminiInWorkspaceApps; +/** + * The Gmail application's activity reports return information about various + * [Gmail activity events](/admin-sdk/reports/v1/appendix/activity/gmail). + * + * Value: "gmail" + */ +FOUNDATION_EXTERN NSString * const kGTLRReportsApplicationNameGmail; /** * The Google+ application's activity reports return information about various * Google+ activity events. @@ -269,6 +276,10 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsEntityTypeGplusCommunities; * @arg @c kGTLRReportsApplicationNameGcp The Google Cloud Platform * application's activity reports return information about various GCP * activity events. (Value: "gcp") + * @arg @c kGTLRReportsApplicationNameGmail The Gmail application's activity + * reports return information about various [Gmail activity + * events](/admin-sdk/reports/v1/appendix/activity/gmail). (Value: + * "gmail") * @arg @c kGTLRReportsApplicationNameGplus The Google+ application's * activity reports return information about various Google+ activity * events. (Value: "gplus") @@ -348,7 +359,9 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsEntityTypeGplusCommunities; * start in April and end in May. The report itself can be requested in August. * If the `endTime` is not specified, the report returns all activities from * the `startTime` until the current time or the most recent 180 days if the - * `startTime` is more than 180 days in the past. + * `startTime` is more than 180 days in the past. For Gmail requests, + * `startTime` and `endTime` must be provided and the difference must not be + * greater than 30 days. */ @property(nonatomic, copy, nullable) NSString *endTime; @@ -441,7 +454,9 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsEntityTypeGplusCommunities; * the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The report * returns all activities from `startTime` until `endTime`. The `startTime` * must be before the `endTime` (if specified) and the current time when the - * request is made, or the API returns an error. + * request is made, or the API returns an error. For Gmail requests, + * `startTime` and `endTime` must be provided and the difference must not be + * greater than 30 days. */ @property(nonatomic, copy, nullable) NSString *startTime; @@ -492,6 +507,10 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsEntityTypeGplusCommunities; * @arg @c kGTLRReportsApplicationNameGcp The Google Cloud Platform * application's activity reports return information about various GCP * activity events. (Value: "gcp") + * @arg @c kGTLRReportsApplicationNameGmail The Gmail application's activity + * reports return information about various [Gmail activity + * events](/admin-sdk/reports/v1/appendix/activity/gmail). (Value: + * "gmail") * @arg @c kGTLRReportsApplicationNameGplus The Google+ application's * activity reports return information about various Google+ activity * events. (Value: "gplus") diff --git a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m index d9070790d..ccd8895b7 100644 --- a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m +++ b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m @@ -350,6 +350,11 @@ NSString * const kGTLRSQLAdmin_DnsNameMapping_DnsScope_DnsScopeUnspecified = @"DNS_SCOPE_UNSPECIFIED"; NSString * const kGTLRSQLAdmin_DnsNameMapping_DnsScope_Instance = @"INSTANCE"; +// GTLRSQLAdmin_ExecuteSqlPayload.partialResultMode +NSString * const kGTLRSQLAdmin_ExecuteSqlPayload_PartialResultMode_AllowPartialResult = @"ALLOW_PARTIAL_RESULT"; +NSString * const kGTLRSQLAdmin_ExecuteSqlPayload_PartialResultMode_FailPartialResult = @"FAIL_PARTIAL_RESULT"; +NSString * const kGTLRSQLAdmin_ExecuteSqlPayload_PartialResultMode_PartialResultModeUnspecified = @"PARTIAL_RESULT_MODE_UNSPECIFIED"; + // GTLRSQLAdmin_ExportContext.fileType NSString * const kGTLRSQLAdmin_ExportContext_FileType_Bak = @"BAK"; NSString * const kGTLRSQLAdmin_ExportContext_FileType_Csv = @"CSV"; @@ -1311,7 +1316,8 @@ @implementation GTLRSQLAdmin_Empty // @implementation GTLRSQLAdmin_ExecuteSqlPayload -@dynamic autoIamAuthn, database, rowLimit, sqlStatement; +@dynamic autoIamAuthn, database, partialResultMode, rowLimit, sqlStatement, + user; @end @@ -2490,7 +2496,7 @@ + (BOOL)isKindValidForClassRegistry { // @implementation GTLRSQLAdmin_SqlInstancesGetLatestRecoveryTimeResponse -@dynamic kind, latestRecoveryTime; +@dynamic earliestRecoveryTime, kind, latestRecoveryTime; + (BOOL)isKindValidForClassRegistry { // This class has a "kind" property that doesn't appear to be usable to diff --git a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h index d1757f7e7..13186bb91 100644 --- a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h +++ b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h @@ -1960,6 +1960,29 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_DnsNameMapping_DnsScope_DnsScop */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_DnsNameMapping_DnsScope_Instance; +// ---------------------------------------------------------------------------- +// GTLRSQLAdmin_ExecuteSqlPayload.partialResultMode + +/** + * Return a truncated result and set `partial_result` to true if the result + * exceeds 10 MB. Don't throw an error. + * + * Value: "ALLOW_PARTIAL_RESULT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ExecuteSqlPayload_PartialResultMode_AllowPartialResult; +/** + * Throw an error if the result exceeds 10 MB. Don't return the result. + * + * Value: "FAIL_PARTIAL_RESULT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ExecuteSqlPayload_PartialResultMode_FailPartialResult; +/** + * Unspecified mode, effectively the same as `FAIL_PARTIAL_RESULT`. + * + * Value: "PARTIAL_RESULT_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ExecuteSqlPayload_PartialResultMode_PartialResultModeUnspecified; + // ---------------------------------------------------------------------------- // GTLRSQLAdmin_ExportContext.fileType @@ -6102,6 +6125,24 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; /** Optional. Name of the database on which the statement will be executed. */ @property(nonatomic, copy, nullable) NSString *database; +/** + * Optional. Controls how the API should respond when the SQL execution result + * exceeds 10 MB. The default mode is to throw an error. + * + * Likely values: + * @arg @c kGTLRSQLAdmin_ExecuteSqlPayload_PartialResultMode_AllowPartialResult + * Return a truncated result and set `partial_result` to true if the + * result exceeds 10 MB. Don't throw an error. (Value: + * "ALLOW_PARTIAL_RESULT") + * @arg @c kGTLRSQLAdmin_ExecuteSqlPayload_PartialResultMode_FailPartialResult + * Throw an error if the result exceeds 10 MB. Don't return the result. + * (Value: "FAIL_PARTIAL_RESULT") + * @arg @c kGTLRSQLAdmin_ExecuteSqlPayload_PartialResultMode_PartialResultModeUnspecified + * Unspecified mode, effectively the same as `FAIL_PARTIAL_RESULT`. + * (Value: "PARTIAL_RESULT_MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *partialResultMode; + /** * Optional. The maximum number of rows returned per SQL statement. * @@ -6115,6 +6156,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; */ @property(nonatomic, copy, nullable) NSString *sqlStatement; +/** + * Optional. The name of an existing database user to connect to the database. + * When `auto_iam_authn` is set to true, this field is ignored and the API + * caller's IAM user is used. + */ +@property(nonatomic, copy, nullable) NSString *user; + @end @@ -9235,6 +9283,11 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; */ @interface GTLRSQLAdmin_SqlInstancesGetLatestRecoveryTimeResponse : GTLRObject +/** + * Timestamp, identifies the earliest recovery time of the source instance. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *earliestRecoveryTime; + /** This is always `sql#getLatestRecoveryTime`. */ @property(nonatomic, copy, nullable) NSString *kind; diff --git a/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementObjects.h b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementObjects.h index 4d3d07427..b23afffce 100644 --- a/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementObjects.h +++ b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementObjects.h @@ -1228,8 +1228,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitVariable_Type_ /** * Optional. The strategy used for executing this Rollout. This strategy will - * override whatever strategy is specified in the RolloutType. If not specified - * on creation, the strategy from RolloutType will be used. There are two + * override whatever strategy is specified in the RolloutKind. If not specified + * on creation, the strategy from RolloutKind will be used. There are two * supported values strategies which are used to control - * "Google.Cloud.Simple.AllAtOnce" - "Google.Cloud.Simple.OneLocationAtATime" A * rollout with one of these simple strategies will rollout across all @@ -1306,7 +1306,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitVariable_Type_ * Optional. CEL(https://github.com/google/cel-spec) formatted filter string * against Unit. The filter will be applied to determine the eligible unit * population. This filter can only reduce, but not expand the scope of the - * rollout. If not provided, the unit_filter from the RolloutType will be used. + * rollout. If not provided, the unit_filter from the RolloutKind will be used. */ @property(nonatomic, copy, nullable) NSString *unitFilter; diff --git a/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementQuery.h b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementQuery.h index e456fbd0b..15925e6b5 100644 --- a/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementQuery.h +++ b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementQuery.h @@ -70,8 +70,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRSaaSServiceManagementQuery_ProjectsLocationsList : GTLRSaaSServiceManagementQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/Script/Public/GoogleAPIClientForREST/GTLRScriptObjects.h b/Sources/GeneratedServices/Script/Public/GoogleAPIClientForREST/GTLRScriptObjects.h index cd838beed..a4d623fe8 100644 --- a/Sources/GeneratedServices/Script/Public/GoogleAPIClientForREST/GTLRScriptObjects.h +++ b/Sources/GeneratedServices/Script/Public/GoogleAPIClientForREST/GTLRScriptObjects.h @@ -641,18 +641,16 @@ FOUNDATION_EXTERN NSString * const kGTLRScript_GoogleAppsScriptTypeWebAppConfig_ */ @interface GTLRScript_File : GTLRObject -/** - * Creation date timestamp. This read-only field is only visible to users who - * have WRITER permission for the script project. - */ +/** Creation date timestamp. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** The defined set of functions in the script file, if any. */ @property(nonatomic, strong, nullable) GTLRScript_GoogleAppsScriptTypeFunctionSet *functionSet; /** - * The user who modified the file most recently. This read-only field is only - * visible to users who have WRITER permission for the script project. + * The user who modified the file most recently. The details visible in this + * object are controlled by the profile visibility settings of the last + * modifying user. */ @property(nonatomic, strong, nullable) GTLRScript_GoogleAppsScriptTypeUser *lastModifyUser; @@ -682,10 +680,7 @@ FOUNDATION_EXTERN NSString * const kGTLRScript_GoogleAppsScriptTypeWebAppConfig_ */ @property(nonatomic, copy, nullable) NSString *type; -/** - * Last modified date timestamp. This read-only field is only visible to users - * who have WRITER permission for the script project. - */ +/** Last modified date timestamp. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end diff --git a/Sources/GeneratedServices/SecretManager/Public/GoogleAPIClientForREST/GTLRSecretManagerQuery.h b/Sources/GeneratedServices/SecretManager/Public/GoogleAPIClientForREST/GTLRSecretManagerQuery.h index d389725ee..5432e0f3d 100644 --- a/Sources/GeneratedServices/SecretManager/Public/GoogleAPIClientForREST/GTLRSecretManagerQuery.h +++ b/Sources/GeneratedServices/SecretManager/Public/GoogleAPIClientForREST/GTLRSecretManagerQuery.h @@ -71,8 +71,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRSecretManagerQuery_ProjectsLocationsList : GTLRSecretManagerQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m index 627c8d2c9..38261eb52 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m +++ b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m @@ -3981,11 +3981,21 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueMute // @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResource -@dynamic awsMetadata, azureMetadata, cloudProvider, displayName, +@dynamic application, awsMetadata, azureMetadata, cloudProvider, displayName, googleCloudMetadata, name, type; @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceApplication +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceApplication +@dynamic name; +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceAwsMetadata diff --git a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h index 33a4169ff..6e01f6d44 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h +++ b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h @@ -185,6 +185,7 @@ @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueMute; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResource; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceApplication; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceAwsMetadata; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceAzureMetadata; @@ -8335,7 +8336,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps /** - * The destination big query dataset to export findings to. + * The destination BigQuery dataset to export findings to. */ @interface GTLRSecurityCommandCenter_BigQueryDestination : GTLRObject @@ -9734,7 +9735,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps */ @interface GTLRSecurityCommandCenter_ExportFindingsMetadata : GTLRObject -/** Required. The destination big query dataset to export findings to. */ +/** Required. The destination BigQuery dataset to export findings to. */ @property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_BigQueryDestination *bigQueryDestination; /** Optional. Timestamp at which export was started */ @@ -13498,12 +13499,10 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps /** * Output only. The canonical name of the finding. The following list shows * some examples: + - * `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}` - * + * `organizations/{organization_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}` - * + `folders/{folder_id}/sources/{source_id}/findings/{finding_id}` + + * + * `folders/{folder_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}` - * + `projects/{project_id}/sources/{source_id}/findings/{finding_id}` + + * + * `projects/{project_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}` * The prefix is the closest CRM ancestor of the resource associated with the * finding. @@ -14403,6 +14402,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps */ @interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResource : GTLRObject +/** + * The AppHub application associated with the resource, if any. Only populated + * for the primary resource. + */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceApplication *application; + /** * The AWS metadata of the resource associated with the issue. Only populated * for AWS resources. @@ -14451,6 +14456,20 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @end +/** + * The AppHub application associated with the resource, if any. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceApplication : GTLRObject + +/** + * The resource name of an Application. Format: + * `projects/{host-project-id}/locations/{location}/applications/{application-id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * The AWS metadata of a resource associated with an issue. */ diff --git a/Sources/GeneratedServices/ServerlessVPCAccess/Public/GoogleAPIClientForREST/GTLRServerlessVPCAccessQuery.h b/Sources/GeneratedServices/ServerlessVPCAccess/Public/GoogleAPIClientForREST/GTLRServerlessVPCAccessQuery.h index c3a6f3d73..5c7eaf2a3 100644 --- a/Sources/GeneratedServices/ServerlessVPCAccess/Public/GoogleAPIClientForREST/GTLRServerlessVPCAccessQuery.h +++ b/Sources/GeneratedServices/ServerlessVPCAccess/Public/GoogleAPIClientForREST/GTLRServerlessVPCAccessQuery.h @@ -216,8 +216,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRServerlessVPCAccessQuery_ProjectsLocationsList : GTLRServerlessVPCAccessQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/ServiceControl/GTLRServiceControlObjects.m b/Sources/GeneratedServices/ServiceControl/GTLRServiceControlObjects.m index 519f10c75..a331f5e69 100644 --- a/Sources/GeneratedServices/ServiceControl/GTLRServiceControlObjects.m +++ b/Sources/GeneratedServices/ServiceControl/GTLRServiceControlObjects.m @@ -194,7 +194,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRServiceControl_Auth -@dynamic accessLevels, audiences, claims, presenter, principal; +@dynamic accessLevels, audiences, claims, oauth, presenter, principal; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -227,9 +227,9 @@ + (Class)classForAdditionalProperties { // @implementation GTLRServiceControl_AuthenticationInfo -@dynamic authoritySelector, principalEmail, principalSubject, - serviceAccountDelegationInfo, serviceAccountKeyName, - serviceDelegationHistory, thirdPartyPrincipal; +@dynamic authoritySelector, loggableShortLivedCredential, oauthInfo, + principalEmail, principalSubject, serviceAccountDelegationInfo, + serviceAccountKeyName, serviceDelegationHistory, thirdPartyPrincipal; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -241,6 +241,20 @@ @implementation GTLRServiceControl_AuthenticationInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRServiceControl_AuthenticationInfo_LoggableShortLivedCredential +// + +@implementation GTLRServiceControl_AuthenticationInfo_LoggableShortLivedCredential + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRServiceControl_AuthenticationInfo_ThirdPartyPrincipal @@ -345,6 +359,26 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRServiceControl_Oauth +// + +@implementation GTLRServiceControl_Oauth +@dynamic clientId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRServiceControl_OAuthInfo +// + +@implementation GTLRServiceControl_OAuthInfo +@dynamic oauthClientId; +@end + + // ---------------------------------------------------------------------------- // // GTLRServiceControl_OrgPolicyViolationInfo diff --git a/Sources/GeneratedServices/ServiceControl/Public/GoogleAPIClientForREST/GTLRServiceControlObjects.h b/Sources/GeneratedServices/ServiceControl/Public/GoogleAPIClientForREST/GTLRServiceControlObjects.h index 88ae50b8c..e858a6ec1 100644 --- a/Sources/GeneratedServices/ServiceControl/Public/GoogleAPIClientForREST/GTLRServiceControlObjects.h +++ b/Sources/GeneratedServices/ServiceControl/Public/GoogleAPIClientForREST/GTLRServiceControlObjects.h @@ -26,12 +26,15 @@ @class GTLRServiceControl_Auth; @class GTLRServiceControl_Auth_Claims; @class GTLRServiceControl_AuthenticationInfo; +@class GTLRServiceControl_AuthenticationInfo_LoggableShortLivedCredential; @class GTLRServiceControl_AuthenticationInfo_ThirdPartyPrincipal; @class GTLRServiceControl_AuthorizationInfo; @class GTLRServiceControl_CheckResponse_DynamicMetadata; @class GTLRServiceControl_CheckResponse_Headers; @class GTLRServiceControl_FirstPartyPrincipal; @class GTLRServiceControl_FirstPartyPrincipal_ServiceMetadata; +@class GTLRServiceControl_Oauth; +@class GTLRServiceControl_OAuthInfo; @class GTLRServiceControl_OrgPolicyViolationInfo; @class GTLRServiceControl_OrgPolicyViolationInfo_Payload; @class GTLRServiceControl_OrgPolicyViolationInfo_ResourceTags; @@ -584,6 +587,9 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRServiceControl_Auth_Claims *claims; +/** Attributes of the OAuth token associated with the request. */ +@property(nonatomic, strong, nullable) GTLRServiceControl_Oauth *oauth; + /** * The authorized presenter of the credential. Reflects the optional Authorized * Presenter (`azp`) claim within a JWT or the OAuth client id. For example, a @@ -633,6 +639,18 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *authoritySelector; +/** + * Converted from "identity_cloudgaia.AuditLoggableShortLivedCredential" proto. + * This message will be used by security, detection and response team. For + * context please refer to go/cg:short-lived-credential-logging. When the JSON + * object represented here has a proto equivalent, the proto name will be + * indicated in the `\@type` property. + */ +@property(nonatomic, strong, nullable) GTLRServiceControl_AuthenticationInfo_LoggableShortLivedCredential *loggableShortLivedCredential; + +/** OAuth authentication information such as the OAuth client ID. */ +@property(nonatomic, strong, nullable) GTLRServiceControl_OAuthInfo *oauthInfo; + /** * The email address of the authenticated user (or service account on behalf of * third party principal) making the request. For third party identity callers, @@ -681,6 +699,22 @@ GTLR_DEPRECATED @end +/** + * Converted from "identity_cloudgaia.AuditLoggableShortLivedCredential" proto. + * This message will be used by security, detection and response team. For + * context please refer to go/cg:short-lived-credential-logging. When the JSON + * object represented here has a proto equivalent, the proto name will be + * indicated in the `\@type` property. + * + * @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 GTLRServiceControl_AuthenticationInfo_LoggableShortLivedCredential : GTLRObject +@end + + /** * The third party identification (if any) of the authenticated user making the * request. When the JSON object represented here has a proto equivalent, the @@ -851,6 +885,36 @@ GTLR_DEPRECATED @end +/** + * This message defines attributes associated with OAuth credentials. + */ +@interface GTLRServiceControl_Oauth : GTLRObject + +/** + * The optional OAuth client ID. This is the unique public identifier issued by + * an authorization server to a registered client application. Empty string is + * equivalent to no oauth client id. WARNING: This is for MCP tools/call and + * tools/list authorization and not for general use. + */ +@property(nonatomic, copy, nullable) NSString *clientId; + +@end + + +/** + * OAuth related information about the request. + */ +@interface GTLRServiceControl_OAuthInfo : GTLRObject + +/** + * The OAuth client ID of the 1P or 3P application acting on behalf of the + * user. + */ +@property(nonatomic, copy, nullable) NSString *oauthClientId; + +@end + + /** * Represents OrgPolicy Violation information. */ diff --git a/Sources/GeneratedServices/ServiceControl/Public/GoogleAPIClientForREST/GTLRServiceControlQuery.h b/Sources/GeneratedServices/ServiceControl/Public/GoogleAPIClientForREST/GTLRServiceControlQuery.h index c46fe6bb9..44b6e5e17 100644 --- a/Sources/GeneratedServices/ServiceControl/Public/GoogleAPIClientForREST/GTLRServiceControlQuery.h +++ b/Sources/GeneratedServices/ServiceControl/Public/GoogleAPIClientForREST/GTLRServiceControlQuery.h @@ -106,9 +106,8 @@ NS_ASSUME_NONNULL_BEGIN * after the operations have been executed. For more information, see * [Telemetry * Reporting](https://cloud.google.com/service-infrastructure/docs/telemetry-reporting). - * NOTE: The telemetry reporting has a hard limit of 1000 operations and 1MB - * per Report call. It is recommended to have no more than 100 operations per - * call. This method requires the `servicemanagement.services.report` + * NOTE: The telemetry reporting has a hard limit of 100 operations and 1MB per + * Report call. This method requires the `servicemanagement.services.report` * permission on the specified service. For more information, see [Service * Control API Access * Control](https://cloud.google.com/service-infrastructure/docs/service-control/access-control). @@ -139,9 +138,8 @@ NS_ASSUME_NONNULL_BEGIN * after the operations have been executed. For more information, see * [Telemetry * Reporting](https://cloud.google.com/service-infrastructure/docs/telemetry-reporting). - * NOTE: The telemetry reporting has a hard limit of 1000 operations and 1MB - * per Report call. It is recommended to have no more than 100 operations per - * call. This method requires the `servicemanagement.services.report` + * NOTE: The telemetry reporting has a hard limit of 100 operations and 1MB per + * Report call. This method requires the `servicemanagement.services.report` * permission on the specified service. For more information, see [Service * Control API Access * Control](https://cloud.google.com/service-infrastructure/docs/service-control/access-control). diff --git a/Sources/GeneratedServices/ServiceDirectory/Public/GoogleAPIClientForREST/GTLRServiceDirectoryQuery.h b/Sources/GeneratedServices/ServiceDirectory/Public/GoogleAPIClientForREST/GTLRServiceDirectoryQuery.h index 0ac9feefe..bd2200cd1 100644 --- a/Sources/GeneratedServices/ServiceDirectory/Public/GoogleAPIClientForREST/GTLRServiceDirectoryQuery.h +++ b/Sources/GeneratedServices/ServiceDirectory/Public/GoogleAPIClientForREST/GTLRServiceDirectoryQuery.h @@ -71,8 +71,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRServiceDirectoryQuery_ProjectsLocationsList : GTLRServiceDirectoryQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/TPU/GTLRTPUObjects.m b/Sources/GeneratedServices/TPU/GTLRTPUObjects.m index feb6bc6c6..707ffdcf1 100644 --- a/Sources/GeneratedServices/TPU/GTLRTPUObjects.m +++ b/Sources/GeneratedServices/TPU/GTLRTPUObjects.m @@ -161,6 +161,16 @@ @implementation GTLRTPU_AttachedDisk @end +// ---------------------------------------------------------------------------- +// +// GTLRTPU_BootDiskConfig +// + +@implementation GTLRTPU_BootDiskConfig +@dynamic customerEncryptionKey; +@end + + // ---------------------------------------------------------------------------- // // GTLRTPU_CreatingData @@ -170,6 +180,16 @@ @implementation GTLRTPU_CreatingData @end +// ---------------------------------------------------------------------------- +// +// GTLRTPU_CustomerEncryptionKey +// + +@implementation GTLRTPU_CustomerEncryptionKey +@dynamic kmsKeyName; +@end + + // ---------------------------------------------------------------------------- // // GTLRTPU_DeletingData @@ -526,12 +546,12 @@ @implementation GTLRTPU_NetworkEndpoint // @implementation GTLRTPU_Node -@dynamic acceleratorConfig, acceleratorType, apiVersion, cidrBlock, createTime, - dataDisks, descriptionProperty, health, healthDescription, identifier, - labels, metadata, multisliceNode, name, networkConfig, networkConfigs, - networkEndpoints, queuedResource, runtimeVersion, schedulingConfig, - serviceAccount, shieldedInstanceConfig, state, symptoms, tags, - upcomingMaintenance; +@dynamic acceleratorConfig, acceleratorType, apiVersion, bootDiskConfig, + cidrBlock, createTime, dataDisks, descriptionProperty, health, + healthDescription, identifier, labels, metadata, multisliceNode, name, + networkConfig, networkConfigs, networkEndpoints, queuedResource, + runtimeVersion, schedulingConfig, serviceAccount, + shieldedInstanceConfig, state, symptoms, tags, upcomingMaintenance; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/TPU/Public/GoogleAPIClientForREST/GTLRTPUObjects.h b/Sources/GeneratedServices/TPU/Public/GoogleAPIClientForREST/GTLRTPUObjects.h index 83e213723..b7236f816 100644 --- a/Sources/GeneratedServices/TPU/Public/GoogleAPIClientForREST/GTLRTPUObjects.h +++ b/Sources/GeneratedServices/TPU/Public/GoogleAPIClientForREST/GTLRTPUObjects.h @@ -20,7 +20,9 @@ @class GTLRTPU_AccessConfig; @class GTLRTPU_ActiveData; @class GTLRTPU_AttachedDisk; +@class GTLRTPU_BootDiskConfig; @class GTLRTPU_CreatingData; +@class GTLRTPU_CustomerEncryptionKey; @class GTLRTPU_DeletingData; @class GTLRTPU_FailedData; @class GTLRTPU_Guaranteed; @@ -603,6 +605,17 @@ FOUNDATION_EXTERN NSString * const kGTLRTPU_UpcomingMaintenance_Type_Unscheduled @end +/** + * Sets the boot disk configuration for the TPU node. + */ +@interface GTLRTPU_BootDiskConfig : GTLRObject + +/** Optional. Customer encryption key for boot disk. */ +@property(nonatomic, strong, nullable) GTLRTPU_CustomerEncryptionKey *customerEncryptionKey; + +@end + + /** * Further data for the creating state. */ @@ -610,6 +623,24 @@ FOUNDATION_EXTERN NSString * const kGTLRTPU_UpcomingMaintenance_Type_Unscheduled @end +/** + * Defines the customer encryption key for disk encryption. + */ +@interface GTLRTPU_CustomerEncryptionKey : GTLRObject + +/** + * The name of the encryption key that is stored in Google Cloud KMS. For + * example: "kmsKeyName": + * "projects/KMS_PROJECT_ID/locations/REGION/keyRings/KEY_REGION/cryptoKeys/KEY + * The fully-qualifed key name may be returned for resource GET requests. For + * example: "kmsKeyName": + * "projects/KMS_PROJECT_ID/locations/REGION/keyRings/KEY_REGION/cryptoKeys/KEY/cryptoKeyVersions/1 + */ +@property(nonatomic, copy, nullable) NSString *kmsKeyName; + +@end + + /** * Further data for the deleting state. */ @@ -1118,6 +1149,9 @@ FOUNDATION_EXTERN NSString * const kGTLRTPU_UpcomingMaintenance_Type_Unscheduled */ @property(nonatomic, copy, nullable) NSString *apiVersion; +/** Optional. Boot disk configuration. */ +@property(nonatomic, strong, nullable) GTLRTPU_BootDiskConfig *bootDiskConfig; + /** * The CIDR block that the TPU node will use when selecting an IP address. This * CIDR block must be a /29 block; the Compute Engine networks API forbids a diff --git a/Sources/GeneratedServices/TPU/Public/GoogleAPIClientForREST/GTLRTPUQuery.h b/Sources/GeneratedServices/TPU/Public/GoogleAPIClientForREST/GTLRTPUQuery.h index b47f3386e..a7e4ee350 100644 --- a/Sources/GeneratedServices/TPU/Public/GoogleAPIClientForREST/GTLRTPUQuery.h +++ b/Sources/GeneratedServices/TPU/Public/GoogleAPIClientForREST/GTLRTPUQuery.h @@ -169,8 +169,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRTPUQuery_ProjectsLocationsList : GTLRTPUQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Unless explicitly documented otherwise, don't use this unsupported + * field which is primarily intended for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/TagManager/GTLRTagManagerObjects.m b/Sources/GeneratedServices/TagManager/GTLRTagManagerObjects.m index 5e396e4ce..af3ab6c02 100644 --- a/Sources/GeneratedServices/TagManager/GTLRTagManagerObjects.m +++ b/Sources/GeneratedServices/TagManager/GTLRTagManagerObjects.m @@ -43,6 +43,9 @@ NSString * const kGTLRTagManager_BuiltInVariable_Type_AmpReferrer = @"ampReferrer"; NSString * const kGTLRTagManager_BuiltInVariable_Type_AmpTitle = @"ampTitle"; NSString * const kGTLRTagManager_BuiltInVariable_Type_AmpTotalEngagedTime = @"ampTotalEngagedTime"; +NSString * const kGTLRTagManager_BuiltInVariable_Type_AnalyticsClientId = @"analyticsClientId"; +NSString * const kGTLRTagManager_BuiltInVariable_Type_AnalyticsSessionId = @"analyticsSessionId"; +NSString * const kGTLRTagManager_BuiltInVariable_Type_AnalyticsSessionNumber = @"analyticsSessionNumber"; NSString * const kGTLRTagManager_BuiltInVariable_Type_AppId = @"appId"; NSString * const kGTLRTagManager_BuiltInVariable_Type_AppName = @"appName"; NSString * const kGTLRTagManager_BuiltInVariable_Type_AppVersionCode = @"appVersionCode"; diff --git a/Sources/GeneratedServices/TagManager/GTLRTagManagerQuery.m b/Sources/GeneratedServices/TagManager/GTLRTagManagerQuery.m index 1dda315b7..e5571f9ac 100644 --- a/Sources/GeneratedServices/TagManager/GTLRTagManagerQuery.m +++ b/Sources/GeneratedServices/TagManager/GTLRTagManagerQuery.m @@ -42,6 +42,9 @@ NSString * const kGTLRTagManagerTypeAmpReferrer = @"ampReferrer"; NSString * const kGTLRTagManagerTypeAmpTitle = @"ampTitle"; NSString * const kGTLRTagManagerTypeAmpTotalEngagedTime = @"ampTotalEngagedTime"; +NSString * const kGTLRTagManagerTypeAnalyticsClientId = @"analyticsClientId"; +NSString * const kGTLRTagManagerTypeAnalyticsSessionId = @"analyticsSessionId"; +NSString * const kGTLRTagManagerTypeAnalyticsSessionNumber = @"analyticsSessionNumber"; NSString * const kGTLRTagManagerTypeAppId = @"appId"; NSString * const kGTLRTagManagerTypeAppName = @"appName"; NSString * const kGTLRTagManagerTypeAppVersionCode = @"appVersionCode"; diff --git a/Sources/GeneratedServices/TagManager/Public/GoogleAPIClientForREST/GTLRTagManagerObjects.h b/Sources/GeneratedServices/TagManager/Public/GoogleAPIClientForREST/GTLRTagManagerObjects.h index b1df8d780..84d8132b3 100644 --- a/Sources/GeneratedServices/TagManager/Public/GoogleAPIClientForREST/GTLRTagManagerObjects.h +++ b/Sources/GeneratedServices/TagManager/Public/GoogleAPIClientForREST/GTLRTagManagerObjects.h @@ -120,6 +120,12 @@ FOUNDATION_EXTERN NSString * const kGTLRTagManager_BuiltInVariable_Type_AmpRefer FOUNDATION_EXTERN NSString * const kGTLRTagManager_BuiltInVariable_Type_AmpTitle; /** Value: "ampTotalEngagedTime" */ FOUNDATION_EXTERN NSString * const kGTLRTagManager_BuiltInVariable_Type_AmpTotalEngagedTime; +/** Value: "analyticsClientId" */ +FOUNDATION_EXTERN NSString * const kGTLRTagManager_BuiltInVariable_Type_AnalyticsClientId; +/** Value: "analyticsSessionId" */ +FOUNDATION_EXTERN NSString * const kGTLRTagManager_BuiltInVariable_Type_AnalyticsSessionId; +/** Value: "analyticsSessionNumber" */ +FOUNDATION_EXTERN NSString * const kGTLRTagManager_BuiltInVariable_Type_AnalyticsSessionNumber; /** Value: "appId" */ FOUNDATION_EXTERN NSString * const kGTLRTagManager_BuiltInVariable_Type_AppId; /** Value: "appName" */ @@ -758,6 +764,12 @@ FOUNDATION_EXTERN NSString * const kGTLRTagManager_VariableFormatValue_CaseConve * @arg @c kGTLRTagManager_BuiltInVariable_Type_AmpTitle Value "ampTitle" * @arg @c kGTLRTagManager_BuiltInVariable_Type_AmpTotalEngagedTime Value * "ampTotalEngagedTime" + * @arg @c kGTLRTagManager_BuiltInVariable_Type_AnalyticsClientId Value + * "analyticsClientId" + * @arg @c kGTLRTagManager_BuiltInVariable_Type_AnalyticsSessionId Value + * "analyticsSessionId" + * @arg @c kGTLRTagManager_BuiltInVariable_Type_AnalyticsSessionNumber Value + * "analyticsSessionNumber" * @arg @c kGTLRTagManager_BuiltInVariable_Type_AppId Value "appId" * @arg @c kGTLRTagManager_BuiltInVariable_Type_AppName Value "appName" * @arg @c kGTLRTagManager_BuiltInVariable_Type_AppVersionCode Value diff --git a/Sources/GeneratedServices/TagManager/Public/GoogleAPIClientForREST/GTLRTagManagerQuery.h b/Sources/GeneratedServices/TagManager/Public/GoogleAPIClientForREST/GTLRTagManagerQuery.h index 4addd4892..b4f1b025d 100644 --- a/Sources/GeneratedServices/TagManager/Public/GoogleAPIClientForREST/GTLRTagManagerQuery.h +++ b/Sources/GeneratedServices/TagManager/Public/GoogleAPIClientForREST/GTLRTagManagerQuery.h @@ -92,6 +92,12 @@ FOUNDATION_EXTERN NSString * const kGTLRTagManagerTypeAmpReferrer; FOUNDATION_EXTERN NSString * const kGTLRTagManagerTypeAmpTitle; /** Value: "ampTotalEngagedTime" */ FOUNDATION_EXTERN NSString * const kGTLRTagManagerTypeAmpTotalEngagedTime; +/** Value: "analyticsClientId" */ +FOUNDATION_EXTERN NSString * const kGTLRTagManagerTypeAnalyticsClientId; +/** Value: "analyticsSessionId" */ +FOUNDATION_EXTERN NSString * const kGTLRTagManagerTypeAnalyticsSessionId; +/** Value: "analyticsSessionNumber" */ +FOUNDATION_EXTERN NSString * const kGTLRTagManagerTypeAnalyticsSessionNumber; /** Value: "appId" */ FOUNDATION_EXTERN NSString * const kGTLRTagManagerTypeAppId; /** Value: "appName" */ @@ -1334,6 +1340,10 @@ FOUNDATION_EXTERN NSString * const kGTLRTagManagerTypeVisitorRegion; * @arg @c kGTLRTagManagerTypeServerPageLocationHostname Value * "serverPageLocationHostname" * @arg @c kGTLRTagManagerTypeVisitorRegion Value "visitorRegion" + * @arg @c kGTLRTagManagerTypeAnalyticsClientId Value "analyticsClientId" + * @arg @c kGTLRTagManagerTypeAnalyticsSessionId Value "analyticsSessionId" + * @arg @c kGTLRTagManagerTypeAnalyticsSessionNumber Value + * "analyticsSessionNumber" */ @property(nonatomic, strong, nullable) NSArray *type; @@ -1521,6 +1531,10 @@ FOUNDATION_EXTERN NSString * const kGTLRTagManagerTypeVisitorRegion; * @arg @c kGTLRTagManagerTypeServerPageLocationHostname Value * "serverPageLocationHostname" * @arg @c kGTLRTagManagerTypeVisitorRegion Value "visitorRegion" + * @arg @c kGTLRTagManagerTypeAnalyticsClientId Value "analyticsClientId" + * @arg @c kGTLRTagManagerTypeAnalyticsSessionId Value "analyticsSessionId" + * @arg @c kGTLRTagManagerTypeAnalyticsSessionNumber Value + * "analyticsSessionNumber" */ @property(nonatomic, strong, nullable) NSArray *type; @@ -1743,6 +1757,10 @@ FOUNDATION_EXTERN NSString * const kGTLRTagManagerTypeVisitorRegion; * @arg @c kGTLRTagManagerTypeServerPageLocationHostname Value * "serverPageLocationHostname" * @arg @c kGTLRTagManagerTypeVisitorRegion Value "visitorRegion" + * @arg @c kGTLRTagManagerTypeAnalyticsClientId Value "analyticsClientId" + * @arg @c kGTLRTagManagerTypeAnalyticsSessionId Value "analyticsSessionId" + * @arg @c kGTLRTagManagerTypeAnalyticsSessionNumber Value + * "analyticsSessionNumber" */ @property(nonatomic, copy, nullable) NSString *type; diff --git a/Sources/GeneratedServices/Testing/Public/GoogleAPIClientForREST/GTLRTestingObjects.h b/Sources/GeneratedServices/Testing/Public/GoogleAPIClientForREST/GTLRTestingObjects.h index 59baea01a..59795349c 100644 --- a/Sources/GeneratedServices/Testing/Public/GoogleAPIClientForREST/GTLRTestingObjects.h +++ b/Sources/GeneratedServices/Testing/Public/GoogleAPIClientForREST/GTLRTestingObjects.h @@ -2883,14 +2883,14 @@ FOUNDATION_EXTERN NSString * const kGTLRTesting_TestMatrix_State_Validating; * Required. Where to put the content on the device. Must be an absolute, * allowlisted path. If the file exists, it will be replaced. The following * device-side directories and any of their subdirectories are allowlisted: - * ${EXTERNAL_STORAGE}, /sdcard, or /storage ${ANDROID_DATA}/local/tmp, or - * /data/local/tmp Specifying a path outside of these directory trees is - * invalid. The paths /sdcard and /data will be made available and treated as - * implicit path substitutions. E.g. if /sdcard on a particular device does not - * map to external storage, the system will replace it with the external - * storage path prefix for that device and copy the file there. It is strongly - * advised to use the Environment API in app and test code to access files on - * the device in a portable way. + * ${EXTERNAL_STORAGE}, /sdcard ${ANDROID_DATA}/local/tmp, or /data/local/tmp + * Specifying a path outside of these directory trees is invalid. The paths + * /sdcard and /data will be made available and treated as implicit path + * substitutions. E.g. if /sdcard on a particular device does not map to + * external storage, the system will replace it with the external storage path + * prefix for that device and copy the file there. It is strongly advised to + * use the Environment API in app and test code to access files on the device + * in a portable way. */ @property(nonatomic, copy, nullable) NSString *devicePath; diff --git a/Sources/GeneratedServices/Texttospeech/GTLRTexttospeechObjects.m b/Sources/GeneratedServices/Texttospeech/GTLRTexttospeechObjects.m index 0da65a325..75633acca 100644 --- a/Sources/GeneratedServices/Texttospeech/GTLRTexttospeechObjects.m +++ b/Sources/GeneratedServices/Texttospeech/GTLRTexttospeechObjects.m @@ -277,7 +277,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRTexttospeech_SynthesisInput -@dynamic customPronunciations, markup, multiSpeakerMarkup, ssml, text; +@dynamic customPronunciations, markup, multiSpeakerMarkup, prompt, ssml, text; @end diff --git a/Sources/GeneratedServices/Texttospeech/Public/GoogleAPIClientForREST/GTLRTexttospeechObjects.h b/Sources/GeneratedServices/Texttospeech/Public/GoogleAPIClientForREST/GTLRTexttospeechObjects.h index 4a207a814..bf7eed216 100644 --- a/Sources/GeneratedServices/Texttospeech/Public/GoogleAPIClientForREST/GTLRTexttospeechObjects.h +++ b/Sources/GeneratedServices/Texttospeech/Public/GoogleAPIClientForREST/GTLRTexttospeechObjects.h @@ -678,6 +678,13 @@ FOUNDATION_EXTERN NSString * const kGTLRTexttospeech_VoiceSelectionParams_SsmlGe */ @property(nonatomic, strong, nullable) GTLRTexttospeech_MultiSpeakerMarkup *multiSpeakerMarkup; +/** + * This is system instruction supported only for controllable voice models. If + * used, we will pass text to Flash TTS as is. Can only used with Flash TTS. + * What AI Studio calls Style Instructions. + */ +@property(nonatomic, copy, nullable) NSString *prompt; + /** * The SSML document to be synthesized. The SSML document must be valid and * well-formed. Otherwise the RPC will fail and return diff --git a/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorServiceObjects.h b/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorServiceObjects.h index 8de550884..e6996064d 100644 --- a/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorServiceObjects.h +++ b/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorServiceObjects.h @@ -1855,9 +1855,8 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro * created in (see ``man 7 network_namespaces``). If this field is set, Envoy * will create the socket in the specified network namespace. .. note:: Setting * this parameter requires Envoy to run with the ``CAP_NET_ADMIN`` capability. - * .. note:: Currently only used for Listener sockets. .. attention:: Network - * namespaces are only configurable on Linux. Otherwise, this field has no - * effect. + * .. attention:: Network namespaces are only configurable on Linux. Otherwise, + * this field has no effect. */ @property(nonatomic, copy, nullable) NSString *networkNamespaceFilepath; diff --git a/Sources/GeneratedServices/VMMigrationService/GTLRVMMigrationServiceObjects.m b/Sources/GeneratedServices/VMMigrationService/GTLRVMMigrationServiceObjects.m index d9fd66c9d..5a47e13a4 100644 --- a/Sources/GeneratedServices/VMMigrationService/GTLRVMMigrationServiceObjects.m +++ b/Sources/GeneratedServices/VMMigrationService/GTLRVMMigrationServiceObjects.m @@ -26,6 +26,16 @@ NSString * const kGTLRVMMigrationService_AwsSourceDetails_State_Pending = @"PENDING"; NSString * const kGTLRVMMigrationService_AwsSourceDetails_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRVMMigrationService_AwsSourceDiskDetails.diskType +NSString * const kGTLRVMMigrationService_AwsSourceDiskDetails_DiskType_Gp2 = @"GP2"; +NSString * const kGTLRVMMigrationService_AwsSourceDiskDetails_DiskType_Gp3 = @"GP3"; +NSString * const kGTLRVMMigrationService_AwsSourceDiskDetails_DiskType_Io1 = @"IO1"; +NSString * const kGTLRVMMigrationService_AwsSourceDiskDetails_DiskType_Io2 = @"IO2"; +NSString * const kGTLRVMMigrationService_AwsSourceDiskDetails_DiskType_Sc1 = @"SC1"; +NSString * const kGTLRVMMigrationService_AwsSourceDiskDetails_DiskType_St1 = @"ST1"; +NSString * const kGTLRVMMigrationService_AwsSourceDiskDetails_DiskType_Standard = @"STANDARD"; +NSString * const kGTLRVMMigrationService_AwsSourceDiskDetails_DiskType_TypeUnspecified = @"TYPE_UNSPECIFIED"; + // GTLRVMMigrationService_AwsSourceVmDetails.architecture NSString * const kGTLRVMMigrationService_AwsSourceVmDetails_Architecture_VmArchitectureArm64 = @"VM_ARCHITECTURE_ARM64"; NSString * const kGTLRVMMigrationService_AwsSourceVmDetails_Architecture_VmArchitectureUnspecified = @"VM_ARCHITECTURE_UNSPECIFIED"; @@ -113,6 +123,13 @@ NSString * const kGTLRVMMigrationService_CloneJob_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRVMMigrationService_CloneJob_State_Succeeded = @"SUCCEEDED"; +// GTLRVMMigrationService_ComputeEngineDisk.diskType +NSString * const kGTLRVMMigrationService_ComputeEngineDisk_DiskType_ComputeEngineDiskTypeBalanced = @"COMPUTE_ENGINE_DISK_TYPE_BALANCED"; +NSString * const kGTLRVMMigrationService_ComputeEngineDisk_DiskType_ComputeEngineDiskTypeHyperdiskBalanced = @"COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED"; +NSString * const kGTLRVMMigrationService_ComputeEngineDisk_DiskType_ComputeEngineDiskTypeSsd = @"COMPUTE_ENGINE_DISK_TYPE_SSD"; +NSString * const kGTLRVMMigrationService_ComputeEngineDisk_DiskType_ComputeEngineDiskTypeStandard = @"COMPUTE_ENGINE_DISK_TYPE_STANDARD"; +NSString * const kGTLRVMMigrationService_ComputeEngineDisk_DiskType_ComputeEngineDiskTypeUnspecified = @"COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED"; + // GTLRVMMigrationService_ComputeEngineTargetDefaults.bootConversion NSString * const kGTLRVMMigrationService_ComputeEngineTargetDefaults_BootConversion_BiosToEfi = @"BIOS_TO_EFI"; NSString * const kGTLRVMMigrationService_ComputeEngineTargetDefaults_BootConversion_BootConversionUnspecified = @"BOOT_CONVERSION_UNSPECIFIED"; @@ -184,6 +201,15 @@ NSString * const kGTLRVMMigrationService_DatacenterConnector_State_Pending = @"PENDING"; NSString * const kGTLRVMMigrationService_DatacenterConnector_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRVMMigrationService_DiskMigrationJob.state +NSString * const kGTLRVMMigrationService_DiskMigrationJob_State_Cancelled = @"CANCELLED"; +NSString * const kGTLRVMMigrationService_DiskMigrationJob_State_Cancelling = @"CANCELLING"; +NSString * const kGTLRVMMigrationService_DiskMigrationJob_State_Failed = @"FAILED"; +NSString * const kGTLRVMMigrationService_DiskMigrationJob_State_Ready = @"READY"; +NSString * const kGTLRVMMigrationService_DiskMigrationJob_State_Running = @"RUNNING"; +NSString * const kGTLRVMMigrationService_DiskMigrationJob_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRVMMigrationService_DiskMigrationJob_State_Succeeded = @"SUCCEEDED"; + // GTLRVMMigrationService_Group.migrationTargetType NSString * const kGTLRVMMigrationService_Group_MigrationTargetType_MigrationTargetTypeDisks = @"MIGRATION_TARGET_TYPE_DISKS"; NSString * const kGTLRVMMigrationService_Group_MigrationTargetType_MigrationTargetTypeGce = @"MIGRATION_TARGET_TYPE_GCE"; @@ -228,6 +254,7 @@ NSString * const kGTLRVMMigrationService_MigrationError_Code_ApplianceUpgradeError = @"APPLIANCE_UPGRADE_ERROR"; NSString * const kGTLRVMMigrationService_MigrationError_Code_CloneError = @"CLONE_ERROR"; NSString * const kGTLRVMMigrationService_MigrationError_Code_CutoverError = @"CUTOVER_ERROR"; +NSString * const kGTLRVMMigrationService_MigrationError_Code_DiskMigrationError = @"DISK_MIGRATION_ERROR"; NSString * const kGTLRVMMigrationService_MigrationError_Code_ErrorCodeUnspecified = @"ERROR_CODE_UNSPECIFIED"; NSString * const kGTLRVMMigrationService_MigrationError_Code_ImageImportError = @"IMAGE_IMPORT_ERROR"; NSString * const kGTLRVMMigrationService_MigrationError_Code_OsAdaptationError = @"OS_ADAPTATION_ERROR"; @@ -438,6 +465,30 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRVMMigrationService_AwsSourceDiskDetails +// + +@implementation GTLRVMMigrationService_AwsSourceDiskDetails +@dynamic diskType, sizeGib, tags, volumeId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRVMMigrationService_AwsSourceDiskDetails_Tags +// + +@implementation GTLRVMMigrationService_AwsSourceDiskDetails_Tags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRVMMigrationService_AwsSourceVmDetails @@ -648,6 +699,15 @@ @implementation GTLRVMMigrationService_CancelCutoverJobRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRVMMigrationService_CancelDiskMigrationJobRequest +// + +@implementation GTLRVMMigrationService_CancelDiskMigrationJobRequest +@end + + // ---------------------------------------------------------------------------- // // GTLRVMMigrationService_CancelImageImportJobRequest @@ -706,6 +766,28 @@ @implementation GTLRVMMigrationService_CloneStep @end +// ---------------------------------------------------------------------------- +// +// GTLRVMMigrationService_ComputeEngineDisk +// + +@implementation GTLRVMMigrationService_ComputeEngineDisk +@dynamic diskId, diskType, replicaZones, zoneProperty; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"zoneProperty" : @"zone" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"replicaZones" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRVMMigrationService_ComputeEngineDisksTargetDefaults @@ -881,6 +963,15 @@ @implementation GTLRVMMigrationService_ComputeScheduling @end +// ---------------------------------------------------------------------------- +// +// GTLRVMMigrationService_CopyingSourceDiskSnapshotStep +// + +@implementation GTLRVMMigrationService_CopyingSourceDiskSnapshotStep +@end + + // ---------------------------------------------------------------------------- // // GTLRVMMigrationService_CreatingImageStep @@ -890,6 +981,15 @@ @implementation GTLRVMMigrationService_CreatingImageStep @end +// ---------------------------------------------------------------------------- +// +// GTLRVMMigrationService_CreatingSourceDiskSnapshotStep +// + +@implementation GTLRVMMigrationService_CreatingSourceDiskSnapshotStep +@end + + // ---------------------------------------------------------------------------- // // GTLRVMMigrationService_CutoverForecast @@ -1021,6 +1121,61 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRVMMigrationService_DiskMigrationJob +// + +@implementation GTLRVMMigrationService_DiskMigrationJob +@dynamic awsSourceDiskDetails, createTime, errors, name, state, steps, + targetDetails, updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"errors" : [GTLRVMMigrationService_Status class], + @"steps" : [GTLRVMMigrationService_DiskMigrationStep class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRVMMigrationService_DiskMigrationJobTargetDetails +// + +@implementation GTLRVMMigrationService_DiskMigrationJobTargetDetails +@dynamic encryption, labels, targetDisk, targetProject; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRVMMigrationService_DiskMigrationJobTargetDetails_Labels +// + +@implementation GTLRVMMigrationService_DiskMigrationJobTargetDetails_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRVMMigrationService_DiskMigrationStep +// + +@implementation GTLRVMMigrationService_DiskMigrationStep +@dynamic copyingSourceDiskSnapshot, creatingSourceDiskSnapshot, endTime, + provisioningTargetDisk, startTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRVMMigrationService_DisksMigrationDisksTargetDefaults @@ -1148,6 +1303,28 @@ @implementation GTLRVMMigrationService_FetchInventoryResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRVMMigrationService_FetchStorageInventoryResponse +// + +@implementation GTLRVMMigrationService_FetchStorageInventoryResponse +@dynamic nextPageToken, resources, updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resources" : [GTLRVMMigrationService_SourceStorageResource class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"resources"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRVMMigrationService_FinalizeMigrationRequest @@ -1347,6 +1524,29 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRVMMigrationService_ListDiskMigrationJobsResponse +// + +@implementation GTLRVMMigrationService_ListDiskMigrationJobsResponse +@dynamic diskMigrationJobs, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"diskMigrationJobs" : [GTLRVMMigrationService_DiskMigrationJob class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"diskMigrationJobs"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRVMMigrationService_ListGroupsResponse @@ -1902,6 +2102,15 @@ @implementation GTLRVMMigrationService_PreparingVMDisksStep @end +// ---------------------------------------------------------------------------- +// +// GTLRVMMigrationService_ProvisioningTargetDiskStep +// + +@implementation GTLRVMMigrationService_ProvisioningTargetDiskStep +@end + + // ---------------------------------------------------------------------------- // // GTLRVMMigrationService_RemoveGroupMigrationRequest @@ -1962,6 +2171,15 @@ @implementation GTLRVMMigrationService_ResumeMigrationRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRVMMigrationService_RunDiskMigrationJobRequest +// + +@implementation GTLRVMMigrationService_RunDiskMigrationJobRequest +@end + + // ---------------------------------------------------------------------------- // // GTLRVMMigrationService_SchedulePolicy @@ -2070,6 +2288,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRVMMigrationService_SourceStorageResource +// + +@implementation GTLRVMMigrationService_SourceStorageResource +@dynamic awsDiskDetails; +@end + + // ---------------------------------------------------------------------------- // // GTLRVMMigrationService_StartMigrationRequest diff --git a/Sources/GeneratedServices/VMMigrationService/GTLRVMMigrationServiceQuery.m b/Sources/GeneratedServices/VMMigrationService/GTLRVMMigrationServiceQuery.m index 10136f2e8..6d3aea821 100644 --- a/Sources/GeneratedServices/VMMigrationService/GTLRVMMigrationServiceQuery.m +++ b/Sources/GeneratedServices/VMMigrationService/GTLRVMMigrationServiceQuery.m @@ -14,6 +14,11 @@ // ---------------------------------------------------------------------------- // Constants +// type +NSString * const kGTLRVMMigrationServiceTypeDisks = @"DISKS"; +NSString * const kGTLRVMMigrationServiceTypeSnapshots = @"SNAPSHOTS"; +NSString * const kGTLRVMMigrationServiceTypeStorageTypeUnspecified = @"STORAGE_TYPE_UNSPECIFIED"; + // view NSString * const kGTLRVMMigrationServiceViewBasic = @"BASIC"; NSString * const kGTLRVMMigrationServiceViewFull = @"FULL"; @@ -632,6 +637,171 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsCancel + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRVMMigrationService_CancelDiskMigrationJobRequest *)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"; + GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRVMMigrationService_Operation class]; + query.loggingName = @"vmmigration.projects.locations.sources.diskMigrationJobs.cancel"; + return query; +} + +@end + +@implementation GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsCreate + +@dynamic diskMigrationJobId, parent, requestId; + ++ (instancetype)queryWithObject:(GTLRVMMigrationService_DiskMigrationJob *)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}/diskMigrationJobs"; + GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRVMMigrationService_Operation class]; + query.loggingName = @"vmmigration.projects.locations.sources.diskMigrationJobs.create"; + return query; +} + +@end + +@implementation GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRVMMigrationService_Operation class]; + query.loggingName = @"vmmigration.projects.locations.sources.diskMigrationJobs.delete"; + return query; +} + +@end + +@implementation GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRVMMigrationService_DiskMigrationJob class]; + query.loggingName = @"vmmigration.projects.locations.sources.diskMigrationJobs.get"; + return query; +} + +@end + +@implementation GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/diskMigrationJobs"; + GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRVMMigrationService_ListDiskMigrationJobsResponse class]; + query.loggingName = @"vmmigration.projects.locations.sources.diskMigrationJobs.list"; + return query; +} + +@end + +@implementation GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsPatch + +@dynamic name, requestId, updateMask; + ++ (instancetype)queryWithObject:(GTLRVMMigrationService_DiskMigrationJob *)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}"; + GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRVMMigrationService_Operation class]; + query.loggingName = @"vmmigration.projects.locations.sources.diskMigrationJobs.patch"; + return query; +} + +@end + +@implementation GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsRun + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRVMMigrationService_RunDiskMigrationJobRequest *)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}:run"; + GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsRun *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRVMMigrationService_Operation class]; + query.loggingName = @"vmmigration.projects.locations.sources.diskMigrationJobs.run"; + return query; +} + +@end + @implementation GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesFetchInventory @dynamic forceRefresh, pageSize, pageToken, source; @@ -651,6 +821,25 @@ + (instancetype)queryWithSource:(NSString *)source { @end +@implementation GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesFetchStorageInventory + +@dynamic forceRefresh, pageSize, pageToken, source, type; + ++ (instancetype)queryWithSource:(NSString *)source { + NSArray *pathParams = @[ @"source" ]; + NSString *pathURITemplate = @"v1/{+source}:fetchStorageInventory"; + GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesFetchStorageInventory *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.source = source; + query.expectedObjectClass = [GTLRVMMigrationService_FetchStorageInventoryResponse class]; + query.loggingName = @"vmmigration.projects.locations.sources.fetchStorageInventory"; + return query; +} + +@end + @implementation GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesGet @dynamic name; diff --git a/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceObjects.h b/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceObjects.h index 537e39a2a..96dd782b3 100644 --- a/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceObjects.h +++ b/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceObjects.h @@ -24,6 +24,8 @@ @class GTLRVMMigrationService_AwsSecurityGroup; @class GTLRVMMigrationService_AwsSourceDetails; @class GTLRVMMigrationService_AwsSourceDetails_MigrationResourcesUserTags; +@class GTLRVMMigrationService_AwsSourceDiskDetails; +@class GTLRVMMigrationService_AwsSourceDiskDetails_Tags; @class GTLRVMMigrationService_AwsSourceVmDetails; @class GTLRVMMigrationService_AwsVmDetails; @class GTLRVMMigrationService_AwsVmDetails_Tags; @@ -39,6 +41,7 @@ @class GTLRVMMigrationService_ClientSecretCredentials; @class GTLRVMMigrationService_CloneJob; @class GTLRVMMigrationService_CloneStep; +@class GTLRVMMigrationService_ComputeEngineDisk; @class GTLRVMMigrationService_ComputeEngineDisksTargetDefaults; @class GTLRVMMigrationService_ComputeEngineDisksTargetDetails; @class GTLRVMMigrationService_ComputeEngineTargetDefaults; @@ -48,7 +51,9 @@ @class GTLRVMMigrationService_ComputeEngineTargetDetails_Labels; @class GTLRVMMigrationService_ComputeEngineTargetDetails_Metadata; @class GTLRVMMigrationService_ComputeScheduling; +@class GTLRVMMigrationService_CopyingSourceDiskSnapshotStep; @class GTLRVMMigrationService_CreatingImageStep; +@class GTLRVMMigrationService_CreatingSourceDiskSnapshotStep; @class GTLRVMMigrationService_CutoverForecast; @class GTLRVMMigrationService_CutoverJob; @class GTLRVMMigrationService_CutoverStep; @@ -59,6 +64,10 @@ @class GTLRVMMigrationService_DiskImageDefaults; @class GTLRVMMigrationService_DiskImageTargetDetails; @class GTLRVMMigrationService_DiskImageTargetDetails_Labels; +@class GTLRVMMigrationService_DiskMigrationJob; +@class GTLRVMMigrationService_DiskMigrationJobTargetDetails; +@class GTLRVMMigrationService_DiskMigrationJobTargetDetails_Labels; +@class GTLRVMMigrationService_DiskMigrationStep; @class GTLRVMMigrationService_DisksMigrationDisksTargetDefaults; @class GTLRVMMigrationService_DisksMigrationDisksTargetDetails; @class GTLRVMMigrationService_DisksMigrationVmTargetDefaults; @@ -98,6 +107,7 @@ @class GTLRVMMigrationService_PersistentDiskDefaults_AdditionalLabels; @class GTLRVMMigrationService_PostProcessingStep; @class GTLRVMMigrationService_PreparingVMDisksStep; +@class GTLRVMMigrationService_ProvisioningTargetDiskStep; @class GTLRVMMigrationService_ReplicatingStep; @class GTLRVMMigrationService_ReplicationCycle; @class GTLRVMMigrationService_ReplicationSync; @@ -109,6 +119,7 @@ @class GTLRVMMigrationService_SkipOsAdaptation; @class GTLRVMMigrationService_Source; @class GTLRVMMigrationService_Source_Labels; +@class GTLRVMMigrationService_SourceStorageResource; @class GTLRVMMigrationService_Status; @class GTLRVMMigrationService_Status_Details_Item; @class GTLRVMMigrationService_Tag; @@ -194,6 +205,58 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_AwsSourceDetails_Stat */ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_AwsSourceDetails_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRVMMigrationService_AwsSourceDiskDetails.diskType + +/** + * GP2 disk type. + * + * Value: "GP2" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_AwsSourceDiskDetails_DiskType_Gp2; +/** + * GP3 disk type. + * + * Value: "GP3" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_AwsSourceDiskDetails_DiskType_Gp3; +/** + * IO1 disk type. + * + * Value: "IO1" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_AwsSourceDiskDetails_DiskType_Io1; +/** + * IO2 disk type. + * + * Value: "IO2" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_AwsSourceDiskDetails_DiskType_Io2; +/** + * SC1 disk type. + * + * Value: "SC1" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_AwsSourceDiskDetails_DiskType_Sc1; +/** + * ST1 disk type. + * + * Value: "ST1" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_AwsSourceDiskDetails_DiskType_St1; +/** + * Standard disk type. + * + * Value: "STANDARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_AwsSourceDiskDetails_DiskType_Standard; +/** + * Unspecified AWS disk type. Should not be used. + * + * Value: "TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_AwsSourceDiskDetails_DiskType_TypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRVMMigrationService_AwsSourceVmDetails.architecture @@ -608,6 +671,40 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_CloneJob_State_StateU */ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_CloneJob_State_Succeeded; +// ---------------------------------------------------------------------------- +// GTLRVMMigrationService_ComputeEngineDisk.diskType + +/** + * An alternative to SSD persistent disks that balance performance and cost. + * + * Value: "COMPUTE_ENGINE_DISK_TYPE_BALANCED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_ComputeEngineDisk_DiskType_ComputeEngineDiskTypeBalanced; +/** + * Hyperdisk balanced disk type. + * + * Value: "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_ComputeEngineDisk_DiskType_ComputeEngineDiskTypeHyperdiskBalanced; +/** + * SSD hard disk type. + * + * Value: "COMPUTE_ENGINE_DISK_TYPE_SSD" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_ComputeEngineDisk_DiskType_ComputeEngineDiskTypeSsd; +/** + * A Standard disk type. + * + * Value: "COMPUTE_ENGINE_DISK_TYPE_STANDARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_ComputeEngineDisk_DiskType_ComputeEngineDiskTypeStandard; +/** + * An unspecified disk type. Will be used as STANDARD. + * + * Value: "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_ComputeEngineDisk_DiskType_ComputeEngineDiskTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRVMMigrationService_ComputeEngineTargetDefaults.bootConversion @@ -944,6 +1041,53 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_DatacenterConnector_S */ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_DatacenterConnector_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRVMMigrationService_DiskMigrationJob.state + +/** + * The migration was cancelled. + * + * Value: "CANCELLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_DiskMigrationJob_State_Cancelled; +/** + * Migration cancellation was initiated. + * + * Value: "CANCELLING" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_DiskMigrationJob_State_Cancelling; +/** + * The migration process encountered an unrecoverable error and was aborted. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_DiskMigrationJob_State_Failed; +/** + * The initial state of the disk migration. In this state the customers can + * update the target details. + * + * Value: "READY" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_DiskMigrationJob_State_Ready; +/** + * The migration is active, and it's running or scheduled to run. + * + * Value: "RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_DiskMigrationJob_State_Running; +/** + * The state is unspecified. This is not in use. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_DiskMigrationJob_State_StateUnspecified; +/** + * The migration completed successfully. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_DiskMigrationJob_State_Succeeded; + // ---------------------------------------------------------------------------- // GTLRVMMigrationService_Group.migrationTargetType @@ -1172,6 +1316,13 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_MigrationError_Code_C * Value: "CUTOVER_ERROR" */ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_MigrationError_Code_CutoverError; +/** + * Migrate to Virtual Machines encountered an error in disk migration + * operation. + * + * Value: "DISK_MIGRATION_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_MigrationError_Code_DiskMigrationError; /** * Default value. This value is not used. * @@ -1830,6 +1981,63 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_VmwareVmDetails_Power @end +/** + * Represents the source AWS Disk details. + */ +@interface GTLRVMMigrationService_AwsSourceDiskDetails : GTLRObject + +/** + * Optional. Output only. Disk type. + * + * Likely values: + * @arg @c kGTLRVMMigrationService_AwsSourceDiskDetails_DiskType_Gp2 GP2 disk + * type. (Value: "GP2") + * @arg @c kGTLRVMMigrationService_AwsSourceDiskDetails_DiskType_Gp3 GP3 disk + * type. (Value: "GP3") + * @arg @c kGTLRVMMigrationService_AwsSourceDiskDetails_DiskType_Io1 IO1 disk + * type. (Value: "IO1") + * @arg @c kGTLRVMMigrationService_AwsSourceDiskDetails_DiskType_Io2 IO2 disk + * type. (Value: "IO2") + * @arg @c kGTLRVMMigrationService_AwsSourceDiskDetails_DiskType_Sc1 SC1 disk + * type. (Value: "SC1") + * @arg @c kGTLRVMMigrationService_AwsSourceDiskDetails_DiskType_St1 ST1 disk + * type. (Value: "ST1") + * @arg @c kGTLRVMMigrationService_AwsSourceDiskDetails_DiskType_Standard + * Standard disk type. (Value: "STANDARD") + * @arg @c kGTLRVMMigrationService_AwsSourceDiskDetails_DiskType_TypeUnspecified + * Unspecified AWS disk type. Should not be used. (Value: + * "TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *diskType; + +/** + * Output only. Size in GiB. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *sizeGib; + +/** Optional. Output only. A map of AWS volume tags. */ +@property(nonatomic, strong, nullable) GTLRVMMigrationService_AwsSourceDiskDetails_Tags *tags; + +/** Required. AWS volume ID. */ +@property(nonatomic, copy, nullable) NSString *volumeId; + +@end + + +/** + * Optional. Output only. A map of AWS volume tags. + * + * @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 GTLRVMMigrationService_AwsSourceDiskDetails_Tags : GTLRObject +@end + + /** * Represent the source AWS VM details. */ @@ -2387,6 +2595,13 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_VmwareVmDetails_Power @end +/** + * Request message for 'CancelDiskMigrationJob' request. + */ +@interface GTLRVMMigrationService_CancelDiskMigrationJobRequest : GTLRObject +@end + + /** * Request message for 'CancelImageImportJob' request. */ @@ -2512,6 +2727,57 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_VmwareVmDetails_Power @end +/** + * Compute Engine disk target details. + */ +@interface GTLRVMMigrationService_ComputeEngineDisk : GTLRObject + +/** + * Optional. Target Compute Engine Disk ID. This is the resource ID segment of + * the Compute Engine Disk to create. In the resource name + * compute/v1/projects/{project}/zones/{zone}/disks/disk1 "disk1" is the + * resource ID for the disk. + */ +@property(nonatomic, copy, nullable) NSString *diskId; + +/** + * Required. The disk type to use. + * + * Likely values: + * @arg @c kGTLRVMMigrationService_ComputeEngineDisk_DiskType_ComputeEngineDiskTypeBalanced + * An alternative to SSD persistent disks that balance performance and + * cost. (Value: "COMPUTE_ENGINE_DISK_TYPE_BALANCED") + * @arg @c kGTLRVMMigrationService_ComputeEngineDisk_DiskType_ComputeEngineDiskTypeHyperdiskBalanced + * Hyperdisk balanced disk type. (Value: + * "COMPUTE_ENGINE_DISK_TYPE_HYPERDISK_BALANCED") + * @arg @c kGTLRVMMigrationService_ComputeEngineDisk_DiskType_ComputeEngineDiskTypeSsd + * SSD hard disk type. (Value: "COMPUTE_ENGINE_DISK_TYPE_SSD") + * @arg @c kGTLRVMMigrationService_ComputeEngineDisk_DiskType_ComputeEngineDiskTypeStandard + * A Standard disk type. (Value: "COMPUTE_ENGINE_DISK_TYPE_STANDARD") + * @arg @c kGTLRVMMigrationService_ComputeEngineDisk_DiskType_ComputeEngineDiskTypeUnspecified + * An unspecified disk type. Will be used as STANDARD. (Value: + * "COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *diskType; + +/** + * Optional. Replication zones of the regional disk. Should be of the form: + * projects/{target-project}/locations/{replica-zone} Currently only one + * replica zone is supported. + */ +@property(nonatomic, strong, nullable) NSArray *replicaZones; + +/** + * Required. The Compute Engine zone in which to create the disk. Should be of + * the form: projects/{target-project}/locations/{zone} + * + * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. + */ +@property(nonatomic, copy, nullable) NSString *zoneProperty; + +@end + + /** * ComputeEngineDisksTargetDefaults is a collection of details for creating * Persistent Disks in a target Compute Engine project. @@ -2989,6 +3255,13 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_VmwareVmDetails_Power @end +/** + * CopyingSourceDiskSnapshotStep contains specific step details. + */ +@interface GTLRVMMigrationService_CopyingSourceDiskSnapshotStep : GTLRObject +@end + + /** * CreatingImageStep contains specific step details. */ @@ -2996,6 +3269,13 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_VmwareVmDetails_Power @end +/** + * CreatingSourceDiskSnapshotStep contains specific step details. + */ +@interface GTLRVMMigrationService_CreatingSourceDiskSnapshotStep : GTLRObject +@end + + /** * CutoverForecast holds information about future CutoverJobs of a MigratingVm. */ @@ -3351,6 +3631,127 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_VmwareVmDetails_Power @end +/** + * Describes the disk which will be migrated from the source environment. The + * source disk has to be unattached. + */ +@interface GTLRVMMigrationService_DiskMigrationJob : GTLRObject + +/** Details of the unattached AWS source disk. */ +@property(nonatomic, strong, nullable) GTLRVMMigrationService_AwsSourceDiskDetails *awsSourceDiskDetails; + +/** Output only. The time the DiskMigrationJob resource was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. Provides details on the errors that led to the disk migration + * job's state in case of an error. + */ +@property(nonatomic, strong, nullable) NSArray *errors; + +/** Output only. Identifier. The identifier of the DiskMigrationJob. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. State of the DiskMigrationJob. + * + * Likely values: + * @arg @c kGTLRVMMigrationService_DiskMigrationJob_State_Cancelled The + * migration was cancelled. (Value: "CANCELLED") + * @arg @c kGTLRVMMigrationService_DiskMigrationJob_State_Cancelling + * Migration cancellation was initiated. (Value: "CANCELLING") + * @arg @c kGTLRVMMigrationService_DiskMigrationJob_State_Failed The + * migration process encountered an unrecoverable error and was aborted. + * (Value: "FAILED") + * @arg @c kGTLRVMMigrationService_DiskMigrationJob_State_Ready The initial + * state of the disk migration. In this state the customers can update + * the target details. (Value: "READY") + * @arg @c kGTLRVMMigrationService_DiskMigrationJob_State_Running The + * migration is active, and it's running or scheduled to run. (Value: + * "RUNNING") + * @arg @c kGTLRVMMigrationService_DiskMigrationJob_State_StateUnspecified + * The state is unspecified. This is not in use. (Value: + * "STATE_UNSPECIFIED") + * @arg @c kGTLRVMMigrationService_DiskMigrationJob_State_Succeeded The + * migration completed successfully. (Value: "SUCCEEDED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. The disk migration steps list representing its progress. */ +@property(nonatomic, strong, nullable) NSArray *steps; + +/** Required. Details of the target Disk in Compute Engine. */ +@property(nonatomic, strong, nullable) GTLRVMMigrationService_DiskMigrationJobTargetDetails *targetDetails; + +/** Output only. The last time the DiskMigrationJob resource was updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Details of the target disk in Compute Engine. + */ +@interface GTLRVMMigrationService_DiskMigrationJobTargetDetails : GTLRObject + +/** + * Optional. The encryption to apply to the disk. If the DiskMigrationJob + * parent Source resource has an encryption, this field must be set to the same + * encryption key. + */ +@property(nonatomic, strong, nullable) GTLRVMMigrationService_Encryption *encryption; + +/** Optional. A map of labels to associate with the disk. */ +@property(nonatomic, strong, nullable) GTLRVMMigrationService_DiskMigrationJobTargetDetails_Labels *labels; + +/** Required. The target disk. */ +@property(nonatomic, strong, nullable) GTLRVMMigrationService_ComputeEngineDisk *targetDisk; + +/** + * Required. The name of the resource of type TargetProject which represents + * the Compute Engine project in which to create the disk. Should be of the + * form: projects/{project}/locations/global/targetProjects/{target-project} + */ +@property(nonatomic, copy, nullable) NSString *targetProject; + +@end + + +/** + * Optional. A map of labels to associate with the disk. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRVMMigrationService_DiskMigrationJobTargetDetails_Labels : GTLRObject +@end + + +/** + * DiskMigrationStep holds information about the disk migration step progress. + */ +@interface GTLRVMMigrationService_DiskMigrationStep : GTLRObject + +/** Copying source disk snapshot step. */ +@property(nonatomic, strong, nullable) GTLRVMMigrationService_CopyingSourceDiskSnapshotStep *copyingSourceDiskSnapshot; + +/** Creating source disk snapshot step. */ +@property(nonatomic, strong, nullable) GTLRVMMigrationService_CreatingSourceDiskSnapshotStep *creatingSourceDiskSnapshot; + +/** Output only. The time the step has ended. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** Creating target disk step. */ +@property(nonatomic, strong, nullable) GTLRVMMigrationService_ProvisioningTargetDiskStep *provisioningTargetDisk; + +/** Output only. The time the step has started. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +@end + + /** * Details for a disk only migration. */ @@ -3559,6 +3960,39 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_VmwareVmDetails_Power @end +/** + * Response message for fetchStorageInventory. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "resources" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRVMMigrationService_FetchStorageInventoryResponse : GTLRCollectionObject + +/** + * Output only. A token, which can be sent as `page_token` to retrieve the next + * page. If this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of storage resources in the source. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *resources; + +/** + * Output only. The timestamp when the source was last queried (if the result + * is from the cache). + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * Request message for 'FinalizeMigration' request. */ @@ -3933,6 +4367,37 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_VmwareVmDetails_Power @end +/** + * Response message for 'ListDiskMigrationJobs' request. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "diskMigrationJobs" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRVMMigrationService_ListDiskMigrationJobsResponse : GTLRCollectionObject + +/** + * Output only. The list of the disk migration jobs. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *diskMigrationJobs; + +/** + * Optional. Output only. A token, which can be sent as `page_token` to + * retrieve the next page. If this field is omitted, there are no subsequent + * pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** Output only. Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + /** * Response message for 'ListGroups' request. * @@ -4626,6 +5091,9 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_VmwareVmDetails_Power * @arg @c kGTLRVMMigrationService_MigrationError_Code_CutoverError Migrate * to Virtual Machines encountered an error in cutover operation. (Value: * "CUTOVER_ERROR") + * @arg @c kGTLRVMMigrationService_MigrationError_Code_DiskMigrationError + * Migrate to Virtual Machines encountered an error in disk migration + * operation. (Value: "DISK_MIGRATION_ERROR") * @arg @c kGTLRVMMigrationService_MigrationError_Code_ErrorCodeUnspecified * Default value. This value is not used. (Value: * "ERROR_CODE_UNSPECIFIED") @@ -5005,6 +5473,13 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_VmwareVmDetails_Power @end +/** + * ProvisioningTargetDiskStep contains specific step details. + */ +@interface GTLRVMMigrationService_ProvisioningTargetDiskStep : GTLRObject +@end + + /** * Request message for 'RemoveMigration' request. */ @@ -5141,6 +5616,13 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_VmwareVmDetails_Power @end +/** + * Request message for 'RunDiskMigrationJobRequest' request. + */ +@interface GTLRVMMigrationService_RunDiskMigrationJobRequest : GTLRObject +@end + + /** * A policy for scheduling replications. */ @@ -5323,6 +5805,17 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_VmwareVmDetails_Power @end +/** + * SourceStorageResource describes a storage resource in the source. + */ +@interface GTLRVMMigrationService_SourceStorageResource : GTLRObject + +/** Source AWS volume details. */ +@property(nonatomic, strong, nullable) GTLRVMMigrationService_AwsSourceDiskDetails *awsDiskDetails; + +@end + + /** * Request message for 'StartMigrationRequest' request. */ diff --git a/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceQuery.h b/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceQuery.h index 64cb9353c..c6b985046 100644 --- a/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceQuery.h +++ b/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceQuery.h @@ -27,6 +27,28 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the query classes' properties below. +// ---------------------------------------------------------------------------- +// type + +/** + * The type is disks. + * + * Value: "DISKS" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationServiceTypeDisks; +/** + * The type is snapshots. + * + * Value: "SNAPSHOTS" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationServiceTypeSnapshots; +/** + * The type is unspecified. + * + * Value: "STORAGE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationServiceTypeStorageTypeUnspecified; + // ---------------------------------------------------------------------------- // view @@ -674,8 +696,8 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationServiceViewUtilizationReportV @interface GTLRVMMigrationServiceQuery_ProjectsLocationsList : GTLRVMMigrationServiceQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Unless explicitly documented otherwise, don't use this unsupported + * field which is primarily intended for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; @@ -1153,6 +1175,276 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationServiceViewUtilizationReportV @end +/** + * Cancels the disk migration job. + * + * Method: vmmigration.projects.locations.sources.diskMigrationJobs.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMMigrationServiceCloudPlatform + */ +@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsCancel : GTLRVMMigrationServiceQuery + +/** Required. The name of the DiskMigrationJob. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRVMMigrationService_Operation. + * + * Cancels the disk migration job. + * + * @param object The @c GTLRVMMigrationService_CancelDiskMigrationJobRequest to + * include in the query. + * @param name Required. The name of the DiskMigrationJob. + * + * @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsCancel + */ ++ (instancetype)queryWithObject:(GTLRVMMigrationService_CancelDiskMigrationJobRequest *)object + name:(NSString *)name; + +@end + +/** + * Creates a new disk migration job in a given Source. + * + * Method: vmmigration.projects.locations.sources.diskMigrationJobs.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMMigrationServiceCloudPlatform + */ +@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsCreate : GTLRVMMigrationServiceQuery + +/** + * Required. The DiskMigrationJob identifier. The maximum length of this value + * is 63 characters. Valid characters are lower case Latin letters, digits and + * hyphen. It must start with a Latin letter and must not end with a hyphen. + */ +@property(nonatomic, copy, nullable) NSString *diskMigrationJobId; + +/** Required. The DiskMigrationJob's parent. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. A request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request timed out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRVMMigrationService_Operation. + * + * Creates a new disk migration job in a given Source. + * + * @param object The @c GTLRVMMigrationService_DiskMigrationJob to include in + * the query. + * @param parent Required. The DiskMigrationJob's parent. + * + * @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsCreate + */ ++ (instancetype)queryWithObject:(GTLRVMMigrationService_DiskMigrationJob *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single DiskMigrationJob. + * + * Method: vmmigration.projects.locations.sources.diskMigrationJobs.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMMigrationServiceCloudPlatform + */ +@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsDelete : GTLRVMMigrationServiceQuery + +/** Required. The name of the DiskMigrationJob. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRVMMigrationService_Operation. + * + * Deletes a single DiskMigrationJob. + * + * @param name Required. The name of the DiskMigrationJob. + * + * @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets details of a single DiskMigrationJob. + * + * Method: vmmigration.projects.locations.sources.diskMigrationJobs.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMMigrationServiceCloudPlatform + */ +@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsGet : GTLRVMMigrationServiceQuery + +/** Required. The name of the DiskMigrationJob. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRVMMigrationService_DiskMigrationJob. + * + * Gets details of a single DiskMigrationJob. + * + * @param name Required. The name of the DiskMigrationJob. + * + * @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists DiskMigrationJobs in a given Source. + * + * Method: vmmigration.projects.locations.sources.diskMigrationJobs.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMMigrationServiceCloudPlatform + */ +@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsList : GTLRVMMigrationServiceQuery + +/** Optional. The filter request (according to AIP-160). */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Optional. Ordering of the result list. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. The maximum number of disk migration jobs to return. The service + * may return fewer than this value. If unspecified, at most 500 disk migration + * jobs will be returned. The maximum value is 1000; values above 1000 will be + * coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListDiskMigrationJobs` + * call. Provide this to retrieve the subsequent page. When paginating, all + * parameters provided to `ListDiskMigrationJobs` except `page_size` must match + * the call that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent, which owns this collection of DiskMigrationJobs. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRVMMigrationService_ListDiskMigrationJobsResponse. + * + * Lists DiskMigrationJobs in a given Source. + * + * @param parent Required. The parent, which owns this collection of + * DiskMigrationJobs. + * + * @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsList + * + * @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 DiskMigrationJob. + * + * Method: vmmigration.projects.locations.sources.diskMigrationJobs.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMMigrationServiceCloudPlatform + */ +@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsPatch : GTLRVMMigrationServiceQuery + +/** Output only. Identifier. The identifier of the DiskMigrationJob. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. A request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request timed out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Optional. Field mask is used to specify the fields to be overwritten in the + * DiskMigrationJob 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 a mask equivalent to all fields that are populated (have a non-empty + * value), will be implied. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRVMMigrationService_Operation. + * + * Updates the parameters of a single DiskMigrationJob. + * + * @param object The @c GTLRVMMigrationService_DiskMigrationJob to include in + * the query. + * @param name Output only. Identifier. The identifier of the DiskMigrationJob. + * + * @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsPatch + */ ++ (instancetype)queryWithObject:(GTLRVMMigrationService_DiskMigrationJob *)object + name:(NSString *)name; + +@end + +/** + * Runs the disk migration job. + * + * Method: vmmigration.projects.locations.sources.diskMigrationJobs.run + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMMigrationServiceCloudPlatform + */ +@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsRun : GTLRVMMigrationServiceQuery + +/** Required. The name of the DiskMigrationJob. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRVMMigrationService_Operation. + * + * Runs the disk migration job. + * + * @param object The @c GTLRVMMigrationService_RunDiskMigrationJobRequest to + * include in the query. + * @param name Required. The name of the DiskMigrationJob. + * + * @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesDiskMigrationJobsRun + */ ++ (instancetype)queryWithObject:(GTLRVMMigrationService_RunDiskMigrationJobRequest *)object + name:(NSString *)name; + +@end + /** * List remote source's inventory of VMs. The remote source is the onprem * vCenter (remote in the sense it's not in Compute Engine). The inventory @@ -1210,6 +1502,77 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationServiceViewUtilizationReportV @end +/** + * List remote source's inventory of storage resources. The remote source is + * another cloud vendor (e.g. AWS, Azure). The inventory describes the list of + * existing storage resources in that source. Note that this operation lists + * the resources on the remote source, as opposed to listing the MigratingVms + * resources in the vmmigration service. + * + * Method: vmmigration.projects.locations.sources.fetchStorageInventory + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMMigrationServiceCloudPlatform + */ +@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesFetchStorageInventory : GTLRVMMigrationServiceQuery + +/** + * Optional. If this flag is set to true, the source will be queried instead of + * using cached results. Using this flag will make the call slower. + */ +@property(nonatomic, assign) BOOL forceRefresh; + +/** + * Optional. The maximum number of VMs to return. The service may return fewer + * than this value. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `FetchStorageInventory` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `FetchStorageInventory` must match the call + * that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The name of the Source. */ +@property(nonatomic, copy, nullable) NSString *source; + +/** + * Required. The type of the storage inventory to fetch. + * + * Likely values: + * @arg @c kGTLRVMMigrationServiceTypeStorageTypeUnspecified The type is + * unspecified. (Value: "STORAGE_TYPE_UNSPECIFIED") + * @arg @c kGTLRVMMigrationServiceTypeDisks The type is disks. (Value: + * "DISKS") + * @arg @c kGTLRVMMigrationServiceTypeSnapshots The type is snapshots. + * (Value: "SNAPSHOTS") + */ +@property(nonatomic, copy, nullable) NSString *type; + +/** + * Fetches a @c GTLRVMMigrationService_FetchStorageInventoryResponse. + * + * List remote source's inventory of storage resources. The remote source is + * another cloud vendor (e.g. AWS, Azure). The inventory describes the list of + * existing storage resources in that source. Note that this operation lists + * the resources on the remote source, as opposed to listing the MigratingVms + * resources in the vmmigration service. + * + * @param source Required. The name of the Source. + * + * @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesFetchStorageInventory + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithSource:(NSString *)source; + +@end + /** * Gets details of a single Source. * diff --git a/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsObjects.m b/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsObjects.m index bded1c760..238710602 100644 --- a/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsObjects.m +++ b/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsObjects.m @@ -2109,8 +2109,8 @@ @implementation GTLRWalletobjects_Media @implementation GTLRWalletobjects_MediaRequestInfo @dynamic currentBytes, customData, diffObjectVersion, finalStatus, - notificationType, requestId, requestReceivedParamsServingInfo, - totalBytes, totalBytesIsEstimated; + notificationType, physicalHeaders, requestId, + requestReceivedParamsServingInfo, totalBytes, totalBytesIsEstimated; @end diff --git a/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h index a1d5f7666..16881bea2 100644 --- a/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h +++ b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h @@ -7708,6 +7708,15 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri */ @property(nonatomic, copy, nullable) NSString *notificationType; +/** + * The physical headers provided by RequestReceivedParameters in Scotty + * request. type is uploader_service.KeyValuePairs. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *physicalHeaders; + /** The Scotty request ID. */ @property(nonatomic, copy, nullable) NSString *requestId; diff --git a/Sources/GeneratedServices/Workflows/Public/GoogleAPIClientForREST/GTLRWorkflowsQuery.h b/Sources/GeneratedServices/Workflows/Public/GoogleAPIClientForREST/GTLRWorkflowsQuery.h index 741821028..d59538fd0 100644 --- a/Sources/GeneratedServices/Workflows/Public/GoogleAPIClientForREST/GTLRWorkflowsQuery.h +++ b/Sources/GeneratedServices/Workflows/Public/GoogleAPIClientForREST/GTLRWorkflowsQuery.h @@ -71,8 +71,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRWorkflowsQuery_ProjectsLocationsList : GTLRWorkflowsQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m b/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m index 45b3bbb85..b4b8adc93 100644 --- a/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m +++ b/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m @@ -131,6 +131,11 @@ NSString * const kGTLRWorkloadManager_ResourceStatus_State_Deleting = @"DELETING"; NSString * const kGTLRWorkloadManager_ResourceStatus_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRWorkloadManager_Rule.ruleType +NSString * const kGTLRWorkloadManager_Rule_RuleType_Baseline = @"BASELINE"; +NSString * const kGTLRWorkloadManager_Rule_RuleType_Custom = @"CUSTOM"; +NSString * const kGTLRWorkloadManager_Rule_RuleType_RuleTypeUnspecified = @"RULE_TYPE_UNSPECIFIED"; + // GTLRWorkloadManager_RuleExecutionResult.state NSString * const kGTLRWorkloadManager_RuleExecutionResult_State_StateFailure = @"STATE_FAILURE"; NSString * const kGTLRWorkloadManager_RuleExecutionResult_State_StateSkipped = @"STATE_SKIPPED"; @@ -223,7 +228,7 @@ NSString * const kGTLRWorkloadManager_ServiceStates_State_ConfigFailure = @"CONFIG_FAILURE"; NSString * const kGTLRWorkloadManager_ServiceStates_State_Disabled = @"DISABLED"; NSString * const kGTLRWorkloadManager_ServiceStates_State_Enabled = @"ENABLED"; -NSString * const kGTLRWorkloadManager_ServiceStates_State_FunctionailityFailure = @"FUNCTIONAILITY_FAILURE"; +NSString * const kGTLRWorkloadManager_ServiceStates_State_FunctionalityFailure = @"FUNCTIONALITY_FAILURE"; NSString * const kGTLRWorkloadManager_ServiceStates_State_IamFailure = @"IAM_FAILURE"; NSString * const kGTLRWorkloadManager_ServiceStates_State_StateUnspecified = @"STATE_UNSPECIFIED"; @@ -951,7 +956,8 @@ @implementation GTLRWorkloadManager_ResourceStatus @implementation GTLRWorkloadManager_Rule @dynamic descriptionProperty, displayName, errorMessage, name, primaryCategory, - remediation, revisionId, secondaryCategory, severity, tags, uri; + remediation, revisionId, ruleType, secondaryCategory, severity, tags, + uri; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; diff --git a/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h b/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h index 3a582e645..c0e3ce932 100644 --- a/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h +++ b/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h @@ -656,6 +656,28 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ResourceStatus_State_Del */ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ResourceStatus_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRWorkloadManager_Rule.ruleType + +/** + * Baseline rules + * + * Value: "BASELINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Rule_RuleType_Baseline; +/** + * Custom rules + * + * Value: "CUSTOM" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Rule_RuleType_Custom; +/** + * Not specified. + * + * Value: "RULE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Rule_RuleType_RuleTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRWorkloadManager_RuleExecutionResult.state @@ -1137,9 +1159,9 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ServiceStates_State_Enab /** * The state means the service has functionality errors. * - * Value: "FUNCTIONAILITY_FAILURE" + * Value: "FUNCTIONALITY_FAILURE" */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ServiceStates_State_FunctionailityFailure; +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ServiceStates_State_FunctionalityFailure; /** * The state means the service has IAM permission errors. * @@ -1647,7 +1669,7 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfile_Workload @property(nonatomic, strong, nullable) GTLRWorkloadManager_InstanceProperties *instanceProperties; /** - * Output only. ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc. + * Output only. * * Likely values: * @arg @c kGTLRWorkloadManager_CloudResource_Kind_ResourceKindAddress This @@ -1681,7 +1703,10 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfile_Workload */ @property(nonatomic, copy, nullable) NSString *kind; -/** Output only. resource name */ +/** + * Output only. resource name Example: + * compute.googleapis.com/projects/wlm-obs-dev/zones/us-central1-a/instances/sap-pri + */ @property(nonatomic, copy, nullable) NSString *name; @end @@ -2047,7 +2072,7 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfile_Workload /** The insights data for the agent status. */ @property(nonatomic, strong, nullable) GTLRWorkloadManager_AgentStatus *agentStatus; -/** Required. The instance id where the insight is generated from */ +/** Optional. The instance id where the insight is generated from */ @property(nonatomic, copy, nullable) NSString *instanceId; /** @@ -2617,6 +2642,19 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfile_Workload /** Output only. the version of the rule */ @property(nonatomic, copy, nullable) NSString *revisionId; +/** + * The type of the rule. + * + * Likely values: + * @arg @c kGTLRWorkloadManager_Rule_RuleType_Baseline Baseline rules (Value: + * "BASELINE") + * @arg @c kGTLRWorkloadManager_Rule_RuleType_Custom Custom rules (Value: + * "CUSTOM") + * @arg @c kGTLRWorkloadManager_Rule_RuleType_RuleTypeUnspecified Not + * specified. (Value: "RULE_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *ruleType; + /** the secondary category */ @property(nonatomic, copy, nullable) NSString *secondaryCategory; @@ -3480,9 +3518,9 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfile_Workload * the service disabled. (Value: "DISABLED") * @arg @c kGTLRWorkloadManager_ServiceStates_State_Enabled The state means * the service has no error. (Value: "ENABLED") - * @arg @c kGTLRWorkloadManager_ServiceStates_State_FunctionailityFailure The + * @arg @c kGTLRWorkloadManager_ServiceStates_State_FunctionalityFailure The * state means the service has functionality errors. (Value: - * "FUNCTIONAILITY_FAILURE") + * "FUNCTIONALITY_FAILURE") * @arg @c kGTLRWorkloadManager_ServiceStates_State_IamFailure The state * means the service has IAM permission errors. (Value: "IAM_FAILURE") * @arg @c kGTLRWorkloadManager_ServiceStates_State_StateUnspecified The @@ -3700,7 +3738,7 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfile_Workload @property(nonatomic, copy, nullable) NSString *agentVersion; /** - * Required. instance_name lists the human readable name of the instance that + * Optional. instance_name lists the human readable name of the instance that * the data comes from. */ @property(nonatomic, copy, nullable) NSString *instanceName; diff --git a/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerQuery.h b/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerQuery.h index 37030526c..bf285a40c 100644 --- a/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerQuery.h +++ b/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerQuery.h @@ -651,8 +651,8 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManagerEvaluationTypeSqlServer; @interface GTLRWorkloadManagerQuery_ProjectsLocationsList : GTLRWorkloadManagerQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Unless explicitly documented otherwise, don't use this unsupported + * field which is primarily intended for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes;