diff --git a/GoogleAPIClientForREST.podspec b/GoogleAPIClientForREST.podspec index 5a202a79f..121900eb6 100644 --- a/GoogleAPIClientForREST.podspec +++ b/GoogleAPIClientForREST.podspec @@ -224,6 +224,11 @@ Pod::Spec.new do |s| sp.source_files = 'Sources/GeneratedServices/Area120Tables/**/*.{h,m}' sp.public_header_files = 'Sources/GeneratedServices/Area120Tables/Public/GoogleAPIClientForREST/*.h' end + s.subspec 'AreaInsights' do |sp| + sp.dependency 'GoogleAPIClientForREST/Core' + sp.source_files = 'Sources/GeneratedServices/AreaInsights/**/*.{h,m}' + sp.public_header_files = 'Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/*.h' + end s.subspec 'ArtifactRegistry' do |sp| sp.dependency 'GoogleAPIClientForREST/Core' sp.source_files = 'Sources/GeneratedServices/ArtifactRegistry/**/*.{h,m}' @@ -1284,6 +1289,11 @@ Pod::Spec.new do |s| sp.source_files = 'Sources/GeneratedServices/SecurityCommandCenter/**/*.{h,m}' sp.public_header_files = 'Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/*.h' end + s.subspec 'SecurityPosture' do |sp| + sp.dependency 'GoogleAPIClientForREST/Core' + sp.source_files = 'Sources/GeneratedServices/SecurityPosture/**/*.{h,m}' + sp.public_header_files = 'Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/*.h' + end s.subspec 'ServerlessVPCAccess' do |sp| sp.dependency 'GoogleAPIClientForREST/Core' sp.source_files = 'Sources/GeneratedServices/ServerlessVPCAccess/**/*.{h,m}' diff --git a/Package.swift b/Package.swift index bb3f57b29..83d750038 100644 --- a/Package.swift +++ b/Package.swift @@ -149,6 +149,10 @@ let package = Package( name: "GoogleAPIClientForREST_Area120Tables", targets: ["GoogleAPIClientForREST_Area120Tables"] ), + .library( + name: "GoogleAPIClientForREST_AreaInsights", + targets: ["GoogleAPIClientForREST_AreaInsights"] + ), .library( name: "GoogleAPIClientForREST_ArtifactRegistry", targets: ["GoogleAPIClientForREST_ArtifactRegistry"] @@ -997,6 +1001,10 @@ let package = Package( name: "GoogleAPIClientForREST_SecurityCommandCenter", targets: ["GoogleAPIClientForREST_SecurityCommandCenter"] ), + .library( + name: "GoogleAPIClientForREST_SecurityPosture", + targets: ["GoogleAPIClientForREST_SecurityPosture"] + ), .library( name: "GoogleAPIClientForREST_ServerlessVPCAccess", targets: ["GoogleAPIClientForREST_ServerlessVPCAccess"] @@ -1417,6 +1425,12 @@ let package = Package( path: "Sources/GeneratedServices/Area120Tables", publicHeadersPath: "Public" ), + .target( + name: "GoogleAPIClientForREST_AreaInsights", + dependencies: ["GoogleAPIClientForRESTCore"], + path: "Sources/GeneratedServices/AreaInsights", + publicHeadersPath: "Public" + ), .target( name: "GoogleAPIClientForREST_ArtifactRegistry", dependencies: ["GoogleAPIClientForRESTCore"], @@ -2689,6 +2703,12 @@ let package = Package( path: "Sources/GeneratedServices/SecurityCommandCenter", publicHeadersPath: "Public" ), + .target( + name: "GoogleAPIClientForREST_SecurityPosture", + dependencies: ["GoogleAPIClientForRESTCore"], + path: "Sources/GeneratedServices/SecurityPosture", + publicHeadersPath: "Public" + ), .target( name: "GoogleAPIClientForREST_ServerlessVPCAccess", dependencies: ["GoogleAPIClientForRESTCore"], diff --git a/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m b/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m index baf07cdfb..ceb81a260 100644 --- a/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m +++ b/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m @@ -343,10 +343,10 @@ @implementation GTLRAIPlatformNotebooks_ImageRelease // @implementation GTLRAIPlatformNotebooks_Instance -@dynamic createTime, creator, disableProxyAccess, gceSetup, healthInfo, - healthState, identifier, instanceOwners, labels, name, proxyUri, - satisfiesPzi, satisfiesPzs, state, thirdPartyProxyUrl, updateTime, - upgradeHistory; +@dynamic createTime, creator, disableProxyAccess, enableThirdPartyIdentity, + gceSetup, healthInfo, healthState, identifier, instanceOwners, labels, + name, proxyUri, satisfiesPzi, satisfiesPzs, state, thirdPartyProxyUrl, + updateTime, upgradeHistory; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; diff --git a/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h b/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h index 2eca5e5f0..7b11333e3 100644 --- a/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h +++ b/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h @@ -1168,6 +1168,14 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_ */ @property(nonatomic, strong, nullable) NSNumber *disableProxyAccess; +/** + * Optional. Flag that specifies that a notebook can be accessed with third + * party identity provider. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableThirdPartyIdentity; + /** * Optional. Compute Engine setup for the notebook. Uses notebook-defined * fields. diff --git a/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksQuery.h b/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksQuery.h index b6134bdf7..7e28889b6 100644 --- a/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksQuery.h +++ b/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksQuery.h @@ -838,7 +838,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: notebooks.projects.locations.operations.cancel @@ -861,7 +861,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRAIPlatformNotebooks_CancelOperationRequest to diff --git a/Sources/GeneratedServices/APIGateway/Public/GoogleAPIClientForREST/GTLRAPIGatewayObjects.h b/Sources/GeneratedServices/APIGateway/Public/GoogleAPIClientForREST/GTLRAPIGatewayObjects.h index 256d2dd9d..5614d0f95 100644 --- a/Sources/GeneratedServices/APIGateway/Public/GoogleAPIClientForREST/GTLRAPIGatewayObjects.h +++ b/Sources/GeneratedServices/APIGateway/Public/GoogleAPIClientForREST/GTLRAPIGatewayObjects.h @@ -1023,8 +1023,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIGateway_Gateway_State_Updating; /** * Output only. Identifies whether the user has requested cancellation of the * operation. Operations that have successfully been cancelled have - * Operation.error value with a google.rpc.Status.code of 1, corresponding to - * `Code.CANCELLED`. + * google.longrunning.Operation.error value with a google.rpc.Status.code of 1, + * corresponding to `Code.CANCELLED`. * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/APIGateway/Public/GoogleAPIClientForREST/GTLRAPIGatewayQuery.h b/Sources/GeneratedServices/APIGateway/Public/GoogleAPIClientForREST/GTLRAPIGatewayQuery.h index 829f4e6ac..5a6b60ce4 100644 --- a/Sources/GeneratedServices/APIGateway/Public/GoogleAPIClientForREST/GTLRAPIGatewayQuery.h +++ b/Sources/GeneratedServices/APIGateway/Public/GoogleAPIClientForREST/GTLRAPIGatewayQuery.h @@ -1111,7 +1111,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIGatewayViewFull; * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: apigateway.projects.locations.operations.cancel @@ -1134,7 +1134,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIGatewayViewFull; * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRAPIGateway_CancelOperationRequest to include in the diff --git a/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerObjects.h b/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerObjects.h index 785213528..9056dd65a 100644 --- a/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerObjects.h +++ b/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerObjects.h @@ -388,9 +388,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_ServicePerimeter_Pe // GTLRAccessContextManager_SessionSettings.sessionReauthMethod /** - * The user will prompted to perform regular login. Users who are enrolled for - * two-step verification and haven't chosen to "Remember this computer" will be - * prompted for their second factor. + * The user will be prompted to perform regular login. Users who are enrolled + * for two-step verification and haven't chosen "Remember this computer" will + * be prompted for their second factor. * * Value: "LOGIN" */ @@ -402,14 +402,15 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SessionSettings_Ses */ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SessionSettings_SessionReauthMethod_Password; /** - * The user will be prompted to autheticate using their security key. If no - * security key has been configured, then we will fallback to LOGIN. + * The user will be prompted to authenticate using their security key. If no + * security key has been configured, then authentication will fallback to + * LOGIN. * * Value: "SECURITY_KEY" */ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SessionSettings_SessionReauthMethod_SecurityKey; /** - * If method undefined in API, we will use LOGIN by default. + * If method is undefined in the API, LOGIN will be used by default. * * Value: "SESSION_REAUTH_METHOD_UNSPECIFIED" */ @@ -1399,14 +1400,16 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_Su */ @property(nonatomic, strong, nullable) NSArray *scopedAccessSettings; -/** Optional. GCSL policy for the group key. */ +/** + * Optional. The Google Cloud session length (GCSL) policy for the group key. + */ @property(nonatomic, strong, nullable) GTLRAccessContextManager_SessionSettings *sessionSettings; @end /** - * Metadata of GCP Access Binding Long Running Operations. + * Metadata of Google Cloud Access Binding Long Running Operations. */ @interface GTLRAccessContextManager_GcpUserAccessBindingOperationMetadata : GTLRObject @end @@ -2274,44 +2277,44 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_Su /** * Optional. How long a user is allowed to take between actions before a new - * access token must be issued. Presently only set for Cloud Apps. + * access token must be issued. Only set for Google Cloud apps. */ @property(nonatomic, strong, nullable) GTLRDuration *maxInactivity; /** * Optional. The session length. Setting this field to zero is equal to - * disabling. Session. Also can set infinite session by flipping the enabled - * bit to false below. If use_oidc_max_age is true, for OIDC apps, the session + * disabling session. Also can set infinite session by flipping the enabled bit + * to false below. If use_oidc_max_age is true, for OIDC apps, the session * length will be the minimum of this field and OIDC max_age param. */ @property(nonatomic, strong, nullable) GTLRDuration *sessionLength; /** - * Optional. Big red button to turn off GCSL. When false, all fields set above - * will be disregarded and the session length is basically infinite. + * Optional. This field enables or disables Google Cloud session length. When + * false, all fields set above will be disregarded and the session length is + * basically infinite. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *sessionLengthEnabled; /** - * Optional. Session method when users GCP session is up. + * Optional. Session method when user's Google Cloud session is up. * * Likely values: * @arg @c kGTLRAccessContextManager_SessionSettings_SessionReauthMethod_Login - * The user will prompted to perform regular login. Users who are - * enrolled for two-step verification and haven't chosen to "Remember - * this computer" will be prompted for their second factor. (Value: - * "LOGIN") + * The user will be prompted to perform regular login. Users who are + * enrolled for two-step verification and haven't chosen "Remember this + * computer" will be prompted for their second factor. (Value: "LOGIN") * @arg @c kGTLRAccessContextManager_SessionSettings_SessionReauthMethod_Password * The user will be prompted for their password. (Value: "PASSWORD") * @arg @c kGTLRAccessContextManager_SessionSettings_SessionReauthMethod_SecurityKey - * The user will be prompted to autheticate using their security key. If - * no security key has been configured, then we will fallback to LOGIN. - * (Value: "SECURITY_KEY") + * The user will be prompted to authenticate using their security key. If + * no security key has been configured, then authentication will fallback + * to LOGIN. (Value: "SECURITY_KEY") * @arg @c kGTLRAccessContextManager_SessionSettings_SessionReauthMethod_SessionReauthMethodUnspecified - * If method undefined in API, we will use LOGIN by default. (Value: - * "SESSION_REAUTH_METHOD_UNSPECIFIED") + * If method is undefined in the API, LOGIN will be used by default. + * (Value: "SESSION_REAUTH_METHOD_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *sessionReauthMethod; diff --git a/Sources/GeneratedServices/AdSensePlatform/Public/GoogleAPIClientForREST/GTLRAdSensePlatformObjects.h b/Sources/GeneratedServices/AdSensePlatform/Public/GoogleAPIClientForREST/GTLRAdSensePlatformObjects.h index 2484b5644..04f415165 100644 --- a/Sources/GeneratedServices/AdSensePlatform/Public/GoogleAPIClientForREST/GTLRAdSensePlatformObjects.h +++ b/Sources/GeneratedServices/AdSensePlatform/Public/GoogleAPIClientForREST/GTLRAdSensePlatformObjects.h @@ -426,13 +426,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAdSensePlatform_Site_State_StateUnspecif @interface GTLRAdSensePlatform_TimeZone : GTLRObject /** - * IANA Time Zone Database time zone, e.g. "America/New_York". + * IANA Time Zone Database time zone. For example "America/New_York". * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @property(nonatomic, copy, nullable) NSString *identifier; -/** Optional. IANA Time Zone Database version number, e.g. "2019a". */ +/** Optional. IANA Time Zone Database version number. For example "2019a". */ @property(nonatomic, copy, nullable) NSString *version; @end diff --git a/Sources/GeneratedServices/Adsense/GTLRAdsenseQuery.m b/Sources/GeneratedServices/Adsense/GTLRAdsenseQuery.m index cff3b1703..9e8f48f7a 100644 --- a/Sources/GeneratedServices/Adsense/GTLRAdsenseQuery.m +++ b/Sources/GeneratedServices/Adsense/GTLRAdsenseQuery.m @@ -55,6 +55,7 @@ NSString * const kGTLRAdsenseDimensionsDomainName = @"DOMAIN_NAME"; NSString * const kGTLRAdsenseDimensionsDomainRegistrant = @"DOMAIN_REGISTRANT"; NSString * const kGTLRAdsenseDimensionsHostedAdClientId = @"HOSTED_AD_CLIENT_ID"; +NSString * const kGTLRAdsenseDimensionsHostedCustomChannelId = @"HOSTED_CUSTOM_CHANNEL_ID"; NSString * const kGTLRAdsenseDimensionsMonth = @"MONTH"; NSString * const kGTLRAdsenseDimensionsOwnedSiteDomainName = @"OWNED_SITE_DOMAIN_NAME"; NSString * const kGTLRAdsenseDimensionsOwnedSiteId = @"OWNED_SITE_ID"; diff --git a/Sources/GeneratedServices/Adsense/Public/GoogleAPIClientForREST/GTLRAdsenseObjects.h b/Sources/GeneratedServices/Adsense/Public/GoogleAPIClientForREST/GTLRAdsenseObjects.h index 82f85f18a..4e2663dd6 100644 --- a/Sources/GeneratedServices/Adsense/Public/GoogleAPIClientForREST/GTLRAdsenseObjects.h +++ b/Sources/GeneratedServices/Adsense/Public/GoogleAPIClientForREST/GTLRAdsenseObjects.h @@ -1482,13 +1482,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAdsense_Site_State_StateUnspecified; @interface GTLRAdsense_TimeZone : GTLRObject /** - * IANA Time Zone Database time zone, e.g. "America/New_York". + * IANA Time Zone Database time zone. For example "America/New_York". * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @property(nonatomic, copy, nullable) NSString *identifier; -/** Optional. IANA Time Zone Database version number, e.g. "2019a". */ +/** Optional. IANA Time Zone Database version number. For example "2019a". */ @property(nonatomic, copy, nullable) NSString *version; @end diff --git a/Sources/GeneratedServices/Adsense/Public/GoogleAPIClientForREST/GTLRAdsenseQuery.h b/Sources/GeneratedServices/Adsense/Public/GoogleAPIClientForREST/GTLRAdsenseQuery.h index 890b18e1a..8a109c72d 100644 --- a/Sources/GeneratedServices/Adsense/Public/GoogleAPIClientForREST/GTLRAdsenseQuery.h +++ b/Sources/GeneratedServices/Adsense/Public/GoogleAPIClientForREST/GTLRAdsenseQuery.h @@ -281,6 +281,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAdsenseDimensionsDomainRegistrant; * Value: "HOSTED_AD_CLIENT_ID" */ FOUNDATION_EXTERN NSString * const kGTLRAdsenseDimensionsHostedAdClientId; +/** + * Unique ID of a hosted client's custom channel. + * + * Value: "HOSTED_CUSTOM_CHANNEL_ID" + */ +FOUNDATION_EXTERN NSString * const kGTLRAdsenseDimensionsHostedCustomChannelId; /** * Month dimension in YYYY-MM format (e.g. "2010-02"). * @@ -1815,6 +1821,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAdsenseReportingTimeZoneReportingTimeZon * @arg @c kGTLRAdsenseDimensionsCustomChannelId Unique ID of a custom * channel. The members of this dimension match the values from * CustomChannel.reporting_dimension_id. (Value: "CUSTOM_CHANNEL_ID") + * @arg @c kGTLRAdsenseDimensionsHostedCustomChannelId Unique ID of a hosted + * client's custom channel. (Value: "HOSTED_CUSTOM_CHANNEL_ID") * @arg @c kGTLRAdsenseDimensionsOwnedSiteDomainName Domain name of a * verified site (e.g. "example.com"). The members of this dimension * match the values from Site.domain. (Value: "OWNED_SITE_DOMAIN_NAME") @@ -2234,6 +2242,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAdsenseReportingTimeZoneReportingTimeZon * @arg @c kGTLRAdsenseDimensionsCustomChannelId Unique ID of a custom * channel. The members of this dimension match the values from * CustomChannel.reporting_dimension_id. (Value: "CUSTOM_CHANNEL_ID") + * @arg @c kGTLRAdsenseDimensionsHostedCustomChannelId Unique ID of a hosted + * client's custom channel. (Value: "HOSTED_CUSTOM_CHANNEL_ID") * @arg @c kGTLRAdsenseDimensionsOwnedSiteDomainName Domain name of a * verified site (e.g. "example.com"). The members of this dimension * match the values from Site.domain. (Value: "OWNED_SITE_DOMAIN_NAME") diff --git a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m index 339f278bc..1e845770b 100644 --- a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m +++ b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m @@ -258,6 +258,18 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_ProhibitedContent = @"PROHIBITED_CONTENT"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Safety = @"SAFETY"; +// GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig.mediaResolution +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_MediaResolution_MediaResolutionHigh = @"MEDIA_RESOLUTION_HIGH"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_MediaResolution_MediaResolutionLow = @"MEDIA_RESOLUTION_LOW"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_MediaResolution_MediaResolutionMedium = @"MEDIA_RESOLUTION_MEDIUM"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_MediaResolution_MediaResolutionUnspecified = @"MEDIA_RESOLUTION_UNSPECIFIED"; + +// GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig.responseModalities +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_ResponseModalities_Audio = @"AUDIO"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_ResponseModalities_Image = @"IMAGE"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_ResponseModalities_ModalityUnspecified = @"MODALITY_UNSPECIFIED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_ResponseModalities_Text = @"TEXT"; + // GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode.modelRoutingPreference NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode_ModelRoutingPreference_Balanced = @"BALANCED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode_ModelRoutingPreference_PrioritizeCost = @"PRIORITIZE_COST"; @@ -301,6 +313,7 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_AcceleratorTypeUnspecified = @"ACCELERATOR_TYPE_UNSPECIFIED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaA10080gb = @"NVIDIA_A100_80GB"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaH10080gb = @"NVIDIA_H100_80GB"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaH100Mega80gb = @"NVIDIA_H100_MEGA_80GB"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaL4 = @"NVIDIA_L4"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaTeslaA100 = @"NVIDIA_TESLA_A100"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaTeslaK80 = @"NVIDIA_TESLA_K80"; @@ -3697,7 +3710,10 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluateInstancesRequest rougeInput, safetyInput, summarizationHelpfulnessInput, summarizationQualityInput, summarizationVerbosityInput, toolCallValidInput, toolNameMatchInput, toolParameterKeyMatchInput, - toolParameterKvMatchInput; + toolParameterKvMatchInput, trajectoryAnyOrderMatchInput, + trajectoryExactMatchInput, trajectoryInOrderMatchInput, + trajectoryPrecisionInput, trajectoryRecallInput, + trajectorySingleToolUseInput; @end @@ -3716,7 +3732,10 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1EvaluateInstancesResponse rougeResults, safetyResult, summarizationHelpfulnessResult, summarizationQualityResult, summarizationVerbosityResult, toolCallValidResults, toolNameMatchResults, - toolParameterKeyMatchResults, toolParameterKvMatchResults; + toolParameterKeyMatchResults, toolParameterKvMatchResults, + trajectoryAnyOrderMatchResults, trajectoryExactMatchResults, + trajectoryInOrderMatchResults, trajectoryPrecisionResults, + trajectoryRecallResults, trajectorySingleToolUseResults; @end @@ -5425,12 +5444,13 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponseUsa @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig @dynamic audioTimestamp, candidateCount, frequencyPenalty, logprobs, - maxOutputTokens, presencePenalty, responseLogprobs, responseMimeType, - responseSchema, routingConfig, seed, stopSequences, temperature, topK, - topP; + maxOutputTokens, mediaResolution, presencePenalty, responseLogprobs, + responseMimeType, responseModalities, responseSchema, routingConfig, + seed, speechConfig, stopSequences, temperature, topK, topP; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"responseModalities" : [NSString class], @"stopSequences" : [NSString class] }; return map; @@ -5858,7 +5878,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ImportModelEvaluationReque @implementation GTLRAiplatform_GoogleCloudAiplatformV1ImportRagFilesConfig @dynamic gcsSource, googleDriveSource, jiraSource, maxEmbeddingRequestsPerMin, partialFailureBigquerySink, partialFailureGcsSink, - ragFileTransformationConfig, slackSource; + ragFileTransformationConfig, sharePointSources, slackSource; @end @@ -7764,8 +7784,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ModelBaseModelSource @implementation GTLRAiplatform_GoogleCloudAiplatformV1ModelContainerSpec @dynamic args, command, deploymentTimeout, env, grpcPorts, healthProbe, - healthRoute, imageUri, ports, predictRoute, sharedMemorySizeMb, - startupProbe; + healthRoute, imageUri, livenessProbe, ports, predictRoute, + sharedMemorySizeMb, startupProbe; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -8712,11 +8732,12 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1NotebookIdleShutdownConfig // @implementation GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntime -@dynamic createTime, descriptionProperty, displayName, encryptionSpec, - expirationTime, healthState, idleShutdownConfig, isUpgradable, labels, - name, networkTags, notebookRuntimeTemplateRef, notebookRuntimeType, - proxyUri, runtimeState, runtimeUser, satisfiesPzi, satisfiesPzs, - serviceAccount, updateTime, version; +@dynamic createTime, dataPersistentDiskSpec, descriptionProperty, displayName, + encryptionSpec, eucConfig, expirationTime, healthState, + idleShutdownConfig, isUpgradable, labels, machineSpec, name, + networkSpec, networkTags, notebookRuntimeTemplateRef, + notebookRuntimeType, proxyUri, runtimeState, runtimeUser, satisfiesPzi, + satisfiesPzs, serviceAccount, shieldedVmConfig, updateTime, version; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -9305,6 +9326,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1Port @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1PrebuiltVoiceConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1PrebuiltVoiceConfig +@dynamic voiceName; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1PredefinedSplit @@ -9434,7 +9465,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1PrivateServiceConnectConfi // @implementation GTLRAiplatform_GoogleCloudAiplatformV1Probe -@dynamic exec, periodSeconds, timeoutSeconds; +@dynamic exec, grpc, httpGet, periodSeconds, tcpSocket, timeoutSeconds; @end @@ -9456,6 +9487,54 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ProbeExecAction @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ProbeGrpcAction +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ProbeGrpcAction +@dynamic port, service; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ProbeHttpGetAction +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ProbeHttpGetAction +@dynamic host, httpHeaders, path, port, scheme; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"httpHeaders" : [GTLRAiplatform_GoogleCloudAiplatformV1ProbeHttpHeader class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ProbeHttpHeader +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ProbeHttpHeader +@dynamic name, value; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ProbeTcpSocketAction +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ProbeTcpSocketAction +@dynamic host, port; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1PscAutomatedEndpoints @@ -10104,7 +10183,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1RagEmbeddingModelConfigVer @implementation GTLRAiplatform_GoogleCloudAiplatformV1RagFile @dynamic createTime, descriptionProperty, directUploadSource, displayName, fileStatus, gcsSource, googleDriveSource, jiraSource, name, - slackSource, updateTime; + sharePointSources, slackSource, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -10179,7 +10258,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1RagRetrievalConfigFilter // @implementation GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfig -@dynamic apiAuth, pinecone, ragEmbeddingModelConfig, vertexVectorSearch; +@dynamic apiAuth, pinecone, ragEmbeddingModelConfig, ragManagedDb, + vertexVectorSearch; @end @@ -10193,6 +10273,15 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigPinecone @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDb +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDb +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigVertexVectorSearch @@ -13533,6 +13622,35 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ServiceAccountSpec @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1SharePointSources +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1SharePointSources +@dynamic sharePointSources; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"sharePointSources" : [GTLRAiplatform_GoogleCloudAiplatformV1SharePointSourcesSharePointSource class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1SharePointSourcesSharePointSource +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1SharePointSourcesSharePointSource +@dynamic clientId, clientSecret, driveId, driveName, fileId, sharepointFolderId, + sharepointFolderPath, sharepointSiteName, tenantId; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1ShieldedVmConfig @@ -13620,6 +13738,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1SpecialistPool @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1SpeechConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1SpeechConfig +@dynamic voiceConfig; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1StartNotebookRuntimeOperationMetadata @@ -13721,6 +13849,30 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1StreamingReadFeatureValues @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest +@dynamic classMethod, input; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest_Input +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest_Input + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1StreamRawPredictRequest @@ -14579,7 +14731,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1TokensInfo // @implementation GTLRAiplatform_GoogleCloudAiplatformV1Tool -@dynamic functionDeclarations, googleSearchRetrieval, retrieval; +@dynamic functionDeclarations, googleSearch, googleSearchRetrieval, retrieval; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -14591,6 +14743,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1Tool @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ToolCall +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ToolCall +@dynamic toolInput, toolName; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1ToolCallValidInput @@ -14666,6 +14828,15 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ToolConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ToolGoogleSearch +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ToolGoogleSearch +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1ToolNameMatchInput @@ -14899,6 +15070,415 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1Trajectory +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1Trajectory +@dynamic toolCalls; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"toolCalls" : [GTLRAiplatform_GoogleCloudAiplatformV1ToolCall class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput +@dynamic instances, metricSpec; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"instances" : [GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInstance class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInstance +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInstance +@dynamic predictedTrajectory, referenceTrajectory; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchMetricValue +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchMetricValue +@dynamic score; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchResults +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchResults +@dynamic trajectoryAnyOrderMatchMetricValues; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"trajectoryAnyOrderMatchMetricValues" : [GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchMetricValue class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchSpec +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchSpec +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchInput +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchInput +@dynamic instances, metricSpec; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"instances" : [GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchInstance class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchInstance +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchInstance +@dynamic predictedTrajectory, referenceTrajectory; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchMetricValue +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchMetricValue +@dynamic score; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchResults +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchResults +@dynamic trajectoryExactMatchMetricValues; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"trajectoryExactMatchMetricValues" : [GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchMetricValue class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchSpec +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchSpec +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchInput +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchInput +@dynamic instances, metricSpec; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"instances" : [GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchInstance class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchInstance +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchInstance +@dynamic predictedTrajectory, referenceTrajectory; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchMetricValue +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchMetricValue +@dynamic score; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchResults +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchResults +@dynamic trajectoryInOrderMatchMetricValues; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"trajectoryInOrderMatchMetricValues" : [GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchMetricValue class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchSpec +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchSpec +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionInput +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionInput +@dynamic instances, metricSpec; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"instances" : [GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionInstance class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionInstance +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionInstance +@dynamic predictedTrajectory, referenceTrajectory; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionMetricValue +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionMetricValue +@dynamic score; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionResults +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionResults +@dynamic trajectoryPrecisionMetricValues; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"trajectoryPrecisionMetricValues" : [GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionMetricValue class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionSpec +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionSpec +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallInput +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallInput +@dynamic instances, metricSpec; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"instances" : [GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallInstance class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallInstance +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallInstance +@dynamic predictedTrajectory, referenceTrajectory; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallMetricValue +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallMetricValue +@dynamic score; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallResults +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallResults +@dynamic trajectoryRecallMetricValues; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"trajectoryRecallMetricValues" : [GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallMetricValue class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallSpec +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallSpec +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseInput +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseInput +@dynamic instances, metricSpec; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"instances" : [GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseInstance class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseInstance +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseInstance +@dynamic predictedTrajectory; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseMetricValue +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseMetricValue +@dynamic score; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseResults +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseResults +@dynamic trajectorySingleToolUseMetricValues; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"trajectorySingleToolUseMetricValues" : [GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseMetricValue class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseSpec +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseSpec +@dynamic toolName; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1Trial @@ -15446,6 +16026,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1VideoMetadata @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1VoiceConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1VoiceConfig +@dynamic prebuiltVoiceConfig; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1WorkerPoolSpec diff --git a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m index 213d64e03..14a2e79e6 100644 --- a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m +++ b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m @@ -9878,6 +9878,101 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRAiplatformQuery_ProjectsLocationsRagCorporaOperationsCancel + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:cancel"; + GTLRAiplatformQuery_ProjectsLocationsRagCorporaOperationsCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleProtobufEmpty class]; + query.loggingName = @"aiplatform.projects.locations.ragCorpora.operations.cancel"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsRagCorporaOperationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsRagCorporaOperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleProtobufEmpty class]; + query.loggingName = @"aiplatform.projects.locations.ragCorpora.operations.delete"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsRagCorporaOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsRagCorporaOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.ragCorpora.operations.get"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsRagCorporaOperationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/operations"; + GTLRAiplatformQuery_ProjectsLocationsRagCorporaOperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningListOperationsResponse class]; + query.loggingName = @"aiplatform.projects.locations.ragCorpora.operations.list"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsRagCorporaOperationsWait + +@dynamic name, timeout; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:wait"; + GTLRAiplatformQuery_ProjectsLocationsRagCorporaOperationsWait *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.ragCorpora.operations.wait"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_ProjectsLocationsRagCorporaPatch @dynamic name; @@ -9989,6 +10084,101 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRAiplatformQuery_ProjectsLocationsRagCorporaRagFilesOperationsCancel + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:cancel"; + GTLRAiplatformQuery_ProjectsLocationsRagCorporaRagFilesOperationsCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleProtobufEmpty class]; + query.loggingName = @"aiplatform.projects.locations.ragCorpora.ragFiles.operations.cancel"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsRagCorporaRagFilesOperationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsRagCorporaRagFilesOperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleProtobufEmpty class]; + query.loggingName = @"aiplatform.projects.locations.ragCorpora.ragFiles.operations.delete"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsRagCorporaRagFilesOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsRagCorporaRagFilesOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.ragCorpora.ragFiles.operations.get"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsRagCorporaRagFilesOperationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/operations"; + GTLRAiplatformQuery_ProjectsLocationsRagCorporaRagFilesOperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningListOperationsResponse class]; + query.loggingName = @"aiplatform.projects.locations.ragCorpora.ragFiles.operations.list"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ProjectsLocationsRagCorporaRagFilesOperationsWait + +@dynamic name, timeout; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:wait"; + GTLRAiplatformQuery_ProjectsLocationsRagCorporaRagFilesOperationsWait *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.ragCorpora.ragFiles.operations.wait"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_ProjectsLocationsReasoningEnginesCreate @dynamic parent; @@ -10222,6 +10412,33 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1QueryReas @end +@implementation GTLRAiplatformQuery_ProjectsLocationsReasoningEnginesStreamQuery + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest *)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}:streamQuery"; + GTLRAiplatformQuery_ProjectsLocationsReasoningEnginesStreamQuery *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleApiHttpBody class]; + query.loggingName = @"aiplatform.projects.locations.reasoningEngines.streamQuery"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_ProjectsLocationsRetrieveContexts @dynamic parent; diff --git a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h index e6f14b58c..58ccd3187 100644 --- a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h +++ b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h @@ -436,6 +436,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1PointwiseMetricResult; @class GTLRAiplatform_GoogleCloudAiplatformV1PointwiseMetricSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1Port; +@class GTLRAiplatform_GoogleCloudAiplatformV1PrebuiltVoiceConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1PredefinedSplit; @class GTLRAiplatform_GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1PredictSchemata; @@ -444,6 +445,10 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1PrivateServiceConnectConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1Probe; @class GTLRAiplatform_GoogleCloudAiplatformV1ProbeExecAction; +@class GTLRAiplatform_GoogleCloudAiplatformV1ProbeGrpcAction; +@class GTLRAiplatform_GoogleCloudAiplatformV1ProbeHttpGetAction; +@class GTLRAiplatform_GoogleCloudAiplatformV1ProbeHttpHeader; +@class GTLRAiplatform_GoogleCloudAiplatformV1ProbeTcpSocketAction; @class GTLRAiplatform_GoogleCloudAiplatformV1PscAutomatedEndpoints; @class GTLRAiplatform_GoogleCloudAiplatformV1PSCAutomationConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelCallToAction; @@ -491,6 +496,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1RagRetrievalConfigFilter; @class GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigPinecone; +@class GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDb; @class GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigVertexVectorSearch; @class GTLRAiplatform_GoogleCloudAiplatformV1RayLogsSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1RayMetricSpec; @@ -650,13 +656,17 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequestStatsAnomaliesObjective; @class GTLRAiplatform_GoogleCloudAiplatformV1Segment; @class GTLRAiplatform_GoogleCloudAiplatformV1ServiceAccountSpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1SharePointSources; +@class GTLRAiplatform_GoogleCloudAiplatformV1SharePointSourcesSharePointSource; @class GTLRAiplatform_GoogleCloudAiplatformV1ShieldedVmConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1SlackSource; @class GTLRAiplatform_GoogleCloudAiplatformV1SlackSourceSlackChannels; @class GTLRAiplatform_GoogleCloudAiplatformV1SlackSourceSlackChannelsSlackChannel; @class GTLRAiplatform_GoogleCloudAiplatformV1SmoothGradConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1SpecialistPool; +@class GTLRAiplatform_GoogleCloudAiplatformV1SpeechConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1StratifiedSplit; +@class GTLRAiplatform_GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest_Input; @class GTLRAiplatform_GoogleCloudAiplatformV1StringArray; @class GTLRAiplatform_GoogleCloudAiplatformV1StructFieldValue; @class GTLRAiplatform_GoogleCloudAiplatformV1StructValue; @@ -715,12 +725,14 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1TimestampSplit; @class GTLRAiplatform_GoogleCloudAiplatformV1TokensInfo; @class GTLRAiplatform_GoogleCloudAiplatformV1Tool; +@class GTLRAiplatform_GoogleCloudAiplatformV1ToolCall; @class GTLRAiplatform_GoogleCloudAiplatformV1ToolCallValidInput; @class GTLRAiplatform_GoogleCloudAiplatformV1ToolCallValidInstance; @class GTLRAiplatform_GoogleCloudAiplatformV1ToolCallValidMetricValue; @class GTLRAiplatform_GoogleCloudAiplatformV1ToolCallValidResults; @class GTLRAiplatform_GoogleCloudAiplatformV1ToolCallValidSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1ToolConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1ToolGoogleSearch; @class GTLRAiplatform_GoogleCloudAiplatformV1ToolNameMatchInput; @class GTLRAiplatform_GoogleCloudAiplatformV1ToolNameMatchInstance; @class GTLRAiplatform_GoogleCloudAiplatformV1ToolNameMatchMetricValue; @@ -739,6 +751,37 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1TrainingConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline; @class GTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline_Labels; +@class GTLRAiplatform_GoogleCloudAiplatformV1Trajectory; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInstance; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchMetricValue; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchResults; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchSpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchInput; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchInstance; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchMetricValue; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchResults; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchSpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchInput; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchInstance; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchMetricValue; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchResults; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchSpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionInput; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionInstance; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionMetricValue; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionResults; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionSpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallInput; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallInstance; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallMetricValue; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallResults; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallSpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseInput; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseInstance; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseMetricValue; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseResults; +@class GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1Trial; @class GTLRAiplatform_GoogleCloudAiplatformV1Trial_WebAccessUris; @class GTLRAiplatform_GoogleCloudAiplatformV1TrialContext; @@ -757,6 +800,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1VertexRagStore; @class GTLRAiplatform_GoogleCloudAiplatformV1VertexRagStoreRagResource; @class GTLRAiplatform_GoogleCloudAiplatformV1VideoMetadata; +@class GTLRAiplatform_GoogleCloudAiplatformV1VoiceConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1WorkerPoolSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1WriteFeatureValuesPayload; @class GTLRAiplatform_GoogleCloudAiplatformV1WriteFeatureValuesPayload_FeatureValues; @@ -2076,6 +2120,62 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Genera */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Safety; +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig.mediaResolution + +/** + * Media resolution set to high (zoomed reframing with 256 tokens). + * + * Value: "MEDIA_RESOLUTION_HIGH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_MediaResolution_MediaResolutionHigh; +/** + * Media resolution set to low (64 tokens). + * + * Value: "MEDIA_RESOLUTION_LOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_MediaResolution_MediaResolutionLow; +/** + * Media resolution set to medium (256 tokens). + * + * Value: "MEDIA_RESOLUTION_MEDIUM" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_MediaResolution_MediaResolutionMedium; +/** + * Media resolution has not been set. + * + * Value: "MEDIA_RESOLUTION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_MediaResolution_MediaResolutionUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig.responseModalities + +/** + * Audio modality. + * + * Value: "AUDIO" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_ResponseModalities_Audio; +/** + * Image modality. + * + * Value: "IMAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_ResponseModalities_Image; +/** + * Unspecified modality. Will be processed as text. + * + * Value: "MODALITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_ResponseModalities_ModalityUnspecified; +/** + * Text modality. + * + * Value: "TEXT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_ResponseModalities_Text; + // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode.modelRoutingPreference @@ -2296,6 +2396,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Machin * Value: "NVIDIA_H100_80GB" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaH10080gb; +/** + * Nvidia H100 Mega 80Gb GPU. + * + * Value: "NVIDIA_H100_MEGA_80GB" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaH100Mega80gb; /** * Nvidia L4 GPU. * @@ -5603,12 +5709,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @interface GTLRAiplatform_CloudAiLargeModelsVisionVideo : GTLRObject -/** - * Base 64 encoded video bytes. - * - * Contains encoded binary data; GTLRBase64 can encode/decode (probably - * web-safe format). - */ +/** Base 64 encoded video bytes. */ @property(nonatomic, copy, nullable) NSString *encodedVideo; /** Video encoding, for example "video/mp4". */ @@ -7304,7 +7405,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning /** - * Content blob. It's preferred to send as text directly rather than raw bytes. + * Content blob. */ @interface GTLRAiplatform_GoogleCloudAiplatformV1Blob : GTLRObject @@ -9494,7 +9595,10 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, copy, nullable) NSString *modelReference; -/** Output only. Identifier. The resource name of the Dataset. */ +/** + * Output only. Identifier. The resource name of the Dataset. Format: + * `projects/{project}/locations/{location}/datasets/{dataset}` + */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -11142,6 +11246,24 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning /** Input for tool parameter key value match metric. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ToolParameterKVMatchInput *toolParameterKvMatchInput; +/** Input for trajectory match any order metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput *trajectoryAnyOrderMatchInput; + +/** Input for trajectory exact match metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchInput *trajectoryExactMatchInput; + +/** Input for trajectory in order match metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchInput *trajectoryInOrderMatchInput; + +/** Input for trajectory precision metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionInput *trajectoryPrecisionInput; + +/** Input for trajectory recall metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallInput *trajectoryRecallInput; + +/** Input for trajectory single tool use metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseInput *trajectorySingleToolUseInput; + @end @@ -11231,6 +11353,24 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning /** Results for tool parameter key value match metric. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ToolParameterKVMatchResults *toolParameterKvMatchResults; +/** Result for trajectory any order match metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchResults *trajectoryAnyOrderMatchResults; + +/** Result for trajectory exact match metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchResults *trajectoryExactMatchResults; + +/** Result for trajectory in order match metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchResults *trajectoryInOrderMatchResults; + +/** Result for trajectory precision metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionResults *trajectoryPrecisionResults; + +/** Results for trajectory recall metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallResults *trajectoryRecallResults; + +/** Results for trajectory single tool use metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseResults *trajectorySingleToolUseResults; + @end @@ -15198,6 +15338,25 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, strong, nullable) NSNumber *maxOutputTokens; +/** + * Optional. If specified, the media resolution specified will be used. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_MediaResolution_MediaResolutionHigh + * Media resolution set to high (zoomed reframing with 256 tokens). + * (Value: "MEDIA_RESOLUTION_HIGH") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_MediaResolution_MediaResolutionLow + * Media resolution set to low (64 tokens). (Value: + * "MEDIA_RESOLUTION_LOW") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_MediaResolution_MediaResolutionMedium + * Media resolution set to medium (256 tokens). (Value: + * "MEDIA_RESOLUTION_MEDIUM") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig_MediaResolution_MediaResolutionUnspecified + * Media resolution has not been set. (Value: + * "MEDIA_RESOLUTION_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *mediaResolution; + /** * Optional. Positive penalties. * @@ -15221,6 +15380,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, copy, nullable) NSString *responseMimeType; +/** Optional. The modalities of the response. */ +@property(nonatomic, strong, nullable) NSArray *responseModalities; + /** * Optional. The `Schema` object allows the definition of input and output data * types. These types can be objects, but also primitives and arrays. @@ -15241,6 +15403,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, strong, nullable) NSNumber *seed; +/** Optional. The speech generation config. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1SpeechConfig *speechConfig; + /** Optional. Stop sequences. */ @property(nonatomic, strong, nullable) NSArray *stopSequences; @@ -16113,6 +16278,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning /** Specifies the transformation config for RagFiles. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1RagFileTransformationConfig *ragFileTransformationConfig; +/** SharePoint sources. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1SharePointSources *sharePointSources; + /** Slack channels with their corresponding access tokens. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1SlackSource *slackSource; @@ -18352,6 +18520,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning * Nvidia A100 80GB GPU. (Value: "NVIDIA_A100_80GB") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaH10080gb * Nvidia H100 80Gb GPU. (Value: "NVIDIA_H100_80GB") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaH100Mega80gb + * Nvidia H100 Mega 80Gb GPU. (Value: "NVIDIA_H100_MEGA_80GB") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaL4 * Nvidia L4 GPU. (Value: "NVIDIA_L4") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaTeslaA100 @@ -19424,6 +19594,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, copy, nullable) NSString *imageUri; +/** Immutable. Specification for Kubernetes liveness probe. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Probe *livenessProbe; + /** * Immutable. List of ports to expose from the container. Vertex AI sends any * prediction requests that it receives to the first port on this list. Vertex @@ -21811,6 +21984,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning /** Output only. Timestamp when this NotebookRuntime was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * Output only. The specification of persistent disk attached to the notebook + * runtime as data disk storage. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1PersistentDiskSpec *dataPersistentDiskSpec; + /** * The description of the NotebookRuntime. * @@ -21829,6 +22008,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EncryptionSpec *encryptionSpec; +/** Output only. EUC configuration of the notebook runtime. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1NotebookEucConfig *eucConfig; + /** * Output only. Timestamp when this NotebookRuntime will be expired: 1. System * Predefined NotebookRuntime: 24 hours after creation. After expiration, @@ -21881,9 +22063,18 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntime_Labels *labels; +/** + * Output only. The specification of a single machine used by the notebook + * runtime. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1MachineSpec *machineSpec; + /** Output only. The resource name of the NotebookRuntime. */ @property(nonatomic, copy, nullable) NSString *name; +/** Output only. Network spec of the notebook runtime. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1NetworkSpec *networkSpec; + /** * Optional. The Compute Engine tags to add to runtime (see [Tagging * instances](https://cloud.google.com/vpc/docs/add-remove-network-tags)). @@ -21958,10 +22149,19 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning @property(nonatomic, strong, nullable) NSNumber *satisfiesPzs; /** - * Output only. The service account that the NotebookRuntime workload runs as. + * Output only. Deprecated: This field is no longer used and the "Vertex AI + * Notebook Service Account" + * (service-PROJECT_NUMBER\@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is + * used for the runtime workload identity. See + * https://cloud.google.com/iam/docs/service-agents#vertex-ai-notebook-service-account + * for more details. The service account that the NotebookRuntime workload runs + * as. */ @property(nonatomic, copy, nullable) NSString *serviceAccount; +/** Output only. Runtime Shielded VM spec. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ShieldedVmConfig *shieldedVmConfig; + /** * Output only. Timestamp when this NotebookRuntime was most recently updated. */ @@ -22046,11 +22246,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1NotebookIdleShutdownConfig *idleShutdownConfig; /** - * Output only. The default template to use if not specified. + * Output only. Deprecated: This field has no behavior. Use + * notebook_runtime_type = 'ONE_CLICK' instead. The default template to use if + * not specified. * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *isDefault; +@property(nonatomic, strong, nullable) NSNumber *isDefault GTLR_DEPRECATED; /** * The labels with user-defined metadata to organize the @@ -22095,14 +22297,20 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning @property(nonatomic, copy, nullable) NSString *notebookRuntimeType; /** - * The service account that the runtime workload runs as. You can use any - * service account within the same project, but you must have the service - * account user permission to use the instance. If not specified, the [Compute - * Engine default service + * Deprecated: This field is ignored and the "Vertex AI Notebook Service + * Account" + * (service-PROJECT_NUMBER\@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is + * used for the runtime workload identity. See + * https://cloud.google.com/iam/docs/service-agents#vertex-ai-notebook-service-account + * for more details. For NotebookExecutionJob, use + * NotebookExecutionJob.service_account instead. The service account that the + * runtime workload runs as. You can use any service account within the same + * project, but you must have the service account user permission to use the + * instance. If not specified, the [Compute Engine default service * account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) * is used. */ -@property(nonatomic, copy, nullable) NSString *serviceAccount; +@property(nonatomic, copy, nullable) NSString *serviceAccount GTLR_DEPRECATED; /** Optional. Immutable. Runtime Shielded VM spec. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ShieldedVmConfig *shieldedVmConfig; @@ -23293,6 +23501,17 @@ GTLR_DEPRECATED @end +/** + * The configuration for the prebuilt speaker to use. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1PrebuiltVoiceConfig : GTLRObject + +/** The name of the preset voice to use. */ +@property(nonatomic, copy, nullable) NSString *voiceName; + +@end + + /** * Assigns input data to training, validation, and test sets based on the value * of a provided key. Supported only for tabular Datasets. @@ -23601,6 +23820,15 @@ GTLR_DEPRECATED /** ExecAction probes the health of a container by executing a command. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ProbeExecAction *exec; +/** GrpcAction probes the health of a container by sending a gRPC request. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ProbeGrpcAction *grpc; + +/** + * HttpGetAction probes the health of a container by sending an HTTP GET + * request. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ProbeHttpGetAction *httpGet; + /** * How often (in seconds) to perform the probe. Default to 10 seconds. Minimum * value is 1. Must be less than timeout_seconds. Maps to Kubernetes probe @@ -23610,6 +23838,12 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *periodSeconds; +/** + * TcpSocketAction probes the health of a container by opening a TCP socket + * connection. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ProbeTcpSocketAction *tcpSocket; + /** * Number of seconds after which the probe times out. Defaults to 1 second. * Minimum value is 1. Must be greater or equal to period_seconds. Maps to @@ -23640,6 +23874,102 @@ GTLR_DEPRECATED @end +/** + * GrpcAction checks the health of a container using a gRPC service. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ProbeGrpcAction : GTLRObject + +/** + * Port number of the gRPC service. Number must be in the range 1 to 65535. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *port; + +/** + * Service is the name of the service to place in the gRPC HealthCheckRequest + * (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If + * this is not specified, the default behavior is defined by gRPC. + */ +@property(nonatomic, copy, nullable) NSString *service; + +@end + + +/** + * HttpGetAction describes an action based on HTTP Get requests. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ProbeHttpGetAction : GTLRObject + +/** + * Host name to connect to, defaults to the model serving container's IP. You + * probably want to set "Host" in httpHeaders instead. + */ +@property(nonatomic, copy, nullable) NSString *host; + +/** Custom headers to set in the request. HTTP allows repeated headers. */ +@property(nonatomic, strong, nullable) NSArray *httpHeaders; + +/** Path to access on the HTTP server. */ +@property(nonatomic, copy, nullable) NSString *path; + +/** + * Number of the port to access on the container. Number must be in the range 1 + * to 65535. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *port; + +/** + * Scheme to use for connecting to the host. Defaults to HTTP. Acceptable + * values are "HTTP" or "HTTPS". + */ +@property(nonatomic, copy, nullable) NSString *scheme; + +@end + + +/** + * HttpHeader describes a custom header to be used in HTTP probes + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ProbeHttpHeader : GTLRObject + +/** + * The header field name. This will be canonicalized upon output, so + * case-variant names will be understood as the same header. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The header field value */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + + +/** + * TcpSocketAction probes the health of a container by opening a TCP socket + * connection. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ProbeTcpSocketAction : GTLRObject + +/** + * Optional: Host name to connect to, defaults to the model serving container's + * IP. + */ +@property(nonatomic, copy, nullable) NSString *host; + +/** + * Number of the port to access on the container. Number must be in the range 1 + * to 65535. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *port; + +@end + + /** * PscAutomatedEndpoints defines the output of the forwarding rule * automatically created by each PscAutomationConfig. @@ -24870,6 +25200,9 @@ GTLR_DEPRECATED /** Output only. The resource name of the RagFile. */ @property(nonatomic, copy, nullable) NSString *name; +/** The RagFile is imported from a SharePoint source. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1SharePointSources *sharePointSources; + /** The RagFile is imported from a Slack channel. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1SlackSource *slackSource; @@ -24996,6 +25329,9 @@ GTLR_DEPRECATED /** Optional. Immutable. The embedding model config of the Vector DB. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1RagEmbeddingModelConfig *ragEmbeddingModelConfig; +/** The config for the RAG-managed Vector DB. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDb *ragManagedDb; + /** The config for the Vertex Vector Search. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigVertexVectorSearch *vertexVectorSearch; @@ -25013,6 +25349,13 @@ GTLR_DEPRECATED @end +/** + * The config for the default RAG-managed Vector DB. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDb : GTLRObject +@end + + /** * The config for the Vertex Vector Search. */ @@ -32539,6 +32882,59 @@ GTLR_DEPRECATED @end +/** + * The SharePointSources to pass to ImportRagFiles. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1SharePointSources : GTLRObject + +/** The SharePoint sources. */ +@property(nonatomic, strong, nullable) NSArray *sharePointSources; + +@end + + +/** + * An individual SharePointSource. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1SharePointSourcesSharePointSource : GTLRObject + +/** + * The Application ID for the app registered in Microsoft Azure Portal. The + * application must also be configured with MS Graph permissions + * "Files.ReadAll", "Sites.ReadAll" and BrowserSiteLists.Read.All. + */ +@property(nonatomic, copy, nullable) NSString *clientId; + +/** The application secret for the app registered in Azure. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ApiAuthApiKeyConfig *clientSecret; + +/** The ID of the drive to download from. */ +@property(nonatomic, copy, nullable) NSString *driveId; + +/** The name of the drive to download from. */ +@property(nonatomic, copy, nullable) NSString *driveName; + +/** Output only. The SharePoint file id. Output only. */ +@property(nonatomic, copy, nullable) NSString *fileId; + +/** The ID of the SharePoint folder to download from. */ +@property(nonatomic, copy, nullable) NSString *sharepointFolderId; + +/** The path of the SharePoint folder to download from. */ +@property(nonatomic, copy, nullable) NSString *sharepointFolderPath; + +/** + * The name of the SharePoint site to download from. This can be the site name + * or the site id. + */ +@property(nonatomic, copy, nullable) NSString *sharepointSiteName; + +/** Unique identifier of the Azure Active Directory Instance. */ +@property(nonatomic, copy, nullable) NSString *tenantId; + +@end + + /** * A set of Shielded Instance options. See [Images using supported Shielded VM * features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm). @@ -32691,6 +33087,17 @@ GTLR_DEPRECATED @end +/** + * The speech generation config. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1SpeechConfig : GTLRObject + +/** The configuration for the speaker to use. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1VoiceConfig *voiceConfig; + +@end + + /** * Metadata information for NotebookService.StartNotebookRuntime. */ @@ -32827,6 +33234,39 @@ GTLR_DEPRECATED @end +/** + * Request message for ReasoningEngineExecutionService.StreamQuery. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest : GTLRObject + +/** + * Optional. Class method to be used for the stream query. It is optional and + * defaults to "stream_query" if unspecified. + */ +@property(nonatomic, copy, nullable) NSString *classMethod; + +/** + * Optional. Input content provided by users in JSON object format. Examples + * include text query, function calling parameters, media bytes, etc. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest_Input *input; + +@end + + +/** + * Optional. Input content provided by users in JSON object format. Examples + * include text query, function calling parameters, media bytes, etc. + * + * @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_GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest_Input : GTLRObject +@end + + /** * Request message for PredictionService.StreamRawPredict. */ @@ -34885,6 +35325,12 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSArray *functionDeclarations; +/** + * Optional. GoogleSearch tool type. Tool to support Google Search in Model. + * Powered by Google. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ToolGoogleSearch *googleSearch; + /** * Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that * is powered by Google search. @@ -34901,6 +35347,20 @@ GTLR_DEPRECATED @end +/** + * Spec for tool call. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ToolCall : GTLRObject + +/** Optional. Spec for tool input */ +@property(nonatomic, copy, nullable) NSString *toolInput; + +/** Required. Spec for tool name */ +@property(nonatomic, copy, nullable) NSString *toolName; + +@end + + /** * Input for tool call valid metric. */ @@ -34973,6 +35433,14 @@ GTLR_DEPRECATED @end +/** + * GoogleSearch tool type. Tool to support Google Search in Model. Powered by + * Google. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ToolGoogleSearch : GTLRObject +@end + + /** * Input for tool name match metric. */ @@ -35361,6 +35829,394 @@ GTLR_DEPRECATED @end +/** + * Spec for trajectory. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1Trajectory : GTLRObject + +/** Required. Tool calls in the trajectory. */ +@property(nonatomic, strong, nullable) NSArray *toolCalls; + +@end + + +/** + * Instances and metric spec for TrajectoryAnyOrderMatch metric. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput : GTLRObject + +/** Required. Repeated TrajectoryAnyOrderMatch instance. */ +@property(nonatomic, strong, nullable) NSArray *instances; + +/** Required. Spec for TrajectoryAnyOrderMatch metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchSpec *metricSpec; + +@end + + +/** + * Spec for TrajectoryAnyOrderMatch instance. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInstance : GTLRObject + +/** Required. Spec for predicted tool call trajectory. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Trajectory *predictedTrajectory; + +/** Required. Spec for reference tool call trajectory. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Trajectory *referenceTrajectory; + +@end + + +/** + * TrajectoryAnyOrderMatch metric value for an instance. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchMetricValue : GTLRObject + +/** + * Output only. TrajectoryAnyOrderMatch score. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +@end + + +/** + * Results for TrajectoryAnyOrderMatch metric. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchResults : GTLRObject + +/** Output only. TrajectoryAnyOrderMatch metric values. */ +@property(nonatomic, strong, nullable) NSArray *trajectoryAnyOrderMatchMetricValues; + +@end + + +/** + * Spec for TrajectoryAnyOrderMatch metric - returns 1 if all tool calls in the + * reference trajectory appear in the predicted trajectory in any order, else + * 0. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryAnyOrderMatchSpec : GTLRObject +@end + + +/** + * Instances and metric spec for TrajectoryExactMatch metric. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchInput : GTLRObject + +/** Required. Repeated TrajectoryExactMatch instance. */ +@property(nonatomic, strong, nullable) NSArray *instances; + +/** Required. Spec for TrajectoryExactMatch metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchSpec *metricSpec; + +@end + + +/** + * Spec for TrajectoryExactMatch instance. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchInstance : GTLRObject + +/** Required. Spec for predicted tool call trajectory. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Trajectory *predictedTrajectory; + +/** Required. Spec for reference tool call trajectory. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Trajectory *referenceTrajectory; + +@end + + +/** + * TrajectoryExactMatch metric value for an instance. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchMetricValue : GTLRObject + +/** + * Output only. TrajectoryExactMatch score. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +@end + + +/** + * Results for TrajectoryExactMatch metric. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchResults : GTLRObject + +/** Output only. TrajectoryExactMatch metric values. */ +@property(nonatomic, strong, nullable) NSArray *trajectoryExactMatchMetricValues; + +@end + + +/** + * Spec for TrajectoryExactMatch metric - returns 1 if tool calls in the + * reference trajectory exactly match the predicted trajectory, else 0. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryExactMatchSpec : GTLRObject +@end + + +/** + * Instances and metric spec for TrajectoryInOrderMatch metric. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchInput : GTLRObject + +/** Required. Repeated TrajectoryInOrderMatch instance. */ +@property(nonatomic, strong, nullable) NSArray *instances; + +/** Required. Spec for TrajectoryInOrderMatch metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchSpec *metricSpec; + +@end + + +/** + * Spec for TrajectoryInOrderMatch instance. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchInstance : GTLRObject + +/** Required. Spec for predicted tool call trajectory. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Trajectory *predictedTrajectory; + +/** Required. Spec for reference tool call trajectory. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Trajectory *referenceTrajectory; + +@end + + +/** + * TrajectoryInOrderMatch metric value for an instance. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchMetricValue : GTLRObject + +/** + * Output only. TrajectoryInOrderMatch score. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +@end + + +/** + * Results for TrajectoryInOrderMatch metric. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchResults : GTLRObject + +/** Output only. TrajectoryInOrderMatch metric values. */ +@property(nonatomic, strong, nullable) NSArray *trajectoryInOrderMatchMetricValues; + +@end + + +/** + * Spec for TrajectoryInOrderMatch metric - returns 1 if tool calls in the + * reference trajectory appear in the predicted trajectory in the same order, + * else 0. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryInOrderMatchSpec : GTLRObject +@end + + +/** + * Instances and metric spec for TrajectoryPrecision metric. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionInput : GTLRObject + +/** Required. Repeated TrajectoryPrecision instance. */ +@property(nonatomic, strong, nullable) NSArray *instances; + +/** Required. Spec for TrajectoryPrecision metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionSpec *metricSpec; + +@end + + +/** + * Spec for TrajectoryPrecision instance. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionInstance : GTLRObject + +/** Required. Spec for predicted tool call trajectory. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Trajectory *predictedTrajectory; + +/** Required. Spec for reference tool call trajectory. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Trajectory *referenceTrajectory; + +@end + + +/** + * TrajectoryPrecision metric value for an instance. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionMetricValue : GTLRObject + +/** + * Output only. TrajectoryPrecision score. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +@end + + +/** + * Results for TrajectoryPrecision metric. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionResults : GTLRObject + +/** Output only. TrajectoryPrecision metric values. */ +@property(nonatomic, strong, nullable) NSArray *trajectoryPrecisionMetricValues; + +@end + + +/** + * Spec for TrajectoryPrecision metric - returns a float score based on average + * precision of individual tool calls. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryPrecisionSpec : GTLRObject +@end + + +/** + * Instances and metric spec for TrajectoryRecall metric. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallInput : GTLRObject + +/** Required. Repeated TrajectoryRecall instance. */ +@property(nonatomic, strong, nullable) NSArray *instances; + +/** Required. Spec for TrajectoryRecall metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallSpec *metricSpec; + +@end + + +/** + * Spec for TrajectoryRecall instance. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallInstance : GTLRObject + +/** Required. Spec for predicted tool call trajectory. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Trajectory *predictedTrajectory; + +/** Required. Spec for reference tool call trajectory. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Trajectory *referenceTrajectory; + +@end + + +/** + * TrajectoryRecall metric value for an instance. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallMetricValue : GTLRObject + +/** + * Output only. TrajectoryRecall score. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +@end + + +/** + * Results for TrajectoryRecall metric. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallResults : GTLRObject + +/** Output only. TrajectoryRecall metric values. */ +@property(nonatomic, strong, nullable) NSArray *trajectoryRecallMetricValues; + +@end + + +/** + * Spec for TrajectoryRecall metric - returns a float score based on average + * recall of individual tool calls. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectoryRecallSpec : GTLRObject +@end + + +/** + * Instances and metric spec for TrajectorySingleToolUse metric. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseInput : GTLRObject + +/** Required. Repeated TrajectorySingleToolUse instance. */ +@property(nonatomic, strong, nullable) NSArray *instances; + +/** Required. Spec for TrajectorySingleToolUse metric. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseSpec *metricSpec; + +@end + + +/** + * Spec for TrajectorySingleToolUse instance. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseInstance : GTLRObject + +/** Required. Spec for predicted tool call trajectory. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Trajectory *predictedTrajectory; + +@end + + +/** + * TrajectorySingleToolUse metric value for an instance. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseMetricValue : GTLRObject + +/** + * Output only. TrajectorySingleToolUse score. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +@end + + +/** + * Results for TrajectorySingleToolUse metric. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseResults : GTLRObject + +/** Output only. TrajectorySingleToolUse metric values. */ +@property(nonatomic, strong, nullable) NSArray *trajectorySingleToolUseMetricValues; + +@end + + +/** + * Spec for TrajectorySingleToolUse metric - returns 1 if tool is present in + * the predicted trajectory, else 0. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1TrajectorySingleToolUseSpec : GTLRObject + +/** + * Required. Spec for tool name to be checked for in the predicted trajectory. + */ +@property(nonatomic, copy, nullable) NSString *toolName; + +@end + + /** * A message representing a Trial. A Trial contains a unique set of Parameters * that has been or will be evaluated, along with the objective metrics got by @@ -36327,6 +37183,17 @@ GTLR_DEPRECATED @end +/** + * The configuration for the voice to use. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1VoiceConfig : GTLRObject + +/** The configuration for the prebuilt voice to use. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1PrebuiltVoiceConfig *prebuiltVoiceConfig; + +@end + + /** * Represents the spec of a worker pool in a job. */ diff --git a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h index 23a9661ad..61f6680a1 100644 --- a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h +++ b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h @@ -481,7 +481,10 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif */ @interface GTLRAiplatformQuery_DatasetsPatch : GTLRAiplatformQuery -/** Output only. Identifier. The resource name of the Dataset. */ +/** + * Output only. Identifier. The resource name of the Dataset. Format: + * `projects/{project}/locations/{location}/datasets/{dataset}` + */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -501,6 +504,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1Dataset to * include in the query. * @param name Output only. Identifier. The resource name of the Dataset. + * Format: `projects/{project}/locations/{location}/datasets/{dataset}` * * @return GTLRAiplatformQuery_DatasetsPatch */ @@ -3385,7 +3389,10 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif */ @interface GTLRAiplatformQuery_ProjectsLocationsDatasetsPatch : GTLRAiplatformQuery -/** Output only. Identifier. The resource name of the Dataset. */ +/** + * Output only. Identifier. The resource name of the Dataset. Format: + * `projects/{project}/locations/{location}/datasets/{dataset}` + */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -3405,6 +3412,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1Dataset to * include in the query. * @param name Output only. Identifier. The resource name of the Dataset. + * Format: `projects/{project}/locations/{location}/datasets/{dataset}` * * @return GTLRAiplatformQuery_ProjectsLocationsDatasetsPatch */ @@ -16008,13 +16016,15 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * [UI_RESOURCE_STATE_UNSPECIFIED, UI_RESOURCE_STATE_BEING_CREATED, * UI_RESOURCE_STATE_ACTIVE, UI_RESOURCE_STATE_BEING_DELETED, * UI_RESOURCE_STATE_CREATION_FAILED]. * `notebookRuntimeType` supports = and - * !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. Some examples: * + * !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. * `machineType` + * supports = and !=. * `acceleratorType` supports = and !=. Some examples: * * `notebookRuntime="notebookRuntime123"` * `displayName="myDisplayName"` and * `displayName=~"myDisplayNameRegex"` * * `notebookRuntimeTemplate="notebookRuntimeTemplate321"` * * `healthState=HEALTHY` * `runtimeState=RUNNING` * * `runtimeUser="test\@google.com"` * `uiState=UI_RESOURCE_STATE_BEING_DELETED` - * * `notebookRuntimeType=USER_DEFINED` + * * `notebookRuntimeType=USER_DEFINED` * `machineType=e2-standard-4` * + * `acceleratorType=NVIDIA_TESLA_T4` */ @property(nonatomic, copy, nullable) NSString *filter; @@ -16544,10 +16554,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * * `labels` supports general map functions that is: * `labels.key=value` - * key:value equality * `labels.key:* or labels:key - key existence * A key * including a space must be quoted. `labels."a key"`. * `notebookRuntimeType` - * supports = and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. Some + * supports = and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. * + * `machineType` supports = and !=. * `acceleratorType` supports = and !=. Some * examples: * `notebookRuntimeTemplate=notebookRuntimeTemplate123` * * `displayName="myDisplayName"` * `labels.myKey="myValue"` * - * `notebookRuntimeType=USER_DEFINED` + * `notebookRuntimeType=USER_DEFINED` * `machineType=e2-standard-4` * + * `acceleratorType=NVIDIA_TESLA_T4` */ @property(nonatomic, copy, nullable) NSString *filter; @@ -18563,6 +18575,200 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @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: aiplatform.projects.locations.ragCorpora.operations.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsRagCorporaOperationsCancel : GTLRAiplatformQuery + +/** The name of the operation resource to be cancelled. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleProtobufEmpty. + * + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, the + * operation is not deleted; instead, it becomes an operation with an + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to + * `Code.CANCELLED`. + * + * @param name The name of the operation resource to be cancelled. + * + * @return GTLRAiplatformQuery_ProjectsLocationsRagCorporaOperationsCancel + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + * + * Method: aiplatform.projects.locations.ragCorpora.operations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsRagCorporaOperationsDelete : GTLRAiplatformQuery + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleProtobufEmpty. + * + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + * + * @param name The name of the operation resource to be deleted. + * + * @return GTLRAiplatformQuery_ProjectsLocationsRagCorporaOperationsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + * + * Method: aiplatform.projects.locations.ragCorpora.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsRagCorporaOperationsGet : GTLRAiplatformQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + * + * @param name The name of the operation resource. + * + * @return GTLRAiplatformQuery_ProjectsLocationsRagCorporaOperationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * Method: aiplatform.projects.locations.ragCorpora.operations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsRagCorporaOperationsList : GTLRAiplatformQuery + +/** The standard list filter. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** The name of the operation's parent resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The standard list page size. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** The standard list page token. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningListOperationsResponse. + * + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * @param name The name of the operation's parent resource. + * + * @return GTLRAiplatformQuery_ProjectsLocationsRagCorporaOperationsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Waits until the specified long-running operation is done or reaches at most + * a specified timeout, returning the latest state. If the operation is already + * done, the latest state is immediately returned. If the timeout specified is + * greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If + * the server does not support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort + * basis. It may return the latest state before the specified timeout + * (including immediately), meaning even an immediate response is no guarantee + * that the operation is done. + * + * Method: aiplatform.projects.locations.ragCorpora.operations.wait + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsRagCorporaOperationsWait : GTLRAiplatformQuery + +/** The name of the operation resource to wait on. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The maximum duration to wait before timing out. If left blank, the wait will + * be at most the time permitted by the underlying HTTP/RPC protocol. If RPC + * context deadline is also specified, the shorter one will be used. + */ +@property(nonatomic, strong, nullable) GTLRDuration *timeout; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Waits until the specified long-running operation is done or reaches at most + * a specified timeout, returning the latest state. If the operation is already + * done, the latest state is immediately returned. If the timeout specified is + * greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If + * the server does not support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort + * basis. It may return the latest state before the specified timeout + * (including immediately), meaning even an immediate response is no guarantee + * that the operation is done. + * + * @param name The name of the operation resource to wait on. + * + * @return GTLRAiplatformQuery_ProjectsLocationsRagCorporaOperationsWait + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Updates a RagCorpus. * @@ -18734,6 +18940,200 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @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: aiplatform.projects.locations.ragCorpora.ragFiles.operations.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsRagCorporaRagFilesOperationsCancel : GTLRAiplatformQuery + +/** The name of the operation resource to be cancelled. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleProtobufEmpty. + * + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, the + * operation is not deleted; instead, it becomes an operation with an + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to + * `Code.CANCELLED`. + * + * @param name The name of the operation resource to be cancelled. + * + * @return GTLRAiplatformQuery_ProjectsLocationsRagCorporaRagFilesOperationsCancel + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + * + * Method: aiplatform.projects.locations.ragCorpora.ragFiles.operations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsRagCorporaRagFilesOperationsDelete : GTLRAiplatformQuery + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleProtobufEmpty. + * + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + * + * @param name The name of the operation resource to be deleted. + * + * @return GTLRAiplatformQuery_ProjectsLocationsRagCorporaRagFilesOperationsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + * + * Method: aiplatform.projects.locations.ragCorpora.ragFiles.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsRagCorporaRagFilesOperationsGet : GTLRAiplatformQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + * + * @param name The name of the operation resource. + * + * @return GTLRAiplatformQuery_ProjectsLocationsRagCorporaRagFilesOperationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * Method: aiplatform.projects.locations.ragCorpora.ragFiles.operations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsRagCorporaRagFilesOperationsList : GTLRAiplatformQuery + +/** The standard list filter. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** The name of the operation's parent resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The standard list page size. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** The standard list page token. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningListOperationsResponse. + * + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * + * @param name The name of the operation's parent resource. + * + * @return GTLRAiplatformQuery_ProjectsLocationsRagCorporaRagFilesOperationsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Waits until the specified long-running operation is done or reaches at most + * a specified timeout, returning the latest state. If the operation is already + * done, the latest state is immediately returned. If the timeout specified is + * greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If + * the server does not support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort + * basis. It may return the latest state before the specified timeout + * (including immediately), meaning even an immediate response is no guarantee + * that the operation is done. + * + * Method: aiplatform.projects.locations.ragCorpora.ragFiles.operations.wait + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsRagCorporaRagFilesOperationsWait : GTLRAiplatformQuery + +/** The name of the operation resource to wait on. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The maximum duration to wait before timing out. If left blank, the wait will + * be at most the time permitted by the underlying HTTP/RPC protocol. If RPC + * context deadline is also specified, the shorter one will be used. + */ +@property(nonatomic, strong, nullable) GTLRDuration *timeout; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Waits until the specified long-running operation is done or reaches at most + * a specified timeout, returning the latest state. If the operation is already + * done, the latest state is immediately returned. If the timeout specified is + * greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If + * the server does not support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort + * basis. It may return the latest state before the specified timeout + * (including immediately), meaning even an immediate response is no guarantee + * that the operation is done. + * + * @param name The name of the operation resource to wait on. + * + * @return GTLRAiplatformQuery_ProjectsLocationsRagCorporaRagFilesOperationsWait + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Creates a reasoning engine. * @@ -19141,6 +19541,41 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * Streams queries using a reasoning engine. + * + * Method: aiplatform.projects.locations.reasoningEngines.streamQuery + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsReasoningEnginesStreamQuery : GTLRAiplatformQuery + +/** + * Required. The name of the ReasoningEngine resource to use. Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleApiHttpBody. + * + * Streams queries using a reasoning engine. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest to + * include in the query. + * @param name Required. The name of the ReasoningEngine resource to use. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsReasoningEnginesStreamQuery + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest *)object + name:(NSString *)name; + +@end + /** * Retrieves relevant contexts for a query. * diff --git a/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubObjects.m b/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubObjects.m index f98eff984..8c0516755 100644 --- a/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubObjects.m +++ b/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubObjects.m @@ -40,6 +40,11 @@ NSString * const kGTLRAnalyticsHub_DataExchange_DiscoveryType_DiscoveryTypePublic = @"DISCOVERY_TYPE_PUBLIC"; NSString * const kGTLRAnalyticsHub_DataExchange_DiscoveryType_DiscoveryTypeUnspecified = @"DISCOVERY_TYPE_UNSPECIFIED"; +// GTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfoGoogleCloudMarketplaceInfo.commercialState +NSString * const kGTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfoGoogleCloudMarketplaceInfo_CommercialState_Active = @"ACTIVE"; +NSString * const kGTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfoGoogleCloudMarketplaceInfo_CommercialState_CommercialStateUnspecified = @"COMMERCIAL_STATE_UNSPECIFIED"; +NSString * const kGTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfoGoogleCloudMarketplaceInfo_CommercialState_Onboarding = @"ONBOARDING"; + // GTLRAnalyticsHub_GooglePubsubV1Subscription.state NSString * const kGTLRAnalyticsHub_GooglePubsubV1Subscription_State_Active = @"ACTIVE"; NSString * const kGTLRAnalyticsHub_GooglePubsubV1Subscription_State_ResourceError = @"RESOURCE_ERROR"; @@ -356,6 +361,46 @@ @implementation GTLRAnalyticsHub_GetPolicyOptions @end +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfo +// + +@implementation GTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfo +@dynamic cloudMarketplace; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfoGoogleCloudMarketplaceInfo +// + +@implementation GTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfoGoogleCloudMarketplaceInfo +@dynamic commercialState, service; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1SubscriptionCommercialInfo +// + +@implementation GTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1SubscriptionCommercialInfo +@dynamic cloudMarketplace; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1SubscriptionCommercialInfoGoogleCloudMarketplaceInfo +// + +@implementation GTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1SubscriptionCommercialInfoGoogleCloudMarketplaceInfo +@dynamic order; +@end + + // ---------------------------------------------------------------------------- // // GTLRAnalyticsHub_GooglePubsubV1Subscription @@ -422,10 +467,10 @@ + (NSString *)collectionItemsKey { // @implementation GTLRAnalyticsHub_Listing -@dynamic bigqueryDataset, categories, dataProvider, descriptionProperty, - discoveryType, displayName, documentation, icon, name, primaryContact, - publisher, pubsubTopic, requestAccess, resourceType, - restrictedExportConfig, state; +@dynamic bigqueryDataset, categories, commercialInfo, dataProvider, + descriptionProperty, discoveryType, displayName, documentation, icon, + name, primaryContact, publisher, pubsubTopic, requestAccess, + resourceType, restrictedExportConfig, state; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -857,9 +902,10 @@ @implementation GTLRAnalyticsHub_SubscribeListingResponse // @implementation GTLRAnalyticsHub_Subscription -@dynamic creationTime, dataExchange, lastModifyTime, linkedDatasetMap, - linkedResources, listing, name, organizationDisplayName, - organizationId, resourceType, state, subscriberContact; +@dynamic commercialInfo, creationTime, dataExchange, lastModifyTime, + linkedDatasetMap, linkedResources, listing, name, + organizationDisplayName, organizationId, resourceType, state, + subscriberContact; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h b/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h index 889b6f021..60dedaef8 100644 --- a/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h +++ b/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h @@ -33,6 +33,10 @@ @class GTLRAnalyticsHub_ExpirationPolicy; @class GTLRAnalyticsHub_Expr; @class GTLRAnalyticsHub_GetPolicyOptions; +@class GTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfo; +@class GTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfoGoogleCloudMarketplaceInfo; +@class GTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1SubscriptionCommercialInfo; +@class GTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1SubscriptionCommercialInfoGoogleCloudMarketplaceInfo; @class GTLRAnalyticsHub_GooglePubsubV1Subscription; @class GTLRAnalyticsHub_GooglePubsubV1Subscription_Labels; @class GTLRAnalyticsHub_LinkedResource; @@ -208,6 +212,28 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_DataExchange_DiscoveryType_ */ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_DataExchange_DiscoveryType_DiscoveryTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfoGoogleCloudMarketplaceInfo.commercialState + +/** + * Commercialization is complete and available for use. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfoGoogleCloudMarketplaceInfo_CommercialState_Active; +/** + * Commercialization is incomplete and cannot be used. + * + * Value: "COMMERCIAL_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfoGoogleCloudMarketplaceInfo_CommercialState_CommercialStateUnspecified; +/** + * Commercialization has been initialized. + * + * Value: "ONBOARDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfoGoogleCloudMarketplaceInfo_CommercialState_Onboarding; + // ---------------------------------------------------------------------------- // GTLRAnalyticsHub_GooglePubsubV1Subscription.state @@ -1170,6 +1196,75 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns @end +/** + * Commercial info contains the information about the commercial data products + * associated with the listing. + */ +@interface GTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfo : GTLRObject + +/** + * Output only. Details of the Marketplace Data Product associated with the + * Listing. + */ +@property(nonatomic, strong, nullable) GTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfoGoogleCloudMarketplaceInfo *cloudMarketplace; + +@end + + +/** + * Specifies the details of the Marketplace Data Product associated with the + * Listing. + */ +@interface GTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfoGoogleCloudMarketplaceInfo : GTLRObject + +/** + * Output only. Commercial state of the Marketplace Data Product. + * + * Likely values: + * @arg @c kGTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfoGoogleCloudMarketplaceInfo_CommercialState_Active + * Commercialization is complete and available for use. (Value: "ACTIVE") + * @arg @c kGTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfoGoogleCloudMarketplaceInfo_CommercialState_CommercialStateUnspecified + * Commercialization is incomplete and cannot be used. (Value: + * "COMMERCIAL_STATE_UNSPECIFIED") + * @arg @c kGTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfoGoogleCloudMarketplaceInfo_CommercialState_Onboarding + * Commercialization has been initialized. (Value: "ONBOARDING") + */ +@property(nonatomic, copy, nullable) NSString *commercialState; + +/** + * Output only. Resource name of the commercial service associated with the + * Marketplace Data Product. e.g. example.com + */ +@property(nonatomic, copy, nullable) NSString *service; + +@end + + +/** + * Commercial info metadata for this subscription. + */ +@interface GTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1SubscriptionCommercialInfo : GTLRObject + +/** + * Output only. This is set when the subscription is commercialised via Cloud + * Marketplace. + */ +@property(nonatomic, strong, nullable) GTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1SubscriptionCommercialInfoGoogleCloudMarketplaceInfo *cloudMarketplace; + +@end + + +/** + * Cloud Marketplace commercial metadata for this subscription. + */ +@interface GTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1SubscriptionCommercialInfoGoogleCloudMarketplaceInfo : GTLRObject + +/** Resource name of the Marketplace Order. */ +@property(nonatomic, copy, nullable) NSString *order; + +@end + + /** * A subscription resource. If none of `push_config`, `bigquery_config`, or * `cloud_storage_config` is set, then the subscriber will pull and ack @@ -1432,6 +1527,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns /** Optional. Categories of the listing. Up to two categories are allowed. */ @property(nonatomic, strong, nullable) NSArray *categories; +/** + * Output only. Commercial info contains the information about the commercial + * data products associated with the listing. + */ +@property(nonatomic, strong, nullable) GTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1ListingCommercialInfo *commercialInfo; + /** Optional. Details of the data provider who owns the source data. */ @property(nonatomic, strong, nullable) GTLRAnalyticsHub_DataProvider *dataProvider; @@ -2305,6 +2406,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns */ @interface GTLRAnalyticsHub_Subscription : GTLRObject +/** + * Output only. This is set if this is a commercial subscription i.e. if this + * subscription was created from subscribing to a commercial listing. + */ +@property(nonatomic, strong, nullable) GTLRAnalyticsHub_GoogleCloudBigqueryAnalyticshubV1SubscriptionCommercialInfo *commercialInfo; + /** Output only. Timestamp when the subscription was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *creationTime; @@ -2402,8 +2509,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns /** - * Information about an associated Analytics Hub subscription - * (https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). + * Information about an associated [Analytics Hub + * subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). */ @interface GTLRAnalyticsHub_SubscriptionInfo : GTLRObject diff --git a/Sources/GeneratedServices/AndroidEnterprise/GTLRAndroidEnterpriseObjects.m b/Sources/GeneratedServices/AndroidEnterprise/GTLRAndroidEnterpriseObjects.m index 665be8a5c..1c5c84bc3 100644 --- a/Sources/GeneratedServices/AndroidEnterprise/GTLRAndroidEnterpriseObjects.m +++ b/Sources/GeneratedServices/AndroidEnterprise/GTLRAndroidEnterpriseObjects.m @@ -539,16 +539,6 @@ @implementation GTLRAndroidEnterprise_ConfigurationVariables @end -// ---------------------------------------------------------------------------- -// -// GTLRAndroidEnterprise_CreateEnrollmentTokenResponse -// - -@implementation GTLRAndroidEnterprise_CreateEnrollmentTokenResponse -@dynamic enrollmentToken, token; -@end - - // ---------------------------------------------------------------------------- // // GTLRAndroidEnterprise_Device diff --git a/Sources/GeneratedServices/AndroidEnterprise/GTLRAndroidEnterpriseQuery.m b/Sources/GeneratedServices/AndroidEnterprise/GTLRAndroidEnterpriseQuery.m index c5aa21318..3c775ed96 100644 --- a/Sources/GeneratedServices/AndroidEnterprise/GTLRAndroidEnterpriseQuery.m +++ b/Sources/GeneratedServices/AndroidEnterprise/GTLRAndroidEnterpriseQuery.m @@ -13,16 +13,6 @@ // ---------------------------------------------------------------------------- // Constants -// deviceType -NSString * const kGTLRAndroidEnterpriseDeviceTypeDedicatedDevice = @"dedicatedDevice"; -NSString * const kGTLRAndroidEnterpriseDeviceTypeKnowledgeWorker = @"knowledgeWorker"; -NSString * const kGTLRAndroidEnterpriseDeviceTypeUnknown = @"unknown"; - -// enrollmentTokenEnrollmentTokenType -NSString * const kGTLRAndroidEnterpriseEnrollmentTokenEnrollmentTokenTypeEnrollmentTokenTypeUnspecified = @"enrollmentTokenTypeUnspecified"; -NSString * const kGTLRAndroidEnterpriseEnrollmentTokenEnrollmentTokenTypeUserDevice = @"userDevice"; -NSString * const kGTLRAndroidEnterpriseEnrollmentTokenEnrollmentTokenTypeUserlessDevice = @"userlessDevice"; - // keyType NSString * const kGTLRAndroidEnterpriseKeyTypeGoogleCredentials = @"googleCredentials"; NSString * const kGTLRAndroidEnterpriseKeyTypePkcs12 = @"pkcs12"; @@ -239,27 +229,25 @@ + (instancetype)query { @implementation GTLRAndroidEnterpriseQuery_EnterprisesCreateEnrollmentToken -@dynamic deviceType, enrollmentTokenDuration, - enrollmentTokenEnrollmentTokenType, enrollmentTokenToken, enterpriseId; - -+ (NSDictionary *)parameterNameMap { - NSDictionary *map = @{ - @"enrollmentTokenDuration" : @"enrollmentToken.duration", - @"enrollmentTokenEnrollmentTokenType" : @"enrollmentToken.enrollmentTokenType", - @"enrollmentTokenToken" : @"enrollmentToken.token" - }; - return map; -} +@dynamic enterpriseId; -+ (instancetype)queryWithEnterpriseId:(NSString *)enterpriseId { ++ (instancetype)queryWithObject:(GTLRAndroidEnterprise_EnrollmentToken *)object + enterpriseId:(NSString *)enterpriseId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } NSArray *pathParams = @[ @"enterpriseId" ]; NSString *pathURITemplate = @"androidenterprise/v1/enterprises/{enterpriseId}/createEnrollmentToken"; GTLRAndroidEnterpriseQuery_EnterprisesCreateEnrollmentToken *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" pathParameterNames:pathParams]; + query.bodyObject = object; query.enterpriseId = enterpriseId; - query.expectedObjectClass = [GTLRAndroidEnterprise_CreateEnrollmentTokenResponse class]; + query.expectedObjectClass = [GTLRAndroidEnterprise_EnrollmentToken class]; query.loggingName = @"androidenterprise.enterprises.createEnrollmentToken"; return query; } diff --git a/Sources/GeneratedServices/AndroidEnterprise/Public/GoogleAPIClientForREST/GTLRAndroidEnterpriseObjects.h b/Sources/GeneratedServices/AndroidEnterprise/Public/GoogleAPIClientForREST/GTLRAndroidEnterpriseObjects.h index 926ecc4a6..cb54334d5 100644 --- a/Sources/GeneratedServices/AndroidEnterprise/Public/GoogleAPIClientForREST/GTLRAndroidEnterpriseObjects.h +++ b/Sources/GeneratedServices/AndroidEnterprise/Public/GoogleAPIClientForREST/GTLRAndroidEnterpriseObjects.h @@ -35,7 +35,6 @@ @class GTLRAndroidEnterprise_Device; @class GTLRAndroidEnterprise_DeviceReport; @class GTLRAndroidEnterprise_DeviceReportUpdateEvent; -@class GTLRAndroidEnterprise_EnrollmentToken; @class GTLRAndroidEnterprise_Enterprise; @class GTLRAndroidEnterprise_EnterpriseAuthenticationAppLinkConfig; @class GTLRAndroidEnterprise_Entitlement; @@ -1510,22 +1509,6 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidEnterprise_WebApp_DisplayMode_Sta @end -/** - * Response message for create enrollment token. - */ -@interface GTLRAndroidEnterprise_CreateEnrollmentTokenResponse : GTLRObject - -/** - * Deprecated: Use token instead. This field will be removed in the future. - */ -@property(nonatomic, copy, nullable) NSString *enrollmentToken GTLR_DEPRECATED; - -/** [Required] The created enrollment token. */ -@property(nonatomic, strong, nullable) GTLRAndroidEnterprise_EnrollmentToken *token; - -@end - - /** * A Devices resource represents a mobile device managed by the EMM and * belonging to a specific enterprise user. diff --git a/Sources/GeneratedServices/AndroidEnterprise/Public/GoogleAPIClientForREST/GTLRAndroidEnterpriseQuery.h b/Sources/GeneratedServices/AndroidEnterprise/Public/GoogleAPIClientForREST/GTLRAndroidEnterpriseQuery.h index 1eee9f985..17507fcc2 100644 --- a/Sources/GeneratedServices/AndroidEnterprise/Public/GoogleAPIClientForREST/GTLRAndroidEnterpriseQuery.h +++ b/Sources/GeneratedServices/AndroidEnterprise/Public/GoogleAPIClientForREST/GTLRAndroidEnterpriseQuery.h @@ -26,50 +26,6 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the query classes' properties below. -// ---------------------------------------------------------------------------- -// deviceType - -/** - * This device is a dedicated device. - * - * Value: "dedicatedDevice" - */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidEnterpriseDeviceTypeDedicatedDevice; -/** - * This device is required to have an authenticated user. - * - * Value: "knowledgeWorker" - */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidEnterpriseDeviceTypeKnowledgeWorker; -/** - * This value is unused - * - * Value: "unknown" - */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidEnterpriseDeviceTypeUnknown; - -// ---------------------------------------------------------------------------- -// enrollmentTokenEnrollmentTokenType - -/** - * The value is unused. - * - * Value: "enrollmentTokenTypeUnspecified" - */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidEnterpriseEnrollmentTokenEnrollmentTokenTypeEnrollmentTokenTypeUnspecified; -/** - * The enrollment token is for a user device. - * - * Value: "userDevice" - */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidEnterpriseEnrollmentTokenEnrollmentTokenTypeUserDevice; -/** - * The enrollment token is for a userless device. - * - * Value: "userlessDevice" - */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidEnterpriseEnrollmentTokenEnrollmentTokenTypeUserlessDevice; - // ---------------------------------------------------------------------------- // keyType @@ -453,65 +409,25 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidEnterpriseRequestModeWaitForNotif */ @interface GTLRAndroidEnterpriseQuery_EnterprisesCreateEnrollmentToken : GTLRAndroidEnterpriseQuery -/** - * Deprecated: Use enrollment_token instead. this field will be removed in the - * future. - * - * Likely values: - * @arg @c kGTLRAndroidEnterpriseDeviceTypeUnknown This value is unused - * (Value: "unknown") - * @arg @c kGTLRAndroidEnterpriseDeviceTypeDedicatedDevice This device is a - * dedicated device. (Value: "dedicatedDevice") - * @arg @c kGTLRAndroidEnterpriseDeviceTypeKnowledgeWorker This device is - * required to have an authenticated user. (Value: "knowledgeWorker") - */ -@property(nonatomic, copy, nullable) NSString *deviceType GTLR_DEPRECATED; - -/** - * [Optional] The length of time the enrollment token is valid, ranging from 1 - * minute to - * [`Durations.MAX_VALUE`](https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/util/Durations.html#MAX_VALUE), - * approximately 10,000 years. If not specified, the default duration is 1 - * hour. - */ -@property(nonatomic, strong, nullable) GTLRDuration *enrollmentTokenDuration; - -/** - * [Required] The type of the enrollment token. - * - * Likely values: - * @arg @c kGTLRAndroidEnterpriseEnrollmentTokenEnrollmentTokenTypeEnrollmentTokenTypeUnspecified - * The value is unused. (Value: "enrollmentTokenTypeUnspecified") - * @arg @c kGTLRAndroidEnterpriseEnrollmentTokenEnrollmentTokenTypeUserlessDevice - * The enrollment token is for a userless device. (Value: - * "userlessDevice") - * @arg @c kGTLRAndroidEnterpriseEnrollmentTokenEnrollmentTokenTypeUserDevice - * The enrollment token is for a user device. (Value: "userDevice") - */ -@property(nonatomic, copy, nullable) NSString *enrollmentTokenEnrollmentTokenType; - -/** - * The token value that's passed to the device and authorizes the device to - * enroll. This is a read-only field generated by the server. - */ -@property(nonatomic, copy, nullable) NSString *enrollmentTokenToken; - /** Required. The ID of the enterprise. */ @property(nonatomic, copy, nullable) NSString *enterpriseId; /** - * Fetches a @c GTLRAndroidEnterprise_CreateEnrollmentTokenResponse. + * Fetches a @c GTLRAndroidEnterprise_EnrollmentToken. * * Returns a token for device enrollment. The DPC can encode this token within * the QR/NFC/zero-touch enrollment payload or fetch it before calling the * on-device API to authenticate the user. The token can be generated for each * device or reused across multiple devices. * + * @param object The @c GTLRAndroidEnterprise_EnrollmentToken to include in the + * query. * @param enterpriseId Required. The ID of the enterprise. * * @return GTLRAndroidEnterpriseQuery_EnterprisesCreateEnrollmentToken */ -+ (instancetype)queryWithEnterpriseId:(NSString *)enterpriseId; ++ (instancetype)queryWithObject:(GTLRAndroidEnterprise_EnrollmentToken *)object + enterpriseId:(NSString *)enterpriseId; @end diff --git a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m index 1b8495d97..210887a17 100644 --- a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m +++ b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m @@ -529,6 +529,11 @@ NSString * const kGTLRAndroidManagement_PersonalUsagePolicies_PersonalPlayStoreMode_Blocklist = @"BLOCKLIST"; NSString * const kGTLRAndroidManagement_PersonalUsagePolicies_PersonalPlayStoreMode_PlayStoreModeUnspecified = @"PLAY_STORE_MODE_UNSPECIFIED"; +// GTLRAndroidManagement_PersonalUsagePolicies.privateSpacePolicy +NSString * const kGTLRAndroidManagement_PersonalUsagePolicies_PrivateSpacePolicy_PrivateSpaceAllowed = @"PRIVATE_SPACE_ALLOWED"; +NSString * const kGTLRAndroidManagement_PersonalUsagePolicies_PrivateSpacePolicy_PrivateSpaceDisallowed = @"PRIVATE_SPACE_DISALLOWED"; +NSString * const kGTLRAndroidManagement_PersonalUsagePolicies_PrivateSpacePolicy_PrivateSpacePolicyUnspecified = @"PRIVATE_SPACE_POLICY_UNSPECIFIED"; + // GTLRAndroidManagement_Policy.androidDevicePolicyTracks NSString * const kGTLRAndroidManagement_Policy_AndroidDevicePolicyTracks_AppTrackUnspecified = @"APP_TRACK_UNSPECIFIED"; NSString * const kGTLRAndroidManagement_Policy_AndroidDevicePolicyTracks_Beta = @"BETA"; @@ -774,6 +779,7 @@ // GTLRAndroidManagement_WifiRoamingSetting.wifiRoamingMode NSString * const kGTLRAndroidManagement_WifiRoamingSetting_WifiRoamingMode_WifiRoamingAggressive = @"WIFI_ROAMING_AGGRESSIVE"; NSString * const kGTLRAndroidManagement_WifiRoamingSetting_WifiRoamingMode_WifiRoamingDefault = @"WIFI_ROAMING_DEFAULT"; +NSString * const kGTLRAndroidManagement_WifiRoamingSetting_WifiRoamingMode_WifiRoamingDisabled = @"WIFI_ROAMING_DISABLED"; NSString * const kGTLRAndroidManagement_WifiRoamingSetting_WifiRoamingMode_WifiRoamingModeUnspecified = @"WIFI_ROAMING_MODE_UNSPECIFIED"; // GTLRAndroidManagement_WifiSsidPolicy.wifiSsidPolicyType @@ -2232,7 +2238,8 @@ @implementation GTLRAndroidManagement_PersonalApplicationPolicy @implementation GTLRAndroidManagement_PersonalUsagePolicies @dynamic accountTypesWithManagementDisabled, cameraDisabled, maxDaysWithWorkOff, - personalApplications, personalPlayStoreMode, screenCaptureDisabled; + personalApplications, personalPlayStoreMode, privateSpacePolicy, + screenCaptureDisabled; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementQuery.m b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementQuery.m index c30b7c7d8..0c2e9fbb2 100644 --- a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementQuery.m +++ b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementQuery.m @@ -725,7 +725,14 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRAndroidManagementQuery_SignupUrlsCreate -@dynamic adminEmail, callbackUrl, projectId; +@dynamic adminEmail, allowedDomains, callbackUrl, projectId; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"allowedDomains" : [NSString class] + }; + return map; +} + (instancetype)query { NSString *pathURITemplate = @"v1/signupUrls"; diff --git a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h index c04a70fd6..4ddbfaab2 100644 --- a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h +++ b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h @@ -2999,6 +2999,30 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PersonalUsagePolicies_ */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PersonalUsagePolicies_PersonalPlayStoreMode_PlayStoreModeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_PersonalUsagePolicies.privateSpacePolicy + +/** + * Users can create a private space profile. + * + * Value: "PRIVATE_SPACE_ALLOWED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PersonalUsagePolicies_PrivateSpacePolicy_PrivateSpaceAllowed; +/** + * Users cannot create a private space profile. Supported only for + * company-owned devices with a work profile. Caution: Any existing private + * space will be removed. + * + * Value: "PRIVATE_SPACE_DISALLOWED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PersonalUsagePolicies_PrivateSpacePolicy_PrivateSpaceDisallowed; +/** + * Unspecified. Defaults to PRIVATE_SPACE_ALLOWED. + * + * Value: "PRIVATE_SPACE_POLICY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PersonalUsagePolicies_PrivateSpacePolicy_PrivateSpacePolicyUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidManagement_Policy.androidDevicePolicyTracks @@ -4324,6 +4348,16 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WifiRoamingSetting_Wif * Value: "WIFI_ROAMING_DEFAULT" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WifiRoamingSetting_WifiRoamingMode_WifiRoamingDefault; +/** + * Wi-Fi roaming is disabled. Supported on Android 15 and above on fully + * managed devices and work profiles on company-owned devices. A + * nonComplianceDetail with MANAGEMENT_MODE is reported for other management + * modes. A nonComplianceDetail with API_LEVEL is reported if the Android + * version is less than 15. + * + * Value: "WIFI_ROAMING_DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WifiRoamingSetting_WifiRoamingMode_WifiRoamingDisabled; /** * Unspecified. Defaults to WIFI_ROAMING_DEFAULT. * @@ -9125,6 +9159,23 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *personalPlayStoreMode; +/** + * Optional. Controls whether a private space is allowed on the device. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_PersonalUsagePolicies_PrivateSpacePolicy_PrivateSpaceAllowed + * Users can create a private space profile. (Value: + * "PRIVATE_SPACE_ALLOWED") + * @arg @c kGTLRAndroidManagement_PersonalUsagePolicies_PrivateSpacePolicy_PrivateSpaceDisallowed + * Users cannot create a private space profile. Supported only for + * company-owned devices with a work profile. Caution: Any existing + * private space will be removed. (Value: "PRIVATE_SPACE_DISALLOWED") + * @arg @c kGTLRAndroidManagement_PersonalUsagePolicies_PrivateSpacePolicy_PrivateSpacePolicyUnspecified + * Unspecified. Defaults to PRIVATE_SPACE_ALLOWED. (Value: + * "PRIVATE_SPACE_POLICY_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *privateSpacePolicy; + /** * If true, screen capture is disabled for all users. * @@ -9510,7 +9561,8 @@ GTLR_DEPRECATED /** * If true, this disables the Lock Screen * (https://source.android.com/docs/core/display/multi_display/lock-screen) for - * primary and/or secondary displays. + * primary and/or secondary displays. This policy is supported only in + * dedicated device management mode. * * Uses NSNumber of boolValue. */ @@ -11494,6 +11546,12 @@ GTLR_DEPRECATED * @arg @c kGTLRAndroidManagement_WifiRoamingSetting_WifiRoamingMode_WifiRoamingDefault * Default Wi-Fi roaming mode of the device. (Value: * "WIFI_ROAMING_DEFAULT") + * @arg @c kGTLRAndroidManagement_WifiRoamingSetting_WifiRoamingMode_WifiRoamingDisabled + * Wi-Fi roaming is disabled. Supported on Android 15 and above on fully + * managed devices and work profiles on company-owned devices. A + * nonComplianceDetail with MANAGEMENT_MODE is reported for other + * management modes. A nonComplianceDetail with API_LEVEL is reported if + * the Android version is less than 15. (Value: "WIFI_ROAMING_DISABLED") * @arg @c kGTLRAndroidManagement_WifiRoamingSetting_WifiRoamingMode_WifiRoamingModeUnspecified * Unspecified. Defaults to WIFI_ROAMING_DEFAULT. (Value: * "WIFI_ROAMING_MODE_UNSPECIFIED") diff --git a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h index 9ef58ef4a..d0723e359 100644 --- a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h +++ b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h @@ -1313,6 +1313,18 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagementWipeDataFlagsWipeExtern */ @property(nonatomic, copy, nullable) NSString *adminEmail; +/** + * Optional. A list of domains that are permitted for the admin email. The IT + * admin cannot enter an email address with a domain name that is not in this + * list. Subdomains of domains in this list are not allowed but can be allowed + * by adding a second entry which has *. prefixed to the domain name (e.g. + * *.example.com). If the field is not present or is an empty list then the IT + * admin is free to use any valid domain name. Personal email domains are + * always allowed, but will result in the creation of a managed Google Play + * Accounts enterprise. + */ +@property(nonatomic, strong, nullable) NSArray *allowedDomains; + /** * The callback URL that the admin will be redirected to after successfully * creating an enterprise. Before redirecting there the system will add a query diff --git a/Sources/GeneratedServices/AndroidProvisioningPartner/Public/GoogleAPIClientForREST/GTLRAndroidProvisioningPartnerQuery.h b/Sources/GeneratedServices/AndroidProvisioningPartner/Public/GoogleAPIClientForREST/GTLRAndroidProvisioningPartnerQuery.h index 97030cd35..59a6339a1 100644 --- a/Sources/GeneratedServices/AndroidProvisioningPartner/Public/GoogleAPIClientForREST/GTLRAndroidProvisioningPartnerQuery.h +++ b/Sources/GeneratedServices/AndroidProvisioningPartner/Public/GoogleAPIClientForREST/GTLRAndroidProvisioningPartnerQuery.h @@ -266,8 +266,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRAndroidProvisioningPartnerQuery_CustomersDevicesList : GTLRAndroidProvisioningPartnerQuery /** - * The maximum number of devices to show in a page of results. Must be between - * 1 and 100 inclusive. + * Required. The maximum number of devices to show in a page of results. Must + * be between 1 and 100 inclusive. */ @property(nonatomic, assign) long long pageSize; @@ -402,8 +402,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRAndroidProvisioningPartnerQuery_CustomersList : GTLRAndroidProvisioningPartnerQuery /** - * The maximum number of customers to show in a page of results. A number - * between 1 and 100 (inclusive). + * Required. The maximum number of customers to show in a page of results. A + * number between 1 and 100 (inclusive). */ @property(nonatomic, assign) NSInteger pageSize; diff --git a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m index 6c8a3ff64..e48f1e56a 100644 --- a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m +++ b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m @@ -661,7 +661,8 @@ @implementation GTLRAndroidPublisher_AutoRenewingBasePlanType // @implementation GTLRAndroidPublisher_AutoRenewingPlan -@dynamic autoRenewEnabled, installmentDetails, priceChangeDetails; +@dynamic autoRenewEnabled, installmentDetails, priceChangeDetails, + recurringPrice; @end diff --git a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h index e561da6c6..e45fcca03 100644 --- a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h +++ b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h @@ -2279,8 +2279,9 @@ GTLR_DEPRECATED /** * Optional. Account hold period of the subscription, specified in ISO 8601 - * format. Acceptable values must be in DAYS and in the range P0D (zero days) - * to P30D (30 days). If not specified, the default value is P30D (30 days). + * format. Acceptable values must be in days and between P0D and P60D. If not + * specified, the default value is P30D. The sum of gracePeriodDuration and + * accountHoldDuration must be between P30D and P60D days, inclusive. */ @property(nonatomic, copy, nullable) NSString *accountHoldDuration; @@ -2293,9 +2294,10 @@ GTLR_DEPRECATED /** * Grace period of the subscription, specified in ISO 8601 format. Acceptable - * values are P0D (zero days), P3D (3 days), P7D (7 days), P14D (14 days), and - * P30D (30 days). If not specified, a default value will be used based on the - * recurring period duration. + * values must be in days and between P0D and the lesser of 30D and base plan + * billing period. If not specified, a default value will be used based on the + * billing period. The sum of gracePeriodDuration and accountHoldDuration must + * be between P30D and P60D days, inclusive. */ @property(nonatomic, copy, nullable) NSString *gracePeriodDuration; @@ -2380,6 +2382,9 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRAndroidPublisher_SubscriptionItemPriceChangeDetails *priceChangeDetails; +/** The current recurring price of the auto renewing plan. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_Money *recurringPrice; + @end @@ -4271,9 +4276,10 @@ GTLR_DEPRECATED @interface GTLRAndroidPublisher_InstallmentsBasePlanType : GTLRObject /** - * Optional. Account hold period of the subscription, specified exclusively in - * days and in ISO 8601 format. Acceptable values are P0D (zero days) to P30D - * (30days). If not specified, the default value is P30D (30 days). + * Optional. Account hold period of the subscription, specified in ISO 8601 + * format. Acceptable values must be in days and between P0D and P60D. If not + * specified, the default value is P30D. The sum of gracePeriodDuration and + * accountHoldDuration must be between P30D and P60D days, inclusive. */ @property(nonatomic, copy, nullable) NSString *accountHoldDuration; @@ -4294,9 +4300,10 @@ GTLR_DEPRECATED /** * Grace period of the subscription, specified in ISO 8601 format. Acceptable - * values are P0D (zero days), P3D (3 days), P7D (7 days), P14D (14 days), and - * P30D (30 days). If not specified, a default value will be used based on the - * recurring period duration. + * values must be in days and between P0D and the lesser of 30D and base plan + * billing period. If not specified, a default value will be used based on the + * billing period. The sum of gracePeriodDuration and accountHoldDuration must + * be between P30D and P60D days, inclusive. */ @property(nonatomic, copy, nullable) NSString *gracePeriodDuration; @@ -4875,7 +4882,7 @@ GTLR_DEPRECATED /** - * Represents a custom tag specified for base plans and subscription offers. + * Represents a custom tag specified for a product offer. */ @interface GTLRAndroidPublisher_OfferTag : GTLRObject diff --git a/Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m b/Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m index 3385b02b3..8137bb0f3 100644 --- a/Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m +++ b/Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m @@ -1824,9 +1824,10 @@ @implementation GTLRApigee_GoogleCloudApigeeV1EntityMetadata // @implementation GTLRApigee_GoogleCloudApigeeV1Environment -@dynamic apiProxyType, createdAt, deploymentType, descriptionProperty, - displayName, forwardProxyUri, hasAttachedFlowHooks, lastModifiedAt, - name, nodeConfig, properties, state, type; +@dynamic apiProxyType, clientIpResolutionConfig, createdAt, deploymentType, + descriptionProperty, displayName, forwardProxyUri, + hasAttachedFlowHooks, lastModifiedAt, name, nodeConfig, properties, + state, type; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -1835,6 +1836,26 @@ @implementation GTLRApigee_GoogleCloudApigeeV1Environment @end +// ---------------------------------------------------------------------------- +// +// GTLRApigee_GoogleCloudApigeeV1EnvironmentClientIPResolutionConfig +// + +@implementation GTLRApigee_GoogleCloudApigeeV1EnvironmentClientIPResolutionConfig +@dynamic headerIndexAlgorithm; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRApigee_GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm +// + +@implementation GTLRApigee_GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm +@dynamic ipHeaderIndex, ipHeaderName; +@end + + // ---------------------------------------------------------------------------- // // GTLRApigee_GoogleCloudApigeeV1EnvironmentConfig diff --git a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h index b82308a99..97d3940a3 100644 --- a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h +++ b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h @@ -85,6 +85,8 @@ @class GTLRApigee_GoogleCloudApigeeV1EndpointAttachment; @class GTLRApigee_GoogleCloudApigeeV1EndpointChainingRule; @class GTLRApigee_GoogleCloudApigeeV1EntityMetadata; +@class GTLRApigee_GoogleCloudApigeeV1EnvironmentClientIPResolutionConfig; +@class GTLRApigee_GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm; @class GTLRApigee_GoogleCloudApigeeV1EnvironmentConfig_FeatureFlags; @class GTLRApigee_GoogleCloudApigeeV1EnvironmentConfigClientIPResolutionConfig; @class GTLRApigee_GoogleCloudApigeeV1EnvironmentConfigClientIPResolutionConfigHeaderIndexAlgorithm; @@ -5454,6 +5456,15 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType */ @property(nonatomic, copy, nullable) NSString *apiProxyType; +/** + * Optional. The algorithm to resolve IP. This will affect Analytics, API + * Security, and other features that use the client ip. To remove a client ip + * resolution config, update the field to an empty value. Example: '{ + * "clientIpResolutionConfig" = {} }' For more information, see: + * https://cloud.google.com/apigee/docs/api-platform/system-administration/client-ip-resolution. + */ +@property(nonatomic, strong, nullable) GTLRApigee_GoogleCloudApigeeV1EnvironmentClientIPResolutionConfig *clientIpResolutionConfig; + /** * Output only. Creation time of this environment as milliseconds since epoch. * @@ -5583,6 +5594,40 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType @end +/** + * Configuration for resolving the client ip. + */ +@interface GTLRApigee_GoogleCloudApigeeV1EnvironmentClientIPResolutionConfig : GTLRObject + +/** Resolves the client ip based on a custom header. */ +@property(nonatomic, strong, nullable) GTLRApigee_GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm *headerIndexAlgorithm; + +@end + + +/** + * Resolves the client ip based on a custom header. + */ +@interface GTLRApigee_GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm : GTLRObject + +/** + * Required. The index of the ip in the header. Positive indices 0, 1, 2, 3 + * chooses indices from the left (first ips) Negative indices -1, -2, -3 + * chooses indices from the right (last ips) + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ipHeaderIndex; + +/** + * Required. The name of the header to extract the client ip from. We are + * currently only supporting the X-Forwarded-For header. + */ +@property(nonatomic, copy, nullable) NSString *ipHeaderName; + +@end + + /** * GTLRApigee_GoogleCloudApigeeV1EnvironmentConfig */ @@ -7955,11 +8000,18 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType * API](https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started). * Valid only when [RuntimeType](#RuntimeType) is set to `CLOUD`. The value * must be set before the creation of a runtime instance and can be updated - * only when there are no runtime instances. For example: `default`. Apigee - * also supports shared VPC (that is, the host network project is not the same - * as the one that is peering with Apigee). See [Shared VPC - * overview](https://cloud.google.com/vpc/docs/shared-vpc). To use a shared VPC - * network, use the following format: + * only when there are no runtime instances. For example: `default`. When + * changing authorizedNetwork, you must reconfigure VPC peering. After VPC + * peering with previous network is deleted, [run the following + * command](https://cloud.google.com/sdk/gcloud/reference/services/vpc-peerings/delete): + * `gcloud services vpc-peerings delete --network=NETWORK`, where `NETWORK` is + * the name of the previous network. This will delete the previous Service + * Networking. Otherwise, you will get the following error: `The resource + * 'projects/...-tp' is already linked to another shared VPC host + * 'projects/...-tp`. Apigee also supports shared VPC (that is, the host + * network project is not the same as the one that is peering with Apigee). See + * [Shared VPC overview](https://cloud.google.com/vpc/docs/shared-vpc). To use + * a shared VPC network, use the following format: * `projects/{host-project-id}/{region}/networks/{network-name}`. For example: * `projects/my-sharedvpc-host/global/networks/mynetwork` **Note:** Not * supported for Apigee hybrid. diff --git a/Sources/GeneratedServices/Appengine/GTLRAppengineQuery.m b/Sources/GeneratedServices/Appengine/GTLRAppengineQuery.m index 32e816263..dbf67ea84 100644 --- a/Sources/GeneratedServices/Appengine/GTLRAppengineQuery.m +++ b/Sources/GeneratedServices/Appengine/GTLRAppengineQuery.m @@ -1029,6 +1029,33 @@ + (instancetype)queryWithProjectsId:(NSString *)projectsId @end +@implementation GTLRAppengineQuery_ProjectsLocationsApplicationsServicesDelete + +@dynamic applicationsId, locationsId, projectsId, servicesId; + ++ (instancetype)queryWithProjectsId:(NSString *)projectsId + locationsId:(NSString *)locationsId + applicationsId:(NSString *)applicationsId + servicesId:(NSString *)servicesId { + NSArray *pathParams = @[ + @"applicationsId", @"locationsId", @"projectsId", @"servicesId" + ]; + NSString *pathURITemplate = @"v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}"; + GTLRAppengineQuery_ProjectsLocationsApplicationsServicesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.projectsId = projectsId; + query.locationsId = locationsId; + query.applicationsId = applicationsId; + query.servicesId = servicesId; + query.expectedObjectClass = [GTLRAppengine_Operation class]; + query.loggingName = @"appengine.projects.locations.applications.services.delete"; + return query; +} + +@end + @implementation GTLRAppengineQuery_ProjectsLocationsApplicationsServicesVersionsDelete @dynamic applicationsId, locationsId, projectsId, servicesId, versionsId; diff --git a/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h b/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h index 568a05ccb..ff52335e9 100644 --- a/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h +++ b/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h @@ -2021,6 +2021,51 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @end +/** + * Deletes the specified service and all enclosed versions. + * + * Method: appengine.projects.locations.applications.services.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAppengineCloudPlatform + */ +@interface GTLRAppengineQuery_ProjectsLocationsApplicationsServicesDelete : GTLRAppengineQuery + +/** Part of `name`. See documentation of `projectsId`. */ +@property(nonatomic, copy, nullable) NSString *applicationsId; + +/** Part of `name`. See documentation of `projectsId`. */ +@property(nonatomic, copy, nullable) NSString *locationsId; + +/** + * Part of `name`. Name of the resource requested. Example: + * apps/myapp/services/default. + */ +@property(nonatomic, copy, nullable) NSString *projectsId; + +/** Part of `name`. See documentation of `projectsId`. */ +@property(nonatomic, copy, nullable) NSString *servicesId; + +/** + * Fetches a @c GTLRAppengine_Operation. + * + * Deletes the specified service and all enclosed versions. + * + * @param projectsId Part of `name`. Name of the resource requested. Example: + * apps/myapp/services/default. + * @param locationsId Part of `name`. See documentation of `projectsId`. + * @param applicationsId Part of `name`. See documentation of `projectsId`. + * @param servicesId Part of `name`. See documentation of `projectsId`. + * + * @return GTLRAppengineQuery_ProjectsLocationsApplicationsServicesDelete + */ ++ (instancetype)queryWithProjectsId:(NSString *)projectsId + locationsId:(NSString *)locationsId + applicationsId:(NSString *)applicationsId + servicesId:(NSString *)servicesId; + +@end + /** * Deletes an existing Version resource. * diff --git a/Sources/GeneratedServices/AreaInsights/GTLRAreaInsightsObjects.m b/Sources/GeneratedServices/AreaInsights/GTLRAreaInsightsObjects.m new file mode 100644 index 000000000..ea13f5a3f --- /dev/null +++ b/Sources/GeneratedServices/AreaInsights/GTLRAreaInsightsObjects.m @@ -0,0 +1,197 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Places Insights API (areainsights/v1) +// Description: +// Places Insights API. +// Documentation: +// https://g3doc.corp.google.com/geo/platform/area_insights/README.md?cl=head + +#import + +// ---------------------------------------------------------------------------- +// Constants + +// GTLRAreaInsights_ComputeInsightsRequest.insights +NSString * const kGTLRAreaInsights_ComputeInsightsRequest_Insights_InsightCount = @"INSIGHT_COUNT"; +NSString * const kGTLRAreaInsights_ComputeInsightsRequest_Insights_InsightPlaces = @"INSIGHT_PLACES"; +NSString * const kGTLRAreaInsights_ComputeInsightsRequest_Insights_InsightUnspecified = @"INSIGHT_UNSPECIFIED"; + +// GTLRAreaInsights_Filter.operatingStatus +NSString * const kGTLRAreaInsights_Filter_OperatingStatus_OperatingStatusOperational = @"OPERATING_STATUS_OPERATIONAL"; +NSString * const kGTLRAreaInsights_Filter_OperatingStatus_OperatingStatusPermanentlyClosed = @"OPERATING_STATUS_PERMANENTLY_CLOSED"; +NSString * const kGTLRAreaInsights_Filter_OperatingStatus_OperatingStatusTemporarilyClosed = @"OPERATING_STATUS_TEMPORARILY_CLOSED"; +NSString * const kGTLRAreaInsights_Filter_OperatingStatus_OperatingStatusUnspecified = @"OPERATING_STATUS_UNSPECIFIED"; + +// GTLRAreaInsights_Filter.priceLevels +NSString * const kGTLRAreaInsights_Filter_PriceLevels_PriceLevelExpensive = @"PRICE_LEVEL_EXPENSIVE"; +NSString * const kGTLRAreaInsights_Filter_PriceLevels_PriceLevelFree = @"PRICE_LEVEL_FREE"; +NSString * const kGTLRAreaInsights_Filter_PriceLevels_PriceLevelInexpensive = @"PRICE_LEVEL_INEXPENSIVE"; +NSString * const kGTLRAreaInsights_Filter_PriceLevels_PriceLevelModerate = @"PRICE_LEVEL_MODERATE"; +NSString * const kGTLRAreaInsights_Filter_PriceLevels_PriceLevelUnspecified = @"PRICE_LEVEL_UNSPECIFIED"; +NSString * const kGTLRAreaInsights_Filter_PriceLevels_PriceLevelVeryExpensive = @"PRICE_LEVEL_VERY_EXPENSIVE"; + +// ---------------------------------------------------------------------------- +// +// GTLRAreaInsights_Circle +// + +@implementation GTLRAreaInsights_Circle +@dynamic latLng, place, radius; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAreaInsights_ComputeInsightsRequest +// + +@implementation GTLRAreaInsights_ComputeInsightsRequest +@dynamic filter, insights; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"insights" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAreaInsights_ComputeInsightsResponse +// + +@implementation GTLRAreaInsights_ComputeInsightsResponse +@dynamic count, placeInsights; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"placeInsights" : [GTLRAreaInsights_PlaceInsight class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAreaInsights_CustomArea +// + +@implementation GTLRAreaInsights_CustomArea +@dynamic polygon; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAreaInsights_Filter +// + +@implementation GTLRAreaInsights_Filter +@dynamic locationFilter, operatingStatus, priceLevels, ratingFilter, typeFilter; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"operatingStatus" : [NSString class], + @"priceLevels" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAreaInsights_LatLng +// + +@implementation GTLRAreaInsights_LatLng +@dynamic latitude, longitude; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAreaInsights_LocationFilter +// + +@implementation GTLRAreaInsights_LocationFilter +@dynamic circle, customArea, region; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAreaInsights_PlaceInsight +// + +@implementation GTLRAreaInsights_PlaceInsight +@dynamic place; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAreaInsights_Polygon +// + +@implementation GTLRAreaInsights_Polygon +@dynamic coordinates; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"coordinates" : [GTLRAreaInsights_LatLng class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAreaInsights_RatingFilter +// + +@implementation GTLRAreaInsights_RatingFilter +@dynamic maxRating, minRating; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAreaInsights_Region +// + +@implementation GTLRAreaInsights_Region +@dynamic place; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAreaInsights_TypeFilter +// + +@implementation GTLRAreaInsights_TypeFilter +@dynamic excludedPrimaryTypes, excludedTypes, includedPrimaryTypes, + includedTypes; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"excludedPrimaryTypes" : [NSString class], + @"excludedTypes" : [NSString class], + @"includedPrimaryTypes" : [NSString class], + @"includedTypes" : [NSString class] + }; + return map; +} + +@end diff --git a/Sources/GeneratedServices/AreaInsights/GTLRAreaInsightsQuery.m b/Sources/GeneratedServices/AreaInsights/GTLRAreaInsightsQuery.m new file mode 100644 index 000000000..24d3f60a5 --- /dev/null +++ b/Sources/GeneratedServices/AreaInsights/GTLRAreaInsightsQuery.m @@ -0,0 +1,39 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Places Insights API (areainsights/v1) +// Description: +// Places Insights API. +// Documentation: +// https://g3doc.corp.google.com/geo/platform/area_insights/README.md?cl=head + +#import + +@implementation GTLRAreaInsightsQuery + +@dynamic fields; + +@end + +@implementation GTLRAreaInsightsQuery_V1ComputeInsights + ++ (instancetype)queryWithObject:(GTLRAreaInsights_ComputeInsightsRequest *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"v1:computeInsights"; + GTLRAreaInsightsQuery_V1ComputeInsights *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRAreaInsights_ComputeInsightsResponse class]; + query.loggingName = @"areainsights.computeInsights"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/AreaInsights/GTLRAreaInsightsService.m b/Sources/GeneratedServices/AreaInsights/GTLRAreaInsightsService.m new file mode 100644 index 000000000..86ec7c42d --- /dev/null +++ b/Sources/GeneratedServices/AreaInsights/GTLRAreaInsightsService.m @@ -0,0 +1,35 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Places Insights API (areainsights/v1) +// Description: +// Places Insights API. +// Documentation: +// https://g3doc.corp.google.com/geo/platform/area_insights/README.md?cl=head + +#import + +// ---------------------------------------------------------------------------- +// Authorization scope + +NSString * const kGTLRAuthScopeAreaInsightsCloudPlatform = @"https://www.googleapis.com/auth/cloud-platform"; + +// ---------------------------------------------------------------------------- +// GTLRAreaInsightsService +// + +@implementation GTLRAreaInsightsService + +- (instancetype)init { + self = [super init]; + if (self) { + // From discovery. + self.rootURLString = @"https://areainsights.googleapis.com/"; + self.batchPath = @"batch"; + self.prettyPrintQueryParameterNames = @[ @"prettyPrint" ]; + } + return self; +} + +@end diff --git a/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsights.h b/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsights.h new file mode 100644 index 000000000..64c95931d --- /dev/null +++ b/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsights.h @@ -0,0 +1,13 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Places Insights API (areainsights/v1) +// Description: +// Places Insights API. +// Documentation: +// https://g3doc.corp.google.com/geo/platform/area_insights/README.md?cl=head + +#import "GTLRAreaInsightsObjects.h" +#import "GTLRAreaInsightsQuery.h" +#import "GTLRAreaInsightsService.h" diff --git a/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsObjects.h b/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsObjects.h new file mode 100644 index 000000000..a8745dd79 --- /dev/null +++ b/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsObjects.h @@ -0,0 +1,402 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Places Insights API (areainsights/v1) +// Description: +// Places Insights API. +// Documentation: +// https://g3doc.corp.google.com/geo/platform/area_insights/README.md?cl=head + +#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 GTLRAreaInsights_Circle; +@class GTLRAreaInsights_CustomArea; +@class GTLRAreaInsights_Filter; +@class GTLRAreaInsights_LatLng; +@class GTLRAreaInsights_LocationFilter; +@class GTLRAreaInsights_PlaceInsight; +@class GTLRAreaInsights_Polygon; +@class GTLRAreaInsights_RatingFilter; +@class GTLRAreaInsights_Region; +@class GTLRAreaInsights_TypeFilter; + +// Generated comments include content from the discovery document; avoid them +// causing warnings since clang's checks are some what arbitrary. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" + +NS_ASSUME_NONNULL_BEGIN + +// ---------------------------------------------------------------------------- +// Constants - For some of the classes' properties below. + +// ---------------------------------------------------------------------------- +// GTLRAreaInsights_ComputeInsightsRequest.insights + +/** + * Count insight. When this insight is specified ComputeInsights returns the + * number of places that match the specified filter criteria. ``` For example + * if the request is: ComputeInsightsRequest { insights: INSIGHT_COUNT filter { + * location_filter {region: } type_filter {included_types: "restaurant"} + * operating_status: OPERATING_STATUS_OPERATIONAL price_levels: + * PRICE_LEVEL_FREE price_levels: PRICE_LEVEL_INEXPENSIVE min_rating: 4.0 } } + * The method will return the count of restaurants in California that are + * operational, with price level free or inexpensive and have an average rating + * of at least 4 starts. Example response: ComputeInsightsResponse { count: } + * ``` + * + * Value: "INSIGHT_COUNT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAreaInsights_ComputeInsightsRequest_Insights_InsightCount; +/** + * Return Places When this insight is specified ComputeInsights returns Places + * that match the specified filter criteria. ``` For example if the request is: + * ComputeInsightsRequest { insights: INSIGHT_PLACES filter { location_filter + * {region: } type_filter {included_types: "restaurant"} operating_status: + * OPERATING_STATUS_OPERATIONAL price_levels: PRICE_LEVEL_FREE price_levels: + * PRICE_LEVEL_INEXPENSIVE min_rating: 4.0 } } The method will return list of + * places of restaurants in California that are operational, with price level + * free or inexpensive and have an average rating of at least 4 stars. Example + * response: ComputeInsightsResponse { place_insights { place: "places/ABC" } + * place_insights { place: "places/PQR" } place_insights { place: "places/XYZ" + * } } ``` + * + * Value: "INSIGHT_PLACES" + */ +FOUNDATION_EXTERN NSString * const kGTLRAreaInsights_ComputeInsightsRequest_Insights_InsightPlaces; +/** + * Not Specified. + * + * Value: "INSIGHT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAreaInsights_ComputeInsightsRequest_Insights_InsightUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAreaInsights_Filter.operatingStatus + +/** + * The place is operational and its open during its defined hours. + * + * Value: "OPERATING_STATUS_OPERATIONAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAreaInsights_Filter_OperatingStatus_OperatingStatusOperational; +/** + * The Place is no longer in business. + * + * Value: "OPERATING_STATUS_PERMANENTLY_CLOSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAreaInsights_Filter_OperatingStatus_OperatingStatusPermanentlyClosed; +/** + * The Place is temporarily closed and expected to reopen in the future. + * + * Value: "OPERATING_STATUS_TEMPORARILY_CLOSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAreaInsights_Filter_OperatingStatus_OperatingStatusTemporarilyClosed; +/** + * Not Specified. + * + * Value: "OPERATING_STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAreaInsights_Filter_OperatingStatus_OperatingStatusUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAreaInsights_Filter.priceLevels + +/** + * Place provides expensive services. + * + * Value: "PRICE_LEVEL_EXPENSIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAreaInsights_Filter_PriceLevels_PriceLevelExpensive; +/** + * Place provides free services. + * + * Value: "PRICE_LEVEL_FREE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAreaInsights_Filter_PriceLevels_PriceLevelFree; +/** + * Place provides inexpensive services. + * + * Value: "PRICE_LEVEL_INEXPENSIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAreaInsights_Filter_PriceLevels_PriceLevelInexpensive; +/** + * Place provides moderately priced services. + * + * Value: "PRICE_LEVEL_MODERATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAreaInsights_Filter_PriceLevels_PriceLevelModerate; +/** + * Place price level is unspecified or unknown. + * + * Value: "PRICE_LEVEL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAreaInsights_Filter_PriceLevels_PriceLevelUnspecified; +/** + * Place provides very expensive services. + * + * Value: "PRICE_LEVEL_VERY_EXPENSIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAreaInsights_Filter_PriceLevels_PriceLevelVeryExpensive; + +/** + * A circle is defined by a center point and radius in meters. + */ +@interface GTLRAreaInsights_Circle : GTLRObject + +/** The latitude and longitude of the center of the circle. */ +@property(nonatomic, strong, nullable) GTLRAreaInsights_LatLng *latLng; + +/** + * The Place resource name of the center of the circle. Only point places are + * supported. + */ +@property(nonatomic, copy, nullable) NSString *place; + +/** + * Optional. The radius of the circle in meters + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *radius; + +@end + + +/** + * Request for the ComputeInsights RPC. + */ +@interface GTLRAreaInsights_ComputeInsightsRequest : GTLRObject + +/** Required. Insight filter. */ +@property(nonatomic, strong, nullable) GTLRAreaInsights_Filter *filter; + +/** + * Required. Insights to compute. Currently only INSIGHT_COUNT and + * INSIGHT_PLACES are supported. + */ +@property(nonatomic, strong, nullable) NSArray *insights; + +@end + + +/** + * Response for the ComputeInsights RPC. + */ +@interface GTLRAreaInsights_ComputeInsightsResponse : GTLRObject + +/** + * Result for Insights.INSIGHT_COUNT. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *count; + +/** Result for Insights.INSIGHT_PLACES. */ +@property(nonatomic, strong, nullable) NSArray *placeInsights; + +@end + + +/** + * Custom Area. + */ +@interface GTLRAreaInsights_CustomArea : GTLRObject + +/** Required. The custom area represented as a polygon */ +@property(nonatomic, strong, nullable) GTLRAreaInsights_Polygon *polygon; + +@end + + +/** + * Filters for the ComputeInsights RPC. + */ +@interface GTLRAreaInsights_Filter : GTLRObject + +/** + * Required. Restricts results to places which are located in the area + * specified by location filters. + */ +@property(nonatomic, strong, nullable) GTLRAreaInsights_LocationFilter *locationFilter; + +/** + * Optional. Restricts results to places whose operating status is included on + * this list. If operating_status is not set, OPERATING_STATUS_OPERATIONAL is + * used as default. + */ +@property(nonatomic, strong, nullable) NSArray *operatingStatus; + +/** + * Optional. Restricts results to places whose price level is included on this + * list. If price_level is not set, all price levels are included in the + * results. + */ +@property(nonatomic, strong, nullable) NSArray *priceLevels; + +/** + * Optional. Restricts results to places whose average user ratings are in the + * range specified by rating_filter. If rating_filter is not set, all ratings + * are included in the result. + */ +@property(nonatomic, strong, nullable) GTLRAreaInsights_RatingFilter *ratingFilter; + +/** Required. Place type filters. */ +@property(nonatomic, strong, nullable) GTLRAreaInsights_TypeFilter *typeFilter; + +@end + + +/** + * An object that represents a latitude/longitude pair. This is expressed as a + * pair of doubles to represent degrees latitude and degrees longitude. Unless + * specified otherwise, this object must conform to the WGS84 standard. Values + * must be within normalized ranges. + */ +@interface GTLRAreaInsights_LatLng : GTLRObject + +/** + * The latitude in degrees. It must be in the range [-90.0, +90.0]. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *latitude; + +/** + * The longitude in degrees. It must be in the range [-180.0, +180.0]. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *longitude; + +@end + + +/** + * Location filters. Specifies the area of interest for the insight. + */ +@interface GTLRAreaInsights_LocationFilter : GTLRObject + +/** Area as a circle. */ +@property(nonatomic, strong, nullable) GTLRAreaInsights_Circle *circle; + +/** Custom area specified by a polygon. */ +@property(nonatomic, strong, nullable) GTLRAreaInsights_CustomArea *customArea; + +/** Area as region. */ +@property(nonatomic, strong, nullable) GTLRAreaInsights_Region *region; + +@end + + +/** + * Holds information about a place + */ +@interface GTLRAreaInsights_PlaceInsight : GTLRObject + +/** + * The unique identifier of the place. This resource name can be used to + * retrieve details about the place using the [Places + * API](https://developers.google.com/maps/documentation/places/web-service/reference/rest/v1/places/get). + */ +@property(nonatomic, copy, nullable) NSString *place; + +@end + + +/** + * A polygon is represented by a series of connected coordinates in an + * counterclockwise ordered sequence. The coordinates form a closed loop and + * define a filled region. The first and last coordinates are equivalent, and + * they must contain identical values. The format is a simplified version of + * GeoJSON polygons (we only support one counterclockwise exterior ring). + */ +@interface GTLRAreaInsights_Polygon : GTLRObject + +/** Optional. The coordinates that define the polygon. */ +@property(nonatomic, strong, nullable) NSArray *coordinates; + +@end + + +/** + * Average user rating filters. + */ +@interface GTLRAreaInsights_RatingFilter : GTLRObject + +/** + * Optional. Restricts results to places whose average user rating is strictly + * less than or equal to max_rating. Values must be between 1.0 and 5.0. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxRating; + +/** + * Optional. Restricts results to places whose average user rating is greater + * than or equal to min_rating. Values must be between 1.0 and 5.0. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minRating; + +@end + + +/** + * A region is a geographic boundary such as: cities, postal codes, counties, + * states, etc. + */ +@interface GTLRAreaInsights_Region : GTLRObject + +/** The unique identifier of a specific geographic region. */ +@property(nonatomic, copy, nullable) NSString *place; + +@end + + +/** + * Place type filters. Only Place types from [Table + * a](https://developers.google.com/maps/documentation/places/web-service/place-types#table-a) + * are supported. A place can only have a single primary type associated with + * it. For example, the primary type might be "mexican_restaurant" or + * "steak_house". Use included_primary_types and excluded_primary_types to + * filter the results on a place's primary type. A place can also have multiple + * type values associated with it. For example a restaurant might have the + * following types: "seafood_restaurant", "restaurant", "food", + * "point_of_interest", "establishment". Use included_types and excluded_types + * to filter the results on the list of types associated with a place. If a + * search is specified with multiple type restrictions, only places that + * satisfy all of the restrictions are returned. For example, if you specify + * {"included_types": ["restaurant"], "excluded_primary_types": + * ["steak_house"]}, the returned places provide "restaurant" related services + * but do not operate primarily as a "steak_house". If there are any + * conflicting types, i.e. a type appears in both included_types and + * excluded_types types or included_primary_types and excluded_primary_types, + * an INVALID_ARGUMENT error is returned. One of included_types or + * included_primary_types must be set. + */ +@interface GTLRAreaInsights_TypeFilter : GTLRObject + +/** Optional. Excluded primary Place types. */ +@property(nonatomic, strong, nullable) NSArray *excludedPrimaryTypes; + +/** Optional. Excluded Place types. */ +@property(nonatomic, strong, nullable) NSArray *excludedTypes; + +/** Optional. Included primary Place types. */ +@property(nonatomic, strong, nullable) NSArray *includedPrimaryTypes; + +/** Optional. Included Place types. */ +@property(nonatomic, strong, nullable) NSArray *includedTypes; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsQuery.h b/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsQuery.h new file mode 100644 index 000000000..3e190009d --- /dev/null +++ b/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsQuery.h @@ -0,0 +1,78 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Places Insights API (areainsights/v1) +// Description: +// Places Insights API. +// Documentation: +// https://g3doc.corp.google.com/geo/platform/area_insights/README.md?cl=head + +#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 "GTLRAreaInsightsObjects.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 Area Insights query classes. + */ +@interface GTLRAreaInsightsQuery : GTLRQuery + +/** Selector specifying which fields to include in a partial response. */ +@property(nonatomic, copy, nullable) NSString *fields; + +@end + +/** + * Compute Insights RPC This method lets you retrieve insights about areas + * using a variaty of filter such as: area, place type, operating status, price + * level and ratings. Currently "count" and "places" insights are supported. + * With "count" insights you can answer questions such as "How many restaurant + * are located in California that are operational, are inexpensive and have an + * average rating of at least 4 stars" (see `insight` enum for more details). + * With "places" insights, you can determine which places match the requested + * filter. Clients can then use those place resource names to fetch more + * details about each individual place using the Places API. + * + * Method: areainsights.computeInsights + * + * Authorization scope(s): + * @c kGTLRAuthScopeAreaInsightsCloudPlatform + */ +@interface GTLRAreaInsightsQuery_V1ComputeInsights : GTLRAreaInsightsQuery + +/** + * Fetches a @c GTLRAreaInsights_ComputeInsightsResponse. + * + * Compute Insights RPC This method lets you retrieve insights about areas + * using a variaty of filter such as: area, place type, operating status, price + * level and ratings. Currently "count" and "places" insights are supported. + * With "count" insights you can answer questions such as "How many restaurant + * are located in California that are operational, are inexpensive and have an + * average rating of at least 4 stars" (see `insight` enum for more details). + * With "places" insights, you can determine which places match the requested + * filter. Clients can then use those place resource names to fetch more + * details about each individual place using the Places API. + * + * @param object The @c GTLRAreaInsights_ComputeInsightsRequest to include in + * the query. + * + * @return GTLRAreaInsightsQuery_V1ComputeInsights + */ ++ (instancetype)queryWithObject:(GTLRAreaInsights_ComputeInsightsRequest *)object; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsService.h b/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsService.h new file mode 100644 index 000000000..7b4fb2b51 --- /dev/null +++ b/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsService.h @@ -0,0 +1,73 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Places Insights API (areainsights/v1) +// Description: +// Places Insights API. +// Documentation: +// https://g3doc.corp.google.com/geo/platform/area_insights/README.md?cl=head + +#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 kGTLRAuthScopeAreaInsightsCloudPlatform; + +// ---------------------------------------------------------------------------- +// GTLRAreaInsightsService +// + +/** + * Service for executing Places Insights API queries. + * + * Places Insights API. + */ +@interface GTLRAreaInsightsService : GTLRService + +// No new methods + +// Clients should create a standard query with any of the class methods in +// GTLRAreaInsightsQuery.h. The query can the be sent with GTLRService's execute +// methods, +// +// - (GTLRServiceTicket *)executeQuery:(GTLRQuery *)query +// completionHandler:(void (^)(GTLRServiceTicket *ticket, +// id object, NSError *error))handler; +// or +// - (GTLRServiceTicket *)executeQuery:(GTLRQuery *)query +// delegate:(id)delegate +// didFinishSelector:(SEL)finishedSelector; +// +// where finishedSelector has a signature of: +// +// - (void)serviceTicket:(GTLRServiceTicket *)ticket +// finishedWithObject:(id)object +// error:(NSError *)error; +// +// The object passed to the completion handler or delegate method +// is a subclass of GTLRObject, determined by the query method executed. + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryObjects.m b/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryObjects.m index cb3316ad8..4421cf597 100644 --- a/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryObjects.m +++ b/Sources/GeneratedServices/ArtifactRegistry/GTLRArtifactRegistryObjects.m @@ -1252,9 +1252,9 @@ @implementation GTLRArtifactRegistry_RemoteRepositoryConfig @implementation GTLRArtifactRegistry_Repository @dynamic cleanupPolicies, cleanupPolicyDryRun, createTime, descriptionProperty, disallowUnspecifiedMode, dockerConfig, format, kmsKeyName, labels, - mavenConfig, mode, name, remoteRepositoryConfig, satisfiesPzi, - satisfiesPzs, sizeBytes, updateTime, virtualRepositoryConfig, - vulnerabilityScanningConfig; + mavenConfig, mode, name, registryUri, remoteRepositoryConfig, + satisfiesPzi, satisfiesPzs, sizeBytes, updateTime, + virtualRepositoryConfig, vulnerabilityScanningConfig; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; diff --git a/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h b/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h index a88b962e7..120cbdb72 100644 --- a/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h +++ b/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h @@ -2749,6 +2749,12 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistry_YumArtifact_PackageType */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Output only. The repository endpoint, for example: + * `us-docker.pkg.dev/my-proj/my-repo`. + */ +@property(nonatomic, copy, nullable) NSString *registryUri; + /** Configuration specific for a Remote Repository. */ @property(nonatomic, strong, nullable) GTLRArtifactRegistry_RemoteRepositoryConfig *remoteRepositoryConfig; diff --git a/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m b/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m index 3c6f2f61c..955065864 100644 --- a/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m +++ b/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m @@ -19,6 +19,7 @@ // GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata.complianceRegime NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_AssuredWorkloadsForPartners = @"ASSURED_WORKLOADS_FOR_PARTNERS"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_AuRegionsAndUsSupport = @"AU_REGIONS_AND_US_SUPPORT"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_CanadaControlledGoods = @"CANADA_CONTROLLED_GOODS"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_CaProtectedB = @"CA_PROTECTED_B"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_CaRegionsAndSupport = @"CA_REGIONS_AND_SUPPORT"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_Cjis = @"CJIS"; @@ -71,6 +72,7 @@ // GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload.complianceRegime NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_AssuredWorkloadsForPartners = @"ASSURED_WORKLOADS_FOR_PARTNERS"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_AuRegionsAndUsSupport = @"AU_REGIONS_AND_US_SUPPORT"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_CanadaControlledGoods = @"CANADA_CONTROLLED_GOODS"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_CaProtectedB = @"CA_PROTECTED_B"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_CaRegionsAndSupport = @"CA_REGIONS_AND_SUPPORT"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_Cjis = @"CJIS"; diff --git a/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h b/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h index aa8026760..b8022f2f4 100644 --- a/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h +++ b/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h @@ -87,6 +87,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Value: "AU_REGIONS_AND_US_SUPPORT" */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_AuRegionsAndUsSupport; +/** + * Canada Controlled Goods + * + * Value: "CANADA_CONTROLLED_GOODS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_CanadaControlledGoods; /** * Assured Workloads for Canada Protected B regime * @@ -368,6 +374,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Value: "AU_REGIONS_AND_US_SUPPORT" */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_AuRegionsAndUsSupport; +/** + * Canada Controlled Goods + * + * Value: "CANADA_CONTROLLED_GOODS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_CanadaControlledGoods; /** * Assured Workloads for Canada Protected B regime * @@ -916,6 +928,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_AuRegionsAndUsSupport * Assured Workloads for Australia Regions and Support controls (Value: * "AU_REGIONS_AND_US_SUPPORT") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_CanadaControlledGoods + * Canada Controlled Goods (Value: "CANADA_CONTROLLED_GOODS") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_CaProtectedB * Assured Workloads for Canada Protected B regime (Value: * "CA_PROTECTED_B") @@ -1440,6 +1454,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_AuRegionsAndUsSupport * Assured Workloads for Australia Regions and Support controls (Value: * "AU_REGIONS_AND_US_SUPPORT") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_CanadaControlledGoods + * Canada Controlled Goods (Value: "CANADA_CONTROLLED_GOODS") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_CaProtectedB * Assured Workloads for Canada Protected B regime (Value: * "CA_PROTECTED_B") @@ -1766,7 +1782,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl @property(nonatomic, copy, nullable) NSString *ekmProvisioningErrorMapping; /** - * Indicates Ekm enrollment Provisioning of a given workload. + * Output only. Indicates Ekm enrollment Provisioning of a given workload. * * Likely values: * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1WorkloadEkmProvisioningResponse_EkmProvisioningState_EkmProvisioningStateCompleted @@ -1830,7 +1846,8 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) NSNumber *assuredWorkloadsMonitoring; /** - * Allow the partner to view inspectability logs and monitoring violations. + * Optional. Allow the partner to view inspectability logs and monitoring + * violations. * * Uses NSNumber of boolValue. */ @@ -1852,7 +1869,8 @@ GTLR_DEPRECATED @interface GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1WorkloadResourceInfo : GTLRObject /** - * Resource identifier. For a project this represents project_number. + * Output only. Resource identifier. For a project this represents + * project_number. * * Uses NSNumber of longLongValue. */ @@ -1934,7 +1952,7 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) NSArray *setupErrors; /** - * Indicates SAA enrollment status of a given workload. + * Output only. Indicates SAA enrollment status of a given workload. * * Likely values: * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse_SetupStatus_SetupStateUnspecified diff --git a/Sources/GeneratedServices/AuthorizedBuyersMarketplace/GTLRAuthorizedBuyersMarketplaceObjects.m b/Sources/GeneratedServices/AuthorizedBuyersMarketplace/GTLRAuthorizedBuyersMarketplaceObjects.m index fe488aa7a..bfff8f7c7 100644 --- a/Sources/GeneratedServices/AuthorizedBuyersMarketplace/GTLRAuthorizedBuyersMarketplaceObjects.m +++ b/Sources/GeneratedServices/AuthorizedBuyersMarketplace/GTLRAuthorizedBuyersMarketplaceObjects.m @@ -274,9 +274,9 @@ @implementation GTLRAuthorizedBuyersMarketplace_AdSize // @implementation GTLRAuthorizedBuyersMarketplace_AuctionPackage -@dynamic createTime, creator, descriptionProperty, displayName, eligibleSeatIds, - name, subscribedBuyers, subscribedClients, subscribedMediaPlanners, - updateTime; +@dynamic createTime, creator, dealOwnerSeatId, descriptionProperty, displayName, + eligibleSeatIds, name, subscribedBuyers, subscribedClients, + subscribedMediaPlanners, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; diff --git a/Sources/GeneratedServices/AuthorizedBuyersMarketplace/Public/GoogleAPIClientForREST/GTLRAuthorizedBuyersMarketplaceObjects.h b/Sources/GeneratedServices/AuthorizedBuyersMarketplace/Public/GoogleAPIClientForREST/GTLRAuthorizedBuyersMarketplaceObjects.h index 863512957..47696ac14 100644 --- a/Sources/GeneratedServices/AuthorizedBuyersMarketplace/Public/GoogleAPIClientForREST/GTLRAuthorizedBuyersMarketplaceObjects.h +++ b/Sources/GeneratedServices/AuthorizedBuyersMarketplace/Public/GoogleAPIClientForREST/GTLRAuthorizedBuyersMarketplaceObjects.h @@ -1150,6 +1150,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthorizedBuyersMarketplace_VideoTargeti */ @property(nonatomic, copy, nullable) NSString *creator; +/** + * Output only. If set, this field contains the DSP specific seat id set by the + * media planner account that is considered the owner of this deal. The seat ID + * is in the calling DSP's namespace. + */ +@property(nonatomic, copy, nullable) NSString *dealOwnerSeatId; + /** * Output only. A description of the auction package. * @@ -1161,9 +1168,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthorizedBuyersMarketplace_VideoTargeti @property(nonatomic, copy, nullable) NSString *displayName; /** - * Output only. If set, this field contains the list of DSP specific seat ids - * set by media planners that are eligible to transact on this deal. The seat - * ID is in the calling DSP's namespace. + * Output only. If set, this field identifies a seat that the media planner + * selected as the owner of this auction package. This is a seat ID in the + * DSP's namespace that was provided to the media planner. */ @property(nonatomic, strong, nullable) NSArray *eligibleSeatIds; diff --git a/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m b/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m index f8c11d1cb..d766759f6 100644 --- a/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m +++ b/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m @@ -416,8 +416,8 @@ @implementation GTLRBackupdr_Backup @dynamic backupApplianceBackupProperties, backupApplianceLocks, backupType, computeInstanceBackupProperties, consistencyTime, createTime, descriptionProperty, enforcedRetentionEndTime, ETag, expireTime, - gcpBackupPlanInfo, labels, name, resourceSizeBytes, serviceLocks, - state, updateTime; + gcpBackupPlanInfo, labels, name, resourceSizeBytes, satisfiesPzi, + satisfiesPzs, serviceLocks, state, updateTime; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -1024,6 +1024,16 @@ @implementation GTLRBackupdr_InitializeParams @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_InitializeServiceRequest +// + +@implementation GTLRBackupdr_InitializeServiceRequest +@dynamic requestId, resourceType; +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupdr_InitiateBackupRequest diff --git a/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m b/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m index 419f8090a..b1272e552 100644 --- a/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m +++ b/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m @@ -1006,3 +1006,30 @@ + (instancetype)queryWithName:(NSString *)name { } @end + +@implementation GTLRBackupdrQuery_ProjectsLocationsServiceConfigInitialize + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRBackupdr_InitializeServiceRequest *)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}:initialize"; + GTLRBackupdrQuery_ProjectsLocationsServiceConfigInitialize *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRBackupdr_Operation class]; + query.loggingName = @"backupdr.projects.locations.serviceConfig.initialize"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h index f2cfe3468..6b05686f6 100644 --- a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h +++ b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h @@ -1887,6 +1887,20 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @property(nonatomic, strong, nullable) NSNumber *resourceSizeBytes; +/** + * Optional. Output only. Reserved for future use. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzi; + +/** + * Optional. Output only. Reserved for future use. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzs; + /** * Output only. The list of BackupLocks taken by the service to prevent the * deletion of the backup. @@ -2172,7 +2186,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week /** * Required. The resource type to which the `BackupPlan` will be applied. * Examples include, "compute.googleapis.com/Instance", - * "sqladmin.googleapis.com/Instance" and "storage.googleapis.com/Bucket". + * "sqladmin.googleapis.com/Instance", or "alloydb.googleapis.com/Cluster". */ @property(nonatomic, copy, nullable) NSString *resourceType; @@ -2229,8 +2243,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Output only. Output Only. Resource name of data source which will be used as - * storage location for backups taken. Format : + * Output only. Resource name of data source which will be used as storage + * location for backups taken. Format : * projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource} */ @property(nonatomic, copy, nullable) NSString *dataSource; @@ -2249,7 +2263,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week @property(nonatomic, copy, nullable) NSString *resource; /** - * Optional. Required. Resource type of workload on which backupplan is applied + * Required. Immutable. Resource type of workload on which backupplan is + * applied */ @property(nonatomic, copy, nullable) NSString *resourceType; @@ -2293,7 +2308,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week * is 90 for hourly backups. Minimum value is 1 and maximum value is 90 for * daily backups. Minimum value is 7 and maximum value is 186 for weekly * backups. Minimum value is 30 and maximum value is 732 for monthly backups. - * Minimum value is 30 and maximum value is 36159 for yearly backups. + * Minimum value is 365 and maximum value is 36159 for yearly backups. * * Uses NSNumber of intValue. */ @@ -2323,9 +2338,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week /** * Optional. Note: This field is added for future use case and will not be - * supported in the current release. Optional. Access restriction for the - * backup vault. Default value is WITHIN_ORGANIZATION if not provided during - * creation. + * supported in the current release. Access restriction for the backup vault. + * Default value is WITHIN_ORGANIZATION if not provided during creation. * * Likely values: * @arg @c kGTLRBackupdr_BackupVault_AccessRestriction_AccessRestrictionUnspecified @@ -2440,10 +2454,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @property(nonatomic, strong, nullable) NSNumber *totalStoredBytes; -/** - * Output only. Output only Immutable after resource creation until resource - * deletion. - */ +/** Output only. Immutable after resource creation until resource deletion. */ @property(nonatomic, copy, nullable) NSString *uid; /** Output only. The time when the instance was updated. */ @@ -3538,6 +3549,36 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week @end +/** + * Request message for initializing the service. + */ +@interface GTLRBackupdr_InitializeServiceRequest : GTLRObject + +/** + * 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 t he 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. The resource type to which the default service config will be + * applied. Examples include, "compute.googleapis.com/Instance" and + * "storage.googleapis.com/Bucket". + */ +@property(nonatomic, copy, nullable) NSString *resourceType; + +@end + + /** * request message for InitiateBackup. */ @@ -4397,8 +4438,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week /** * Output only. Identifies whether the user has requested cancellation of the * operation. Operations that have successfully been cancelled have - * Operation.error value with a google.rpc.Status.code of 1, corresponding to - * 'Code.CANCELLED'. + * google.longrunning.Operation.error value with a google.rpc.Status.code of 1, + * corresponding to 'Code.CANCELLED'. * * Uses NSNumber of boolValue. */ @@ -4590,10 +4631,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @interface GTLRBackupdr_RuleConfigInfo : GTLRObject -/** - * Output only. Output Only. google.rpc.Status object to store the last backup - * error. - */ +/** Output only. google.rpc.Status object to store the last backup error. */ @property(nonatomic, strong, nullable) GTLRBackupdr_Status *lastBackupError; /** @@ -4620,7 +4658,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @property(nonatomic, strong, nullable) GTLRDateTime *lastSuccessfulBackupConsistencyTime; -/** Output only. Output Only. Backup Rule id fetched from backup plan. */ +/** Output only. Backup Rule id fetched from backup plan. */ @property(nonatomic, copy, nullable) NSString *ruleId; @end diff --git a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h index 6e8dc31a8..41b27f88f 100644 --- a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h +++ b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h @@ -1935,7 +1935,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdrViewBackupViewUnspecified; * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: backupdr.projects.locations.operations.cancel @@ -1958,7 +1958,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdrViewBackupViewUnspecified; * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRBackupdr_CancelOperationRequest to include in the @@ -2075,6 +2075,40 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdrViewBackupViewUnspecified; @end +/** + * Initializes the service related config for a project. + * + * Method: backupdr.projects.locations.serviceConfig.initialize + * + * Authorization scope(s): + * @c kGTLRAuthScopeBackupdrCloudPlatform + */ +@interface GTLRBackupdrQuery_ProjectsLocationsServiceConfigInitialize : GTLRBackupdrQuery + +/** + * Required. The resource name of the serviceConfig used to initialize the + * service. Format: `projects/{project_id}/locations/{location}/serviceConfig`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRBackupdr_Operation. + * + * Initializes the service related config for a project. + * + * @param object The @c GTLRBackupdr_InitializeServiceRequest to include in the + * query. + * @param name Required. The resource name of the serviceConfig used to + * initialize the service. Format: + * `projects/{project_id}/locations/{location}/serviceConfig`. + * + * @return GTLRBackupdrQuery_ProjectsLocationsServiceConfigInitialize + */ ++ (instancetype)queryWithObject:(GTLRBackupdr_InitializeServiceRequest *)object + name:(NSString *)name; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEObjects.h b/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEObjects.h index 9f248d84d..81b326054 100644 --- a/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEObjects.h +++ b/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEObjects.h @@ -986,7 +986,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo /** * Output only. Human-readable description of why the backup is in the current - * `state`. + * `state`. This field is only meant for human readability and should not be + * used programmatically as this field is not guaranteed to be consistent. */ @property(nonatomic, copy, nullable) NSString *stateReason; @@ -1198,7 +1199,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo /** * Output only. Human-readable description of why BackupPlan is in the current - * `state` + * `state`. This field is only meant for human readability and should not be + * used programmatically as this field is not guaranteed to be consistent. */ @property(nonatomic, copy, nullable) NSString *stateReason; @@ -2129,8 +2131,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo /** * Output only. Identifies whether the user has requested cancellation of the * operation. Operations that have successfully been cancelled have - * Operation.error value with a google.rpc.Status.code of 1, corresponding to - * `Code.CANCELLED`. + * google.longrunning.Operation.error value with a google.rpc.Status.code of 1, + * corresponding to `Code.CANCELLED`. * * Uses NSNumber of boolValue. */ @@ -2460,7 +2462,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo /** * Output only. Human-readable description of why the Restore is in its current - * state. + * state. This field is only meant for human readability and should not be used + * programmatically as this field is not guaranteed to be consistent. */ @property(nonatomic, copy, nullable) NSString *stateReason; @@ -2777,7 +2780,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo /** * Output only. Human-readable description of why RestorePlan is in the current - * `state` + * `state`. This field is only meant for human readability and should not be + * used programmatically as this field is not guaranteed to be consistent. */ @property(nonatomic, copy, nullable) NSString *stateReason; @@ -3262,7 +3266,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo /** * Output only. A human readable message explaining why the VolumeBackup is in - * its current state. + * its current state. This field is only meant for human consumption and should + * not be used programmatically as this field is not guaranteed to be + * consistent. */ @property(nonatomic, copy, nullable) NSString *stateMessage; diff --git a/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEQuery.h b/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEQuery.h index 6b7acecbf..b11bf7924 100644 --- a/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEQuery.h +++ b/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEQuery.h @@ -1059,7 +1059,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: gkebackup.projects.locations.operations.cancel @@ -1082,7 +1082,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c diff --git a/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpObjects.h b/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpObjects.h index c41f9407c..ad47dad5a 100644 --- a/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpObjects.h +++ b/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpObjects.h @@ -515,8 +515,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBeyondCorp_GoogleIamV1AuditLogConfig_Log /** * Output only. Identifies whether the user has requested cancellation of the * operation. Operations that have successfully been cancelled have - * Operation.error value with a google.rpc.Status.code of 1, corresponding to - * `Code.CANCELLED`. + * google.longrunning.Operation.error value with a google.rpc.Status.code of + * `1`, corresponding to `Code.CANCELLED`. * * Uses NSNumber of boolValue. */ @@ -681,8 +681,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBeyondCorp_GoogleIamV1AuditLogConfig_Log /** * Output only. Identifies whether the user has requested cancellation of the * operation. Operations that have successfully been cancelled have - * Operation.error value with a google.rpc.Status.code of 1, corresponding to - * `Code.CANCELLED`. + * google.longrunning.Operation.error value with a google.rpc.Status.code of 1, + * corresponding to `Code.CANCELLED`. * * Uses NSNumber of boolValue. */ @@ -888,8 +888,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBeyondCorp_GoogleIamV1AuditLogConfig_Log /** * Output only. Identifies whether the user has requested cancellation of the * operation. Operations that have successfully been cancelled have - * Operation.error value with a google.rpc.Status.code of 1, corresponding to - * `Code.CANCELLED`. + * google.longrunning.Operation.error value with a google.rpc.Status.code of 1, + * corresponding to `Code.CANCELLED`. * * Uses NSNumber of boolValue. */ @@ -1003,8 +1003,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBeyondCorp_GoogleIamV1AuditLogConfig_Log /** * Output only. Identifies whether the user has requested cancellation of the * operation. Operations that have successfully been cancelled have - * Operation.error value with a google.rpc.Status.code of 1, corresponding to - * `Code.CANCELLED`. + * google.longrunning.Operation.error value with a google.rpc.Status.code of + * `1`, corresponding to `Code.CANCELLED`. * * Uses NSNumber of boolValue. */ @@ -1200,8 +1200,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBeyondCorp_GoogleIamV1AuditLogConfig_Log /** * Output only. Identifies whether the user has requested cancellation of the * operation. Operations that have successfully been cancelled have - * Operation.error value with a google.rpc.Status.code of 1, corresponding to - * `Code.CANCELLED`. + * google.longrunning.Operation.error value with a google.rpc.Status.code of + * `1`, corresponding to `Code.CANCELLED`. * * Uses NSNumber of boolValue. */ @@ -1480,8 +1480,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBeyondCorp_GoogleIamV1AuditLogConfig_Log /** * Output only. Identifies whether the user has requested cancellation of the * operation. Operations that have successfully been cancelled have - * Operation.error value with a google.rpc.Status.code of 1, corresponding to - * `Code.CANCELLED`. + * google.longrunning.Operation.error value with a google.rpc.Status.code of + * `1`, corresponding to `Code.CANCELLED`. * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpQuery.h b/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpQuery.h index 51028fa6a..ee31690bc 100644 --- a/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpQuery.h +++ b/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpQuery.h @@ -443,7 +443,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: beyondcorp.organizations.locations.operations.cancel @@ -466,7 +466,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRBeyondCorp_GoogleLongrunningCancelOperationRequest @@ -2377,7 +2377,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: beyondcorp.projects.locations.operations.cancel @@ -2400,7 +2400,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRBeyondCorp_GoogleLongrunningCancelOperationRequest diff --git a/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationObjects.h b/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationObjects.h index 40d2ea480..1178c26bb 100644 --- a/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationObjects.h +++ b/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationObjects.h @@ -904,30 +904,25 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_Edition_ @property(nonatomic, copy, nullable) NSString *name; /** - * Optional. The original primary location of the reservation which is set only - * during its creation and remains unchanged afterwards. It can be used by the - * customer to answer questions about disaster recovery billing. The field is - * output only for customers and should not be specified, however, the - * `google.api.field_behavior` is not set to `OUTPUT_ONLY` since these fields - * are set in rerouted requests sent across regions. + * Output only. The location where the reservation was originally created. This + * is set only during the failover reservation's creation. All billing charges + * for the failover reservation will be applied to this location. */ @property(nonatomic, copy, nullable) NSString *originalPrimaryLocation; /** - * Optional. The primary location of the reservation. The field is only - * meaningful for a failover reservation that is used for managed disaster - * recovery. The field is output only for customers and should not be - * specified. However, the `google.api.field_behavior` is not set to - * `OUTPUT_ONLY` since these fields are set in rerouted requests sent across - * regions. + * Output only. The current location of the reservation's primary replica. This + * field is only set for reservations using the managed disaster recovery + * feature. */ @property(nonatomic, copy, nullable) NSString *primaryLocation; /** - * Optional. The secondary location of the reservation that is used for managed - * disaster recovery. Customers can set this in create/update reservation calls - * to create a failover reservation or convert a non-failover reservation to a - * failover reservation. + * Optional. The current location of the reservation's secondary replica. This + * field is only set for reservations using the managed disaster recovery + * feature. Users can set this in create reservation calls to create a failover + * reservation or in update reservation calls to convert a non-failover + * reservation to a failover reservation(or vice versa). */ @property(nonatomic, copy, nullable) NSString *secondaryLocation; diff --git a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h index 817778ba3..3d931e293 100644 --- a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h +++ b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h @@ -1320,7 +1320,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_LinkedDatasetMetadata_LinkState /** * View is invalidated because of a data change in one or more base tables. It * could be any recent change if the - * [`max_staleness`](https://cloud.google.com/bigquery/docs/materialized-views-create#max_staleness) + * [`maxStaleness`](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#Table.FIELDS.max_staleness) * option is not set for the view, or otherwise any change outside of the * staleness window. * @@ -4959,8 +4959,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa * One or more fields on which data should be clustered. Only top-level, * non-repeated, simple-type fields are supported. The ordering of the * clustering fields should be prioritized from most to least important for - * filtering purposes. Additional information on limitations can be found here: - * https://cloud.google.com/bigquery/docs/creating-clustered-tables#limitations + * filtering purposes. For additional information, see [Introduction to + * clustered + * tables](https://cloud.google.com/bigquery/docs/clustered-tables#limitations). */ @property(nonatomic, strong, nullable) NSArray *fields; @@ -6442,7 +6443,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** * Options defining open source compatible datasets living in the BigQuery - * catalog. Contains metadata of open source database, schema or namespace + * catalog. Contains metadata of open source database, schema, or namespace * represented by the current dataset. */ @interface GTLRBigquery_ExternalCatalogDatasetOptions : GTLRObject @@ -6455,7 +6456,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** * Optional. A map of key value pairs defining the parameters and properties of - * the open source schema. Maximum size of 2Mib. + * the open source schema. Maximum size of 2MiB. */ @property(nonatomic, strong, nullable) GTLRBigquery_ExternalCatalogDatasetOptions_Parameters *parameters; @@ -6464,7 +6465,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** * Optional. A map of key value pairs defining the parameters and properties of - * the open source schema. Maximum size of 2Mib. + * the open source schema. Maximum size of 2MiB. * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list @@ -6477,22 +6478,23 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** * Metadata about open source compatible table. The fields contained in these - * options correspond to hive metastore's table level properties. + * options correspond to Hive metastore's table-level properties. */ @interface GTLRBigquery_ExternalCatalogTableOptions : GTLRObject /** - * Optional. The connection specifying the credentials to be used to read - * external storage, such as Azure Blob, Cloud Storage, or S3. The connection - * is needed to read the open source table from BigQuery Engine. The - * connection_id can have the form `..` or `projects//locations//connections/`. + * Optional. A connection ID that specifies the credentials to be used to read + * external storage, such as Azure Blob, Cloud Storage, or Amazon S3. This + * connection is needed to read the open source table from BigQuery. The + * connection_id format must be either `..` or + * `projects//locations//connections/`. */ @property(nonatomic, copy, nullable) NSString *connectionId; /** - * Optional. A map of key value pairs defining the parameters and properties of - * the open source table. Corresponds with hive meta store table parameters. - * Maximum size of 4Mib. + * Optional. A map of the key-value pairs defining the parameters and + * properties of the open source table. Corresponds with Hive metastore table + * parameters. Maximum size of 4MiB. */ @property(nonatomic, strong, nullable) GTLRBigquery_ExternalCatalogTableOptions_Parameters *parameters; @@ -6506,9 +6508,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** - * Optional. A map of key value pairs defining the parameters and properties of - * the open source table. Corresponds with hive meta store table parameters. - * Maximum size of 4Mib. + * Optional. A map of the key-value pairs defining the parameters and + * properties of the open source table. Corresponds with Hive metastore table + * parameters. Maximum size of 4MiB. * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list @@ -9009,7 +9011,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa * statement. * `INSERT`: * [`INSERT`](https://cloud.google.com/bigquery/docs/reference/standard-sql/dml-syntax#insert_statement) * statement. * `UPDATE`: - * [`UPDATE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#update_statement) + * [`UPDATE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/dml-syntax#update_statement) * statement. * `DELETE`: * [`DELETE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language) * statement. * `MERGE`: @@ -9018,7 +9020,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa * TABLE`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_table_statement) * statement, without `AS SELECT`. * `CREATE_TABLE_AS_SELECT`: [`CREATE TABLE * AS - * SELECT`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#query_statement) + * SELECT`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_table_statement) * statement. * `CREATE_VIEW`: [`CREATE * VIEW`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#create_view_statement) * statement. * `CREATE_MODEL`: [`CREATE @@ -9070,7 +9072,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa * statement. * `ALTER_MATERIALIZED_VIEW`: [`ALTER MATERIALIZED * VIEW`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#alter_materialized_view_set_options_statement) * statement. * `ALTER_SCHEMA`: [`ALTER - * SCHEMA`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#aalter_schema_set_options_statement) + * SCHEMA`](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#alter_schema_set_options_statement) * statement. * `SCRIPT`: * [`SCRIPT`](https://cloud.google.com/bigquery/docs/reference/standard-sql/procedural-language). * * `TRUNCATE_TABLE`: [`TRUNCATE @@ -9590,7 +9592,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa * @arg @c kGTLRBigquery_MaterializedView_RejectedReason_BaseTableDataChange * View is invalidated because of a data change in one or more base * tables. It could be any recent change if the - * [`max_staleness`](https://cloud.google.com/bigquery/docs/materialized-views-create#max_staleness) + * [`maxStaleness`](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#Table.FIELDS.max_staleness) * option is not set for the view, or otherwise any change outside of the * staleness window. (Value: "BASE_TABLE_DATA_CHANGE") * @arg @c kGTLRBigquery_MaterializedView_RejectedReason_BaseTableExpiredPartition @@ -10713,8 +10715,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) GTLRBigquery_QueryRequest_Labels *labels; /** - * The geographic location where the job should run. See details at - * https://cloud.google.com/bigquery/docs/locations#specifying_your_location. + * The geographic location where the job should run. For more information, see + * how to [specify + * locations](https://cloud.google.com/bigquery/docs/locations#specify_locations). */ @property(nonatomic, copy, nullable) NSString *location; @@ -13699,7 +13702,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa * DATA_SPLIT_EVAL_FRACTION rows (from smallest to largest) in the * corresponding column are used as training data, and the rest are eval data. * It respects the order in Orderable data types: - * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#data-type-properties + * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#data_type_properties */ @property(nonatomic, copy, nullable) NSString *dataSplitColumn; diff --git a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryQuery.h b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryQuery.h index bb3765185..779b355f5 100644 --- a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryQuery.h +++ b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryQuery.h @@ -204,7 +204,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests * for conditional access policy binding in datasets must specify version 3. * Dataset with no conditional role bindings in access policy may specify any - * valid value or leave the field unset. This field will be maped to [IAM + * valid value or leave the field unset. This field will be mapped to [IAM * Policy version] (https://cloud.google.com/iam/docs/policies#versions) and * will be used to fetch policy from IAM. If unset or if 0 or 1 value is used * for dataset with conditional bindings, access entry with condition will have @@ -276,7 +276,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * dataset with no conditional role bindings in access policy may specify any * valid value or leave the field unset. If unset or if 0 or 1 value is used * for dataset with conditional bindings, request will be rejected. This field - * will be maped to IAM Policy version + * will be mapped to IAM Policy version * (https://cloud.google.com/iam/docs/policies#versions) and will be used to * set policy in IAM. */ @@ -384,7 +384,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * access policy entry with condition. * But dataset with no conditional role * bindings in access policy may specify any valid value or leave the field * unset. If unset or if 0 or 1 value is used for dataset with conditional - * bindings, request will be rejected. This field will be maped to IAM Policy + * bindings, request will be rejected. This field will be mapped to IAM Policy * version (https://cloud.google.com/iam/docs/policies#versions) and will be * used to set policy in IAM. */ @@ -480,7 +480,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * access policy entry with condition. * But dataset with no conditional role * bindings in access policy may specify any valid value or leave the field * unset. If unset or if 0 or 1 value is used for dataset with conditional - * bindings, request will be rejected. This field will be maped to IAM Policy + * bindings, request will be rejected. This field will be mapped to IAM Policy * version (https://cloud.google.com/iam/docs/policies#versions) and will be * used to set policy in IAM. */ @@ -528,11 +528,11 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified @property(nonatomic, copy, nullable) NSString *jobId; /** - * The geographic location of the job. You must specify the location to run the - * job for the following scenarios: * If the location to run a job is not in - * the `us` or the `eu` multi-regional location * If the job's location is in a - * single region (for example, `us-central1`) For more information, see - * https://cloud.google.com/bigquery/docs/locations#specifying_your_location. + * The geographic location of the job. You must [specify the + * location](https://cloud.google.com/bigquery/docs/locations#specify_locations) + * to run the job for the following scenarios: * If the location to run a job + * is not in the `us` or the `eu` multi-regional location * If the job's + * location is in a single region (for example, `us-central1`) */ @property(nonatomic, copy, nullable) NSString *location; @@ -577,8 +577,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified @property(nonatomic, copy, nullable) NSString *jobId; /** - * The geographic location of the job. Required. See details at: - * https://cloud.google.com/bigquery/docs/locations#specifying_your_location. + * The geographic location of the job. Required. For more information, see how + * to [specify + * locations](https://cloud.google.com/bigquery/docs/locations#specify_locations). */ @property(nonatomic, copy, nullable) NSString *location; @@ -627,8 +628,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * The geographic location of the job. You must specify the location to run the * job for the following scenarios: * If the location to run a job is not in * the `us` or the `eu` multi-regional location * If the job's location is in a - * single region (for example, `us-central1`) For more information, see - * https://cloud.google.com/bigquery/docs/locations#specifying_your_location. + * single region (for example, `us-central1`) For more information, see how to + * [specify + * locations](https://cloud.google.com/bigquery/docs/locations#specify_locations). */ @property(nonatomic, copy, nullable) NSString *location; @@ -674,8 +676,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * The geographic location of the job. You must specify the location to run the * job for the following scenarios: * If the location to run a job is not in * the `us` or the `eu` multi-regional location * If the job's location is in a - * single region (for example, `us-central1`) For more information, see - * https://cloud.google.com/bigquery/docs/locations#specifying_your_location. + * single region (for example, `us-central1`) For more information, see how to + * [specify + * locations](https://cloud.google.com/bigquery/docs/locations#specify_locations). */ @property(nonatomic, copy, nullable) NSString *location; diff --git a/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h b/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h index 01678c65a..3d4f70457 100644 --- a/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h +++ b/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h @@ -713,8 +713,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateU @property(nonatomic, strong, nullable) GTLRDuration *frequency; /** - * Required. How long the automated backups should be retained. The only - * supported value at this time is 3 days. + * Required. How long the automated backups should be retained. Values must be + * at least 3 days and at most 90 days. */ @property(nonatomic, strong, nullable) GTLRDuration *retentionPeriod; @@ -3101,7 +3101,7 @@ GTLR_DEPRECATED * If exists, the name of the long-running operation that will be used to track * the post-restore optimization process to optimize the performance of the * restored table. The metadata type of the long-running operation is - * OptimizeRestoreTableMetadata. The response type is Empty. This long-running + * OptimizeRestoredTableMetadata. The response type is Empty. This long-running * operation may be automatically created by the system if applicable after the * RestoreTable long-running operation completes successfully. This operation * may not be created if the table is already optimized or the restore was not diff --git a/Sources/GeneratedServices/BlockchainNodeEngine/Public/GoogleAPIClientForREST/GTLRBlockchainNodeEngineQuery.h b/Sources/GeneratedServices/BlockchainNodeEngine/Public/GoogleAPIClientForREST/GTLRBlockchainNodeEngineQuery.h index 6572b339d..b73de41b2 100644 --- a/Sources/GeneratedServices/BlockchainNodeEngine/Public/GoogleAPIClientForREST/GTLRBlockchainNodeEngineQuery.h +++ b/Sources/GeneratedServices/BlockchainNodeEngine/Public/GoogleAPIClientForREST/GTLRBlockchainNodeEngineQuery.h @@ -342,7 +342,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: blockchainnodeengine.projects.locations.operations.cancel @@ -365,7 +365,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRBlockchainNodeEngine_CancelOperationRequest to diff --git a/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformObjects.h b/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformObjects.h index 985b225cc..93f23a80f 100644 --- a/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformObjects.h +++ b/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformObjects.h @@ -838,8 +838,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_WeeklySchedule_Days_Wednesd /** * Output only. Identifies whether the user has requested cancellation of the * operation. Operations that have been cancelled successfully have - * Operation.error value with a google.rpc.Status.code of 1, corresponding to - * `Code.CANCELLED`. + * google.longrunning.Operation.error value with a google.rpc.Status.code of + * `1`, corresponding to `Code.CANCELLED`. * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformQuery.h b/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformQuery.h index faaa4453d..58347fa44 100644 --- a/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformQuery.h +++ b/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformQuery.h @@ -330,7 +330,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: contactcenteraiplatform.projects.locations.operations.cancel @@ -353,7 +353,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRCCAIPlatform_CancelOperationRequest to include in diff --git a/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceObjects.h b/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceObjects.h index c30b09d7c..2ad27848e 100644 --- a/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceObjects.h +++ b/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceObjects.h @@ -972,8 +972,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_RevokedCerti @property(nonatomic, strong, nullable) GTLRCertificateAuthorityService_CaPool_Labels *labels; /** - * Output only. Identifier. The resource name for this CaPool in the format - * `projects/ * /locations/ * /caPools/ *`. + * Identifier. The resource name for this CaPool in the format `projects/ * + * /locations/ * /caPools/ *`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1067,7 +1067,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_RevokedCerti @property(nonatomic, strong, nullable) GTLRDuration *lifetime; /** - * Output only. The resource name for this Certificate in the format `projects/ + * Identifier. The resource name for this Certificate in the format `projects/ * * /locations/ * /caPools/ * /certificates/ *`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1198,9 +1198,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_RevokedCerti @property(nonatomic, strong, nullable) GTLRDuration *lifetime; /** - * Output only. Identifier. The resource name for this CertificateAuthority in - * the format `projects/ * /locations/ * /caPools/ * /certificateAuthorities/ - * *`. + * Identifier. The resource name for this CertificateAuthority in the format + * `projects/ * /locations/ * /caPools/ * /certificateAuthorities/ *`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1507,7 +1506,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_RevokedCerti @property(nonatomic, strong, nullable) GTLRCertificateAuthorityService_CertificateRevocationList_Labels *labels; /** - * Output only. The resource name for this CertificateRevocationList in the + * Identifier. The resource name for this CertificateRevocationList in the * format `projects/ * /locations/ * /caPools/ *certificateAuthorities/ * / * certificateRevocationLists/ *`. */ @@ -1605,7 +1604,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_RevokedCerti @property(nonatomic, strong, nullable) GTLRDuration *maximumLifetime; /** - * Output only. The resource name for this CertificateTemplate in the format + * Identifier. The resource name for this CertificateTemplate in the format * `projects/ * /locations/ * /certificateTemplates/ *`. */ @property(nonatomic, copy, nullable) NSString *name; diff --git a/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceQuery.h b/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceQuery.h index 8d046b5ca..54ee7e85a 100644 --- a/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceQuery.h +++ b/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceQuery.h @@ -220,7 +220,7 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCertificateAuthorityServiceQuery_ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsPatch : GTLRCertificateAuthorityServiceQuery /** - * Output only. The resource name for this CertificateRevocationList in the + * Identifier. The resource name for this CertificateRevocationList in the * format `projects/ * /locations/ * /caPools/ *certificateAuthorities/ * / * certificateRevocationLists/ *`. */ @@ -255,9 +255,9 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c * GTLRCertificateAuthorityService_CertificateRevocationList to include in * the query. - * @param name Output only. The resource name for this - * CertificateRevocationList in the format `projects/ * /locations/ * - * /caPools/ *certificateAuthorities/ * / certificateRevocationLists/ *`. + * @param name Identifier. The resource name for this CertificateRevocationList + * in the format `projects/ * /locations/ * /caPools/ + * *certificateAuthorities/ * / certificateRevocationLists/ *`. * * @return GTLRCertificateAuthorityServiceQuery_ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationListsPatch */ @@ -673,9 +673,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCertificateAuthorityServiceQuery_ProjectsLocationsCaPoolsCertificateAuthoritiesPatch : GTLRCertificateAuthorityServiceQuery /** - * Output only. Identifier. The resource name for this CertificateAuthority in - * the format `projects/ * /locations/ * /caPools/ * /certificateAuthorities/ - * *`. + * Identifier. The resource name for this CertificateAuthority in the format + * `projects/ * /locations/ * /caPools/ * /certificateAuthorities/ *`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -707,9 +706,9 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRCertificateAuthorityService_CertificateAuthority to * include in the query. - * @param name Output only. Identifier. The resource name for this - * CertificateAuthority in the format `projects/ * /locations/ * /caPools/ * - * /certificateAuthorities/ *`. + * @param name Identifier. The resource name for this CertificateAuthority in + * the format `projects/ * /locations/ * /caPools/ * /certificateAuthorities/ + * *`. * * @return GTLRCertificateAuthorityServiceQuery_ProjectsLocationsCaPoolsCertificateAuthoritiesPatch */ @@ -931,7 +930,7 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCertificateAuthorityServiceQuery_ProjectsLocationsCaPoolsCertificatesPatch : GTLRCertificateAuthorityServiceQuery /** - * Output only. The resource name for this Certificate in the format `projects/ + * Identifier. The resource name for this Certificate in the format `projects/ * * /locations/ * /caPools/ * /certificates/ *`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -965,8 +964,8 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRCertificateAuthorityService_Certificate to include * in the query. - * @param name Output only. The resource name for this Certificate in the - * format `projects/ * /locations/ * /caPools/ * /certificates/ *`. + * @param name Identifier. The resource name for this Certificate in the format + * `projects/ * /locations/ * /caPools/ * /certificates/ *`. * * @return GTLRCertificateAuthorityServiceQuery_ProjectsLocationsCaPoolsCertificatesPatch */ @@ -1291,8 +1290,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCertificateAuthorityServiceQuery_ProjectsLocationsCaPoolsPatch : GTLRCertificateAuthorityServiceQuery /** - * Output only. Identifier. The resource name for this CaPool in the format - * `projects/ * /locations/ * /caPools/ *`. + * Identifier. The resource name for this CaPool in the format `projects/ * + * /locations/ * /caPools/ *`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1324,8 +1323,8 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRCertificateAuthorityService_CaPool to include in * the query. - * @param name Output only. Identifier. The resource name for this CaPool in - * the format `projects/ * /locations/ * /caPools/ *`. + * @param name Identifier. The resource name for this CaPool in the format + * `projects/ * /locations/ * /caPools/ *`. * * @return GTLRCertificateAuthorityServiceQuery_ProjectsLocationsCaPoolsPatch */ @@ -1658,7 +1657,7 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCertificateAuthorityServiceQuery_ProjectsLocationsCertificateTemplatesPatch : GTLRCertificateAuthorityServiceQuery /** - * Output only. The resource name for this CertificateTemplate in the format + * Identifier. The resource name for this CertificateTemplate in the format * `projects/ * /locations/ * /certificateTemplates/ *`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1691,7 +1690,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRCertificateAuthorityService_CertificateTemplate to * include in the query. - * @param name Output only. The resource name for this CertificateTemplate in + * @param name Identifier. The resource name for this CertificateTemplate in * the format `projects/ * /locations/ * /certificateTemplates/ *`. * * @return GTLRCertificateAuthorityServiceQuery_ProjectsLocationsCertificateTemplatesPatch @@ -1869,7 +1868,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: privateca.projects.locations.operations.cancel @@ -1892,7 +1891,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRCertificateAuthorityService_CancelOperationRequest diff --git a/Sources/GeneratedServices/CertificateManager/Public/GoogleAPIClientForREST/GTLRCertificateManagerObjects.h b/Sources/GeneratedServices/CertificateManager/Public/GoogleAPIClientForREST/GTLRCertificateManagerObjects.h index a77a2c4d5..3d6ecc953 100644 --- a/Sources/GeneratedServices/CertificateManager/Public/GoogleAPIClientForREST/GTLRCertificateManagerObjects.h +++ b/Sources/GeneratedServices/CertificateManager/Public/GoogleAPIClientForREST/GTLRCertificateManagerObjects.h @@ -122,22 +122,25 @@ FOUNDATION_EXTERN NSString * const kGTLRCertificateManager_AuthorizationAttemptI // GTLRCertificateManager_Certificate.scope /** - * Certificates with ALL_REGIONS scope are served from all Google Cloud - * regions. See https://cloud.google.com/compute/docs/regions-zones. + * Use the ALL_REGIONS scope if you plan to use the certificate with + * cross-region internal Application Load Balancer. The certificates are served + * from all Google Cloud regions. See + * https://cloud.google.com/compute/docs/regions-zones. * * Value: "ALL_REGIONS" */ FOUNDATION_EXTERN NSString * const kGTLRCertificateManager_Certificate_Scope_AllRegions; /** - * Certificates with default scope are served from core Google data centers. If - * unsure, choose this option. + * Use the DEFAULT scope if you plan to use the certificate with global + * external Application Load Balancer, global external proxy Network Load + * Balancer, or any of the regional Google Cloud services. * * Value: "DEFAULT" */ FOUNDATION_EXTERN NSString * const kGTLRCertificateManager_Certificate_Scope_Default; /** - * Certificates with scope EDGE_CACHE are special-purposed certificates, served - * from Edge Points of Presence. See + * Use the EDGE_CACHE scope if you plan to use the certificate with Media CDN. + * The certificates are served from Edge Points of Presence. See * https://cloud.google.com/vpc/docs/edge-locations. * * Value: "EDGE_CACHE" @@ -408,16 +411,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCertificateManager_ProvisioningIssue_Rea * Optional. Immutable. The scope of the certificate. * * Likely values: - * @arg @c kGTLRCertificateManager_Certificate_Scope_AllRegions Certificates - * with ALL_REGIONS scope are served from all Google Cloud regions. See + * @arg @c kGTLRCertificateManager_Certificate_Scope_AllRegions Use the + * ALL_REGIONS scope if you plan to use the certificate with cross-region + * internal Application Load Balancer. The certificates are served from + * all Google Cloud regions. See * https://cloud.google.com/compute/docs/regions-zones. (Value: * "ALL_REGIONS") - * @arg @c kGTLRCertificateManager_Certificate_Scope_Default Certificates - * with default scope are served from core Google data centers. If - * unsure, choose this option. (Value: "DEFAULT") - * @arg @c kGTLRCertificateManager_Certificate_Scope_EdgeCache Certificates - * with scope EDGE_CACHE are special-purposed certificates, served from - * Edge Points of Presence. See + * @arg @c kGTLRCertificateManager_Certificate_Scope_Default Use the DEFAULT + * scope if you plan to use the certificate with global external + * Application Load Balancer, global external proxy Network Load + * Balancer, or any of the regional Google Cloud services. (Value: + * "DEFAULT") + * @arg @c kGTLRCertificateManager_Certificate_Scope_EdgeCache Use the + * EDGE_CACHE scope if you plan to use the certificate with Media CDN. + * The certificates are served from Edge Points of Presence. See * https://cloud.google.com/vpc/docs/edge-locations. (Value: * "EDGE_CACHE") */ @@ -1303,8 +1310,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCertificateManager_ProvisioningIssue_Rea /** * Identifies whether the user has requested cancellation of the operation. - * Operations that have successfully been cancelled have Operation.error value - * with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. + * Operations that have successfully been cancelled have + * google.longrunning.Operation.error value with a google.rpc.Status.code of + * `1`, corresponding to `Code.CANCELLED`. * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/CertificateManager/Public/GoogleAPIClientForREST/GTLRCertificateManagerQuery.h b/Sources/GeneratedServices/CertificateManager/Public/GoogleAPIClientForREST/GTLRCertificateManagerQuery.h index a5e8e5636..adea78bbf 100644 --- a/Sources/GeneratedServices/CertificateManager/Public/GoogleAPIClientForREST/GTLRCertificateManagerQuery.h +++ b/Sources/GeneratedServices/CertificateManager/Public/GoogleAPIClientForREST/GTLRCertificateManagerQuery.h @@ -1112,7 +1112,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: certificatemanager.projects.locations.operations.cancel @@ -1135,7 +1135,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRCertificateManager_CancelOperationRequest to diff --git a/Sources/GeneratedServices/ChecksService/Public/GoogleAPIClientForREST/GTLRChecksServiceObjects.h b/Sources/GeneratedServices/ChecksService/Public/GoogleAPIClientForREST/GTLRChecksServiceObjects.h index c7faf4241..49ecaa372 100644 --- a/Sources/GeneratedServices/ChecksService/Public/GoogleAPIClientForREST/GTLRChecksServiceObjects.h +++ b/Sources/GeneratedServices/ChecksService/Public/GoogleAPIClientForREST/GTLRChecksServiceObjects.h @@ -129,12 +129,17 @@ FOUNDATION_EXTERN NSString * const kGTLRChecksService_GoogleChecksAisafetyV1alph */ FOUNDATION_EXTERN NSString * const kGTLRChecksService_GoogleChecksAisafetyV1alphaClassifyContentRequestPolicyConfig_PolicyType_HateSpeech; /** - * The model facilitates harm by providing health advice or guidance. + * The model provides or offers to facilitate access to medical advice or + * guidance. * * Value: "MEDICAL_INFO" */ FOUNDATION_EXTERN NSString * const kGTLRChecksService_GoogleChecksAisafetyV1alphaClassifyContentRequestPolicyConfig_PolicyType_MedicalInfo; -/** Value: "OBSCENITY_AND_PROFANITY" */ +/** + * The model generates profanity and obscenities. + * + * Value: "OBSCENITY_AND_PROFANITY" + */ FOUNDATION_EXTERN NSString * const kGTLRChecksService_GoogleChecksAisafetyV1alphaClassifyContentRequestPolicyConfig_PolicyType_ObscenityAndProfanity; /** * The model reveals an individual’s personal information and data. @@ -187,12 +192,17 @@ FOUNDATION_EXTERN NSString * const kGTLRChecksService_GoogleChecksAisafetyV1alph */ FOUNDATION_EXTERN NSString * const kGTLRChecksService_GoogleChecksAisafetyV1alphaClassifyContentResponsePolicyResult_PolicyType_HateSpeech; /** - * The model facilitates harm by providing health advice or guidance. + * The model provides or offers to facilitate access to medical advice or + * guidance. * * Value: "MEDICAL_INFO" */ FOUNDATION_EXTERN NSString * const kGTLRChecksService_GoogleChecksAisafetyV1alphaClassifyContentResponsePolicyResult_PolicyType_MedicalInfo; -/** Value: "OBSCENITY_AND_PROFANITY" */ +/** + * The model generates profanity and obscenities. + * + * Value: "OBSCENITY_AND_PROFANITY" + */ FOUNDATION_EXTERN NSString * const kGTLRChecksService_GoogleChecksAisafetyV1alphaClassifyContentResponsePolicyResult_PolicyType_ObscenityAndProfanity; /** * The model reveals an individual’s personal information and data. @@ -2494,10 +2504,11 @@ FOUNDATION_EXTERN NSString * const kGTLRChecksService_GoogleChecksRepoScanV1alph * The model promotes violence, hatred, discrimination on the basis of * race, religion, etc. (Value: "HATE_SPEECH") * @arg @c kGTLRChecksService_GoogleChecksAisafetyV1alphaClassifyContentRequestPolicyConfig_PolicyType_MedicalInfo - * The model facilitates harm by providing health advice or guidance. - * (Value: "MEDICAL_INFO") + * The model provides or offers to facilitate access to medical advice or + * guidance. (Value: "MEDICAL_INFO") * @arg @c kGTLRChecksService_GoogleChecksAisafetyV1alphaClassifyContentRequestPolicyConfig_PolicyType_ObscenityAndProfanity - * Value "OBSCENITY_AND_PROFANITY" + * The model generates profanity and obscenities. (Value: + * "OBSCENITY_AND_PROFANITY") * @arg @c kGTLRChecksService_GoogleChecksAisafetyV1alphaClassifyContentRequestPolicyConfig_PolicyType_PiiSolicitingReciting * The model reveals an individual’s personal information and data. * (Value: "PII_SOLICITING_RECITING") @@ -2554,10 +2565,11 @@ FOUNDATION_EXTERN NSString * const kGTLRChecksService_GoogleChecksRepoScanV1alph * The model promotes violence, hatred, discrimination on the basis of * race, religion, etc. (Value: "HATE_SPEECH") * @arg @c kGTLRChecksService_GoogleChecksAisafetyV1alphaClassifyContentResponsePolicyResult_PolicyType_MedicalInfo - * The model facilitates harm by providing health advice or guidance. - * (Value: "MEDICAL_INFO") + * The model provides or offers to facilitate access to medical advice or + * guidance. (Value: "MEDICAL_INFO") * @arg @c kGTLRChecksService_GoogleChecksAisafetyV1alphaClassifyContentResponsePolicyResult_PolicyType_ObscenityAndProfanity - * Value "OBSCENITY_AND_PROFANITY" + * The model generates profanity and obscenities. (Value: + * "OBSCENITY_AND_PROFANITY") * @arg @c kGTLRChecksService_GoogleChecksAisafetyV1alphaClassifyContentResponsePolicyResult_PolicyType_PiiSolicitingReciting * The model reveals an individual’s personal information and data. * (Value: "PII_SOLICITING_RECITING") diff --git a/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m b/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m index cbbd06c09..5ae9b49c7 100644 --- a/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m +++ b/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m @@ -8,7 +8,7 @@ // administrators to view, manage and gain insights on their Chrome OS and // Chrome Browser devices. // Documentation: -// http://developers.google.com/chrome/management/ +// https://developers.google.com/chrome/management/ #import @@ -408,6 +408,11 @@ NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1AttestationCredential_KeyType_KeyTypeUnspecified = @"KEY_TYPE_UNSPECIFIED"; 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"; + // GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfile.affiliationState NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfile_AffiliationState_AffiliatedCloudManaged = @"AFFILIATED_CLOUD_MANAGED"; NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfile_AffiliationState_AffiliationStateUnspecified = @"AFFILIATION_STATE_UNSPECIFIED"; @@ -1887,6 +1892,19 @@ @implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1Attestation @end +// ---------------------------------------------------------------------------- +// +// GTLRChromeManagement_GoogleChromeManagementVersionsV1CertificateProvisioningProcess +// + +@implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1CertificateProvisioningProcess +@dynamic caConnectionAdapterConfigReference, chromeOsDevice, + chromeOsUserSession, failureMessage, issuedCertificate, name, + profileAdapterConfigReference, provisioningProfileId, signature, + signatureAlgorithm, signData, startTime, subjectPublicKeyInfo; +@end + + // ---------------------------------------------------------------------------- // // GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfile @@ -1908,6 +1926,26 @@ @implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrows @end +// ---------------------------------------------------------------------------- +// +// GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeOsDevice +// + +@implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeOsDevice +@dynamic deviceDirectoryApiId, serialNumber; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeOsUserSession +// + +@implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeOsUserSession +@dynamic chromeOsDevice, userDirectoryApiId, userPrimaryEmail; +@end + + // ---------------------------------------------------------------------------- // // GTLRChromeManagement_GoogleChromeManagementVersionsV1DeviceInfo @@ -2031,6 +2069,26 @@ @implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1ReportingDa @end +// ---------------------------------------------------------------------------- +// +// GTLRChromeManagement_GoogleChromeManagementVersionsV1SignDataMetadata +// + +@implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1SignDataMetadata +@dynamic startTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRChromeManagement_GoogleChromeManagementVersionsV1SignDataResponse +// + +@implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1SignDataResponse +@dynamic certificateProvisioningProcess; +@end + + // ---------------------------------------------------------------------------- // // GTLRChromeManagement_GoogleProtobufEmpty diff --git a/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementQuery.m b/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementQuery.m index 36cc38cac..73aaf6d20 100644 --- a/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementQuery.m +++ b/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementQuery.m @@ -8,7 +8,7 @@ // administrators to view, manage and gain insights on their Chrome OS and // Chrome Browser devices. // Documentation: -// http://developers.google.com/chrome/management/ +// https://developers.google.com/chrome/management/ #import diff --git a/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementService.m b/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementService.m index 31b899a30..11abe4745 100644 --- a/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementService.m +++ b/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementService.m @@ -8,7 +8,7 @@ // administrators to view, manage and gain insights on their Chrome OS and // Chrome Browser devices. // Documentation: -// http://developers.google.com/chrome/management/ +// https://developers.google.com/chrome/management/ #import diff --git a/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagement.h b/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagement.h index e30877b31..ab2ed07fa 100644 --- a/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagement.h +++ b/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagement.h @@ -8,7 +8,7 @@ // administrators to view, manage and gain insights on their Chrome OS and // Chrome Browser devices. // Documentation: -// http://developers.google.com/chrome/management/ +// https://developers.google.com/chrome/management/ #import "GTLRChromeManagementObjects.h" #import "GTLRChromeManagementQuery.h" diff --git a/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h b/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h index 912f73fda..1889972b0 100644 --- a/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h +++ b/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h @@ -8,7 +8,7 @@ // administrators to view, manage and gain insights on their Chrome OS and // Chrome Browser devices. // Documentation: -// http://developers.google.com/chrome/management/ +// https://developers.google.com/chrome/management/ #import @@ -95,7 +95,10 @@ @class GTLRChromeManagement_GoogleChromeManagementVersionsV1alpha1ChromeOsDevice; @class GTLRChromeManagement_GoogleChromeManagementVersionsV1alpha1ChromeOsUserSession; @class GTLRChromeManagement_GoogleChromeManagementVersionsV1AttestationCredential; +@class GTLRChromeManagement_GoogleChromeManagementVersionsV1CertificateProvisioningProcess; @class GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfile; +@class GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeOsDevice; +@class GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeOsUserSession; @class GTLRChromeManagement_GoogleChromeManagementVersionsV1DeviceInfo; @class GTLRChromeManagement_GoogleChromeManagementVersionsV1ReportingData; @class GTLRChromeManagement_GoogleChromeManagementVersionsV1ReportingDataConflictingPolicyData; @@ -208,23 +211,26 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1AppUsageData_AppType_ApplicationTypeRemote; /** - * Application type standalone browser (Lacros browser app). + * Deprecated. This vaule is no longer used. Application type standalone + * browser (Lacros browser app). * * Value: "APPLICATION_TYPE_STANDALONE_BROWSER" */ -FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1AppUsageData_AppType_ApplicationTypeStandaloneBrowser; +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1AppUsageData_AppType_ApplicationTypeStandaloneBrowser GTLR_DEPRECATED; /** - * Application type standalone browser chrome app (hosted in Lacros). + * Deprecated. This vaule is no longer used. Application type standalone + * browser chrome app. * * Value: "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP" */ -FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1AppUsageData_AppType_ApplicationTypeStandaloneBrowserChromeApp; +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1AppUsageData_AppType_ApplicationTypeStandaloneBrowserChromeApp GTLR_DEPRECATED; /** - * Application type standalone browser extension. + * Deprecated. This vaule is no longer used. Application type standalone + * browser extension. * * Value: "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION" */ -FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1AppUsageData_AppType_ApplicationTypeStandaloneBrowserExtension; +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1AppUsageData_AppType_ApplicationTypeStandaloneBrowserExtension GTLR_DEPRECATED; /** * Application type system web. * @@ -1196,23 +1202,26 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeRemote; /** - * Application type standalone browser (Lacros browser app). + * Deprecated. This vaule is no longer used. Application type standalone + * browser (Lacros browser app). * * Value: "APPLICATION_TYPE_STANDALONE_BROWSER" */ -FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeStandaloneBrowser; +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeStandaloneBrowser GTLR_DEPRECATED; /** - * Application type standalone browser chrome app (hosted in Lacros). + * Deprecated. This vaule is no longer used. Application type standalone + * browser chrome app. * * Value: "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP" */ -FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeStandaloneBrowserChromeApp; +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeStandaloneBrowserChromeApp GTLR_DEPRECATED; /** - * Application type standalone browser extension. + * Deprecated. This vaule is no longer used. Application type standalone + * browser extension. * * Value: "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION" */ -FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeStandaloneBrowserExtension; +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeStandaloneBrowserExtension GTLR_DEPRECATED; /** * Application type system web. * @@ -1567,23 +1576,26 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeRemote; /** - * Application type standalone browser (Lacros browser app). + * Deprecated. This vaule is no longer used. Application type standalone + * browser (Lacros browser app). * * Value: "APPLICATION_TYPE_STANDALONE_BROWSER" */ -FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeStandaloneBrowser; +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeStandaloneBrowser GTLR_DEPRECATED; /** - * Application type standalone browser chrome app (hosted in Lacros). + * Deprecated. This vaule is no longer used. Application type standalone + * browser chrome app. * * Value: "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP" */ -FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeStandaloneBrowserChromeApp; +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeStandaloneBrowserChromeApp GTLR_DEPRECATED; /** - * Application type standalone browser extension. + * Deprecated. This vaule is no longer used. Application type standalone + * browser extension. * * Value: "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION" */ -FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeStandaloneBrowserExtension; +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeStandaloneBrowserExtension GTLR_DEPRECATED; /** * Application type system web. * @@ -1667,23 +1679,26 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeRemote; /** - * Application type standalone browser (Lacros browser app). + * Deprecated. This vaule is no longer used. Application type standalone + * browser (Lacros browser app). * * Value: "APPLICATION_TYPE_STANDALONE_BROWSER" */ -FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeStandaloneBrowser; +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeStandaloneBrowser GTLR_DEPRECATED; /** - * Application type standalone browser chrome app (hosted in Lacros). + * Deprecated. This vaule is no longer used. Application type standalone + * browser chrome app. * * Value: "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP" */ -FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeStandaloneBrowserChromeApp; +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeStandaloneBrowserChromeApp GTLR_DEPRECATED; /** - * Application type standalone browser extension. + * Deprecated. This vaule is no longer used. Application type standalone + * browser extension. * * Value: "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION" */ -FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeStandaloneBrowserExtension; +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeStandaloneBrowserExtension GTLR_DEPRECATED; /** * Application type system web. * @@ -2155,6 +2170,32 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1AttestationCredential_KeyType_RsaKey; +// ---------------------------------------------------------------------------- +// 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 + * v1.5 padding. + * + * Value: "SIGNATURE_ALGORITHM_RSA_PKCS1_V1_5_SHA256" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1CertificateProvisioningProcess_SignatureAlgorithm_SignatureAlgorithmRsaPkcs1V15Sha256; +/** + * Default value. This value is unused. + * + * Value: "SIGNATURE_ALGORITHM_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1CertificateProvisioningProcess_SignatureAlgorithm_SignatureAlgorithmUnspecified; + // ---------------------------------------------------------------------------- // GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfile.affiliationState @@ -2584,13 +2625,16 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1AppUsageData_AppType_ApplicationTypeRemote * Application type remote. (Value: "APPLICATION_TYPE_REMOTE") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1AppUsageData_AppType_ApplicationTypeStandaloneBrowser - * Application type standalone browser (Lacros browser app). (Value: + * Deprecated. This vaule is no longer used. Application type standalone + * browser (Lacros browser app). (Value: * "APPLICATION_TYPE_STANDALONE_BROWSER") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1AppUsageData_AppType_ApplicationTypeStandaloneBrowserChromeApp - * Application type standalone browser chrome app (hosted in Lacros). - * (Value: "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP") + * Deprecated. This vaule is no longer used. Application type standalone + * browser chrome app. (Value: + * "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1AppUsageData_AppType_ApplicationTypeStandaloneBrowserExtension - * Application type standalone browser extension. (Value: + * Deprecated. This vaule is no longer used. Application type standalone + * browser extension. (Value: * "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1AppUsageData_AppType_ApplicationTypeSystemWeb * Application type system web. (Value: "APPLICATION_TYPE_SYSTEM_WEB") @@ -5228,13 +5272,16 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeRemote * Application type remote. (Value: "APPLICATION_TYPE_REMOTE") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeStandaloneBrowser - * Application type standalone browser (Lacros browser app). (Value: + * Deprecated. This vaule is no longer used. Application type standalone + * browser (Lacros browser app). (Value: * "APPLICATION_TYPE_STANDALONE_BROWSER") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeStandaloneBrowserChromeApp - * Application type standalone browser chrome app (hosted in Lacros). - * (Value: "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP") + * Deprecated. This vaule is no longer used. Application type standalone + * browser chrome app. (Value: + * "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeStandaloneBrowserExtension - * Application type standalone browser extension. (Value: + * Deprecated. This vaule is no longer used. Application type standalone + * browser extension. (Value: * "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeSystemWeb * Application type system web. (Value: "APPLICATION_TYPE_SYSTEM_WEB") @@ -5428,13 +5475,16 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeRemote * Application type remote. (Value: "APPLICATION_TYPE_REMOTE") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeStandaloneBrowser - * Application type standalone browser (Lacros browser app). (Value: + * Deprecated. This vaule is no longer used. Application type standalone + * browser (Lacros browser app). (Value: * "APPLICATION_TYPE_STANDALONE_BROWSER") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeStandaloneBrowserChromeApp - * Application type standalone browser chrome app (hosted in Lacros). - * (Value: "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP") + * Deprecated. This vaule is no longer used. Application type standalone + * browser chrome app. (Value: + * "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeStandaloneBrowserExtension - * Application type standalone browser extension. (Value: + * Deprecated. This vaule is no longer used. Application type standalone + * browser extension. (Value: * "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeSystemWeb * Application type system web. (Value: "APPLICATION_TYPE_SYSTEM_WEB") @@ -5486,13 +5536,16 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeRemote * Application type remote. (Value: "APPLICATION_TYPE_REMOTE") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeStandaloneBrowser - * Application type standalone browser (Lacros browser app). (Value: + * Deprecated. This vaule is no longer used. Application type standalone + * browser (Lacros browser app). (Value: * "APPLICATION_TYPE_STANDALONE_BROWSER") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeStandaloneBrowserChromeApp - * Application type standalone browser chrome app (hosted in Lacros). - * (Value: "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP") + * Deprecated. This vaule is no longer used. Application type standalone + * browser chrome app. (Value: + * "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeStandaloneBrowserExtension - * Application type standalone browser extension. (Value: + * Deprecated. This vaule is no longer used. Application type standalone + * browser extension. (Value: * "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeSystemWeb * Application type system web. (Value: "APPLICATION_TYPE_SYSTEM_WEB") @@ -6546,6 +6599,121 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV @end +/** + * A certificate provisioning process. + */ +@interface GTLRChromeManagement_GoogleChromeManagementVersionsV1CertificateProvisioningProcess : GTLRObject + +/** + * Output only. A JSON string that contains 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; + +/** + * Output only. The client certificate is being provisioned for a ChromeOS + * device. This contains information about the device. + */ +@property(nonatomic, strong, nullable) GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeOsDevice *chromeOsDevice; + +/** + * Output only. The client certificate is being provisioned for a ChromeOS user + * session. This contains information about the user session. + */ +@property(nonatomic, strong, nullable) GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeOsUserSession *chromeOsUserSession; + +/** + * Output only. A message describing why this `CertificateProvisioningProcess` + * failed. Presence of this field indicates that the + * `CertificateProvisioningProcess` has failed. + */ +@property(nonatomic, copy, nullable) NSString *failureMessage; + +/** + * Output only. The issued certificate for this + * `CertificateProvisioningProcess` in PEM format. + */ +@property(nonatomic, copy, nullable) NSString *issuedCertificate; + +/** + * Identifier. Resource name of the `CertificateProvisioningProcess`. The name + * pattern is given as + * `customers/{customer}/certificateProvisioningProcesses/{certificate_provisioning_process}` + * with `{customer}` being the obfuscated customer id and + * `{certificate_provisioning_process}` being the certificate provisioning + * process id. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. A JSON string that contains the administrator-provided + * configuration for the certificate provisioning profile. This field can be + * missing if no configuration was given. + */ +@property(nonatomic, copy, nullable) NSString *profileAdapterConfigReference; + +/** Output only. The ID of the certificate provisioning profile. */ +@property(nonatomic, copy, nullable) NSString *provisioningProfileId; + +/** + * Output only. The signature of `signature_algorithm`, generated using the + * client's private key using `signature_algorithm`. This field is only present + * after the`SignData` operation has finished. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *signature; + +/** + * Output only. The signature algorithm that the adapter expects the client and + * backend components to use when processing `sign_data`. This field is only + * 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 + * PKCS#1 v1.5 padding. (Value: + * "SIGNATURE_ALGORITHM_RSA_PKCS1_V1_5_SHA256") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementVersionsV1CertificateProvisioningProcess_SignatureAlgorithm_SignatureAlgorithmUnspecified + * Default value. This value is unused. (Value: + * "SIGNATURE_ALGORITHM_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *signatureAlgorithm; + +/** + * Output only. The data that the client was asked to sign. This field is only + * present after the `SignData` operation has been initiated. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *signData; + +/** + * Output only. Server-generated timestamp of when the certificate provisioning + * process has been created. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +/** + * Output only. The public key for which a certificate should be provisioned. + * Represented as a DER-encoded X.509 SubjectPublicKeyInfo. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *subjectPublicKeyInfo; + +@end + + /** * A representation of a Chrome browser profile. */ @@ -6697,6 +6865,50 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV @end +/** + * Describes the ChromeOS device that a `CertificateProvisioningProcess` + * belongs to. + */ +@interface GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeOsDevice : GTLRObject + +/** + * Output only. The unique Directory API ID of the device. This value is the + * same as the Admin Console's Directory API ID in the ChromeOS Devices tab. + */ +@property(nonatomic, copy, nullable) NSString *deviceDirectoryApiId; + +/** + * Output only. Device serial number. This value is the same as the Admin + * Console's Serial Number in the ChromeOS Devices tab. + */ +@property(nonatomic, copy, nullable) NSString *serialNumber; + +@end + + +/** + * Describes the ChromeOS user session that a `CertificateProvisioningProcess` + * belongs to. + */ +@interface GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeOsUserSession : GTLRObject + +/** + * Output only. This field contains information about the ChromeOS device that + * the user session is running on. It is only set if the user session is + * affiliated, i.e. if the user is managed by the same organization that + * managed the ChromeOS device. + */ +@property(nonatomic, strong, nullable) GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeOsDevice *chromeOsDevice; + +/** Output only. The unique Directory API ID of the user. */ +@property(nonatomic, copy, nullable) NSString *userDirectoryApiId; + +/** Output only. The primary e-mail address of the user. */ +@property(nonatomic, copy, nullable) NSString *userPrimaryEmail; + +@end + + /** * Information of a device that runs a Chrome browser profile. */ @@ -6985,6 +7197,33 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV @end +/** + * Metadata for the long-running operation returned by signData. + */ +@interface GTLRChromeManagement_GoogleChromeManagementVersionsV1SignDataMetadata : GTLRObject + +/** Output only. Start time of the SignData operation. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +@end + + +/** + * Response message for requesting a signature from the client that initated a + * certificate provisioning process. + */ +@interface GTLRChromeManagement_GoogleChromeManagementVersionsV1SignDataResponse : GTLRObject + +/** + * Output only. The certificate provisioning process. The signature generated + * by the client will be available in the `signature` field of + * `CertificateProvisioningProcess`. + */ +@property(nonatomic, strong, nullable) GTLRChromeManagement_GoogleChromeManagementVersionsV1CertificateProvisioningProcess *certificateProvisioningProcess; + +@end + + /** * A generic empty message that you can re-use to avoid defining duplicated * empty messages in your APIs. A typical example is to use it as the request diff --git a/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementQuery.h b/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementQuery.h index ffbc04e80..a63d56167 100644 --- a/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementQuery.h +++ b/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementQuery.h @@ -8,7 +8,7 @@ // administrators to view, manage and gain insights on their Chrome OS and // Chrome Browser devices. // Documentation: -// http://developers.google.com/chrome/management/ +// https://developers.google.com/chrome/management/ #import diff --git a/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementService.h b/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementService.h index ee5c2eb79..baf4ff1af 100644 --- a/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementService.h +++ b/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementService.h @@ -8,7 +8,7 @@ // administrators to view, manage and gain insights on their Chrome OS and // Chrome Browser devices. // Documentation: -// http://developers.google.com/chrome/management/ +// https://developers.google.com/chrome/management/ #import diff --git a/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomQuery.h b/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomQuery.h index 1a49a6304..e9a1a7297 100644 --- a/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomQuery.h +++ b/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomQuery.h @@ -2672,18 +2672,21 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @end /** - * Creates a rubric. This request must be made by the Google Cloud console of - * the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used - * to create the parent course work item. For further details, see [Rubrics - * structure and known limitations](/classroom/rubrics/limitations). This - * method returns the following error codes: * `PERMISSION_DENIED` if the - * requesting user isn't permitted to create rubrics for course work in the - * requested course. * `INTERNAL` if the request has insufficient OAuth scopes. - * * `INVALID_ARGUMENT` if the request is malformed and for the following - * request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the - * requested course or course work don't exist or the user doesn't have access - * to the course or course work. * `FAILED_PRECONDITION` for the following - * request error: * `AttachmentNotVisible` + * Creates a rubric. The requesting user and course owner must have rubrics + * creation capabilities. For details, see [licensing + * requirements](https://developers.google.com/classroom/rubrics/limitations#license-requirements). + * For further details, see [Rubrics structure and known + * limitations](/classroom/rubrics/limitations). This request must be made by + * the Google Cloud console of the [OAuth client + * ID](https://support.google.com/cloud/answer/6158849) used to create the + * parent course work item. This method returns the following error codes: * + * `PERMISSION_DENIED` if the requesting user isn't permitted to create rubrics + * for course work in the requested course. * `INTERNAL` if the request has + * insufficient OAuth scopes. * `INVALID_ARGUMENT` if the request is malformed + * and for the following request error: * `RubricCriteriaInvalidFormat` * + * `NOT_FOUND` if the requested course or course work don't exist or the user + * doesn't have access to the course or course work. * `FAILED_PRECONDITION` + * for the following request error: * `AttachmentNotVisible` * * Method: classroom.courses.courseWork.rubrics.create * @@ -2701,18 +2704,21 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; /** * Fetches a @c GTLRClassroom_Rubric. * - * Creates a rubric. This request must be made by the Google Cloud console of - * the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used - * to create the parent course work item. For further details, see [Rubrics - * structure and known limitations](/classroom/rubrics/limitations). This - * method returns the following error codes: * `PERMISSION_DENIED` if the - * requesting user isn't permitted to create rubrics for course work in the - * requested course. * `INTERNAL` if the request has insufficient OAuth scopes. - * * `INVALID_ARGUMENT` if the request is malformed and for the following - * request error: * `RubricCriteriaInvalidFormat` * `NOT_FOUND` if the - * requested course or course work don't exist or the user doesn't have access - * to the course or course work. * `FAILED_PRECONDITION` for the following - * request error: * `AttachmentNotVisible` + * Creates a rubric. The requesting user and course owner must have rubrics + * creation capabilities. For details, see [licensing + * requirements](https://developers.google.com/classroom/rubrics/limitations#license-requirements). + * For further details, see [Rubrics structure and known + * limitations](/classroom/rubrics/limitations). This request must be made by + * the Google Cloud console of the [OAuth client + * ID](https://support.google.com/cloud/answer/6158849) used to create the + * parent course work item. This method returns the following error codes: * + * `PERMISSION_DENIED` if the requesting user isn't permitted to create rubrics + * for course work in the requested course. * `INTERNAL` if the request has + * insufficient OAuth scopes. * `INVALID_ARGUMENT` if the request is malformed + * and for the following request error: * `RubricCriteriaInvalidFormat` * + * `NOT_FOUND` if the requested course or course work don't exist or the user + * doesn't have access to the course or course work. * `FAILED_PRECONDITION` + * for the following request error: * `AttachmentNotVisible` * * @param object The @c GTLRClassroom_Rubric to include in the query. * @param courseId Required. Identifier of the course. @@ -2727,14 +2733,17 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; @end /** - * Deletes a rubric. This request must be made by the Google Cloud console of - * the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used - * to create the corresponding rubric. This method returns the following error - * codes: * `PERMISSION_DENIED` if the requesting developer project didn't - * create the corresponding rubric, or if the requesting user isn't permitted - * to delete the requested rubric. * `NOT_FOUND` if no rubric exists with the - * requested ID or the user does not have access to the course, course work, or - * rubric. * `INVALID_ARGUMENT` if grading has already started on the rubric. + * Deletes a rubric. The requesting user and course owner must have rubrics + * creation capabilities. For details, see [licensing + * requirements](https://developers.google.com/classroom/rubrics/limitations#license-requirements). + * This request must be made by the Google Cloud console of the [OAuth client + * ID](https://support.google.com/cloud/answer/6158849) used to create the + * corresponding rubric. This method returns the following error codes: * + * `PERMISSION_DENIED` if the requesting developer project didn't create the + * corresponding rubric, or if the requesting user isn't permitted to delete + * the requested rubric. * `NOT_FOUND` if no rubric exists with the requested + * ID or the user does not have access to the course, course work, or rubric. * + * `INVALID_ARGUMENT` if grading has already started on the rubric. * * Method: classroom.courses.courseWork.rubrics.delete * @@ -2759,14 +2768,17 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; /** * Fetches a @c GTLRClassroom_Empty. * - * Deletes a rubric. This request must be made by the Google Cloud console of - * the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used - * to create the corresponding rubric. This method returns the following error - * codes: * `PERMISSION_DENIED` if the requesting developer project didn't - * create the corresponding rubric, or if the requesting user isn't permitted - * to delete the requested rubric. * `NOT_FOUND` if no rubric exists with the - * requested ID or the user does not have access to the course, course work, or - * rubric. * `INVALID_ARGUMENT` if grading has already started on the rubric. + * Deletes a rubric. The requesting user and course owner must have rubrics + * creation capabilities. For details, see [licensing + * requirements](https://developers.google.com/classroom/rubrics/limitations#license-requirements). + * This request must be made by the Google Cloud console of the [OAuth client + * ID](https://support.google.com/cloud/answer/6158849) used to create the + * corresponding rubric. This method returns the following error codes: * + * `PERMISSION_DENIED` if the requesting developer project didn't create the + * corresponding rubric, or if the requesting user isn't permitted to delete + * the requested rubric. * `NOT_FOUND` if no rubric exists with the requested + * ID or the user does not have access to the course, course work, or rubric. * + * `INVALID_ARGUMENT` if grading has already started on the rubric. * * @param courseId Required. Identifier of the course. * @param courseWorkId Required. Identifier of the course work. @@ -2893,8 +2905,11 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; /** * Updates a rubric. See google.classroom.v1.Rubric for details of which fields * can be updated. Rubric update capabilities are - * [limited](/classroom/rubrics/limitations) once grading has started. This - * request must be made by the Google Cloud console of the [OAuth client + * [limited](/classroom/rubrics/limitations) once grading has started. The + * requesting user and course owner must have rubrics creation capabilities. + * For details, see [licensing + * requirements](https://developers.google.com/classroom/rubrics/limitations#license-requirements). + * This request must be made by the Google Cloud console of the [OAuth client * ID](https://support.google.com/cloud/answer/6158849) used to create the * parent course work item. This method returns the following error codes: * * `PERMISSION_DENIED` if the requesting developer project didn't create the @@ -2949,8 +2964,11 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * * Updates a rubric. See google.classroom.v1.Rubric for details of which fields * can be updated. Rubric update capabilities are - * [limited](/classroom/rubrics/limitations) once grading has started. This - * request must be made by the Google Cloud console of the [OAuth client + * [limited](/classroom/rubrics/limitations) once grading has started. The + * requesting user and course owner must have rubrics creation capabilities. + * For details, see [licensing + * requirements](https://developers.google.com/classroom/rubrics/limitations#license-requirements). + * This request must be made by the Google Cloud console of the [OAuth client * ID](https://support.google.com/cloud/answer/6158849) used to create the * parent course work item. This method returns the following error codes: * * `PERMISSION_DENIED` if the requesting developer project didn't create the @@ -3519,8 +3537,11 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; /** * Updates a rubric. See google.classroom.v1.Rubric for details of which fields * can be updated. Rubric update capabilities are - * [limited](/classroom/rubrics/limitations) once grading has started. This - * request must be made by the Google Cloud console of the [OAuth client + * [limited](/classroom/rubrics/limitations) once grading has started. The + * requesting user and course owner must have rubrics creation capabilities. + * For details, see [licensing + * requirements](https://developers.google.com/classroom/rubrics/limitations#license-requirements). + * This request must be made by the Google Cloud console of the [OAuth client * ID](https://support.google.com/cloud/answer/6158849) used to create the * parent course work item. This method returns the following error codes: * * `PERMISSION_DENIED` if the requesting developer project didn't create the @@ -3575,8 +3596,11 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * * Updates a rubric. See google.classroom.v1.Rubric for details of which fields * can be updated. Rubric update capabilities are - * [limited](/classroom/rubrics/limitations) once grading has started. This - * request must be made by the Google Cloud console of the [OAuth client + * [limited](/classroom/rubrics/limitations) once grading has started. The + * requesting user and course owner must have rubrics creation capabilities. + * For details, see [licensing + * requirements](https://developers.google.com/classroom/rubrics/limitations#license-requirements). + * This request must be made by the Google Cloud console of the [OAuth client * ID](https://support.google.com/cloud/answer/6158849) used to create the * parent course work item. This method returns the following error codes: * * `PERMISSION_DENIED` if the requesting developer project didn't create the diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m b/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m index 5afc04504..7ecb62d86 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m @@ -858,7 +858,7 @@ @implementation GTLRCloudAlloyDBAdmin_ContinuousBackupSource // @implementation GTLRCloudAlloyDBAdmin_CsvExportOptions -@dynamic selectQuery; +@dynamic escapeCharacter, fieldDelimiter, quoteCharacter, selectQuery; @end @@ -905,7 +905,7 @@ @implementation GTLRCloudAlloyDBAdmin_EncryptionInfo // @implementation GTLRCloudAlloyDBAdmin_ExportClusterRequest -@dynamic csvExportOptions, database, gcsDestination; +@dynamic csvExportOptions, database, gcsDestination, sqlExportOptions; @end @@ -1536,6 +1536,24 @@ @implementation GTLRCloudAlloyDBAdmin_SecondaryConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudAlloyDBAdmin_SqlExportOptions +// + +@implementation GTLRCloudAlloyDBAdmin_SqlExportOptions +@dynamic cleanTargetObjects, ifExistTargetObjects, schemaOnly, tables; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"tables" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudAlloyDBAdmin_SslConfig @@ -1787,7 +1805,7 @@ @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainInter // @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainMachineConfiguration -@dynamic cpuCount, memorySizeInBytes, shardCount; +@dynamic cpuCount, memorySizeInBytes, shardCount, vcpuCount; @end diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h index e12e657d6..e027a980f 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h @@ -74,6 +74,7 @@ @class GTLRCloudAlloyDBAdmin_QueryInsightsInstanceConfig; @class GTLRCloudAlloyDBAdmin_ReadPoolConfig; @class GTLRCloudAlloyDBAdmin_SecondaryConfig; +@class GTLRCloudAlloyDBAdmin_SqlExportOptions; @class GTLRCloudAlloyDBAdmin_SslConfig; @class GTLRCloudAlloyDBAdmin_StageInfo; @class GTLRCloudAlloyDBAdmin_Status; @@ -3995,12 +3996,32 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW /** - * Options for exporting data in CSV format. For now, we only support a query - * to get the data that needs to be exported. + * Options for exporting data in CSV format. */ @interface GTLRCloudAlloyDBAdmin_CsvExportOptions : GTLRObject -/** Required. The select_query used to extract the data. */ +/** + * Optional. Specifies the character that should appear before a data character + * that needs to be escaped. The default is the same as quote character. The + * value of this argument has to be a character in Hex ASCII Code. + */ +@property(nonatomic, copy, nullable) NSString *escapeCharacter; + +/** + * Optional. Specifies the character that separates columns within each row + * (line) of the file. The default is comma. The value of this argument has to + * be a character in Hex ASCII Code. + */ +@property(nonatomic, copy, nullable) NSString *fieldDelimiter; + +/** + * Optional. Specifies the quoting character to be used when a data value is + * quoted. The default is double-quote. The value of this argument has to be a + * character in Hex ASCII Code. + */ +@property(nonatomic, copy, nullable) NSString *quoteCharacter; + +/** Required. The SELECT query used to extract the data. */ @property(nonatomic, copy, nullable) NSString *selectQuery; @end @@ -4077,8 +4098,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW @property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_CsvExportOptions *csvExportOptions; /** - * Required. Name of the database where the query will be executed. Note - - * Value provided should be the same as expected from `SELECT + * Required. Name of the database where the export command will be executed. + * Note - Value provided should be the same as expected from `SELECT * current_database();` and NOT as a resource reference. */ @property(nonatomic, copy, nullable) NSString *database; @@ -4086,6 +4107,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW /** Required. Option to export data to cloud storage. */ @property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_GcsDestination *gcsDestination; +/** + * Options for exporting data in SQL format. Required field to be set for SQL + * file type. + */ +@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_SqlExportOptions *sqlExportOptions; + @end @@ -4138,8 +4165,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW /** * Required. The path to the file in Google Cloud Storage where the export will - * be stored. The URI is in the form `gs://bucketName/fileName`. If the file - * already exists, the request succeeds, but the operation fails. + * be stored. The URI is in the form `gs://bucketName/fileName`. */ @property(nonatomic, copy, nullable) NSString *uri; @@ -5113,8 +5139,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW /** * Output only. Identifies whether the user has requested cancellation of the * operation. Operations that have successfully been cancelled have - * Operation.error value with a google.rpc.Status.code of 1, corresponding to - * `Code.CANCELLED`. + * google.longrunning.Operation.error value with a google.rpc.Status.code of 1, + * corresponding to `Code.CANCELLED`. * * Uses NSNumber of boolValue. */ @@ -5433,6 +5459,40 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW @end +/** + * Options for exporting data in SQL format. + */ +@interface GTLRCloudAlloyDBAdmin_SqlExportOptions : GTLRObject + +/** + * Optional. If true, output commands to DROP all the dumped database objects + * prior to outputting the commands for creating them. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *cleanTargetObjects; + +/** + * Optional. If true, use DROP ... IF EXISTS commands to check for the object's + * existence before dropping it in clean_target_objects mode. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ifExistTargetObjects; + +/** + * Optional. If true, only export the schema. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *schemaOnly; + +/** Optional. Tables to export from. */ +@property(nonatomic, strong, nullable) NSArray *tables; + +@end + + /** * SSL configuration. */ @@ -6922,6 +6982,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW */ @property(nonatomic, strong, nullable) NSNumber *shardCount; +/** + * Optional. The number of vCPUs. TODO(b/342344482, b/342346271) add proto + * validations again after bug fix. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *vcpuCount; + @end diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminQuery.h b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminQuery.h index abeefa277..f8073f844 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminQuery.h +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminQuery.h @@ -1710,7 +1710,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdminViewInstanceViewUnspeci * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: alloydb.projects.locations.operations.cancel @@ -1733,7 +1733,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdminViewInstanceViewUnspeci * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRCloudAlloyDBAdmin_CancelOperationRequest to include diff --git a/Sources/GeneratedServices/CloudAsset/GTLRCloudAssetObjects.m b/Sources/GeneratedServices/CloudAsset/GTLRCloudAssetObjects.m index 049222ca0..27694a082 100644 --- a/Sources/GeneratedServices/CloudAsset/GTLRCloudAssetObjects.m +++ b/Sources/GeneratedServices/CloudAsset/GTLRCloudAssetObjects.m @@ -1245,7 +1245,7 @@ @implementation GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1EgressFrom // @implementation GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1EgressPolicy -@dynamic egressFrom, egressTo; +@dynamic egressFrom, egressTo, title; @end @@ -1255,7 +1255,7 @@ @implementation GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1EgressPolicy // @implementation GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1EgressSource -@dynamic accessLevel; +@dynamic accessLevel, resource; @end @@ -1304,7 +1304,7 @@ @implementation GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1IngressFrom // @implementation GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1IngressPolicy -@dynamic ingressFrom, ingressTo; +@dynamic ingressFrom, ingressTo, title; @end diff --git a/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetObjects.h b/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetObjects.h index 4071218f6..21c3a08f3 100644 --- a/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetObjects.h +++ b/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetObjects.h @@ -3597,6 +3597,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_TemporalAsset_PriorAssetState */ @property(nonatomic, strong, nullable) GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1EgressTo *egressTo; +/** + * Optional. Human-readable title for the egress rule. The title must be unique + * within the perimeter and can not exceed 100 characters. Within the access + * policy, the combined length of all rule titles must not exceed 240,000 + * characters. + */ +@property(nonatomic, copy, nullable) NSString *title; + @end @@ -3618,6 +3626,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_TemporalAsset_PriorAssetState */ @property(nonatomic, copy, nullable) NSString *accessLevel; +/** + * A Google Cloud resource that you want to allow to egress the perimeter. + * These resources can access data outside the perimeter. This field only + * supports projects. The project format is `projects/{project_number}`. The + * resource can be in any Google Cloud organization, not just the organization + * where the perimeter is defined. You can't use `*` in this field to allow all + * Google Cloud resources. + */ +@property(nonatomic, copy, nullable) NSString *resource; + @end @@ -3733,6 +3751,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_TemporalAsset_PriorAssetState */ @property(nonatomic, strong, nullable) GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1IngressTo *ingressTo; +/** + * Optional. Human-readable title for the ingress rule. The title must be + * unique within the perimeter and can not exceed 100 characters. Within the + * access policy, the combined length of all rule titles must not exceed + * 240,000 characters. + */ +@property(nonatomic, copy, nullable) NSString *title; + @end diff --git a/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h b/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h index 0956de31b..1451387a2 100644 --- a/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h +++ b/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h @@ -2379,8 +2379,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_TaskStatus_State_Unexecuted; /** * Output only. Identifies whether the user has requested cancellation of the * operation. Operations that have successfully been cancelled have - * Operation.error value with a google.rpc.Status.code of 1, corresponding to - * `Code.CANCELLED`. + * google.longrunning.Operation.error value with a google.rpc.Status.code of 1, + * corresponding to `Code.CANCELLED`. * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchQuery.h b/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchQuery.h index 84e68c4c8..11beff1a7 100644 --- a/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchQuery.h +++ b/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchQuery.h @@ -362,7 +362,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: batch.projects.locations.operations.cancel @@ -385,7 +385,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRCloudBatch_CancelOperationRequest to include in the diff --git a/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildObjects.h b/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildObjects.h index 8eba5e46c..10d9f3be3 100644 --- a/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildObjects.h +++ b/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildObjects.h @@ -1865,8 +1865,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper /** * Output only. Identifies whether the user has requested cancellation of the * operation. Operations that have been cancelled successfully have - * Operation.error value with a google.rpc.Status.code of 1, corresponding to - * `Code.CANCELLED`. + * google.longrunning.Operation.error value with a google.rpc.Status.code of + * `1`, corresponding to `Code.CANCELLED`. * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildQuery.h b/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildQuery.h index 4ba039e17..04e2f8e89 100644 --- a/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildQuery.h +++ b/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildQuery.h @@ -867,7 +867,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuildRefTypeTag; * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: cloudbuild.projects.locations.operations.cancel @@ -890,7 +890,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuildRefTypeTag; * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRCloudBuild_CancelOperationRequest to include in the diff --git a/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerQuery.h b/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerQuery.h index c201c070d..d0593db1f 100644 --- a/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerQuery.h +++ b/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerQuery.h @@ -924,7 +924,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Lists workloads in a Cloud Composer environment. Workload is a unit that * runs a single Composer component. This method is supported for Cloud - * Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. + * Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. * * Method: composer.projects.locations.environments.workloads.list * @@ -962,7 +962,7 @@ NS_ASSUME_NONNULL_BEGIN * * Lists workloads in a Cloud Composer environment. Workload is a unit that * runs a single Composer component. This method is supported for Cloud - * Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. + * Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. * * @param parent Required. The environment name to get workloads for, in the * form: diff --git a/Sources/GeneratedServices/CloudControlsPartnerService/Public/GoogleAPIClientForREST/GTLRCloudControlsPartnerServiceObjects.h b/Sources/GeneratedServices/CloudControlsPartnerService/Public/GoogleAPIClientForREST/GTLRCloudControlsPartnerServiceObjects.h index 1f436a3f5..a762e1845 100644 --- a/Sources/GeneratedServices/CloudControlsPartnerService/Public/GoogleAPIClientForREST/GTLRCloudControlsPartnerServiceObjects.h +++ b/Sources/GeneratedServices/CloudControlsPartnerService/Public/GoogleAPIClientForREST/GTLRCloudControlsPartnerServiceObjects.h @@ -219,11 +219,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudControlsPartnerService_EkmMetadata_ */ FOUNDATION_EXTERN NSString * const kGTLRCloudControlsPartnerService_EkmMetadata_EkmSolution_Thales; /** - * EKM Partner Virtu + * This enum value is never used. * * Value: "VIRTRU" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudControlsPartnerService_EkmMetadata_EkmSolution_Virtru; +FOUNDATION_EXTERN NSString * const kGTLRCloudControlsPartnerService_EkmMetadata_EkmSolution_Virtru GTLR_DEPRECATED; // ---------------------------------------------------------------------------- // GTLRCloudControlsPartnerService_PartnerPermissions.partnerPermissions @@ -714,7 +714,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudControlsPartnerService_WorkloadOnbo * @arg @c kGTLRCloudControlsPartnerService_EkmMetadata_EkmSolution_Thales * EKM Partner Thales (Value: "THALES") * @arg @c kGTLRCloudControlsPartnerService_EkmMetadata_EkmSolution_Virtru - * EKM Partner Virtu (Value: "VIRTRU") + * This enum value is never used. (Value: "VIRTRU") */ @property(nonatomic, copy, nullable) NSString *ekmSolution; diff --git a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexQuery.m b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexQuery.m index e92cef802..b39e772c5 100644 --- a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexQuery.m +++ b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexQuery.m @@ -611,7 +611,7 @@ + (instancetype)queryWithObject:(GTLRCloudDataplex_GoogleCloudDataplexV1DataScan @implementation GTLRCloudDataplexQuery_ProjectsLocationsDataScansDelete -@dynamic name; +@dynamic force, name; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; diff --git a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h index c74e29f38..8f9b71b85 100644 --- a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h +++ b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h @@ -5110,10 +5110,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DataScan_Labels *labels; /** - * Output only. The relative resource name of the scan, of the form: - * projects/{project}/locations/{location_id}/dataScans/{datascan_id}, where - * project refers to a project_id or project_number and location_id refers to a - * GCP region. + * Output only. Identifier. The relative resource name of the scan, of the + * form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}, + * where project refers to a project_id or project_number and location_id + * refers to a GCP region. */ @property(nonatomic, copy, nullable) NSString *name; @@ -5511,10 +5511,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ /** Optional. The time when the DataScanJob execution was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *latestJobCreateTime; -/** The time when the latest DataScanJob ended. */ +/** Optional. The time when the latest DataScanJob ended. */ @property(nonatomic, strong, nullable) GTLRDateTime *latestJobEndTime; -/** The time when the latest DataScanJob started. */ +/** Optional. The time when the latest DataScanJob started. */ @property(nonatomic, strong, nullable) GTLRDateTime *latestJobStartTime; @end @@ -5553,7 +5553,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ @property(nonatomic, copy, nullable) NSString *message; /** - * Output only. The relative resource name of the DataScanJob, of the form: + * Output only. Identifier. The relative resource name of the DataScanJob, of + * the form: * projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}, * where project refers to a project_id or project_number and location_id * refers to a GCP region. @@ -6800,8 +6801,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ * {aspect_type_reference}: matches aspects that belong to the specified aspect * type and are attached directly to the entry. * {aspect_type_reference}\@{path}: matches aspects that belong to the - * specified aspect type and path. {aspect_type_reference}\@*: matches aspects - * that belong to the specified aspect type for all paths.Replace + * specified aspect type and path. \@* : matches aspects of the given type for + * all paths. *\@path : matches aspects of all types on the given path. Replace * {aspect_type_reference} with a reference to the aspect type, in the format * {project_id_or_number}.{location_id}.{aspect_type_id}.If you leave this * field empty, it is treated as specifying exactly those aspects that are diff --git a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h index 07fb832bd..eccec066a 100644 --- a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h +++ b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h @@ -1170,6 +1170,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplexViewTables; */ @interface GTLRCloudDataplexQuery_ProjectsLocationsDataScansDelete : GTLRCloudDataplexQuery +/** + * Optional. If set to true, any child resources of this data scan will also be + * deleted. (Otherwise, the request will only work if the data scan has no + * child resources.) + */ +@property(nonatomic, assign) BOOL force; + /** * Required. The resource name of the dataScan: * projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where @@ -1560,15 +1567,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplexViewTables; @interface GTLRCloudDataplexQuery_ProjectsLocationsDataScansPatch : GTLRCloudDataplexQuery /** - * Output only. The relative resource name of the scan, of the form: - * projects/{project}/locations/{location_id}/dataScans/{datascan_id}, where - * project refers to a project_id or project_number and location_id refers to a - * GCP region. + * Output only. Identifier. The relative resource name of the scan, of the + * form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}, + * where project refers to a project_id or project_number and location_id + * refers to a GCP region. */ @property(nonatomic, copy, nullable) NSString *name; /** - * Required. Mask of fields to update. + * Optional. Mask of fields to update. * * String format is a comma-separated list of fields. */ @@ -1587,10 +1594,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplexViewTables; * * @param object The @c GTLRCloudDataplex_GoogleCloudDataplexV1DataScan to * include in the query. - * @param name Output only. The relative resource name of the scan, of the - * form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}, - * where project refers to a project_id or project_number and location_id - * refers to a GCP region. + * @param name Output only. Identifier. The relative resource name of the scan, + * of the form: + * projects/{project}/locations/{location_id}/dataScans/{datascan_id}, where + * project refers to a project_id or project_number and location_id refers to + * a GCP region. * * @return GTLRCloudDataplexQuery_ProjectsLocationsDataScansPatch */ @@ -2739,8 +2747,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplexViewTables; * supports the following syntaxes: - matches an aspect of the given type and * empty path. \@path - matches an aspect of the given type and specified path. * For example, to attach an aspect to a field that is specified by the schema - * aspect, the path should have the format Schema.. * - matches aspects of the - * given type for all paths. *\@path - matches aspects of all types on the + * aspect, the path should have the format Schema.. \@* - matches aspects of + * the given type for all paths. *\@path - matches aspects of all types on the * given path.The service will not remove existing aspects matching the syntax * unless delete_missing_aspects is set to true.If this field is left empty, * the service treats it as specifying exactly those Aspects present in the @@ -7769,7 +7777,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplexViewTables; */ @property(nonatomic, copy, nullable) NSString *name; -/** Optional. Specifies the ordering of results. */ +/** + * Optional. Specifies the ordering of results. Supported values are: * + * relevance (default) * last_modified_timestamp * last_modified_timestamp asc + */ @property(nonatomic, copy, nullable) NSString *orderBy; /** @@ -7785,7 +7796,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplexViewTables; */ @property(nonatomic, copy, nullable) NSString *pageToken; -/** Required. The query against which entries in scope should be matched. */ +/** + * Required. The query against which entries in scope should be matched. The + * query syntax is defined in Search syntax for Dataplex Catalog + * (https://cloud.google.com/dataplex/docs/search-syntax). + */ @property(nonatomic, copy, nullable) NSString *query; /** diff --git a/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployObjects.h b/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployObjects.h index 3a27f4920..b07b842c7 100644 --- a/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployObjects.h +++ b/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployObjects.h @@ -4976,8 +4976,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_WeeklyWindow_DaysOfWeek_Wedn /** * Output only. Identifies whether the user has requested cancellation of the * operation. Operations that have successfully been cancelled have - * Operation.error value with a google.rpc.Status.code of 1, corresponding to - * `Code.CANCELLED`. + * google.longrunning.Operation.error value with a google.rpc.Status.code of 1, + * corresponding to `Code.CANCELLED`. * * Uses NSNumber of boolValue. */ @@ -5647,10 +5647,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDeploy_WeeklyWindow_DaysOfWeek_Wedn @property(nonatomic, copy, nullable) NSString *skaffoldConfigUri; /** - * The Skaffold version to use when operating on this release, such as - * "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set - * of versions. If unset, the most recent supported Skaffold version will be - * used. + * Optional. The Skaffold version to use when operating on this release, such + * as "1.20.0". Not all versions are valid; Cloud Deploy supports a specific + * set of versions. If unset, the most recent supported Skaffold version will + * be used. */ @property(nonatomic, copy, nullable) NSString *skaffoldVersion; diff --git a/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployQuery.h b/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployQuery.h index da29de6cf..554f933a1 100644 --- a/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployQuery.h +++ b/Sources/GeneratedServices/CloudDeploy/Public/GoogleAPIClientForREST/GTLRCloudDeployQuery.h @@ -2293,7 +2293,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: clouddeploy.projects.locations.operations.cancel @@ -2316,7 +2316,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRCloudDeploy_CancelOperationRequest to include in diff --git a/Sources/GeneratedServices/CloudDomains/Public/GoogleAPIClientForREST/GTLRCloudDomainsObjects.h b/Sources/GeneratedServices/CloudDomains/Public/GoogleAPIClientForREST/GTLRCloudDomainsObjects.h index a65d5f118..d3678c9ae 100644 --- a/Sources/GeneratedServices/CloudDomains/Public/GoogleAPIClientForREST/GTLRCloudDomainsObjects.h +++ b/Sources/GeneratedServices/CloudDomains/Public/GoogleAPIClientForREST/GTLRCloudDomainsObjects.h @@ -2426,16 +2426,16 @@ GTLR_DEPRECATED /** - * Represents a postal address, e.g. for postal delivery or payments addresses. - * Given a postal address, a postal service can deliver items to a premise, - * P.O. Box or similar. It is not intended to model geographical locations - * (roads, towns, mountains). In typical usage an address would be created via - * user input or from importing existing data, depending on the type of - * process. Advice on address input / editing: - Use an + * Represents a postal address. For example for postal delivery or payments + * addresses. Given a postal address, a postal service can deliver items to a + * premise, P.O. Box or similar. It is not intended to model geographical + * locations (roads, towns, mountains). In typical usage an address would be + * created by user input or from importing existing data, depending on the type + * of process. Advice on address input / editing: - Use an * internationalization-ready address widget such as * https://github.com/google/libaddressinput) - Users should not be presented * with UI elements for input or editing of fields outside countries where that - * field is used. For more guidance on how to use this schema, please see: + * field is used. For more guidance on how to use this schema, see: * https://support.google.com/business/answer/6397478 */ @interface GTLRCloudDomains_PostalAddress : GTLRObject @@ -2443,13 +2443,13 @@ GTLR_DEPRECATED /** * Unstructured address lines describing the lower levels of an address. * Because values in address_lines do not have type information and may - * sometimes contain multiple values in a single field (e.g. "Austin, TX"), it - * is important that the line order is clear. The order of address lines should - * be "envelope order" for the country/region of the address. In places where - * this can vary (e.g. Japan), address_language is used to make it explicit - * (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for - * small-to-large). This way, the most specific line of an address can be - * selected based on the language. The minimum permitted structural + * sometimes contain multiple values in a single field (For example "Austin, + * TX"), it is important that the line order is clear. The order of address + * lines should be "envelope order" for the country/region of the address. In + * places where this can vary (For example Japan), address_language is used to + * make it explicit (For example "ja" for large-to-small ordering and "ja-Latn" + * or "en" for small-to-large). This way, the most specific line of an address + * can be selected based on the language. The minimum permitted structural * representation of an address consists of a region_code with all remaining * information placed in the address_lines. It would be possible to format such * an address very approximately without geocoding, but no semantic reasoning @@ -2465,9 +2465,9 @@ GTLR_DEPRECATED * Optional. Highest administrative subdivision which is used for postal * addresses of a country or region. For example, this can be a state, a * province, an oblast, or a prefecture. Specifically, for Spain this is the - * province and not the autonomous community (e.g. "Barcelona" and not + * province and not the autonomous community (For example "Barcelona" and not * "Catalonia"). Many countries don't use an administrative area in postal - * addresses. E.g. in Switzerland this should be left unpopulated. + * addresses. For example in Switzerland this should be left unpopulated. */ @property(nonatomic, copy, nullable) NSString *administrativeArea; @@ -2497,7 +2497,7 @@ GTLR_DEPRECATED /** * Optional. Postal code of the address. Not all countries use or require * postal codes to be present, but where they are used, they may trigger - * additional validation with other parts of the address (e.g. state/zip + * additional validation with other parts of the address (For example state/zip * validation in the U.S.A.). */ @property(nonatomic, copy, nullable) NSString *postalCode; @@ -2530,9 +2530,9 @@ GTLR_DEPRECATED /** * Optional. Additional, country-specific, sorting code. This is not used in * most regions. Where it is used, the value is either a string like "CEDEX", - * optionally followed by a number (e.g. "CEDEX 7"), or just a number alone, - * representing the "sector code" (Jamaica), "delivery area indicator" (Malawi) - * or "post office indicator" (e.g. Côte d'Ivoire). + * optionally followed by a number (For example "CEDEX 7"), or just a number + * alone, representing the "sector code" (Jamaica), "delivery area indicator" + * (Malawi) or "post office indicator" (For example Côte d'Ivoire). */ @property(nonatomic, copy, nullable) NSString *sortingCode; diff --git a/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m b/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m index a1b625b0c..92a1d0bf0 100644 --- a/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m +++ b/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m @@ -263,7 +263,7 @@ @implementation GTLRCloudFilestore_FileShareConfig // @implementation GTLRCloudFilestore_FixedIOPS -@dynamic maxIops, maxReadIops; +@dynamic maxIops; @end @@ -564,7 +564,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRCloudFilestore_IOPSPerTB -@dynamic maxIopsPerTb, maxReadIopsPerTb; +@dynamic maxIopsPerTb; @end @@ -664,11 +664,12 @@ + (NSString *)collectionItemsKey { // @implementation GTLRCloudFilestore_ListSnapshotsResponse -@dynamic nextPageToken, snapshots; +@dynamic nextPageToken, snapshots, unreachable; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"snapshots" : [GTLRCloudFilestore_Snapshot class] + @"snapshots" : [GTLRCloudFilestore_Snapshot class], + @"unreachable" : [NSString class] }; return map; } diff --git a/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreQuery.m b/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreQuery.m index d763d8177..3ee584347 100644 --- a/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreQuery.m +++ b/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreQuery.m @@ -406,7 +406,7 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRCloudFilestoreQuery_ProjectsLocationsInstancesSnapshotsList -@dynamic filter, orderBy, pageSize, pageToken, parent; +@dynamic filter, orderBy, pageSize, pageToken, parent, returnPartialSuccess; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; diff --git a/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h b/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h index a1b98f1e4..9578c0100 100644 --- a/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h +++ b/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h @@ -898,9 +898,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week @property(nonatomic, strong, nullable) NSNumber *storageBytes; /** - * Optional. Input only. Immutable. Tag key-value pairs are bound to this - * resource. For example: "123/environment": "production", "123/costCenter": - * "marketing" + * Optional. Input only. Immutable. Tag key-value pairs bound to this resource. + * Each key must be a namespaced name and each value a short name. Example: + * "123456789012/environment" : "production", "123456789013/costCenter" : + * "marketing" See the documentation for more information: - Namespaced name: + * https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key + * - Short name: + * https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value */ @property(nonatomic, strong, nullable) GTLRCloudFilestore_Backup_Tags *tags; @@ -920,9 +924,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week /** - * Optional. Input only. Immutable. Tag key-value pairs are bound to this - * resource. For example: "123/environment": "production", "123/costCenter": - * "marketing" + * Optional. Input only. Immutable. Tag key-value pairs bound to this resource. + * Each key must be a namespaced name and each value a short name. Example: + * "123456789012/environment" : "production", "123456789013/costCenter" : + * "marketing" See the documentation for more information: - Namespaced name: + * https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key + * - Short name: + * https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list @@ -1083,14 +1091,6 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week */ @property(nonatomic, strong, nullable) NSNumber *maxIops; -/** - * Optional. Deprecated: `max_iops` should be used instead of this parameter. - * Maximum read IOPS. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *maxReadIops GTLR_DEPRECATED; - @end @@ -1740,9 +1740,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week @property(nonatomic, strong, nullable) NSArray *suspensionReasons; /** - * Optional. Input only. Immutable. Tag key-value pairs are bound to this - * resource. For example: "123/environment": "production", "123/costCenter": - * "marketing" + * Optional. Input only. Immutable. Tag key-value pairs bound to this resource. + * Each key must be a namespaced name and each value a short name. Example: + * "123456789012/environment" : "production", "123456789013/costCenter" : + * "marketing" See the documentation for more information: - Namespaced name: + * https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key + * - Short name: + * https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value */ @property(nonatomic, strong, nullable) GTLRCloudFilestore_Instance_Tags *tags; @@ -1793,9 +1797,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week /** - * Optional. Input only. Immutable. Tag key-value pairs are bound to this - * resource. For example: "123/environment": "production", "123/costCenter": - * "marketing" + * Optional. Input only. Immutable. Tag key-value pairs bound to this resource. + * Each key must be a namespaced name and each value a short name. Example: + * "123456789012/environment" : "production", "123456789013/costCenter" : + * "marketing" See the documentation for more information: - Namespaced name: + * https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key + * - Short name: + * https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list @@ -1818,14 +1826,6 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week */ @property(nonatomic, strong, nullable) NSNumber *maxIopsPerTb; -/** - * Optional. Deprecated: `max_iops_per_tb` should be used instead of this - * parameter. Maximum read IOPS per TiB. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *maxReadIopsPerTb GTLR_DEPRECATED; - @end @@ -1857,7 +1857,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week */ @property(nonatomic, copy, nullable) NSString *nextPageToken; -/** Locations that could not be reached. */ +/** Unordered list. Locations that could not be reached. */ @property(nonatomic, strong, nullable) NSArray *unreachable; @end @@ -1891,7 +1891,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week */ @property(nonatomic, copy, nullable) NSString *nextPageToken; -/** Locations that could not be reached. */ +/** Unordered list. Locations that could not be reached. */ @property(nonatomic, strong, nullable) NSArray *unreachable; @end @@ -1969,6 +1969,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week */ @property(nonatomic, strong, nullable) NSArray *snapshots; +/** Unordered list. Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + @end @@ -2340,8 +2343,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week /** * Output only. Identifies whether the user has requested cancellation of the * operation. Operations that have been cancelled successfully have - * Operation.error value with a google.rpc.Status.code of 1, corresponding to - * `Code.CANCELLED`. + * google.longrunning.Operation.error value with a google.rpc.Status.code of + * `1`, corresponding to `Code.CANCELLED`. * * Uses NSNumber of boolValue. */ @@ -2639,9 +2642,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week @property(nonatomic, copy, nullable) NSString *state; /** - * Optional. Input only. Immutable. Tag key-value pairs are bound to this - * resource. For example: "123/environment": "production", "123/costCenter": - * "marketing" + * Optional. Input only. Immutable. Tag key-value pairs bound to this resource. + * Each key must be a namespaced name and each value a short name. Example: + * "123456789012/environment" : "production", "123456789013/costCenter" : + * "marketing" See the documentation for more information: - Namespaced name: + * https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key + * - Short name: + * https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value */ @property(nonatomic, strong, nullable) GTLRCloudFilestore_Snapshot_Tags *tags; @@ -2661,9 +2668,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week /** - * Optional. Input only. Immutable. Tag key-value pairs are bound to this - * resource. For example: "123/environment": "production", "123/costCenter": - * "marketing" + * Optional. Input only. Immutable. Tag key-value pairs bound to this resource. + * Each key must be a namespaced name and each value a short name. Example: + * "123456789012/environment" : "production", "123456789013/costCenter" : + * "marketing" See the documentation for more information: - Namespaced name: + * https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key + * - Short name: + * https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list diff --git a/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreQuery.h b/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreQuery.h index 0becd27b0..42a94b903 100644 --- a/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreQuery.h +++ b/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreQuery.h @@ -713,6 +713,12 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *parent; +/** + * Optional. If true, allow partial responses for multi-regional Aggregated + * List requests. + */ +@property(nonatomic, assign) BOOL returnPartialSuccess; + /** * Fetches a @c GTLRCloudFilestore_ListSnapshotsResponse. * @@ -836,7 +842,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: file.projects.locations.operations.cancel @@ -859,7 +865,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRCloudFilestore_CancelOperationRequest to include in diff --git a/Sources/GeneratedServices/CloudFunctions/GTLRCloudFunctionsObjects.m b/Sources/GeneratedServices/CloudFunctions/GTLRCloudFunctionsObjects.m index 8afb78302..da226526a 100644 --- a/Sources/GeneratedServices/CloudFunctions/GTLRCloudFunctionsObjects.m +++ b/Sources/GeneratedServices/CloudFunctions/GTLRCloudFunctionsObjects.m @@ -57,6 +57,7 @@ NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_CommitFunctionUpgrade = @"COMMIT_FUNCTION_UPGRADE"; NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_CreateFunction = @"CREATE_FUNCTION"; NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_DeleteFunction = @"DELETE_FUNCTION"; +NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_DetachFunction = @"DETACH_FUNCTION"; NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_OperationtypeUnspecified = @"OPERATIONTYPE_UNSPECIFIED"; NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_RedirectFunctionUpgradeTraffic = @"REDIRECT_FUNCTION_UPGRADE_TRAFFIC"; NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_RollbackFunctionUpgradeTraffic = @"ROLLBACK_FUNCTION_UPGRADE_TRAFFIC"; diff --git a/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsObjects.h b/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsObjects.h index 85633da35..c6f152ed3 100644 --- a/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsObjects.h +++ b/Sources/GeneratedServices/CloudFunctions/Public/GoogleAPIClientForREST/GTLRCloudFunctionsObjects.h @@ -273,6 +273,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2Ope * Value: "DELETE_FUNCTION" */ FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_DeleteFunction; +/** + * DetachFunction + * + * Value: "DETACH_FUNCTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_DetachFunction; /** * Unspecified * @@ -1390,6 +1396,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFunctions_UpgradeInfo_UpgradeState_ * CreateFunction (Value: "CREATE_FUNCTION") * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_DeleteFunction * DeleteFunction (Value: "DELETE_FUNCTION") + * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_DetachFunction + * DetachFunction (Value: "DETACH_FUNCTION") * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_OperationtypeUnspecified * Unspecified (Value: "OPERATIONTYPE_UNSPECIFIED") * @arg @c kGTLRCloudFunctions_GoogleCloudFunctionsV2OperationMetadata_OperationType_RedirectFunctionUpgradeTraffic diff --git a/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareObjects.m b/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareObjects.m index bcbc3998a..f051b2e59 100644 --- a/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareObjects.m +++ b/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareObjects.m @@ -13,6 +13,12 @@ // ---------------------------------------------------------------------------- // Constants +// GTLRCloudHealthcare_AccessDeterminationLogConfig.logLevel +NSString * const kGTLRCloudHealthcare_AccessDeterminationLogConfig_LogLevel_Disabled = @"DISABLED"; +NSString * const kGTLRCloudHealthcare_AccessDeterminationLogConfig_LogLevel_LogLevelUnspecified = @"LOG_LEVEL_UNSPECIFIED"; +NSString * const kGTLRCloudHealthcare_AccessDeterminationLogConfig_LogLevel_Minimum = @"MINIMUM"; +NSString * const kGTLRCloudHealthcare_AccessDeterminationLogConfig_LogLevel_Verbose = @"VERBOSE"; + // GTLRCloudHealthcare_AnalyzeEntitiesRequest.alternativeOutputFormat NSString * const kGTLRCloudHealthcare_AnalyzeEntitiesRequest_AlternativeOutputFormat_AlternativeOutputFormatUnspecified = @"ALTERNATIVE_OUTPUT_FORMAT_UNSPECIFIED"; NSString * const kGTLRCloudHealthcare_AnalyzeEntitiesRequest_AlternativeOutputFormat_FhirBundle = @"FHIR_BUNDLE"; @@ -60,6 +66,10 @@ NSString * const kGTLRCloudHealthcare_Consent_State_Revoked = @"REVOKED"; NSString * const kGTLRCloudHealthcare_Consent_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRCloudHealthcare_ConsentConfig.version +NSString * const kGTLRCloudHealthcare_ConsentConfig_Version_ConsentEnforcementVersionUnspecified = @"CONSENT_ENFORCEMENT_VERSION_UNSPECIFIED"; +NSString * const kGTLRCloudHealthcare_ConsentConfig_Version_V1 = @"V1"; + // GTLRCloudHealthcare_ConsentEvaluation.evaluationResult NSString * const kGTLRCloudHealthcare_ConsentEvaluation_EvaluationResult_EvaluationResultUnspecified = @"EVALUATION_RESULT_UNSPECIFIED"; NSString * const kGTLRCloudHealthcare_ConsentEvaluation_EvaluationResult_HasSatisfiedPolicy = @"HAS_SATISFIED_POLICY"; @@ -67,6 +77,11 @@ NSString * const kGTLRCloudHealthcare_ConsentEvaluation_EvaluationResult_NoSatisfiedPolicy = @"NO_SATISFIED_POLICY"; NSString * const kGTLRCloudHealthcare_ConsentEvaluation_EvaluationResult_NotApplicable = @"NOT_APPLICABLE"; +// GTLRCloudHealthcare_ConsentHeaderHandling.profile +NSString * const kGTLRCloudHealthcare_ConsentHeaderHandling_Profile_PermitEmptyScope = @"PERMIT_EMPTY_SCOPE"; +NSString * const kGTLRCloudHealthcare_ConsentHeaderHandling_Profile_RequiredOnRead = @"REQUIRED_ON_READ"; +NSString * const kGTLRCloudHealthcare_ConsentHeaderHandling_Profile_ScopeProfileUnspecified = @"SCOPE_PROFILE_UNSPECIFIED"; + // GTLRCloudHealthcare_DicomConfig.filterProfile NSString * const kGTLRCloudHealthcare_DicomConfig_FilterProfile_AttributeConfidentialityBasicProfile = @"ATTRIBUTE_CONFIDENTIALITY_BASIC_PROFILE"; NSString * const kGTLRCloudHealthcare_DicomConfig_FilterProfile_DeidentifyTagContents = @"DEIDENTIFY_TAG_CONTENTS"; @@ -79,6 +94,21 @@ NSString * const kGTLRCloudHealthcare_EvaluateUserConsentsRequest_ResponseView_Full = @"FULL"; NSString * const kGTLRCloudHealthcare_EvaluateUserConsentsRequest_ResponseView_ResponseViewUnspecified = @"RESPONSE_VIEW_UNSPECIFIED"; +// GTLRCloudHealthcare_ExplainDataAccessConsentInfo.type +NSString * const kGTLRCloudHealthcare_ExplainDataAccessConsentInfo_Type_ConsentPolicyTypeAdmin = @"CONSENT_POLICY_TYPE_ADMIN"; +NSString * const kGTLRCloudHealthcare_ExplainDataAccessConsentInfo_Type_ConsentPolicyTypePatient = @"CONSENT_POLICY_TYPE_PATIENT"; +NSString * const kGTLRCloudHealthcare_ExplainDataAccessConsentInfo_Type_ConsentPolicyTypeUnspecified = @"CONSENT_POLICY_TYPE_UNSPECIFIED"; + +// GTLRCloudHealthcare_ExplainDataAccessConsentInfo.variants +NSString * const kGTLRCloudHealthcare_ExplainDataAccessConsentInfo_Variants_ConsentVariantCascade = @"CONSENT_VARIANT_CASCADE"; +NSString * const kGTLRCloudHealthcare_ExplainDataAccessConsentInfo_Variants_ConsentVariantStandard = @"CONSENT_VARIANT_STANDARD"; +NSString * const kGTLRCloudHealthcare_ExplainDataAccessConsentInfo_Variants_ConsentVariantUnspecified = @"CONSENT_VARIANT_UNSPECIFIED"; + +// GTLRCloudHealthcare_ExplainDataAccessConsentScope.decision +NSString * const kGTLRCloudHealthcare_ExplainDataAccessConsentScope_Decision_ConsentDecisionTypeDeny = @"CONSENT_DECISION_TYPE_DENY"; +NSString * const kGTLRCloudHealthcare_ExplainDataAccessConsentScope_Decision_ConsentDecisionTypePermit = @"CONSENT_DECISION_TYPE_PERMIT"; +NSString * const kGTLRCloudHealthcare_ExplainDataAccessConsentScope_Decision_ConsentDecisionTypeUnspecified = @"CONSENT_DECISION_TYPE_UNSPECIFIED"; + // GTLRCloudHealthcare_FhirStore.complexDataTypeReferenceParsing NSString * const kGTLRCloudHealthcare_FhirStore_ComplexDataTypeReferenceParsing_ComplexDataTypeReferenceParsingUnspecified = @"COMPLEX_DATA_TYPE_REFERENCE_PARSING_UNSPECIFIED"; NSString * const kGTLRCloudHealthcare_FhirStore_ComplexDataTypeReferenceParsing_Disabled = @"DISABLED"; @@ -182,6 +212,16 @@ NSString * const kGTLRCloudHealthcare_Type_Primitive_UnescapedString = @"UNESCAPED_STRING"; NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies = @"VARIES"; +// ---------------------------------------------------------------------------- +// +// GTLRCloudHealthcare_AccessDeterminationLogConfig +// + +@implementation GTLRCloudHealthcare_AccessDeterminationLogConfig +@dynamic logLevel; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudHealthcare_ActivateConsentRequest @@ -192,6 +232,24 @@ @implementation GTLRCloudHealthcare_ActivateConsentRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudHealthcare_AdminConsents +// + +@implementation GTLRCloudHealthcare_AdminConsents +@dynamic names; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"names" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudHealthcare_AnalyzeEntitiesRequest @@ -230,6 +288,65 @@ @implementation GTLRCloudHealthcare_AnalyzeEntitiesResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudHealthcare_ApplyAdminConsentsErrorDetail +// + +@implementation GTLRCloudHealthcare_ApplyAdminConsentsErrorDetail +@dynamic consentErrors, existingOperationId; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"consentErrors" : [GTLRCloudHealthcare_ConsentErrors class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudHealthcare_ApplyAdminConsentsRequest +// + +@implementation GTLRCloudHealthcare_ApplyAdminConsentsRequest +@dynamic newConsentsList, validateOnly; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudHealthcare_ApplyAdminConsentsResponse +// + +@implementation GTLRCloudHealthcare_ApplyAdminConsentsResponse +@dynamic affectedResources, consentApplySuccess, failedResources; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudHealthcare_ApplyConsentsRequest +// + +@implementation GTLRCloudHealthcare_ApplyConsentsRequest +@dynamic patientScope, timeRange, validateOnly; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudHealthcare_ApplyConsentsResponse +// + +@implementation GTLRCloudHealthcare_ApplyConsentsResponse +@dynamic affectedResources, consentApplyFailure, consentApplySuccess, + failedResources; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudHealthcare_ArchiveUserDataMappingRequest @@ -464,6 +581,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudHealthcare_ConsentAccessorScope +// + +@implementation GTLRCloudHealthcare_ConsentAccessorScope +@dynamic actor, environment, purpose; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudHealthcare_ConsentArtifact @@ -497,6 +624,35 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudHealthcare_ConsentConfig +// + +@implementation GTLRCloudHealthcare_ConsentConfig +@dynamic accessDeterminationLogConfig, accessEnforced, consentHeaderHandling, + enforcedAdminConsents, version; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"enforcedAdminConsents" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudHealthcare_ConsentErrors +// + +@implementation GTLRCloudHealthcare_ConsentErrors +@dynamic error, name; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudHealthcare_ConsentEvaluation @@ -507,6 +663,16 @@ @implementation GTLRCloudHealthcare_ConsentEvaluation @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudHealthcare_ConsentHeaderHandling +// + +@implementation GTLRCloudHealthcare_ConsentHeaderHandling +@dynamic profile; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudHealthcare_ConsentList @@ -839,6 +1005,64 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudHealthcare_ExplainDataAccessConsentInfo +// + +@implementation GTLRCloudHealthcare_ExplainDataAccessConsentInfo +@dynamic cascadeOrigins, consentResource, enforcementTime, + matchingAccessorScopes, patientConsentOwner, type, variants; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"cascadeOrigins" : [NSString class], + @"matchingAccessorScopes" : [GTLRCloudHealthcare_ConsentAccessorScope class], + @"variants" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudHealthcare_ExplainDataAccessConsentScope +// + +@implementation GTLRCloudHealthcare_ExplainDataAccessConsentScope +@dynamic accessorScope, decision, enforcingConsents, exceptions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"enforcingConsents" : [GTLRCloudHealthcare_ExplainDataAccessConsentInfo class], + @"exceptions" : [GTLRCloudHealthcare_ExplainDataAccessConsentScope class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudHealthcare_ExplainDataAccessResponse +// + +@implementation GTLRCloudHealthcare_ExplainDataAccessResponse +@dynamic consentScopes, warning; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"consentScopes" : [GTLRCloudHealthcare_ExplainDataAccessConsentScope class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudHealthcare_ExportDicomDataRequest @@ -974,10 +1198,11 @@ @implementation GTLRCloudHealthcare_FhirNotificationConfig // @implementation GTLRCloudHealthcare_FhirStore -@dynamic complexDataTypeReferenceParsing, defaultSearchHandlingStrict, - disableReferentialIntegrity, disableResourceVersioning, - enableUpdateCreate, labels, name, notificationConfig, - notificationConfigs, streamConfigs, validationConfig, version; +@dynamic complexDataTypeReferenceParsing, consentConfig, + defaultSearchHandlingStrict, disableReferentialIntegrity, + disableResourceVersioning, enableUpdateCreate, labels, name, + notificationConfig, notificationConfigs, streamConfigs, + validationConfig, version; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1949,6 +2174,24 @@ @implementation GTLRCloudHealthcare_PatientId @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudHealthcare_PatientScope +// + +@implementation GTLRCloudHealthcare_PatientScope +@dynamic patientIds; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"patientIds" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudHealthcare_Policy @@ -2555,6 +2798,16 @@ @implementation GTLRCloudHealthcare_TimePartitioning @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudHealthcare_TimeRange +// + +@implementation GTLRCloudHealthcare_TimeRange +@dynamic end, start; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudHealthcare_Type diff --git a/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareQuery.m b/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareQuery.m index 7ee24c0b3..d2e367ca5 100644 --- a/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareQuery.m +++ b/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareQuery.m @@ -1888,6 +1888,60 @@ + (instancetype)queryWithObject:(GTLRCloudHealthcare_TestIamPermissionsRequest * @end +@implementation GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresApplyAdminConsents + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRCloudHealthcare_ApplyAdminConsentsRequest *)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}:applyAdminConsents"; + GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresApplyAdminConsents *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudHealthcare_Operation class]; + query.loggingName = @"healthcare.projects.locations.datasets.fhirStores.applyAdminConsents"; + return query; +} + +@end + +@implementation GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresApplyConsents + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRCloudHealthcare_ApplyConsentsRequest *)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}:applyConsents"; + GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresApplyConsents *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudHealthcare_Operation class]; + query.loggingName = @"healthcare.projects.locations.datasets.fhirStores.applyConsents"; + return query; +} + +@end + @implementation GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresCreate @dynamic fhirStoreId, parent; @@ -1961,6 +2015,25 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresExplainDataAccess + +@dynamic name, resourceId; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:explainDataAccess"; + GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresExplainDataAccess *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudHealthcare_ExplainDataAccessResponse class]; + query.loggingName = @"healthcare.projects.locations.datasets.fhirStores.explainDataAccess"; + return query; +} + +@end + @implementation GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresExport @dynamic name; @@ -2184,6 +2257,25 @@ + (instancetype)queryWithObject:(GTLRCloudHealthcare_HttpBody *)object @end +@implementation GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirConsentEnforcementStatus + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/$consent-enforcement-status"; + GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirConsentEnforcementStatus *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudHealthcare_HttpBody class]; + query.loggingName = @"healthcare.projects.locations.datasets.fhirStores.fhir.Consent-enforcement-status"; + return query; +} + +@end + @implementation GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirCreate @dynamic parent, type; @@ -2317,6 +2409,33 @@ + (instancetype)queryWithObject:(GTLRCloudHealthcare_HttpBody *)object @end +@implementation GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirPatientConsentEnforcementStatus + +@dynamic xCount, xPageToken, name; + ++ (NSDictionary *)parameterNameMap { + NSDictionary *map = @{ + @"xCount" : @"_count", + @"xPageToken" : @"_page_token" + }; + return map; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/$consent-enforcement-status"; + GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirPatientConsentEnforcementStatus *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudHealthcare_HttpBody class]; + query.loggingName = @"healthcare.projects.locations.datasets.fhirStores.fhir.Patient-consent-enforcement-status"; + return query; +} + +@end + @implementation GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirPatientEverything @dynamic xCount, xPageToken, xSince, xType, end, name, start; diff --git a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h index 82c66ccb4..86f768105 100644 --- a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h +++ b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h @@ -14,6 +14,8 @@ #error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. #endif +@class GTLRCloudHealthcare_AccessDeterminationLogConfig; +@class GTLRCloudHealthcare_AdminConsents; @class GTLRCloudHealthcare_Attribute; @class GTLRCloudHealthcare_AttributeDefinition; @class GTLRCloudHealthcare_AuditConfig; @@ -26,9 +28,13 @@ @class GTLRCloudHealthcare_CheckDataAccessResponse_ConsentDetails; @class GTLRCloudHealthcare_Consent; @class GTLRCloudHealthcare_Consent_Metadata; +@class GTLRCloudHealthcare_ConsentAccessorScope; @class GTLRCloudHealthcare_ConsentArtifact; @class GTLRCloudHealthcare_ConsentArtifact_Metadata; +@class GTLRCloudHealthcare_ConsentConfig; +@class GTLRCloudHealthcare_ConsentErrors; @class GTLRCloudHealthcare_ConsentEvaluation; +@class GTLRCloudHealthcare_ConsentHeaderHandling; @class GTLRCloudHealthcare_ConsentList; @class GTLRCloudHealthcare_ConsentStore; @class GTLRCloudHealthcare_ConsentStore_Labels; @@ -47,6 +53,8 @@ @class GTLRCloudHealthcare_EntityMentionRelationship; @class GTLRCloudHealthcare_EvaluateUserConsentsRequest_RequestAttributes; @class GTLRCloudHealthcare_EvaluateUserConsentsRequest_ResourceAttributes; +@class GTLRCloudHealthcare_ExplainDataAccessConsentInfo; +@class GTLRCloudHealthcare_ExplainDataAccessConsentScope; @class GTLRCloudHealthcare_Expr; @class GTLRCloudHealthcare_Feature; @class GTLRCloudHealthcare_FhirConfig; @@ -94,6 +102,7 @@ @class GTLRCloudHealthcare_ParsedData; @class GTLRCloudHealthcare_ParserConfig; @class GTLRCloudHealthcare_PatientId; +@class GTLRCloudHealthcare_PatientScope; @class GTLRCloudHealthcare_Policy; @class GTLRCloudHealthcare_ProgressCounter; @class GTLRCloudHealthcare_PubsubDestination; @@ -123,6 +132,7 @@ @class GTLRCloudHealthcare_TextConfig; @class GTLRCloudHealthcare_TextSpan; @class GTLRCloudHealthcare_TimePartitioning; +@class GTLRCloudHealthcare_TimeRange; @class GTLRCloudHealthcare_Type; @class GTLRCloudHealthcare_UserDataMapping; @class GTLRCloudHealthcare_ValidationConfig; @@ -138,6 +148,45 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRCloudHealthcare_AccessDeterminationLogConfig.logLevel + +/** + * No additional consent-related logging is added to audit logs. + * + * Value: "DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_AccessDeterminationLogConfig_LogLevel_Disabled; +/** + * No log level specified. This value is unused. + * + * Value: "LOG_LEVEL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_AccessDeterminationLogConfig_LogLevel_LogLevelUnspecified; +/** + * The following information is included: * One of the following + * [`consentMode`](https://cloud.google.com/healthcare-api/docs/fhir-consent#audit_logs) + * fields: (`off`|`emptyScope`|`enforced`|`btg`|`bypass`). * The accessor's + * request headers * The `log_level` of the AccessDeterminationLogConfig * The + * final consent evaluation (`PERMIT`, `DENY`, or `NO_CONSENT`) * A + * human-readable summary of the evaluation + * + * Value: "MINIMUM" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_AccessDeterminationLogConfig_LogLevel_Minimum; +/** + * Includes `MINIMUM` and, for each resource owner, returns: * The resource + * owner's name * Most specific part of the `X-Consent-Scope` resulting in + * consensual determination * Timestamp of the applied enforcement leading to + * the decision * Enforcement version at the time the applicable consents were + * applied * The Consent resource name * The timestamp of the Consent resource + * used for enforcement * Policy type (`PATIENT` or `ADMIN`) Note that this + * mode adds some overhead to CRUD operations. + * + * Value: "VERBOSE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_AccessDeterminationLogConfig_LogLevel_Verbose; + // ---------------------------------------------------------------------------- // GTLRCloudHealthcare_AnalyzeEntitiesRequest.alternativeOutputFormat @@ -377,6 +426,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Consent_State_Revoked; */ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Consent_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRCloudHealthcare_ConsentConfig.version + +/** + * Users must specify an enforcement version or an error is returned. + * + * Value: "CONSENT_ENFORCEMENT_VERSION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_ConsentConfig_Version_ConsentEnforcementVersionUnspecified; +/** + * Enforcement version 1. See the [FHIR Consent resources in the Cloud + * Healthcare API](https://cloud.google.com/healthcare-api/docs/fhir-consent) + * guide for more details. + * + * Value: "V1" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_ConsentConfig_Version_V1; + // ---------------------------------------------------------------------------- // GTLRCloudHealthcare_ConsentEvaluation.evaluationResult @@ -418,6 +485,36 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_ConsentEvaluation_Evalua */ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_ConsentEvaluation_EvaluationResult_NotApplicable; +// ---------------------------------------------------------------------------- +// GTLRCloudHealthcare_ConsentHeaderHandling.profile + +/** + * When no consent scopes are provided (for example, if there's an empty or + * missing header), then consent check is disabled, similar to when + * `access_enforced` is `false`. You can use audit logs to differentiate these + * two cases by looking at the value of `protopayload.metadata.consentMode`. If + * consents scopes are present, they must be valid and within the allowed + * limits, otherwise the request will be rejected with a `4xx` code. + * + * Value: "PERMIT_EMPTY_SCOPE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_ConsentHeaderHandling_Profile_PermitEmptyScope; +/** + * The consent header must be non-empty when performing read and search + * operations, otherwise the request is rejected with a `4xx` code. + * Additionally, invalid consent scopes or scopes exceeding the allowed limits + * are rejected. + * + * Value: "REQUIRED_ON_READ" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_ConsentHeaderHandling_Profile_RequiredOnRead; +/** + * If not specified, the default value `PERMIT_EMPTY_SCOPE` is used. + * + * Value: "SCOPE_PROFILE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_ConsentHeaderHandling_Profile_ScopeProfileUnspecified; + // ---------------------------------------------------------------------------- // GTLRCloudHealthcare_DicomConfig.filterProfile @@ -480,6 +577,72 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_EvaluateUserConsentsRequ */ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_EvaluateUserConsentsRequest_ResponseView_ResponseViewUnspecified; +// ---------------------------------------------------------------------------- +// GTLRCloudHealthcare_ExplainDataAccessConsentInfo.type + +/** + * Consent represent an admin consent. + * + * Value: "CONSENT_POLICY_TYPE_ADMIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_ExplainDataAccessConsentInfo_Type_ConsentPolicyTypeAdmin; +/** + * Consent represent a patient consent. + * + * Value: "CONSENT_POLICY_TYPE_PATIENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_ExplainDataAccessConsentInfo_Type_ConsentPolicyTypePatient; +/** + * Unspecified policy type. + * + * Value: "CONSENT_POLICY_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_ExplainDataAccessConsentInfo_Type_ConsentPolicyTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCloudHealthcare_ExplainDataAccessConsentInfo.variants + +/** + * Consent is a cascading consent. + * + * Value: "CONSENT_VARIANT_CASCADE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_ExplainDataAccessConsentInfo_Variants_ConsentVariantCascade; +/** + * Consent is a standard patient or admin consent. + * + * Value: "CONSENT_VARIANT_STANDARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_ExplainDataAccessConsentInfo_Variants_ConsentVariantStandard; +/** + * Consent variant unspecified. + * + * Value: "CONSENT_VARIANT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_ExplainDataAccessConsentInfo_Variants_ConsentVariantUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCloudHealthcare_ExplainDataAccessConsentScope.decision + +/** + * Consent denied access. + * + * Value: "CONSENT_DECISION_TYPE_DENY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_ExplainDataAccessConsentScope_Decision_ConsentDecisionTypeDeny; +/** + * Consent permitted access. + * + * Value: "CONSENT_DECISION_TYPE_PERMIT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_ExplainDataAccessConsentScope_Decision_ConsentDecisionTypePermit; +/** + * Unspecified consent decision type. + * + * Value: "CONSENT_DECISION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_ExplainDataAccessConsentScope_Decision_ConsentDecisionTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRCloudHealthcare_FhirStore.complexDataTypeReferenceParsing @@ -1000,6 +1163,48 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Unescaped */ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; +/** + * Configures consent audit log config for FHIR create, read, update, and + * delete (CRUD) operations. Cloud audit log for healthcare API must be + * [enabled](https://cloud.google.com/logging/docs/audit/configure-data-access#config-console-enable). + * The consent-related logs are included as part of `protoPayload.metadata`. + */ +@interface GTLRCloudHealthcare_AccessDeterminationLogConfig : GTLRObject + +/** + * Optional. Controls the amount of detail to include as part of the audit + * logs. + * + * Likely values: + * @arg @c kGTLRCloudHealthcare_AccessDeterminationLogConfig_LogLevel_Disabled + * No additional consent-related logging is added to audit logs. (Value: + * "DISABLED") + * @arg @c kGTLRCloudHealthcare_AccessDeterminationLogConfig_LogLevel_LogLevelUnspecified + * No log level specified. This value is unused. (Value: + * "LOG_LEVEL_UNSPECIFIED") + * @arg @c kGTLRCloudHealthcare_AccessDeterminationLogConfig_LogLevel_Minimum + * The following information is included: * One of the following + * [`consentMode`](https://cloud.google.com/healthcare-api/docs/fhir-consent#audit_logs) + * fields: (`off`|`emptyScope`|`enforced`|`btg`|`bypass`). * The + * accessor's request headers * The `log_level` of the + * AccessDeterminationLogConfig * The final consent evaluation (`PERMIT`, + * `DENY`, or `NO_CONSENT`) * A human-readable summary of the evaluation + * (Value: "MINIMUM") + * @arg @c kGTLRCloudHealthcare_AccessDeterminationLogConfig_LogLevel_Verbose + * Includes `MINIMUM` and, for each resource owner, returns: * The + * resource owner's name * Most specific part of the `X-Consent-Scope` + * resulting in consensual determination * Timestamp of the applied + * enforcement leading to the decision * Enforcement version at the time + * the applicable consents were applied * The Consent resource name * The + * timestamp of the Consent resource used for enforcement * Policy type + * (`PATIENT` or `ADMIN`) Note that this mode adds some overhead to CRUD + * operations. (Value: "VERBOSE") + */ +@property(nonatomic, copy, nullable) NSString *logLevel; + +@end + + /** * Activates the latest revision of the specified Consent by committing a new * revision with `state` updated to `ACTIVE`. If the latest revision of the @@ -1027,6 +1232,23 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @end +/** + * List of admin Consent resources to be applied. + */ +@interface GTLRCloudHealthcare_AdminConsents : GTLRObject + +/** + * Optional. The versioned names of the admin Consent resource(s), in the + * format + * `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}/_history/{version_id}`. + * For FHIR stores with `disable_resource_versioning=true`, the format is + * `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}`. + */ +@property(nonatomic, strong, nullable) NSArray *names; + +@end + + /** * The request to analyze healthcare entities in a document. */ @@ -1090,6 +1312,186 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @end +/** + * Contains the error details of the unsupported admin Consent resources for + * when the ApplyAdminConsents method fails to apply one or more Consent + * resources. + */ +@interface GTLRCloudHealthcare_ApplyAdminConsentsErrorDetail : GTLRObject + +/** + * The list of Consent resources that are unsupported or cannot be applied and + * the error associated with each of them. + */ +@property(nonatomic, strong, nullable) NSArray *consentErrors; + +/** + * The currently in progress non-validate-only ApplyAdminConsents operation ID + * if exist. + * + * Uses NSNumber of unsignedLongLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *existingOperationId; + +@end + + +/** + * Request to apply the admin Consent resources for the specified FHIR store. + */ +@interface GTLRCloudHealthcare_ApplyAdminConsentsRequest : GTLRObject + +/** + * A new list of admin Consent resources to be applied. Any existing enforced + * Consents, which are specified in `consent_config.enforced_admin_consents` of + * the FhirStore, that are not part of this list will be disabled. An empty + * list is equivalent to clearing or disabling all Consents enforced on the + * FHIR store. When a FHIR store has `disable_resource_versioning=true` and + * this list contains a Consent resource that exists in + * `consent_config.enforced_admin_consents`, the method enforces any updates to + * the existing resource since the last enforcement. If the existing resource + * hasn't been updated since the last enforcement, the resource is unaffected. + * After the method finishes, the resulting consent enforcement model is + * determined by the contents of the Consent resource(s) when the method was + * called: * When `disable_resource_versioning=true`, the result is identical + * to the current resource(s) in the FHIR store. * When + * `disable_resource_versioning=false`, the result is based on the historical + * version(s) of the Consent resource(s) at the point in time when the method + * was called. At most 200 Consents can be specified. + */ +@property(nonatomic, strong, nullable) GTLRCloudHealthcare_AdminConsents *newConsentsList NS_RETURNS_NOT_RETAINED; + +/** + * Optional. If true, the method only validates Consent resources to make sure + * they are supported. Otherwise, the method applies the aggregate consent + * information to update the enforcement model and reindex the FHIR resources. + * If all Consent resources can be applied successfully, the + * ApplyAdminConsentsResponse is returned containing the following fields: * + * `consent_apply_success` to indicate the number of Consent resources applied. + * * `affected_resources` to indicate the number of resources that might have + * had their consent access changed. If, however, one or more Consent resources + * are unsupported or cannot be applied, the method fails and + * ApplyAdminConsentsErrorDetail is is returned with details about the + * unsupported Consent resources. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *validateOnly; + +@end + + +/** + * Response when all admin Consent resources in scope were processed and all + * affected resources were reindexed successfully. This structure will be + * included in the response when the operation finishes successfully. + */ +@interface GTLRCloudHealthcare_ApplyAdminConsentsResponse : GTLRObject + +/** + * The number of resources (including the Consent resources) that may have + * consent access change. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *affectedResources; + +/** + * If `validate_only=false` in ApplyAdminConsentsRequest, this counter contains + * the number of Consent resources that were successfully applied. Otherwise, + * it is the number of Consent resources that are supported. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *consentApplySuccess; + +/** + * The number of resources (including the Consent resources) that + * ApplyAdminConsents failed to re-index. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *failedResources; + +@end + + +/** + * Request to apply the Consent resources for the specified FHIR store. + */ +@interface GTLRCloudHealthcare_ApplyConsentsRequest : GTLRObject + +/** Optional. Scope down to a list of patients. */ +@property(nonatomic, strong, nullable) GTLRCloudHealthcare_PatientScope *patientScope; + +/** + * Optional. Scope down to patients whose most recent consent changes are in + * the time range. Can only be used with a versioning store (i.e. when + * disable_resource_versioning is set to false). + */ +@property(nonatomic, strong, nullable) GTLRCloudHealthcare_TimeRange *timeRange; + +/** + * Optional. If true, the method only validates Consent resources to make sure + * they are supported. When the operation completes, ApplyConsentsResponse is + * returned where `consent_apply_success` and `consent_apply_failure` indicate + * supported and unsupported (or invalid) Consent resources, respectively. + * Otherwise, the method propagates the aggregate consensual information to the + * patient's resources. Upon success, `affected_resources` in the + * ApplyConsentsResponse indicates the number of resources that may have + * consensual access changed. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *validateOnly; + +@end + + +/** + * Response when all Consent resources in scope were processed and all affected + * resources were reindexed successfully. This structure is included in the + * response when the operation finishes successfully. + */ +@interface GTLRCloudHealthcare_ApplyConsentsResponse : GTLRObject + +/** + * The number of resources (including the Consent resources) that may have + * consensual access change. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *affectedResources; + +/** + * If `validate_only = false` in ApplyConsentsRequest, this counter is the + * number of Consent resources that were failed to apply. Otherwise, it is the + * number of Consent resources that are not supported or invalid. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *consentApplyFailure; + +/** + * If `validate_only = false` in ApplyConsentsRequest, this counter is the + * number of Consent resources that were successfully applied. Otherwise, it is + * the number of Consent resources that are supported. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *consentApplySuccess; + +/** + * The number of resources (including the Consent resources) that ApplyConsents + * failed to re-index. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *failedResources; + +@end + + /** * Archives the specified User data mapping. */ @@ -1642,6 +2044,31 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @end +/** + * The accessor scope that describes who can access, for what purpose, in which + * environment. + */ +@interface GTLRCloudHealthcare_ConsentAccessorScope : GTLRObject + +/** + * An individual, group, or access role that identifies the accessor or a + * characteristic of the accessor. This can be a resource ID (such as + * `{resourceType}/{id}`) or an external URI. This value must be present. + */ +@property(nonatomic, copy, nullable) NSString *actor; + +/** + * An abstract identifier that describes the environment or conditions under + * which the accessor is acting. Can be "*" if it applies to all environments. + */ +@property(nonatomic, copy, nullable) NSString *environment; + +/** The intent of data use. Can be "*" if it applies to all purposes. */ +@property(nonatomic, copy, nullable) NSString *purpose; + +@end + + /** * Documentation of a user's consent. */ @@ -1700,6 +2127,84 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @end +/** + * Configures whether to enforce consent for the FHIR store and which consent + * enforcement version is being used. + */ +@interface GTLRCloudHealthcare_ConsentConfig : GTLRObject + +/** + * Optional. Specifies how the server logs the consent-aware requests. If not + * specified, the `AccessDeterminationLogConfig.LogLevel.MINIMUM` option is + * used. + */ +@property(nonatomic, strong, nullable) GTLRCloudHealthcare_AccessDeterminationLogConfig *accessDeterminationLogConfig; + +/** + * Optional. The default value is false. If set to true, when accessing FHIR + * resources, the consent headers will be verified against consents given by + * patients. See the ConsentEnforcementVersion for the supported consent + * headers. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *accessEnforced; + +/** + * Optional. Different options to configure the behaviour of the server when + * handling the `X-Consent-Scope` header. + */ +@property(nonatomic, strong, nullable) GTLRCloudHealthcare_ConsentHeaderHandling *consentHeaderHandling; + +/** + * Output only. The versioned names of the enforced admin Consent resource(s), + * in the format + * `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}/_history/{version_id}`. + * For FHIR stores with `disable_resource_versioning=true`, the format is + * `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}`. + * This field can only be updated using ApplyAdminConsents. + */ +@property(nonatomic, strong, nullable) NSArray *enforcedAdminConsents; + +/** + * Required. Specifies which consent enforcement version is being used for this + * FHIR store. This field can only be set once by either CreateFhirStore or + * UpdateFhirStore. After that, you must call ApplyConsents to change the + * version. + * + * Likely values: + * @arg @c kGTLRCloudHealthcare_ConsentConfig_Version_ConsentEnforcementVersionUnspecified + * Users must specify an enforcement version or an error is returned. + * (Value: "CONSENT_ENFORCEMENT_VERSION_UNSPECIFIED") + * @arg @c kGTLRCloudHealthcare_ConsentConfig_Version_V1 Enforcement version + * 1. See the [FHIR Consent resources in the Cloud Healthcare + * API](https://cloud.google.com/healthcare-api/docs/fhir-consent) guide + * for more details. (Value: "V1") + */ +@property(nonatomic, copy, nullable) NSString *version; + +@end + + +/** + * The Consent resource name and error. + */ +@interface GTLRCloudHealthcare_ConsentErrors : GTLRObject + +/** The error code and message. */ +@property(nonatomic, strong, nullable) GTLRCloudHealthcare_Status *error; + +/** + * The versioned name of the admin Consent resource, in the format + * `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}/_history/{version_id}`. + * For FHIR stores with `disable_resource_versioning=true`, the format is + * `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * The detailed evaluation of a particular Consent. */ @@ -1735,6 +2240,39 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @end +/** + * How the server handles the consent header. + */ +@interface GTLRCloudHealthcare_ConsentHeaderHandling : GTLRObject + +/** + * Optional. Specifies the default server behavior when the header is empty. If + * not specified, the `ScopeProfile.PERMIT_EMPTY_SCOPE` option is used. + * + * Likely values: + * @arg @c kGTLRCloudHealthcare_ConsentHeaderHandling_Profile_PermitEmptyScope + * When no consent scopes are provided (for example, if there's an empty + * or missing header), then consent check is disabled, similar to when + * `access_enforced` is `false`. You can use audit logs to differentiate + * these two cases by looking at the value of + * `protopayload.metadata.consentMode`. If consents scopes are present, + * they must be valid and within the allowed limits, otherwise the + * request will be rejected with a `4xx` code. (Value: + * "PERMIT_EMPTY_SCOPE") + * @arg @c kGTLRCloudHealthcare_ConsentHeaderHandling_Profile_RequiredOnRead + * The consent header must be non-empty when performing read and search + * operations, otherwise the request is rejected with a `4xx` code. + * Additionally, invalid consent scopes or scopes exceeding the allowed + * limits are rejected. (Value: "REQUIRED_ON_READ") + * @arg @c kGTLRCloudHealthcare_ConsentHeaderHandling_Profile_ScopeProfileUnspecified + * If not specified, the default value `PERMIT_EMPTY_SCOPE` is used. + * (Value: "SCOPE_PROFILE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *profile; + +@end + + /** * List of resource names of Consent resources. */ @@ -2538,6 +3076,124 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @end +/** + * The enforcing consent's metadata. + */ +@interface GTLRCloudHealthcare_ExplainDataAccessConsentInfo : GTLRObject + +/** + * The compartment base resources that matched a cascading policy. Each + * resource has the following format: + * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/{resource_type}/{resource_id}` + */ +@property(nonatomic, strong, nullable) NSArray *cascadeOrigins; + +/** + * The resource name of this consent resource, in the format: + * `projects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{resource_id}`. + */ +@property(nonatomic, copy, nullable) NSString *consentResource; + +/** Last enforcement timestamp of this consent resource. */ +@property(nonatomic, strong, nullable) GTLRDateTime *enforcementTime; + +/** + * A list of all the matching accessor scopes of this consent policy that + * enforced ExplainDataAccessConsentScope.accessor_scope. + */ +@property(nonatomic, strong, nullable) NSArray *matchingAccessorScopes; + +/** + * The patient owning the consent (only applicable for patient consents), in + * the format: + * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Patient/{patient_id}` + */ +@property(nonatomic, copy, nullable) NSString *patientConsentOwner; + +/** + * The policy type of consent resource (e.g. PATIENT, ADMIN). + * + * Likely values: + * @arg @c kGTLRCloudHealthcare_ExplainDataAccessConsentInfo_Type_ConsentPolicyTypeAdmin + * Consent represent an admin consent. (Value: + * "CONSENT_POLICY_TYPE_ADMIN") + * @arg @c kGTLRCloudHealthcare_ExplainDataAccessConsentInfo_Type_ConsentPolicyTypePatient + * Consent represent a patient consent. (Value: + * "CONSENT_POLICY_TYPE_PATIENT") + * @arg @c kGTLRCloudHealthcare_ExplainDataAccessConsentInfo_Type_ConsentPolicyTypeUnspecified + * Unspecified policy type. (Value: "CONSENT_POLICY_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +/** + * The consent's variant combinations. A single consent may have multiple + * variants. + */ +@property(nonatomic, strong, nullable) NSArray *variants; + +@end + + +/** + * A single consent scope that provides info on who has access to the requested + * resource scope for a particular purpose and environment, enforced by which + * consent. + */ +@interface GTLRCloudHealthcare_ExplainDataAccessConsentScope : GTLRObject + +/** + * The accessor scope that describes who can access, for what purpose, and in + * which environment. + */ +@property(nonatomic, strong, nullable) GTLRCloudHealthcare_ConsentAccessorScope *accessorScope; + +/** + * Whether the current consent scope is permitted or denied access on the + * requested resource. + * + * Likely values: + * @arg @c kGTLRCloudHealthcare_ExplainDataAccessConsentScope_Decision_ConsentDecisionTypeDeny + * Consent denied access. (Value: "CONSENT_DECISION_TYPE_DENY") + * @arg @c kGTLRCloudHealthcare_ExplainDataAccessConsentScope_Decision_ConsentDecisionTypePermit + * Consent permitted access. (Value: "CONSENT_DECISION_TYPE_PERMIT") + * @arg @c kGTLRCloudHealthcare_ExplainDataAccessConsentScope_Decision_ConsentDecisionTypeUnspecified + * Unspecified consent decision type. (Value: + * "CONSENT_DECISION_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *decision; + +/** + * Metadata of the consent resources that enforce the consent scope's access. + */ +@property(nonatomic, strong, nullable) NSArray *enforcingConsents; + +/** Other consent scopes that created exceptions within this scope. */ +@property(nonatomic, strong, nullable) NSArray *exceptions; + +@end + + +/** + * List of consent scopes that are applicable to the explained access on a + * given resource. + */ +@interface GTLRCloudHealthcare_ExplainDataAccessResponse : GTLRObject + +/** + * List of applicable consent scopes. Sorted in order of actor such that scopes + * belonging to the same actor will be adjacent to each other in the list. + */ +@property(nonatomic, strong, nullable) NSArray *consentScopes; + +/** + * Warnings associated with this response. It inform user with exceeded scope + * limit errors. + */ +@property(nonatomic, copy, nullable) NSString *warning; + +@end + + /** * Exports data from the specified DICOM store. If a given resource, such as a * DICOM object with the same SOPInstance UID, already exists in the output, it @@ -2891,6 +3547,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; */ @property(nonatomic, copy, nullable) NSString *complexDataTypeReferenceParsing; +/** + * Optional. Specifies whether this store has consent enforcement. Not + * available for DSTU2 FHIR version due to absence of Consent resources. + */ +@property(nonatomic, strong, nullable) GTLRCloudHealthcare_ConsentConfig *consentConfig; + /** * Optional. If true, overrides the default search behavior for this FHIR store * to `handling=strict` which returns an error for unrecognized search @@ -4837,6 +5499,21 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @end +/** + * Apply consents given by a list of patients. + */ +@interface GTLRCloudHealthcare_PatientScope : GTLRObject + +/** + * Optional. The list of patient IDs whose Consent resources will be enforced. + * At most 10,000 patients can be specified. An empty list is equivalent to all + * patients (meaning the entire FHIR store). + */ +@property(nonatomic, strong, nullable) NSArray *patientIds; + +@end + + /** * An Identity and Access Management (IAM) policy, which specifies access * controls for Google Cloud resources. A `Policy` is a collection of @@ -6048,6 +6725,31 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @end +/** + * Apply consents given by patients whose most recent consent changes are in + * the time range. Note that after identifying these patients, the server + * applies all Consent resources given by those patients, not just the Consent + * resources within the timestamp in the range. + */ +@interface GTLRCloudHealthcare_TimeRange : GTLRObject + +/** + * Optional. The latest consent change time, in format + * YYYY-MM-DDThh:mm:ss.sss+zz:zz If not specified, the system uses the time + * when ApplyConsents was called. + */ +@property(nonatomic, copy, nullable) NSString *end; + +/** + * Optional. The earliest consent change time, in format + * YYYY-MM-DDThh:mm:ss.sss+zz:zz If not specified, the system uses the FHIR + * store creation time. + */ +@property(nonatomic, copy, nullable) NSString *start; + +@end + + /** * A type definition for some HL7v2 type (incl. Segments and Datatypes). */ diff --git a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h index 9f60e2f2a..f8b2aae4b 100644 --- a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h +++ b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h @@ -3751,6 +3751,126 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @end +/** + * Applies the admin Consent resources for the FHIR store and reindexes the + * underlying resources in the FHIR store according to the aggregate consents. + * This method also updates the `consent_config.enforced_admin_consents` field + * of the FhirStore unless `validate_only=true` in ApplyAdminConsentsRequest. + * Any admin Consent resource change after this operation execution (including + * deletion) requires you to call ApplyAdminConsents again for the change to + * take effect. This method returns an Operation that can be used to track the + * progress of the resources that were reindexed, by calling GetOperation. Upon + * completion, the ApplyAdminConsentsResponse additionally contains the number + * of resources that were reindexed. If at least one Consent resource contains + * an error or fails be be enforced for any reason, the method returns an error + * instead of an Operation. No resources will be reindexed and the + * `consent_config.enforced_admin_consents` field will be unchanged. To enforce + * a consent check for data access, `consent_config.access_enforced` must be + * set to true for the FhirStore. + * + * Method: healthcare.projects.locations.datasets.fhirStores.applyAdminConsents + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudHealthcareCloudHealthcare + * @c kGTLRAuthScopeCloudHealthcareCloudPlatform + */ +@interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresApplyAdminConsents : GTLRCloudHealthcareQuery + +/** + * Required. The name of the FHIR store to enforce, in the format + * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudHealthcare_Operation. + * + * Applies the admin Consent resources for the FHIR store and reindexes the + * underlying resources in the FHIR store according to the aggregate consents. + * This method also updates the `consent_config.enforced_admin_consents` field + * of the FhirStore unless `validate_only=true` in ApplyAdminConsentsRequest. + * Any admin Consent resource change after this operation execution (including + * deletion) requires you to call ApplyAdminConsents again for the change to + * take effect. This method returns an Operation that can be used to track the + * progress of the resources that were reindexed, by calling GetOperation. Upon + * completion, the ApplyAdminConsentsResponse additionally contains the number + * of resources that were reindexed. If at least one Consent resource contains + * an error or fails be be enforced for any reason, the method returns an error + * instead of an Operation. No resources will be reindexed and the + * `consent_config.enforced_admin_consents` field will be unchanged. To enforce + * a consent check for data access, `consent_config.access_enforced` must be + * set to true for the FhirStore. + * + * @param object The @c GTLRCloudHealthcare_ApplyAdminConsentsRequest to + * include in the query. + * @param name Required. The name of the FHIR store to enforce, in the format + * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. + * + * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresApplyAdminConsents + */ ++ (instancetype)queryWithObject:(GTLRCloudHealthcare_ApplyAdminConsentsRequest *)object + name:(NSString *)name; + +@end + +/** + * Apply the Consent resources for the FHIR store and reindex the underlying + * resources in the FHIR store according to the aggregate consent. The + * aggregate consent of the patient in scope in this request replaces any + * previous call of this method. Any Consent resource change after this + * operation execution (including deletion) requires you to call ApplyConsents + * again to have effect. This method returns an Operation that can be used to + * track the progress of the consent resources that were processed by calling + * GetOperation. Upon completion, the ApplyConsentsResponse additionally + * contains the number of resources that was reindexed. Errors are logged to + * Cloud Logging (see [Viewing error logs in Cloud + * Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). To + * enforce consent check for data access, `consent_config.access_enforced` must + * be set to true for the FhirStore. + * + * Method: healthcare.projects.locations.datasets.fhirStores.applyConsents + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudHealthcareCloudHealthcare + * @c kGTLRAuthScopeCloudHealthcareCloudPlatform + */ +@interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresApplyConsents : GTLRCloudHealthcareQuery + +/** + * Required. The name of the FHIR store to enforce, in the format + * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudHealthcare_Operation. + * + * Apply the Consent resources for the FHIR store and reindex the underlying + * resources in the FHIR store according to the aggregate consent. The + * aggregate consent of the patient in scope in this request replaces any + * previous call of this method. Any Consent resource change after this + * operation execution (including deletion) requires you to call ApplyConsents + * again to have effect. This method returns an Operation that can be used to + * track the progress of the consent resources that were processed by calling + * GetOperation. Upon completion, the ApplyConsentsResponse additionally + * contains the number of resources that was reindexed. Errors are logged to + * Cloud Logging (see [Viewing error logs in Cloud + * Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). To + * enforce consent check for data access, `consent_config.access_enforced` must + * be set to true for the FhirStore. + * + * @param object The @c GTLRCloudHealthcare_ApplyConsentsRequest to include in + * the query. + * @param name Required. The name of the FHIR store to enforce, in the format + * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. + * + * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresApplyConsents + */ ++ (instancetype)queryWithObject:(GTLRCloudHealthcare_ApplyConsentsRequest *)object + name:(NSString *)name; + +@end + /** * Creates a new FHIR store within the parent dataset. * @@ -3857,6 +3977,45 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @end +/** + * Explains all the permitted/denied actor, purpose and environment for a given + * resource. + * + * Method: healthcare.projects.locations.datasets.fhirStores.explainDataAccess + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudHealthcareCloudHealthcare + * @c kGTLRAuthScopeCloudHealthcareCloudPlatform + */ +@interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresExplainDataAccess : GTLRCloudHealthcareQuery + +/** + * Required. The name of the FHIR store to enforce, in the format + * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. The ID (`{resourceType}/{id}`) of the resource to explain data + * access on. + */ +@property(nonatomic, copy, nullable) NSString *resourceId; + +/** + * Fetches a @c GTLRCloudHealthcare_ExplainDataAccessResponse. + * + * Explains all the permitted/denied actor, purpose and environment for a given + * resource. + * + * @param name Required. The name of the FHIR store to enforce, in the format + * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. + * + * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresExplainDataAccess + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Export resources from the FHIR store to the specified destination. This * method returns an Operation that can be used to track the status of the @@ -4469,6 +4628,45 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @end +/** + * Returns the consent enforcement status of a single consent resource. On + * success, the response body contains a JSON-encoded representation of a + * `Parameters` (http://hl7.org/fhir/parameters.html) FHIR resource, containing + * the current enforcement status. Does not support DSTU2. + * + * Method: healthcare.projects.locations.datasets.fhirStores.fhir.Consent-enforcement-status + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudHealthcareCloudHealthcare + * @c kGTLRAuthScopeCloudHealthcareCloudPlatform + */ +@interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirConsentEnforcementStatus : GTLRCloudHealthcareQuery + +/** + * Required. The name of the consent resource to find enforcement status, in + * the format + * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{consent_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudHealthcare_HttpBody. + * + * Returns the consent enforcement status of a single consent resource. On + * success, the response body contains a JSON-encoded representation of a + * `Parameters` (http://hl7.org/fhir/parameters.html) FHIR resource, containing + * the current enforcement status. Does not support DSTU2. + * + * @param name Required. The name of the consent resource to find enforcement + * status, in the format + * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{consent_id}` + * + * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirConsentEnforcementStatus + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Creates a FHIR resource. Implements the FHIR standard create interaction * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#create), @@ -4852,6 +5050,65 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @end +/** + * Returns the consent enforcement status of all consent resources for a + * patient. On success, the response body contains a JSON-encoded + * representation of a bundle of `Parameters` + * (http://hl7.org/fhir/parameters.html) FHIR resources, containing the current + * enforcement status for each consent resource of the patient. Does not + * support DSTU2. + * + * Method: healthcare.projects.locations.datasets.fhirStores.fhir.Patient-consent-enforcement-status + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudHealthcareCloudHealthcare + * @c kGTLRAuthScopeCloudHealthcareCloudPlatform + */ +@interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirPatientConsentEnforcementStatus : GTLRCloudHealthcareQuery + +/** + * Optional. The maximum number of results on a page. If not specified, 100 is + * used. May not be larger than 1000. + */ +@property(nonatomic, assign) NSInteger xCount; + +/** + * Optional. Used to retrieve the first, previous, next, or last page of + * consent enforcement statuses when using pagination. Value should be set to + * the value of `_page_token` set in next or previous page links' URLs. Next + * and previous page are returned in the response bundle's links field, where + * `link.relation` is "previous" or "next". Omit `_page_token` if no previous + * request has been made. + */ +@property(nonatomic, copy, nullable) NSString *xPageToken; + +/** + * Required. The name of the patient to find enforcement statuses, in the + * format + * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Patient/{patient_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudHealthcare_HttpBody. + * + * Returns the consent enforcement status of all consent resources for a + * patient. On success, the response body contains a JSON-encoded + * representation of a bundle of `Parameters` + * (http://hl7.org/fhir/parameters.html) FHIR resources, containing the current + * enforcement status for each consent resource of the patient. Does not + * support DSTU2. + * + * @param name Required. The name of the patient to find enforcement statuses, + * in the format + * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Patient/{patient_id}` + * + * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirPatientConsentEnforcementStatus + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Retrieves a Patient resource and resources related to that patient. * Implements the FHIR extended operation Patient-everything @@ -7123,7 +7380,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: healthcare.projects.locations.datasets.operations.cancel @@ -7147,7 +7404,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRCloudHealthcare_CancelOperationRequest to include diff --git a/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPObjects.h b/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPObjects.h index 0c8814012..7f97a77e2 100644 --- a/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPObjects.h +++ b/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPObjects.h @@ -967,12 +967,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic * Services not integrated with custom org policy can omit this field. Services * integrated with custom org policy must populate this field for all requests * where the API call changes the state of the resource. Custom org policy - * backend uses these attributes to enforce custom org policies. When a proto - * is wrapped, it is generally the One Platform API proto. When a JSON string - * is wrapped, use `google.protobuf.StringValue` for the inner value. For - * create operations, GCP service is expected to pass resource from customer - * request as is. For update/patch operations, GCP service is expected to - * compute the next state with the patch provided by the user. See + * backend uses these attributes to enforce custom org policies. For create + * operations, GCP service is expected to pass resource from customer request + * as is. For update/patch operations, GCP service is expected to compute the + * next state with the patch provided by the user. See * go/custom-constraints-org-policy-integration-guide for additional details. */ @property(nonatomic, strong, nullable) GTLRCloudIAP_Resource_ExpectedNextState *expectedNextState; @@ -1056,12 +1054,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic * Services not integrated with custom org policy can omit this field. Services * integrated with custom org policy must populate this field for all requests * where the API call changes the state of the resource. Custom org policy - * backend uses these attributes to enforce custom org policies. When a proto - * is wrapped, it is generally the One Platform API proto. When a JSON string - * is wrapped, use `google.protobuf.StringValue` for the inner value. For - * create operations, GCP service is expected to pass resource from customer - * request as is. For update/patch operations, GCP service is expected to - * compute the next state with the patch provided by the user. See + * backend uses these attributes to enforce custom org policies. For create + * operations, GCP service is expected to pass resource from customer request + * as is. For update/patch operations, GCP service is expected to compute the + * next state with the patch provided by the user. See * go/custom-constraints-org-policy-integration-guide for additional details. * * @note This class is documented as having more properties of any valid JSON diff --git a/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityObjects.m b/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityObjects.m index 8a929768c..ef6f05a6b 100644 --- a/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityObjects.m +++ b/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityObjects.m @@ -172,6 +172,11 @@ NSString * const kGTLRCloudIdentity_MembershipRoleRestrictionEvaluation_State_NonCompliant = @"NON_COMPLIANT"; NSString * const kGTLRCloudIdentity_MembershipRoleRestrictionEvaluation_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRCloudIdentity_Policy.type +NSString * const kGTLRCloudIdentity_Policy_Type_Admin = @"ADMIN"; +NSString * const kGTLRCloudIdentity_Policy_Type_PolicyTypeUnspecified = @"POLICY_TYPE_UNSPECIFIED"; +NSString * const kGTLRCloudIdentity_Policy_Type_System = @"SYSTEM"; + // GTLRCloudIdentity_RestrictionEvaluation.state NSString * const kGTLRCloudIdentity_RestrictionEvaluation_State_Compliant = @"COMPLIANT"; NSString * const kGTLRCloudIdentity_RestrictionEvaluation_State_Evaluating = @"EVALUATING"; @@ -1139,6 +1144,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudIdentity_ListPoliciesResponse +// + +@implementation GTLRCloudIdentity_ListPoliciesResponse +@dynamic nextPageToken, policies; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"policies" : [GTLRCloudIdentity_Policy class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"policies"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudIdentity_ListUserInvitationsResponse @@ -1372,6 +1399,26 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudIdentity_Policy +// + +@implementation GTLRCloudIdentity_Policy +@dynamic customer, name, policyQuery, setting, type; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudIdentity_PolicyQuery +// + +@implementation GTLRCloudIdentity_PolicyQuery +@dynamic group, orgUnit, query, sortOrder; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudIdentity_RestrictionEvaluation @@ -1539,6 +1586,30 @@ @implementation GTLRCloudIdentity_SendUserInvitationRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudIdentity_Setting +// + +@implementation GTLRCloudIdentity_Setting +@dynamic type, value; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudIdentity_Setting_Value +// + +@implementation GTLRCloudIdentity_Setting_Value + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudIdentity_SignInBehavior diff --git a/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityQuery.m b/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityQuery.m index c1c060c27..3f4a1d400 100644 --- a/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityQuery.m +++ b/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityQuery.m @@ -1246,3 +1246,39 @@ + (instancetype)queryWithObject:(GTLRCloudIdentity_InboundSsoAssignment *)object } @end + +@implementation GTLRCloudIdentityQuery_PoliciesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRCloudIdentityQuery_PoliciesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudIdentity_Policy class]; + query.loggingName = @"cloudidentity.policies.get"; + return query; +} + +@end + +@implementation GTLRCloudIdentityQuery_PoliciesList + +@dynamic filter, pageSize, pageToken; + ++ (instancetype)query { + NSString *pathURITemplate = @"v1/policies"; + GTLRCloudIdentityQuery_PoliciesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRCloudIdentity_ListPoliciesResponse class]; + query.loggingName = @"cloudidentity.policies.list"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityService.m b/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityService.m index 9ffd10ee6..e5a2fd7fe 100644 --- a/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityService.m +++ b/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityService.m @@ -20,6 +20,8 @@ NSString * const kGTLRAuthScopeCloudIdentityCloudIdentityGroupsReadonly = @"https://www.googleapis.com/auth/cloud-identity.groups.readonly"; NSString * const kGTLRAuthScopeCloudIdentityCloudIdentityInboundsso = @"https://www.googleapis.com/auth/cloud-identity.inboundsso"; NSString * const kGTLRAuthScopeCloudIdentityCloudIdentityInboundssoReadonly = @"https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly"; +NSString * const kGTLRAuthScopeCloudIdentityCloudIdentityPolicies = @"https://www.googleapis.com/auth/cloud-identity.policies"; +NSString * const kGTLRAuthScopeCloudIdentityCloudIdentityPoliciesReadonly = @"https://www.googleapis.com/auth/cloud-identity.policies.readonly"; NSString * const kGTLRAuthScopeCloudIdentityCloudPlatform = @"https://www.googleapis.com/auth/cloud-platform"; // ---------------------------------------------------------------------------- diff --git a/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityObjects.h b/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityObjects.h index 39fcab077..4a46dc431 100644 --- a/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityObjects.h +++ b/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityObjects.h @@ -49,12 +49,16 @@ @class GTLRCloudIdentity_MembershipRoleRestrictionEvaluation; @class GTLRCloudIdentity_Operation_Metadata; @class GTLRCloudIdentity_Operation_Response; +@class GTLRCloudIdentity_Policy; +@class GTLRCloudIdentity_PolicyQuery; @class GTLRCloudIdentity_RestrictionEvaluation; @class GTLRCloudIdentity_RestrictionEvaluations; @class GTLRCloudIdentity_RsaPublicKeyInfo; @class GTLRCloudIdentity_SamlIdpConfig; @class GTLRCloudIdentity_SamlSpConfig; @class GTLRCloudIdentity_SamlSsoInfo; +@class GTLRCloudIdentity_Setting; +@class GTLRCloudIdentity_Setting_Value; @class GTLRCloudIdentity_SignInBehavior; @class GTLRCloudIdentity_Status; @class GTLRCloudIdentity_Status_Details_Item; @@ -840,6 +844,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_MembershipRoleRestrictionE */ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_MembershipRoleRestrictionEvaluation_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRCloudIdentity_Policy.type + +/** + * Policy type denoting the admin-configurable policies. + * + * Value: "ADMIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_Policy_Type_Admin; +/** + * Unspecified policy type. + * + * Value: "POLICY_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_Policy_Type_PolicyTypeUnspecified; +/** + * Policy type denoting the system-configured policies. + * + * Value: "SYSTEM" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_Policy_Type_System; + // ---------------------------------------------------------------------------- // GTLRCloudIdentity_RestrictionEvaluation.state @@ -2063,7 +2089,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State * Output only. [Resource * name](https://cloud.google.com/apis/design/resource_names) of the Device in * format: `devices/{device}`, where device is the unique id assigned to the - * Device. + * Device. Important: Device API scopes require that you use domain-wide + * delegation to access the API. For more information, see [Set up the Devices + * API](https://cloud.google.com/identity/docs/how-to/setup-devices). */ @property(nonatomic, copy, nullable) NSString *name; @@ -2898,6 +2926,33 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State @end +/** + * The response message for PoliciesService.ListPolicies. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "policies" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRCloudIdentity_ListPoliciesResponse : GTLRCollectionObject + +/** + * The pagination token to retrieve the next page of results. If this field is + * empty, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The results + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *policies; + +@end + + /** * Response message for UserInvitation listing request. * @@ -3102,7 +3157,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State /** * Each edge contains information about the member that belongs to this group. * Note: Fields returned here will help identify the specific Membership - * resource (e.g name, preferred_member_key and role), but may not be a + * resource (e.g `name`, `preferred_member_key` and `role`), but may not be a * comprehensive list of all fields. */ @property(nonatomic, strong, nullable) NSArray *edges; @@ -3346,6 +3401,97 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State @end +/** + * A Policy resource binds an instance of a single Setting with the scope of a + * PolicyQuery. The Setting instance will be applied to all entities that + * satisfy the query. + */ +@interface GTLRCloudIdentity_Policy : GTLRObject + +/** + * Immutable. Customer that the Policy belongs to. The value is in the format + * 'customers/{customerId}'. The `customerId` must begin with "C" To find your + * customer ID in Admin Console see + * https://support.google.com/a/answer/10070793. + */ +@property(nonatomic, copy, nullable) NSString *customer; + +/** + * Output only. Identifier. The [resource + * name](https://cloud.google.com/apis/design/resource_names) of the Policy. + * Format: policies/{policy}. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Required. The PolicyQuery the Setting applies to. */ +@property(nonatomic, strong, nullable) GTLRCloudIdentity_PolicyQuery *policyQuery; + +/** Required. The Setting configured by this Policy. */ +@property(nonatomic, strong, nullable) GTLRCloudIdentity_Setting *setting; + +/** + * Output only. The type of the policy. + * + * Likely values: + * @arg @c kGTLRCloudIdentity_Policy_Type_Admin Policy type denoting the + * admin-configurable policies. (Value: "ADMIN") + * @arg @c kGTLRCloudIdentity_Policy_Type_PolicyTypeUnspecified Unspecified + * policy type. (Value: "POLICY_TYPE_UNSPECIFIED") + * @arg @c kGTLRCloudIdentity_Policy_Type_System Policy type denoting the + * system-configured policies. (Value: "SYSTEM") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * PolicyQuery + */ +@interface GTLRCloudIdentity_PolicyQuery : GTLRObject + +/** + * Immutable. The group that the query applies to. This field is only set if + * there is a single value for group that satisfies all clauses of the query. + * If no group applies, this will be the empty string. + */ +@property(nonatomic, copy, nullable) NSString *group; + +/** + * Required. Immutable. Non-empty default. The OrgUnit the query applies to. + * This field is only set if there is a single value for org_unit that + * satisfies all clauses of the query. + */ +@property(nonatomic, copy, nullable) NSString *orgUnit; + +/** + * Immutable. The CEL query that defines which entities the Policy applies to + * (ex. a User entity). For details about CEL see + * https://opensource.google.com/projects/cel. The OrgUnits the Policy applies + * to are represented by a clause like so: entity.org_units.exists(org_unit, + * org_unit.org_unit_id == orgUnitId('{orgUnitId}')) The Group the Policy + * applies to are represented by a clause like so: entity.groups.exists(group, + * group.group_id == groupId('{groupId}')) The Licenses the Policy applies to + * are represented by a clause like so: entity.licenses.exists(license, license + * in ['/product/{productId}/sku/{skuId}']) The above clauses can be present in + * any combination, and used in conjunction with the &&, || and ! operators. + * The org_unit and group fields below are helper fields that contain the + * corresponding value(s) as the query to make the query easier to use. + */ +@property(nonatomic, copy, nullable) NSString *query; + +/** + * Output only. The decimal sort order of this PolicyQuery. The value is + * relative to all other policies with the same setting type for the customer. + * (There are no duplicates within this set). + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *sortOrder; + +@end + + /** * The evaluated state of this restriction. */ @@ -3603,6 +3749,32 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State @end +/** + * Setting + */ +@interface GTLRCloudIdentity_Setting : GTLRObject + +/** Required. Immutable. The type of the Setting. . */ +@property(nonatomic, copy, nullable) NSString *type; + +/** Required. The value of the Setting. */ +@property(nonatomic, strong, nullable) GTLRCloudIdentity_Setting_Value *value; + +@end + + +/** + * Required. The value of the Setting. + * + * @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 GTLRCloudIdentity_Setting_Value : GTLRObject +@end + + /** * Controls sign-in behavior. */ diff --git a/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityQuery.h b/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityQuery.h index 71f2f4c67..9dc0689d7 100644 --- a/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityQuery.h +++ b/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityQuery.h @@ -1938,7 +1938,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentityViewViewUnspecified; /** The default page size is 200 (max 1000). */ @property(nonatomic, assign) NSInteger pageSize; -/** The next_page_token value returned from a previous list request, if any */ +/** + * The `next_page_token` value returned from a previous list request, if any + */ @property(nonatomic, copy, nullable) NSString *pageToken; /** @@ -2002,7 +2004,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentityViewViewUnspecified; @property(nonatomic, assign) NSInteger pageSize; /** - * The next_page_token value returned from a previous list request, if any. + * The `next_page_token` value returned from a previous list request, if any. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -2025,7 +2027,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentityViewViewUnspecified; * operators on the parent of the group restricting the search within a * particular customer, e.g. `parent == 'customers/{customer_id}'`. The * `customer_id` must begin with "C" (for example, 'C046psxkn'). This filtering - * is only supported for Admins with groups read permissons on the input + * is only supported for Admins with groups read permissions on the input * customer. Example query: `member_key_id == 'member_key_id_value' && in * labels && parent == 'customers/C046psxkn'` */ @@ -2080,7 +2082,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentityViewViewUnspecified; @property(nonatomic, assign) NSInteger pageSize; /** - * The next_page_token value returned from a previous list request, if any. + * The `next_page_token` value returned from a previous list request, if any. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -2856,6 +2858,94 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentityViewViewUnspecified; @end +/** + * Get a Policy + * + * Method: cloudidentity.policies.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudIdentityCloudIdentityPolicies + * @c kGTLRAuthScopeCloudIdentityCloudIdentityPoliciesReadonly + */ +@interface GTLRCloudIdentityQuery_PoliciesGet : GTLRCloudIdentityQuery + +/** + * Required. The name of the policy to retrieve. Format: "policies/{policy}". + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudIdentity_Policy. + * + * Get a Policy + * + * @param name Required. The name of the policy to retrieve. Format: + * "policies/{policy}". + * + * @return GTLRCloudIdentityQuery_PoliciesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List Policies + * + * Method: cloudidentity.policies.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudIdentityCloudIdentityPolicies + * @c kGTLRAuthScopeCloudIdentityCloudIdentityPoliciesReadonly + */ +@interface GTLRCloudIdentityQuery_PoliciesList : GTLRCloudIdentityQuery + +/** + * Optional. A CEL expression for filtering the results. Policies can be + * filtered by application with this expression: setting.name = + * 'settings/gmail.*' Policies can be filtered by setting type with this + * expression: setting.name = '*.service_status' A maximum of one of the above + * setting.name clauses can be used. Policies can be filtered by customer with + * this expression: customer = "customers/{customer}" Where `customer` is the + * `id` from the [Admin SDK `Customer` + * resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). + * You may use `customers/my_customer` to specify your own organization. When + * no customer is mentioned it will be default to customers/my_customer. A + * maximum of one customer clause can be used. The above clauses can only be + * combined together in a single filter expression with the `&&` operator. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The maximum number of results to return. The service can return + * fewer than this number. If omitted or set to 0, the default is 50 results + * per page. The maximum allowed value is 100. `page_size` values greater than + * 100 default to 100. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. The pagination token received from a prior call to + * PoliciesService.ListPolicies to retrieve the next page of results. When + * paginating, all other parameters provided to `ListPoliciesRequest` must + * match the call that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRCloudIdentity_ListPoliciesResponse. + * + * List Policies + * + * @return GTLRCloudIdentityQuery_PoliciesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)query; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityService.h b/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityService.h index 3357e0251..c7a7608ac 100644 --- a/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityService.h +++ b/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityService.h @@ -74,6 +74,19 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeCloudIdentityCloudIdentityInbou * Value "https://www.googleapis.com/auth/cloud-identity.inboundsso.readonly" */ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeCloudIdentityCloudIdentityInboundssoReadonly; +/** + * Authorization scope: See and edit policies in your Cloud Identity + * Organization. + * + * Value "https://www.googleapis.com/auth/cloud-identity.policies" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeCloudIdentityCloudIdentityPolicies; +/** + * Authorization scope: See policies in your Cloud Identity Organization. + * + * Value "https://www.googleapis.com/auth/cloud-identity.policies.readonly" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeCloudIdentityCloudIdentityPoliciesReadonly; /** * Authorization scope: See, edit, configure, and delete your Google Cloud data * and see the email address for your Google Account. diff --git a/Sources/GeneratedServices/CloudNaturalLanguage/GTLRCloudNaturalLanguageObjects.m b/Sources/GeneratedServices/CloudNaturalLanguage/GTLRCloudNaturalLanguageObjects.m index 9224f582a..172cecc02 100644 --- a/Sources/GeneratedServices/CloudNaturalLanguage/GTLRCloudNaturalLanguageObjects.m +++ b/Sources/GeneratedServices/CloudNaturalLanguage/GTLRCloudNaturalLanguageObjects.m @@ -65,6 +65,7 @@ NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_A3Highgpu4g = @"A3_HIGHGPU_4G"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_A3Highgpu8g = @"A3_HIGHGPU_8G"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_A3Megagpu8g = @"A3_MEGAGPU_8G"; +NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_A3Ultragpu8g = @"A3_ULTRAGPU_8G"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_C2dHighcpu112 = @"C2D_HIGHCPU_112"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_C2dHighcpu16 = @"C2D_HIGHCPU_16"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_C2dHighcpu2 = @"C2D_HIGHCPU_2"; @@ -274,6 +275,7 @@ NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_A3Highgpu4g = @"A3_HIGHGPU_4G"; NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_A3Highgpu8g = @"A3_HIGHGPU_8G"; NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_A3Megagpu8g = @"A3_MEGAGPU_8G"; +NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_A3Ultragpu8g = @"A3_ULTRAGPU_8G"; NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_C2dHighcpu112 = @"C2D_HIGHCPU_112"; NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_C2dHighcpu16 = @"C2D_HIGHCPU_16"; NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_C2dHighcpu2 = @"C2D_HIGHCPU_2"; @@ -443,6 +445,7 @@ NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_A3Highgpu4g = @"A3_HIGHGPU_4G"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_A3Highgpu8g = @"A3_HIGHGPU_8G"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_A3Megagpu8g = @"A3_MEGAGPU_8G"; +NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_A3Ultragpu8g = @"A3_ULTRAGPU_8G"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_C2dHighcpu112 = @"C2D_HIGHCPU_112"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_C2dHighcpu16 = @"C2D_HIGHCPU_16"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_C2dHighcpu2 = @"C2D_HIGHCPU_2"; @@ -666,6 +669,7 @@ NSString * const kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaA10080gb = @"NVIDIA_A100_80GB"; NSString * const kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaH10080gb = @"NVIDIA_H100_80GB"; NSString * const kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaH100Mega80gb = @"NVIDIA_H100_MEGA_80GB"; +NSString * const kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaH200141gb = @"NVIDIA_H200_141GB"; NSString * const kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaL4 = @"NVIDIA_L4"; NSString * const kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaTeslaA100 = @"NVIDIA_TESLA_A100"; NSString * const kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaTeslaK80 = @"NVIDIA_TESLA_K80"; diff --git a/Sources/GeneratedServices/CloudNaturalLanguage/Public/GoogleAPIClientForREST/GTLRCloudNaturalLanguageObjects.h b/Sources/GeneratedServices/CloudNaturalLanguage/Public/GoogleAPIClientForREST/GTLRCloudNaturalLanguageObjects.h index e2fe1bab7..cf9547738 100644 --- a/Sources/GeneratedServices/CloudNaturalLanguage/Public/GoogleAPIClientForREST/GTLRCloudNaturalLanguageObjects.h +++ b/Sources/GeneratedServices/CloudNaturalLanguage/Public/GoogleAPIClientForREST/GTLRCloudNaturalLanguageObjects.h @@ -359,6 +359,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSp FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_A3Highgpu8g; /** Value: "A3_MEGAGPU_8G" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_A3Megagpu8g; +/** Value: "A3_ULTRAGPU_8G" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_A3Ultragpu8g; /** Value: "C2D_HIGHCPU_112" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_C2dHighcpu112; /** Value: "C2D_HIGHCPU_16" */ @@ -867,6 +869,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSp FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_A3Highgpu8g; /** Value: "A3_MEGAGPU_8G" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_A3Megagpu8g; +/** Value: "A3_ULTRAGPU_8G" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_A3Ultragpu8g; /** Value: "C2D_HIGHCPU_112" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_C2dHighcpu112; /** Value: "C2D_HIGHCPU_16" */ @@ -1220,6 +1224,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSp FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_A3Highgpu8g; /** Value: "A3_MEGAGPU_8G" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_A3Megagpu8g; +/** Value: "A3_ULTRAGPU_8G" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_A3Ultragpu8g; /** Value: "C2D_HIGHCPU_112" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_C2dHighcpu112; /** Value: "C2D_HIGHCPU_16" */ @@ -1787,6 +1793,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_XPSImageModelServin * Value: "NVIDIA_H100_MEGA_80GB" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaH100Mega80gb; +/** + * Nvidia H200 141Gb GPU. + * + * Value: "NVIDIA_H200_141GB" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaH200141gb; /** * Nvidia L4 GPU. * @@ -2862,6 +2874,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_XPSVisualization_Ty * "A3_HIGHGPU_8G" * @arg @c kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_A3Megagpu8g Value * "A3_MEGAGPU_8G" + * @arg @c kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_A3Ultragpu8g Value + * "A3_ULTRAGPU_8G" * @arg @c kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_C2dHighcpu112 * Value "C2D_HIGHCPU_112" * @arg @c kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_C2dHighcpu16 Value @@ -3468,6 +3482,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_XPSVisualization_Ty * "A3_HIGHGPU_8G" * @arg @c kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_A3Megagpu8g Value * "A3_MEGAGPU_8G" + * @arg @c kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_A3Ultragpu8g Value + * "A3_ULTRAGPU_8G" * @arg @c kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_C2dHighcpu112 * Value "C2D_HIGHCPU_112" * @arg @c kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_C2dHighcpu16 Value @@ -3916,6 +3932,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_XPSVisualization_Ty * "A3_HIGHGPU_8G" * @arg @c kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_A3Megagpu8g Value * "A3_MEGAGPU_8G" + * @arg @c kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_A3Ultragpu8g Value + * "A3_ULTRAGPU_8G" * @arg @c kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_C2dHighcpu112 * Value "C2D_HIGHCPU_112" * @arg @c kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_C2dHighcpu16 Value @@ -5612,6 +5630,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_XPSVisualization_Ty * Nvidia H100 80Gb GPU. (Value: "NVIDIA_H100_80GB") * @arg @c kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaH100Mega80gb * Nvidia H100 80Gb GPU. (Value: "NVIDIA_H100_MEGA_80GB") + * @arg @c kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaH200141gb + * Nvidia H200 141Gb GPU. (Value: "NVIDIA_H200_141GB") * @arg @c kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaL4 * Nvidia L4 GPU. (Value: "NVIDIA_L4") * @arg @c kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaTeslaA100 diff --git a/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m b/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m index 89f285d17..a574693b5 100644 --- a/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m +++ b/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m @@ -48,6 +48,7 @@ NSString * const kGTLRCloudRedis_Backup_State_Creating = @"CREATING"; NSString * const kGTLRCloudRedis_Backup_State_Deleting = @"DELETING"; NSString * const kGTLRCloudRedis_Backup_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRCloudRedis_Backup_State_Suspended = @"SUSPENDED"; // GTLRCloudRedis_BackupRun.status NSString * const kGTLRCloudRedis_BackupRun_Status_Failed = @"FAILED"; @@ -172,6 +173,7 @@ NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeNotLoggingOnlyDdlStatements = @"SIGNAL_TYPE_NOT_LOGGING_ONLY_DDL_STATEMENTS"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeNotLoggingTemporaryFiles = @"SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeNotProtectedByAutomaticFailover = @"SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER"; +NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeNoUserPasswordPolicy = @"SIGNAL_TYPE_NO_USER_PASSWORD_POLICY"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOutOfDisk = @"SIGNAL_TYPE_OUT_OF_DISK"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOverprovisioned = @"SIGNAL_TYPE_OVERPROVISIONED"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypePublicIpEnabled = @"SIGNAL_TYPE_PUBLIC_IP_ENABLED"; @@ -210,6 +212,7 @@ NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesPciDssV321 = @"SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesPciDssV40 = @"SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesSoc2V2017 = @"SIGNAL_TYPE_VIOLATES_SOC2_V2017"; +NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeWeakPasswordHashAlgorithm = @"SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeWeakRootPassword = @"SIGNAL_TYPE_WEAK_ROOT_PASSWORD"; // GTLRCloudRedis_DatabaseResourceHealthSignalData.state @@ -309,6 +312,7 @@ NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeNotLoggingOnlyDdlStatements = @"SIGNAL_TYPE_NOT_LOGGING_ONLY_DDL_STATEMENTS"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeNotLoggingTemporaryFiles = @"SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeNotProtectedByAutomaticFailover = @"SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER"; +NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeNoUserPasswordPolicy = @"SIGNAL_TYPE_NO_USER_PASSWORD_POLICY"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutOfDisk = @"SIGNAL_TYPE_OUT_OF_DISK"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOverprovisioned = @"SIGNAL_TYPE_OVERPROVISIONED"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypePublicIpEnabled = @"SIGNAL_TYPE_PUBLIC_IP_ENABLED"; @@ -347,6 +351,7 @@ NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesPciDssV321 = @"SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesPciDssV40 = @"SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesSoc2V2017 = @"SIGNAL_TYPE_VIOLATES_SOC2_V2017"; +NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeWeakPasswordHashAlgorithm = @"SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeWeakRootPassword = @"SIGNAL_TYPE_WEAK_ROOT_PASSWORD"; // GTLRCloudRedis_Entitlement.entitlementState @@ -466,6 +471,17 @@ NSString * const kGTLRCloudRedis_Product_Type_ProductTypeSpanner = @"PRODUCT_TYPE_SPANNER"; NSString * const kGTLRCloudRedis_Product_Type_ProductTypeUnspecified = @"PRODUCT_TYPE_UNSPECIFIED"; +// GTLRCloudRedis_PscAutoConnection.connectionType +NSString * const kGTLRCloudRedis_PscAutoConnection_ConnectionType_ConnectionTypeDiscovery = @"CONNECTION_TYPE_DISCOVERY"; +NSString * const kGTLRCloudRedis_PscAutoConnection_ConnectionType_ConnectionTypePrimary = @"CONNECTION_TYPE_PRIMARY"; +NSString * const kGTLRCloudRedis_PscAutoConnection_ConnectionType_ConnectionTypeReader = @"CONNECTION_TYPE_READER"; +NSString * const kGTLRCloudRedis_PscAutoConnection_ConnectionType_ConnectionTypeUnspecified = @"CONNECTION_TYPE_UNSPECIFIED"; + +// GTLRCloudRedis_PscAutoConnection.pscConnectionStatus +NSString * const kGTLRCloudRedis_PscAutoConnection_PscConnectionStatus_PscConnectionStatusActive = @"PSC_CONNECTION_STATUS_ACTIVE"; +NSString * const kGTLRCloudRedis_PscAutoConnection_PscConnectionStatus_PscConnectionStatusNotFound = @"PSC_CONNECTION_STATUS_NOT_FOUND"; +NSString * const kGTLRCloudRedis_PscAutoConnection_PscConnectionStatus_PscConnectionStatusUnspecified = @"PSC_CONNECTION_STATUS_UNSPECIFIED"; + // GTLRCloudRedis_PscConnection.connectionType NSString * const kGTLRCloudRedis_PscConnection_ConnectionType_ConnectionTypeDiscovery = @"CONNECTION_TYPE_DISCOVERY"; NSString * const kGTLRCloudRedis_PscConnection_ConnectionType_ConnectionTypePrimary = @"CONNECTION_TYPE_PRIMARY"; @@ -568,7 +584,7 @@ @implementation GTLRCloudRedis_AvailabilityConfiguration @implementation GTLRCloudRedis_Backup @dynamic backupFiles, backupType, cluster, clusterUid, createTime, engineVersion, expireTime, name, nodeType, replicaCount, shardCount, - state, totalSizeBytes; + state, totalSizeBytes, uid; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -596,7 +612,7 @@ @implementation GTLRCloudRedis_BackupClusterRequest // @implementation GTLRCloudRedis_BackupCollection -@dynamic cluster, clusterUid, name; +@dynamic cluster, clusterUid, name, uid; @end @@ -783,7 +799,7 @@ @implementation GTLRCloudRedis_Compliance // @implementation GTLRCloudRedis_ConnectionDetail -@dynamic pscConnection; +@dynamic pscAutoConnection, pscConnection; @end @@ -1564,6 +1580,17 @@ @implementation GTLRCloudRedis_Product @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_PscAutoConnection +// + +@implementation GTLRCloudRedis_PscAutoConnection +@dynamic address, connectionType, forwardingRule, network, projectId, + pscConnectionId, pscConnectionStatus, serviceAttachment; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRedis_PscConfig diff --git a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h index 85f402a43..fade4fbda 100644 --- a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h +++ b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h @@ -71,6 +71,7 @@ @class GTLRCloudRedis_OutputConfig; @class GTLRCloudRedis_PersistenceConfig; @class GTLRCloudRedis_Product; +@class GTLRCloudRedis_PscAutoConnection; @class GTLRCloudRedis_PscConfig; @class GTLRCloudRedis_PscConnection; @class GTLRCloudRedis_PscServiceAttachment; @@ -267,6 +268,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_Backup_State_Deleting; * Value: "STATE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_Backup_State_StateUnspecified; +/** + * The backup is currently suspended due to reasons like project deletion, + * billing account closure, etc. + * + * Value: "SUSPENDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_Backup_State_Suspended; // ---------------------------------------------------------------------------- // GTLRCloudRedis_BackupRun.status @@ -938,6 +946,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalD * Value: "SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeNotProtectedByAutomaticFailover; +/** + * Detects if a database instance has no user password policy set. + * + * Value: "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeNoUserPasswordPolicy; /** * Represents out of disk. * @@ -1176,6 +1190,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalD * Value: "SIGNAL_TYPE_VIOLATES_SOC2_V2017" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesSoc2V2017; +/** + * Detects if a database instance is using a weak password hash algorithm. + * + * Value: "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeWeakPasswordHashAlgorithm; /** * Represents if a Cloud SQL database has a weak password configured for the * root account. @@ -1729,6 +1749,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendatio * Value: "SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeNotProtectedByAutomaticFailover; +/** + * Detects if a database instance has no user password policy set. + * + * Value: "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeNoUserPasswordPolicy; /** * Represents out of disk. * @@ -1967,6 +1993,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendatio * Value: "SIGNAL_TYPE_VIOLATES_SOC2_V2017" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesSoc2V2017; +/** + * Detects if a database instance is using a weak password hash algorithm. + * + * Value: "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeWeakPasswordHashAlgorithm; /** * Represents if a Cloud SQL database has a weak password configured for the * root account. @@ -2558,6 +2590,56 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_Product_Type_ProductTypeSpann */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_Product_Type_ProductTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRCloudRedis_PscAutoConnection.connectionType + +/** + * Cluster endpoint that will be used as for cluster topology discovery. + * + * Value: "CONNECTION_TYPE_DISCOVERY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_PscAutoConnection_ConnectionType_ConnectionTypeDiscovery; +/** + * Cluster endpoint that will be used as primary endpoint to access primary. + * + * Value: "CONNECTION_TYPE_PRIMARY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_PscAutoConnection_ConnectionType_ConnectionTypePrimary; +/** + * Cluster endpoint that will be used as reader endpoint to access replicas. + * + * Value: "CONNECTION_TYPE_READER" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_PscAutoConnection_ConnectionType_ConnectionTypeReader; +/** + * Cluster endpoint Type is not set + * + * Value: "CONNECTION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_PscAutoConnection_ConnectionType_ConnectionTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCloudRedis_PscAutoConnection.pscConnectionStatus + +/** + * The connection is active + * + * Value: "PSC_CONNECTION_STATUS_ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_PscAutoConnection_PscConnectionStatus_PscConnectionStatusActive; +/** + * Connection not found + * + * Value: "PSC_CONNECTION_STATUS_NOT_FOUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_PscAutoConnection_PscConnectionStatus_PscConnectionStatusNotFound; +/** + * PSC connection status is not specified. + * + * Value: "PSC_CONNECTION_STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_PscAutoConnection_PscConnectionStatus_PscConnectionStatusUnspecified; + // ---------------------------------------------------------------------------- // GTLRCloudRedis_PscConnection.connectionType @@ -2910,8 +2992,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z /** * Optional. How long to keep automated backups before the backups are deleted. - * If not specified, the default value is 100 years which is also the maximum - * value supported. The minimum value is 1 day. + * The value should be between 1 day and 365 days. If not specified, the + * default value is 35 days. */ @property(nonatomic, strong, nullable) GTLRDuration *retention; @@ -3064,6 +3146,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z * (Value: "DELETING") * @arg @c kGTLRCloudRedis_Backup_State_StateUnspecified The default value, * not set. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRCloudRedis_Backup_State_Suspended The backup is currently + * suspended due to reasons like project deletion, billing account + * closure, etc. (Value: "SUSPENDED") */ @property(nonatomic, copy, nullable) NSString *state; @@ -3074,6 +3159,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z */ @property(nonatomic, strong, nullable) NSNumber *totalSizeBytes; +/** Output only. System assigned unique identifier of the backup. */ +@property(nonatomic, copy, nullable) NSString *uid; + @end @@ -3115,6 +3203,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z /** Identifier. Full resource path of the backup collection. */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Output only. System assigned unique identifier of the backup collection. + */ +@property(nonatomic, copy, nullable) NSString *uid; + @end @@ -3596,6 +3689,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z */ @interface GTLRCloudRedis_ConnectionDetail : GTLRObject +/** + * Detailed information of a PSC connection that is created through service + * connectivity automation. + */ +@property(nonatomic, strong, nullable) GTLRCloudRedis_PscAutoConnection *pscAutoConnection; + /** * Detailed information of a PSC connection that is created by the customer who * owns the cluster. @@ -4015,6 +4114,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z * for resources that are configured to have redundancy within a region * that enables automatic failover. (Value: * "SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER") + * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeNoUserPasswordPolicy + * Detects if a database instance has no user password policy set. + * (Value: "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY") * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOutOfDisk * Represents out of disk. (Value: "SIGNAL_TYPE_OUT_OF_DISK") * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOverprovisioned @@ -4135,6 +4237,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeViolatesSoc2V2017 * Represents if a resource violates SOC2 v2017. (Value: * "SIGNAL_TYPE_VIOLATES_SOC2_V2017") + * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeWeakPasswordHashAlgorithm + * Detects if a database instance is using a weak password hash + * algorithm. (Value: "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM") * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeWeakRootPassword * Represents if a Cloud SQL database has a weak password configured for * the root account. (Value: "SIGNAL_TYPE_WEAK_ROOT_PASSWORD") @@ -4625,6 +4730,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z * for resources that are configured to have redundancy within a region * that enables automatic failover. (Value: * "SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER") + * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeNoUserPasswordPolicy + * Detects if a database instance has no user password policy set. + * (Value: "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY") * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutOfDisk * Represents out of disk. (Value: "SIGNAL_TYPE_OUT_OF_DISK") * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOverprovisioned @@ -4745,6 +4853,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeViolatesSoc2V2017 * Represents if a resource violates SOC2 v2017. (Value: * "SIGNAL_TYPE_VIOLATES_SOC2_V2017") + * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeWeakPasswordHashAlgorithm + * Detects if a database instance is using a weak password hash + * algorithm. (Value: "SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM") * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeWeakRootPassword * Represents if a Cloud SQL database has a weak password configured for * the root account. (Value: "SIGNAL_TYPE_WEAK_ROOT_PASSWORD") @@ -4895,11 +5006,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @interface GTLRCloudRedis_FixedFrequencySchedule : GTLRObject /** - * Optional. The start time of every automated backup in UTC. It must be set to - * the start of an hour. If not specified, the default value is the start of - * the hour when the automated backup config is enabled. For example, if the - * automated backup config is enabled at 10:13 AM UTC without specifying - * start_time, the default start time is 10:00 AM UTC. + * Required. The start time of every automated backup in UTC. It must be set to + * the start of an hour. This field is required. */ @property(nonatomic, strong, nullable) GTLRCloudRedis_TimeOfDay *startTime; @@ -6248,6 +6356,86 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @end +/** + * Details of consumer resources in a PSC connection that is created through + * Service Connectivity Automation. + */ +@interface GTLRCloudRedis_PscAutoConnection : GTLRObject + +/** + * Output only. The IP allocated on the consumer network for the PSC forwarding + * rule. + */ +@property(nonatomic, copy, nullable) NSString *address; + +/** + * Output only. Type of the PSC connection. + * + * Likely values: + * @arg @c kGTLRCloudRedis_PscAutoConnection_ConnectionType_ConnectionTypeDiscovery + * Cluster endpoint that will be used as for cluster topology discovery. + * (Value: "CONNECTION_TYPE_DISCOVERY") + * @arg @c kGTLRCloudRedis_PscAutoConnection_ConnectionType_ConnectionTypePrimary + * Cluster endpoint that will be used as primary endpoint to access + * primary. (Value: "CONNECTION_TYPE_PRIMARY") + * @arg @c kGTLRCloudRedis_PscAutoConnection_ConnectionType_ConnectionTypeReader + * Cluster endpoint that will be used as reader endpoint to access + * replicas. (Value: "CONNECTION_TYPE_READER") + * @arg @c kGTLRCloudRedis_PscAutoConnection_ConnectionType_ConnectionTypeUnspecified + * Cluster endpoint Type is not set (Value: + * "CONNECTION_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *connectionType; + +/** + * Output only. The URI of the consumer side forwarding rule. Example: + * projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}. + */ +@property(nonatomic, copy, nullable) NSString *forwardingRule; + +/** + * Required. The consumer network where the IP address resides, in the form of + * projects/{project_id}/global/networks/{network_id}. + */ +@property(nonatomic, copy, nullable) NSString *network; + +/** + * Required. The consumer project_id where the forwarding rule is created from. + */ +@property(nonatomic, copy, nullable) NSString *projectId; + +/** + * Output only. The PSC connection id of the forwarding rule connected to the + * service attachment. + */ +@property(nonatomic, copy, nullable) NSString *pscConnectionId; + +/** + * Output only. The status of the PSC connection. Please note that this value + * is updated periodically. Please use Private Service Connect APIs for the + * latest status. + * + * Likely values: + * @arg @c kGTLRCloudRedis_PscAutoConnection_PscConnectionStatus_PscConnectionStatusActive + * The connection is active (Value: "PSC_CONNECTION_STATUS_ACTIVE") + * @arg @c kGTLRCloudRedis_PscAutoConnection_PscConnectionStatus_PscConnectionStatusNotFound + * Connection not found (Value: "PSC_CONNECTION_STATUS_NOT_FOUND") + * @arg @c kGTLRCloudRedis_PscAutoConnection_PscConnectionStatus_PscConnectionStatusUnspecified + * PSC connection status is not specified. (Value: + * "PSC_CONNECTION_STATUS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *pscConnectionStatus; + +/** + * Output only. The service attachment which is the target of the PSC + * connection, in the form of + * projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}. + */ +@property(nonatomic, copy, nullable) NSString *serviceAttachment; + +@end + + /** * GTLRCloudRedis_PscConfig */ diff --git a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisQuery.h b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisQuery.h index 162b8f332..686df5795 100644 --- a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisQuery.h +++ b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisQuery.h @@ -274,7 +274,12 @@ NS_ASSUME_NONNULL_BEGIN * this collection. Both collection and backup will have a resource name. * Backup will be executed for each shard. A replica (primary if nonHA) will be * selected to perform the execution. Backup call will be rejected if there is - * an ongoing backup or update operation. + * an ongoing backup or update operation. Be aware that during preview, if the + * cluster's internal software version is too old, critical update will be + * performed before actual backup. Once the internal software version is + * updated to the minimum version required by the backup feature, subsequent + * backups will not require critical update. After preview, there will be no + * critical update needed for backup. * * Method: redis.projects.locations.clusters.backup * @@ -298,7 +303,12 @@ NS_ASSUME_NONNULL_BEGIN * this collection. Both collection and backup will have a resource name. * Backup will be executed for each shard. A replica (primary if nonHA) will be * selected to perform the execution. Backup call will be rejected if there is - * an ongoing backup or update operation. + * an ongoing backup or update operation. Be aware that during preview, if the + * cluster's internal software version is too old, critical update will be + * performed before actual backup. Once the internal software version is + * updated to the minimum version required by the backup feature, subsequent + * backups will not require critical update. After preview, there will be no + * critical update needed for backup. * * @param object The @c GTLRCloudRedis_BackupClusterRequest to include in the * query. diff --git a/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m b/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m index 9fc9b2eb0..b714c2c29 100644 --- a/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m +++ b/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m @@ -1665,6 +1665,16 @@ @implementation GTLRCloudRetail_GoogleCloudRetailV2CatalogAttributeFacetConfigRe @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2CollectUserEventRequest +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2CollectUserEventRequest +@dynamic ets, prebuiltRule, rawJson, uri, userEvent; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRetail_GoogleCloudRetailV2ColorInfo @@ -2994,7 +3004,7 @@ @implementation GTLRCloudRetail_GoogleCloudRetailV2ResumeModelRequest @implementation GTLRCloudRetail_GoogleCloudRetailV2Rule @dynamic boostAction, condition, doNotAssociateAction, filterAction, - forceReturnFacetAction, ignoreAction, onewaySynonymsAction, + forceReturnFacetAction, ignoreAction, onewaySynonymsAction, pinAction, redirectAction, removeFacetAction, replacementAction, twowaySynonymsAction; @end @@ -3106,6 +3116,30 @@ @implementation GTLRCloudRetail_GoogleCloudRetailV2RuleOnewaySynonymsAction @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2RulePinAction +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2RulePinAction +@dynamic pinMap; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2RulePinAction_PinMap +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2RulePinAction_PinMap + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRetail_GoogleCloudRetailV2RuleRedirectAction diff --git a/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailQuery.m b/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailQuery.m index d3e8bf105..757696081 100644 --- a/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailQuery.m +++ b/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailQuery.m @@ -1419,15 +1419,23 @@ + (instancetype)queryWithObject:(GTLRCloudRetail_GoogleCloudRetailV2GenerativeQu @implementation GTLRCloudRetailQuery_ProjectsLocationsCatalogsUserEventsCollect -@dynamic ets, parent, prebuiltRule, rawJson, uri, userEvent; +@dynamic parent; -+ (instancetype)queryWithParent:(NSString *)parent { ++ (instancetype)queryWithObject:(GTLRCloudRetail_GoogleCloudRetailV2CollectUserEventRequest *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } NSArray *pathParams = @[ @"parent" ]; NSString *pathURITemplate = @"v2/{+parent}/userEvents:collect"; GTLRCloudRetailQuery_ProjectsLocationsCatalogsUserEventsCollect *query = [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil + HTTPMethod:@"POST" pathParameterNames:pathParams]; + query.bodyObject = object; query.parent = parent; query.expectedObjectClass = [GTLRCloudRetail_GoogleApiHttpBody class]; query.loggingName = @"retail.projects.locations.catalogs.userEvents.collect"; diff --git a/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h b/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h index f26932926..95a4e1e0a 100644 --- a/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h +++ b/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h @@ -121,6 +121,8 @@ @class GTLRCloudRetail_GoogleCloudRetailV2RuleForceReturnFacetActionFacetPositionAdjustment; @class GTLRCloudRetail_GoogleCloudRetailV2RuleIgnoreAction; @class GTLRCloudRetail_GoogleCloudRetailV2RuleOnewaySynonymsAction; +@class GTLRCloudRetail_GoogleCloudRetailV2RulePinAction; +@class GTLRCloudRetail_GoogleCloudRetailV2RulePinAction_PinMap; @class GTLRCloudRetail_GoogleCloudRetailV2RuleRedirectAction; @class GTLRCloudRetail_GoogleCloudRetailV2RuleRemoveFacetAction; @class GTLRCloudRetail_GoogleCloudRetailV2RuleReplacementAction; @@ -3961,6 +3963,50 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRetail_GoogleCloudRetailV2ServingCo @end +/** + * Request message for CollectUserEvent method. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2CollectUserEventRequest : GTLRObject + +/** + * The event timestamp in milliseconds. This prevents browser caching of + * otherwise identical get requests. The name is abbreviated to reduce the + * payload bytes. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ets; + +/** + * The prebuilt rule name that can convert a specific type of raw_json. For + * example: "ga4_bq" rule for the GA4 user event schema. + */ +@property(nonatomic, copy, nullable) NSString *prebuiltRule; + +/** + * An arbitrary serialized JSON string that contains necessary information that + * can comprise a user event. When this field is specified, the user_event + * field will be ignored. Note: line-delimited JSON is not supported, a single + * JSON only. + */ +@property(nonatomic, copy, nullable) NSString *rawJson; + +/** + * The URL including cgi-parameters but excluding the hash fragment with a + * length limit of 5,000 characters. This is often more useful than the referer + * URL, because many browsers only send the domain for 3rd party requests. + */ +@property(nonatomic, copy, nullable) NSString *uri; + +/** + * Required. URL encoded UserEvent proto with a length limit of 2,000,000 + * characters. + */ +@property(nonatomic, copy, nullable) NSString *userEvent; + +@end + + /** * The color information of a Product. */ @@ -3975,7 +4021,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRetail_GoogleCloudRetailV2ServingCo * must be a UTF-8 encoded string with a length limit of 128 characters. * Otherwise, an INVALID_ARGUMENT error is returned. Google Merchant Center * property [color](https://support.google.com/merchants/answer/6324487). - * Schema.org property [Product.color](https://schema.org/color). + * Schema.org property [Product.color](https://schema.org/color). The + * colorFamilies field as a system attribute is not a required field but + * strongly recommended to be specified. Google Search models treat this field + * as more important than a custom product attribute when specified. */ @property(nonatomic, strong, nullable) NSArray *colorFamilies; @@ -4719,10 +4768,11 @@ GTLR_DEPRECATED /** - * Product image. Recommendations AI and Retail Search do not use product - * images to improve prediction and search results. However, product images can - * be returned in results, and are shown in prediction or search previews in - * the console. + * Product image. Recommendations AI and Retail Search use product images to + * improve prediction and search results. Product images can be returned in + * results, and are shown in prediction or search previews in the console. + * Please try to provide correct product images and avoid using images with + * size too small. */ @interface GTLRCloudRetail_GoogleCloudRetailV2Image : GTLRObject @@ -6982,6 +7032,11 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2RuleOnewaySynonymsAction *onewaySynonymsAction; +/** + * Pins one or more specified products to a specific position in the results. + */ +@property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2RulePinAction *pinAction; + /** Redirects a shopper to a specific page. */ @property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2RuleRedirectAction *redirectAction; @@ -7168,6 +7223,56 @@ GTLR_DEPRECATED @end +/** + * Pins one or more specified products to a specific position in the results. * + * Rule Condition: Must specify non-empty Condition.query_terms (for search + * only) or Condition.page_categories (for browse only), but can't specify + * both. * Action Input: mapping of `[pin_position, product_id]` pairs (pin + * position uses 1-based indexing). * Action Result: Will pin products with + * matching ids to the position specified in the final result order. Example: + * Suppose the query is `shoes`, the Condition.query_terms is `shoes` and the + * pin_map has `{1, "pid1"}`, then product with `pid1` will be pinned to the + * top position in the final results. If multiple PinActions are matched to a + * single request the actions will be processed from most to least recently + * updated. Pins to positions larger than the max allowed page size of 120 are + * not allowed. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2RulePinAction : GTLRObject + +/** + * Required. A map of positions to product_ids. Partial matches per action are + * allowed, if a certain position in the map is already filled that `[position, + * product_id]` pair will be ignored but the rest may still be applied. This + * case will only occur if multiple pin actions are matched to a single + * request, as the map guarantees that pin positions are unique within the same + * action. Duplicate product_ids are not permitted within a single pin map. The + * max size of this map is 120, equivalent to the max [request page + * size](https://cloud.google.com/retail/docs/reference/rest/v2/projects.locations.catalogs.placements/search#request-body). + */ +@property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2RulePinAction_PinMap *pinMap; + +@end + + +/** + * Required. A map of positions to product_ids. Partial matches per action are + * allowed, if a certain position in the map is already filled that `[position, + * product_id]` pair will be ignored but the rest may still be applied. This + * case will only occur if multiple pin actions are matched to a single + * request, as the map guarantees that pin positions are unique within the same + * action. Duplicate product_ids are not permitted within a single pin map. The + * max size of this map is 120, equivalent to the max [request page + * size](https://cloud.google.com/retail/docs/reference/rest/v2/projects.locations.catalogs.placements/search#request-body). + * + * @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 GTLRCloudRetail_GoogleCloudRetailV2RulePinAction_PinMap : GTLRObject +@end + + /** * Redirects a shopper to a specific page. * Rule Condition: Must specify * Condition.query_terms. * Action Input: Request Query * Action Result: diff --git a/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailQuery.h b/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailQuery.h index 0a45cfd7b..0fcb66f0c 100644 --- a/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailQuery.h +++ b/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailQuery.h @@ -2634,10 +2634,11 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Writes a single user event from the browser. This uses a GET request to due - * to browser restriction of POST-ing to a 3rd party domain. This method is - * used only by the Retail API JavaScript pixel and Google Tag Manager. Users - * should not call this method directly. + * Writes a single user event from the browser. For larger user event payload + * over 16 KB, the POST method should be used instead, otherwise a 400 Bad + * Request error is returned. This method is used only by the Retail API + * JavaScript pixel and Google Tag Manager. Users should not call this method + * directly. * * Method: retail.projects.locations.catalogs.userEvents.collect * @@ -2646,60 +2647,31 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLRCloudRetailQuery_ProjectsLocationsCatalogsUserEventsCollect : GTLRCloudRetailQuery -/** - * The event timestamp in milliseconds. This prevents browser caching of - * otherwise identical get requests. The name is abbreviated to reduce the - * payload bytes. - */ -@property(nonatomic, assign) long long ets; - /** * Required. The parent catalog name, such as * `projects/1234/locations/global/catalogs/default_catalog`. */ @property(nonatomic, copy, nullable) NSString *parent; -/** - * The prebuilt rule name that can convert a specific type of raw_json. For - * example: "ga4_bq" rule for the GA4 user event schema. - */ -@property(nonatomic, copy, nullable) NSString *prebuiltRule; - -/** - * An arbitrary serialized JSON string that contains necessary information that - * can comprise a user event. When this field is specified, the user_event - * field will be ignored. Note: line-delimited JSON is not supported, a single - * JSON only. - */ -@property(nonatomic, copy, nullable) NSString *rawJson; - -/** - * The URL including cgi-parameters but excluding the hash fragment with a - * length limit of 5,000 characters. This is often more useful than the referer - * URL, because many browsers only send the domain for 3rd party requests. - */ -@property(nonatomic, copy, nullable) NSString *uri; - -/** - * Required. URL encoded UserEvent proto with a length limit of 2,000,000 - * characters. - */ -@property(nonatomic, copy, nullable) NSString *userEvent; - /** * Fetches a @c GTLRCloudRetail_GoogleApiHttpBody. * - * Writes a single user event from the browser. This uses a GET request to due - * to browser restriction of POST-ing to a 3rd party domain. This method is - * used only by the Retail API JavaScript pixel and Google Tag Manager. Users - * should not call this method directly. + * Writes a single user event from the browser. For larger user event payload + * over 16 KB, the POST method should be used instead, otherwise a 400 Bad + * Request error is returned. This method is used only by the Retail API + * JavaScript pixel and Google Tag Manager. Users should not call this method + * directly. * + * @param object The @c + * GTLRCloudRetail_GoogleCloudRetailV2CollectUserEventRequest to include in + * the query. * @param parent Required. The parent catalog name, such as * `projects/1234/locations/global/catalogs/default_catalog`. * * @return GTLRCloudRetailQuery_ProjectsLocationsCatalogsUserEventsCollect */ -+ (instancetype)queryWithParent:(NSString *)parent; ++ (instancetype)queryWithObject:(GTLRCloudRetail_GoogleCloudRetailV2CollectUserEventRequest *)object + parent:(NSString *)parent; @end diff --git a/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m b/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m index c230af6dd..2dfef2405 100644 --- a/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m +++ b/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m @@ -1206,7 +1206,7 @@ @implementation GTLRCloudRun_GoogleCloudRunV2ServiceMesh // @implementation GTLRCloudRun_GoogleCloudRunV2ServiceScaling -@dynamic minInstanceCount, scalingMode; +@dynamic manualInstanceCount, maxInstanceCount, minInstanceCount, scalingMode; @end diff --git a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h index 2618bcb07..093f44544 100644 --- a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h +++ b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h @@ -4306,6 +4306,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy */ @interface GTLRCloudRun_GoogleCloudRunV2ServiceScaling : GTLRObject +/** + * Optional. total instance count for the service in manual scaling mode. This + * number of instances is divided among all revisions with specified traffic + * based on the percent of traffic they are receiving. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *manualInstanceCount; + +/** + * Optional. total max instances for the service. This number of instances is + * divided among all revisions with specified traffic based on the percent of + * traffic they are receiving. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxInstanceCount; + /** * Optional. total min instances for the service. This number of instances is * divided among all revisions with specified traffic based on the percent of diff --git a/Sources/GeneratedServices/CloudRuntimeConfig/Public/GoogleAPIClientForREST/GTLRCloudRuntimeConfigQuery.h b/Sources/GeneratedServices/CloudRuntimeConfig/Public/GoogleAPIClientForREST/GTLRCloudRuntimeConfigQuery.h index 4218b683a..093ce9b32 100644 --- a/Sources/GeneratedServices/CloudRuntimeConfig/Public/GoogleAPIClientForREST/GTLRCloudRuntimeConfigQuery.h +++ b/Sources/GeneratedServices/CloudRuntimeConfig/Public/GoogleAPIClientForREST/GTLRCloudRuntimeConfigQuery.h @@ -44,7 +44,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: runtimeconfig.operations.cancel @@ -68,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRCloudRuntimeConfig_CancelOperationRequest to diff --git a/Sources/GeneratedServices/CloudScheduler/Public/GoogleAPIClientForREST/GTLRCloudSchedulerQuery.h b/Sources/GeneratedServices/CloudScheduler/Public/GoogleAPIClientForREST/GTLRCloudSchedulerQuery.h index 12249da1a..de1de8b53 100644 --- a/Sources/GeneratedServices/CloudScheduler/Public/GoogleAPIClientForREST/GTLRCloudSchedulerQuery.h +++ b/Sources/GeneratedServices/CloudScheduler/Public/GoogleAPIClientForREST/GTLRCloudSchedulerQuery.h @@ -41,7 +41,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: cloudscheduler.operations.cancel @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRCloudScheduler_CancelOperationRequest to include in diff --git a/Sources/GeneratedServices/CloudSupport/Public/GoogleAPIClientForREST/GTLRCloudSupportQuery.h b/Sources/GeneratedServices/CloudSupport/Public/GoogleAPIClientForREST/GTLRCloudSupportQuery.h index d58fe4bb5..4c7e99d4b 100644 --- a/Sources/GeneratedServices/CloudSupport/Public/GoogleAPIClientForREST/GTLRCloudSupportQuery.h +++ b/Sources/GeneratedServices/CloudSupport/Public/GoogleAPIClientForREST/GTLRCloudSupportQuery.h @@ -126,7 +126,9 @@ NS_ASSUME_NONNULL_BEGIN /** * The maximum number of attachments fetched with each request. If not * provided, the default is 10. The maximum page size that will be returned is - * 100. + * 100. The size of each page can be smaller than the requested page size and + * can include zero. For example, you could request 100 attachments on one + * page, receive 0, and then on the next page, receive 90. */ @property(nonatomic, assign) NSInteger pageSize; diff --git a/Sources/GeneratedServices/CloudTalentSolution/GTLRCloudTalentSolutionObjects.m b/Sources/GeneratedServices/CloudTalentSolution/GTLRCloudTalentSolutionObjects.m index 221726a55..b0ba6f049 100644 --- a/Sources/GeneratedServices/CloudTalentSolution/GTLRCloudTalentSolutionObjects.m +++ b/Sources/GeneratedServices/CloudTalentSolution/GTLRCloudTalentSolutionObjects.m @@ -309,6 +309,13 @@ NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_KeywordMatchMode_KeywordMatchModeUnspecified = @"KEYWORD_MATCH_MODE_UNSPECIFIED"; NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_KeywordMatchMode_KeywordMatchTitleOnly = @"KEYWORD_MATCH_TITLE_ONLY"; +// GTLRCloudTalentSolution_SearchJobsRequest.relevanceThreshold +NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_RelevanceThreshold_High = @"HIGH"; +NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_RelevanceThreshold_Low = @"LOW"; +NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_RelevanceThreshold_Lowest = @"LOWEST"; +NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_RelevanceThreshold_Medium = @"MEDIUM"; +NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_RelevanceThreshold_RelevanceThresholdUnspecified = @"RELEVANCE_THRESHOLD_UNSPECIFIED"; + // GTLRCloudTalentSolution_SearchJobsRequest.searchMode NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_SearchMode_FeaturedJobSearch = @"FEATURED_JOB_SEARCH"; NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_SearchMode_JobSearch = @"JOB_SEARCH"; @@ -1023,7 +1030,7 @@ @implementation GTLRCloudTalentSolution_SearchJobsRequest @dynamic customRankingInfo, disableKeywordMatch, diversificationLevel, enableBroadening, histogramQueries, jobQuery, jobView, keywordMatchMode, maxPageSize, offset, orderBy, pageToken, - requestMetadata, searchMode; + relevanceThreshold, requestMetadata, searchMode; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/CloudTalentSolution/Public/GoogleAPIClientForREST/GTLRCloudTalentSolutionObjects.h b/Sources/GeneratedServices/CloudTalentSolution/Public/GoogleAPIClientForREST/GTLRCloudTalentSolutionObjects.h index 71aa50695..ca1386371 100644 --- a/Sources/GeneratedServices/CloudTalentSolution/Public/GoogleAPIClientForREST/GTLRCloudTalentSolutionObjects.h +++ b/Sources/GeneratedServices/CloudTalentSolution/Public/GoogleAPIClientForREST/GTLRCloudTalentSolutionObjects.h @@ -1784,6 +1784,41 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_Ke */ FOUNDATION_EXTERN NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_KeywordMatchMode_KeywordMatchTitleOnly; +// ---------------------------------------------------------------------------- +// GTLRCloudTalentSolution_SearchJobsRequest.relevanceThreshold + +/** + * High relevance threshold. + * + * Value: "HIGH" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_RelevanceThreshold_High; +/** + * Low relevance threshold. + * + * Value: "LOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_RelevanceThreshold_Low; +/** + * Lowest relevance threshold. + * + * Value: "LOWEST" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_RelevanceThreshold_Lowest; +/** + * Medium relevance threshold. + * + * Value: "MEDIUM" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_RelevanceThreshold_Medium; +/** + * Default value. In this case, server behavior defaults to Google defined + * threshold. + * + * Value: "RELEVANCE_THRESHOLD_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_RelevanceThreshold_RelevanceThresholdUnspecified; + // ---------------------------------------------------------------------------- // GTLRCloudTalentSolution_SearchJobsRequest.searchMode @@ -2919,18 +2954,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_Se * treated as expired immediately on creation. This kind of job can not be * updated. And when creating a job with past timestamp, the * posting_publish_time must be set before posting_expire_time. The purpose of - * this feature is to allow other objects, such as Application, to refer a job - * that didn't exist in the system prior to becoming expired. If you want to - * modify a job that was expired on creation, delete it and create a new one. - * If this value isn't provided at the time of job creation or is invalid, the - * job posting expires after 30 days from the job's creation time. For example, - * if the job was created on 2017/01/01 13:00AM UTC with an unspecified - * expiration date, the job expires after 2017/01/31 13:00AM UTC. If this value - * isn't provided on job update, it depends on the field masks set by - * UpdateJobRequest.update_mask. If the field masks include job_end_time, or - * the masks are empty meaning that every field is updated, the job posting - * expires after 30 days from the job's last update time. Otherwise the - * expiration date isn't updated. + * this feature is to allow other objects, such as ApplicationInfo, to refer a + * job that didn't exist in the system prior to becoming expired. If you want + * to modify a job that was expired on creation, delete it and create a new + * one. If this value isn't provided at the time of job creation or is invalid, + * the job posting expires after 30 days from the job's creation time. For + * example, if the job was created on 2017/01/01 13:00AM UTC with an + * unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC. + * If this value isn't provided on job update, it depends on the field masks + * set by UpdateJobRequest.update_mask. If the field masks include + * job_end_time, or the masks are empty meaning that every field is updated, + * the job posting expires after 30 days from the job's last update time. + * Otherwise the expiration date isn't updated. */ @property(nonatomic, strong, nullable) GTLRDateTime *postingExpireTime; @@ -3585,13 +3620,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_Se * set or set to TelecommutePreference.TELECOMMUTE_EXCLUDED, the telecommute * status of the jobs is ignored. Jobs that have PostingRegion.TELECOMMUTE and * have additional Job.addresses may still be matched based on other location - * filters using address or latlng. This filter can be used by itself to search - * exclusively for telecommuting jobs, or it can be combined with another - * location filter to search for a combination of job locations, such as - * "Mountain View" or "telecommuting" jobs. However, when used in combination - * with other location filters, telecommuting jobs can be treated as less - * relevant than other jobs in the search response. This field is only used for - * job search requests. + * filters using address or lat_lng. This filter can be used by itself to + * search exclusively for telecommuting jobs, or it can be combined with + * another location filter to search for a combination of job locations, such + * as "Mountain View" or "telecommuting" jobs. However, when used in + * combination with other location filters, telecommuting jobs can be treated + * as less relevant than other jobs in the search response. This field is only + * used for job search requests. * * Likely values: * @arg @c kGTLRCloudTalentSolution_LocationFilter_TelecommutePreference_TelecommuteAllowed @@ -3759,16 +3794,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_Se /** - * Represents a postal address, e.g. for postal delivery or payments addresses. - * Given a postal address, a postal service can deliver items to a premise, - * P.O. Box or similar. It is not intended to model geographical locations - * (roads, towns, mountains). In typical usage an address would be created via - * user input or from importing existing data, depending on the type of - * process. Advice on address input / editing: - Use an + * Represents a postal address. For example for postal delivery or payments + * addresses. Given a postal address, a postal service can deliver items to a + * premise, P.O. Box or similar. It is not intended to model geographical + * locations (roads, towns, mountains). In typical usage an address would be + * created by user input or from importing existing data, depending on the type + * of process. Advice on address input / editing: - Use an * internationalization-ready address widget such as * https://github.com/google/libaddressinput) - Users should not be presented * with UI elements for input or editing of fields outside countries where that - * field is used. For more guidance on how to use this schema, please see: + * field is used. For more guidance on how to use this schema, see: * https://support.google.com/business/answer/6397478 */ @interface GTLRCloudTalentSolution_PostalAddress : GTLRObject @@ -3776,13 +3811,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_Se /** * Unstructured address lines describing the lower levels of an address. * Because values in address_lines do not have type information and may - * sometimes contain multiple values in a single field (e.g. "Austin, TX"), it - * is important that the line order is clear. The order of address lines should - * be "envelope order" for the country/region of the address. In places where - * this can vary (e.g. Japan), address_language is used to make it explicit - * (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for - * small-to-large). This way, the most specific line of an address can be - * selected based on the language. The minimum permitted structural + * sometimes contain multiple values in a single field (For example "Austin, + * TX"), it is important that the line order is clear. The order of address + * lines should be "envelope order" for the country/region of the address. In + * places where this can vary (For example Japan), address_language is used to + * make it explicit (For example "ja" for large-to-small ordering and "ja-Latn" + * or "en" for small-to-large). This way, the most specific line of an address + * can be selected based on the language. The minimum permitted structural * representation of an address consists of a region_code with all remaining * information placed in the address_lines. It would be possible to format such * an address very approximately without geocoding, but no semantic reasoning @@ -3798,9 +3833,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_Se * Optional. Highest administrative subdivision which is used for postal * addresses of a country or region. For example, this can be a state, a * province, an oblast, or a prefecture. Specifically, for Spain this is the - * province and not the autonomous community (e.g. "Barcelona" and not + * province and not the autonomous community (For example "Barcelona" and not * "Catalonia"). Many countries don't use an administrative area in postal - * addresses. E.g. in Switzerland this should be left unpopulated. + * addresses. For example in Switzerland this should be left unpopulated. */ @property(nonatomic, copy, nullable) NSString *administrativeArea; @@ -3830,7 +3865,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_Se /** * Optional. Postal code of the address. Not all countries use or require * postal codes to be present, but where they are used, they may trigger - * additional validation with other parts of the address (e.g. state/zip + * additional validation with other parts of the address (For example state/zip * validation in the U.S.A.). */ @property(nonatomic, copy, nullable) NSString *postalCode; @@ -3863,9 +3898,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_Se /** * Optional. Additional, country-specific, sorting code. This is not used in * most regions. Where it is used, the value is either a string like "CEDEX", - * optionally followed by a number (e.g. "CEDEX 7"), or just a number alone, - * representing the "sector code" (Jamaica), "delivery area indicator" (Malawi) - * or "post office indicator" (e.g. Côte d'Ivoire). + * optionally followed by a number (For example "CEDEX 7"), or just a number + * alone, representing the "sector code" (Jamaica), "delivery area indicator" + * (Malawi) or "post office indicator" (For example Côte d'Ivoire). */ @property(nonatomic, copy, nullable) NSString *sortingCode; @@ -4256,6 +4291,27 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_Se */ @property(nonatomic, copy, nullable) NSString *pageToken; +/** + * Optional. The relevance threshold of the search results. Default to Google + * defined threshold, leveraging a balance of precision and recall to deliver + * both highly accurate results and comprehensive coverage of relevant + * information. + * + * Likely values: + * @arg @c kGTLRCloudTalentSolution_SearchJobsRequest_RelevanceThreshold_High + * High relevance threshold. (Value: "HIGH") + * @arg @c kGTLRCloudTalentSolution_SearchJobsRequest_RelevanceThreshold_Low + * Low relevance threshold. (Value: "LOW") + * @arg @c kGTLRCloudTalentSolution_SearchJobsRequest_RelevanceThreshold_Lowest + * Lowest relevance threshold. (Value: "LOWEST") + * @arg @c kGTLRCloudTalentSolution_SearchJobsRequest_RelevanceThreshold_Medium + * Medium relevance threshold. (Value: "MEDIUM") + * @arg @c kGTLRCloudTalentSolution_SearchJobsRequest_RelevanceThreshold_RelevanceThresholdUnspecified + * Default value. In this case, server behavior defaults to Google + * defined threshold. (Value: "RELEVANCE_THRESHOLD_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *relevanceThreshold; + /** * Required. The meta information collected about the job searcher, used to * improve the search quality of the service. The identifiers (such as @@ -4452,30 +4508,34 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_Se @interface GTLRCloudTalentSolution_TimeOfDay : GTLRObject /** - * Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to - * allow the value "24:00:00" for scenarios like business closing time. + * Hours of a day in 24 hour format. Must be greater than or equal to 0 and + * typically must be less than or equal to 23. An API may choose to allow the + * value "24:00:00" for scenarios like business closing time. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *hours; /** - * Minutes of hour of day. Must be from 0 to 59. + * Minutes of an hour. Must be greater than or equal to 0 and less than or + * equal to 59. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *minutes; /** - * Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. + * Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and + * less than or equal to 999,999,999. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *nanos; /** - * Seconds of minutes of the time. Must normally be from 0 to 59. An API may - * allow the value 60 if it allows leap-seconds. + * Seconds of a minute. Must be greater than or equal to 0 and typically must + * be less than or equal to 59. An API may allow the value 60 if it allows + * leap-seconds. * * Uses NSNumber of intValue. */ diff --git a/Sources/GeneratedServices/CloudWorkstations/GTLRCloudWorkstationsObjects.m b/Sources/GeneratedServices/CloudWorkstations/GTLRCloudWorkstationsObjects.m index 9b31c0849..983110f05 100644 --- a/Sources/GeneratedServices/CloudWorkstations/GTLRCloudWorkstationsObjects.m +++ b/Sources/GeneratedServices/CloudWorkstations/GTLRCloudWorkstationsObjects.m @@ -254,6 +254,25 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudWorkstations_GceInstanceHost +// + +@implementation GTLRCloudWorkstations_GceInstanceHost +@dynamic identifier, name, zoneProperty; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"identifier" : @"id", + @"zoneProperty" : @"zone" + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudWorkstations_GcePersistentDisk @@ -641,6 +660,16 @@ @implementation GTLRCloudWorkstations_ReadinessCheck @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudWorkstations_RuntimeHost +// + +@implementation GTLRCloudWorkstations_RuntimeHost +@dynamic gceInstanceHost; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudWorkstations_SetIamPolicyRequest @@ -657,7 +686,7 @@ @implementation GTLRCloudWorkstations_SetIamPolicyRequest // @implementation GTLRCloudWorkstations_StartWorkstationRequest -@dynamic ETag, validateOnly; +@dynamic boostConfig, ETag, validateOnly; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; @@ -756,7 +785,8 @@ @implementation GTLRCloudWorkstations_TestIamPermissionsResponse @implementation GTLRCloudWorkstations_Workstation @dynamic annotations, createTime, deleteTime, displayName, env, ETag, host, - kmsKey, labels, name, reconciling, startTime, state, uid, updateTime; + kmsKey, labels, name, reconciling, runtimeHost, sourceWorkstation, + startTime, state, uid, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; diff --git a/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h b/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h index 8951d08e1..f7338f191 100644 --- a/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h +++ b/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h @@ -29,6 +29,7 @@ @class GTLRCloudWorkstations_GceConfidentialInstanceConfig; @class GTLRCloudWorkstations_GceInstance; @class GTLRCloudWorkstations_GceInstance_VmTags; +@class GTLRCloudWorkstations_GceInstanceHost; @class GTLRCloudWorkstations_GcePersistentDisk; @class GTLRCloudWorkstations_GceRegionalPersistentDisk; @class GTLRCloudWorkstations_GceShieldedInstanceConfig; @@ -44,6 +45,7 @@ @class GTLRCloudWorkstations_PortRange; @class GTLRCloudWorkstations_PrivateClusterConfig; @class GTLRCloudWorkstations_ReadinessCheck; +@class GTLRCloudWorkstations_RuntimeHost; @class GTLRCloudWorkstations_Status; @class GTLRCloudWorkstations_Status_Details_Item; @class GTLRCloudWorkstations_Workstation; @@ -329,7 +331,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudWorkstations_Workstation_State_Stat /** - * A configuration that workstations can boost to. + * A boost configuration is a set of resources that a workstation can use to + * increase its performance. If you specify a boost configuration, upon + * startup, workstation users can choose to use a VM provisioned under the + * boost config by passing the boost config ID in the start request. If the + * workstation user does not provide a boost config ID in the start request, + * the system will choose a VM from the pool provisioned under the default + * config. */ @interface GTLRCloudWorkstations_BoostConfig : GTLRObject @@ -372,7 +380,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudWorkstations_Workstation_State_Stat @property(nonatomic, strong, nullable) NSNumber *enableNestedVirtualization; /** - * Optional. Required. The id to be used for the boost configuration. + * Required. The ID to be used for the boost configuration. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @@ -594,7 +602,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudWorkstations_Workstation_State_Stat /** * Optional. A list of the boost configurations that workstations created using - * this workstation configuration are allowed to use. + * this workstation configuration are allowed to use. If specified, users will + * have the option to choose from the list of boost configs when starting a + * workstation. */ @property(nonatomic, strong, nullable) NSArray *boostConfigs; @@ -744,6 +754,31 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudWorkstations_Workstation_State_Stat @end +/** + * The Compute Engine instance host. + */ +@interface GTLRCloudWorkstations_GceInstanceHost : GTLRObject + +/** + * Optional. Output only. The ID of the Compute Engine instance. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** Optional. Output only. The name of the Compute Engine instance. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Output only. The zone of the Compute Engine instance. + * + * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. + */ +@property(nonatomic, copy, nullable) NSString *zoneProperty; + +@end + + /** * An EphemeralDirectory is backed by a Compute Engine persistent disk. */ @@ -1317,7 +1352,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudWorkstations_Workstation_State_Stat /** - * A directory to persist across workstation sessions. + * A directory to persist across workstation sessions. Updates to this field + * will not update existing workstations and will only take effect on new + * workstations. */ @interface GTLRCloudWorkstations_PersistentDirectory : GTLRObject @@ -1504,6 +1541,17 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudWorkstations_Workstation_State_Stat @end +/** + * Runtime host for the workstation. + */ +@interface GTLRCloudWorkstations_RuntimeHost : GTLRObject + +/** Specifies a Compute Engine instance as the host. */ +@property(nonatomic, strong, nullable) GTLRCloudWorkstations_GceInstanceHost *gceInstanceHost; + +@end + + /** * Request message for `SetIamPolicy` method. */ @@ -1533,6 +1581,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudWorkstations_Workstation_State_Stat */ @interface GTLRCloudWorkstations_StartWorkstationRequest : GTLRObject +/** + * Optional. If set, the workstation starts using the boost configuration with + * the specified ID. + */ +@property(nonatomic, copy, nullable) NSString *boostConfig; + /** * Optional. If set, the request will be rejected if the latest version of the * workstation on the server does not have this ETag. @@ -1711,6 +1765,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudWorkstations_Workstation_State_Stat */ @property(nonatomic, strong, nullable) NSNumber *reconciling; +/** + * Optional. Output only. Runtime host for the workstation when in + * STATE_RUNNING. + */ +@property(nonatomic, strong, nullable) GTLRCloudWorkstations_RuntimeHost *runtimeHost; + +/** + * Optional. The source workstation from which this workstation's persistent + * directories were cloned on creation. + */ +@property(nonatomic, copy, nullable) NSString *sourceWorkstation; + /** * Output only. Time when this workstation was most recently successfully * started, regardless of the workstation's initial state. diff --git a/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsQuery.h b/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsQuery.h index 1f89f5528..3e4ce8975 100644 --- a/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsQuery.h +++ b/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsQuery.h @@ -117,7 +117,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: workstations.projects.locations.operations.cancel @@ -140,7 +140,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRCloudWorkstations_CancelOperationRequest to include @@ -905,7 +905,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Returns a short-lived credential that can be used to send authenticated and - * authorized traffic to a workstation. + * authorized traffic to a workstation. Once generated this token cannot be + * revoked and is good for the lifetime of the token. * * Method: workstations.projects.locations.workstationClusters.workstationConfigs.workstations.generateAccessToken * @@ -924,7 +925,8 @@ NS_ASSUME_NONNULL_BEGIN * Fetches a @c GTLRCloudWorkstations_GenerateAccessTokenResponse. * * Returns a short-lived credential that can be used to send authenticated and - * authorized traffic to a workstation. + * authorized traffic to a workstation. Once generated this token cannot be + * revoked and is good for the lifetime of the token. * * @param object The @c GTLRCloudWorkstations_GenerateAccessTokenRequest to * include in the query. diff --git a/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelObjects.h b/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelObjects.h index 32df82d0a..2defbf7db 100644 --- a/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelObjects.h +++ b/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelObjects.h @@ -6200,16 +6200,16 @@ GTLR_DEPRECATED /** - * Represents a postal address, e.g. for postal delivery or payments addresses. - * Given a postal address, a postal service can deliver items to a premise, - * P.O. Box or similar. It is not intended to model geographical locations - * (roads, towns, mountains). In typical usage an address would be created via - * user input or from importing existing data, depending on the type of - * process. Advice on address input / editing: - Use an + * Represents a postal address. For example for postal delivery or payments + * addresses. Given a postal address, a postal service can deliver items to a + * premise, P.O. Box or similar. It is not intended to model geographical + * locations (roads, towns, mountains). In typical usage an address would be + * created by user input or from importing existing data, depending on the type + * of process. Advice on address input / editing: - Use an * internationalization-ready address widget such as * https://github.com/google/libaddressinput) - Users should not be presented * with UI elements for input or editing of fields outside countries where that - * field is used. For more guidance on how to use this schema, please see: + * field is used. For more guidance on how to use this schema, see: * https://support.google.com/business/answer/6397478 */ @interface GTLRCloudchannel_GoogleTypePostalAddress : GTLRObject @@ -6217,13 +6217,13 @@ GTLR_DEPRECATED /** * Unstructured address lines describing the lower levels of an address. * Because values in address_lines do not have type information and may - * sometimes contain multiple values in a single field (e.g. "Austin, TX"), it - * is important that the line order is clear. The order of address lines should - * be "envelope order" for the country/region of the address. In places where - * this can vary (e.g. Japan), address_language is used to make it explicit - * (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for - * small-to-large). This way, the most specific line of an address can be - * selected based on the language. The minimum permitted structural + * sometimes contain multiple values in a single field (For example "Austin, + * TX"), it is important that the line order is clear. The order of address + * lines should be "envelope order" for the country/region of the address. In + * places where this can vary (For example Japan), address_language is used to + * make it explicit (For example "ja" for large-to-small ordering and "ja-Latn" + * or "en" for small-to-large). This way, the most specific line of an address + * can be selected based on the language. The minimum permitted structural * representation of an address consists of a region_code with all remaining * information placed in the address_lines. It would be possible to format such * an address very approximately without geocoding, but no semantic reasoning @@ -6239,9 +6239,9 @@ GTLR_DEPRECATED * Optional. Highest administrative subdivision which is used for postal * addresses of a country or region. For example, this can be a state, a * province, an oblast, or a prefecture. Specifically, for Spain this is the - * province and not the autonomous community (e.g. "Barcelona" and not + * province and not the autonomous community (For example "Barcelona" and not * "Catalonia"). Many countries don't use an administrative area in postal - * addresses. E.g. in Switzerland this should be left unpopulated. + * addresses. For example in Switzerland this should be left unpopulated. */ @property(nonatomic, copy, nullable) NSString *administrativeArea; @@ -6271,7 +6271,7 @@ GTLR_DEPRECATED /** * Optional. Postal code of the address. Not all countries use or require * postal codes to be present, but where they are used, they may trigger - * additional validation with other parts of the address (e.g. state/zip + * additional validation with other parts of the address (For example state/zip * validation in the U.S.A.). */ @property(nonatomic, copy, nullable) NSString *postalCode; @@ -6304,9 +6304,9 @@ GTLR_DEPRECATED /** * Optional. Additional, country-specific, sorting code. This is not used in * most regions. Where it is used, the value is either a string like "CEDEX", - * optionally followed by a number (e.g. "CEDEX 7"), or just a number alone, - * representing the "sector code" (Jamaica), "delivery area indicator" (Malawi) - * or "post office indicator" (e.g. Côte d'Ivoire). + * optionally followed by a number (For example "CEDEX 7"), or just a number + * alone, representing the "sector code" (Jamaica), "delivery area indicator" + * (Malawi) or "post office indicator" (For example Côte d'Ivoire). */ @property(nonatomic, copy, nullable) NSString *sortingCode; @@ -6326,13 +6326,13 @@ GTLR_DEPRECATED @interface GTLRCloudchannel_GoogleTypeTimeZone : GTLRObject /** - * IANA Time Zone Database time zone, e.g. "America/New_York". + * IANA Time Zone Database time zone. For example "America/New_York". * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @property(nonatomic, copy, nullable) NSString *identifier; -/** Optional. IANA Time Zone Database version number, e.g. "2019a". */ +/** Optional. IANA Time Zone Database version number. For example "2019a". */ @property(nonatomic, copy, nullable) NSString *version; @end diff --git a/Sources/GeneratedServices/Compute/GTLRComputeObjects.m b/Sources/GeneratedServices/Compute/GTLRComputeObjects.m index 1f5f56ca1..04a6b726b 100644 --- a/Sources/GeneratedServices/Compute/GTLRComputeObjects.m +++ b/Sources/GeneratedServices/Compute/GTLRComputeObjects.m @@ -35,6 +35,7 @@ NSString * const kGTLRCompute_AcceleratorTypeAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_AcceleratorTypeAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_AcceleratorTypeAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_AcceleratorTypeAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_AcceleratorTypeAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_AcceleratorTypeAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_AcceleratorTypeAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -65,6 +66,7 @@ NSString * const kGTLRCompute_AcceleratorTypeList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_AcceleratorTypeList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_AcceleratorTypeList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_AcceleratorTypeList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_AcceleratorTypeList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_AcceleratorTypeList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_AcceleratorTypeList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -95,6 +97,7 @@ NSString * const kGTLRCompute_AcceleratorTypesScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_AcceleratorTypesScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_AcceleratorTypesScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_AcceleratorTypesScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_AcceleratorTypesScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_AcceleratorTypesScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_AcceleratorTypesScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -170,6 +173,7 @@ NSString * const kGTLRCompute_AddressAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_AddressAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_AddressAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_AddressAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_AddressAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_AddressAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_AddressAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -200,6 +204,7 @@ NSString * const kGTLRCompute_AddressesScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_AddressesScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_AddressesScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_AddressesScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_AddressesScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_AddressesScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_AddressesScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -230,6 +235,7 @@ NSString * const kGTLRCompute_AddressList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_AddressList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_AddressList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_AddressList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_AddressList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_AddressList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_AddressList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -325,6 +331,7 @@ NSString * const kGTLRCompute_AutoscalerAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_AutoscalerAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_AutoscalerAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_AutoscalerAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_AutoscalerAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_AutoscalerAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_AutoscalerAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -355,6 +362,7 @@ NSString * const kGTLRCompute_AutoscalerList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_AutoscalerList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_AutoscalerList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_AutoscalerList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_AutoscalerList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_AutoscalerList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_AutoscalerList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -385,6 +393,7 @@ NSString * const kGTLRCompute_AutoscalersScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_AutoscalersScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_AutoscalersScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_AutoscalersScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_AutoscalersScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_AutoscalersScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_AutoscalersScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -472,6 +481,7 @@ NSString * const kGTLRCompute_BackendBucketList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_BackendBucketList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_BackendBucketList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_BackendBucketList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_BackendBucketList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_BackendBucketList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_BackendBucketList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -551,6 +561,7 @@ NSString * const kGTLRCompute_BackendServiceAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_BackendServiceAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_BackendServiceAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_BackendServiceAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_BackendServiceAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_BackendServiceAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_BackendServiceAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -597,6 +608,7 @@ NSString * const kGTLRCompute_BackendServiceList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_BackendServiceList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_BackendServiceList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_BackendServiceList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_BackendServiceList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_BackendServiceList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_BackendServiceList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -627,6 +639,7 @@ NSString * const kGTLRCompute_BackendServiceListUsable_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_BackendServiceListUsable_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_BackendServiceListUsable_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_BackendServiceListUsable_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_BackendServiceListUsable_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_BackendServiceListUsable_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_BackendServiceListUsable_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -672,6 +685,7 @@ NSString * const kGTLRCompute_BackendServicesScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_BackendServicesScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_BackendServicesScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_BackendServicesScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_BackendServicesScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_BackendServicesScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_BackendServicesScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -766,6 +780,9 @@ NSString * const kGTLRCompute_Commitment_Type_GraphicsOptimized = @"GRAPHICS_OPTIMIZED"; NSString * const kGTLRCompute_Commitment_Type_MemoryOptimized = @"MEMORY_OPTIMIZED"; NSString * const kGTLRCompute_Commitment_Type_MemoryOptimizedM3 = @"MEMORY_OPTIMIZED_M3"; +NSString * const kGTLRCompute_Commitment_Type_MemoryOptimizedX416tb = @"MEMORY_OPTIMIZED_X4_16TB"; +NSString * const kGTLRCompute_Commitment_Type_MemoryOptimizedX424tb = @"MEMORY_OPTIMIZED_X4_24TB"; +NSString * const kGTLRCompute_Commitment_Type_MemoryOptimizedX432tb = @"MEMORY_OPTIMIZED_X4_32TB"; NSString * const kGTLRCompute_Commitment_Type_StorageOptimizedZ3 = @"STORAGE_OPTIMIZED_Z3"; NSString * const kGTLRCompute_Commitment_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; @@ -791,6 +808,7 @@ NSString * const kGTLRCompute_CommitmentAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_CommitmentAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_CommitmentAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_CommitmentAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_CommitmentAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_CommitmentAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_CommitmentAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -821,6 +839,7 @@ NSString * const kGTLRCompute_CommitmentList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_CommitmentList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_CommitmentList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_CommitmentList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_CommitmentList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_CommitmentList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_CommitmentList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -851,6 +870,7 @@ NSString * const kGTLRCompute_CommitmentsScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_CommitmentsScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_CommitmentsScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_CommitmentsScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_CommitmentsScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_CommitmentsScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_CommitmentsScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -911,6 +931,7 @@ NSString * const kGTLRCompute_DiskAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_DiskAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_DiskAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_DiskAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_DiskAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_DiskAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_DiskAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -950,6 +971,7 @@ NSString * const kGTLRCompute_DiskList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_DiskList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_DiskList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_DiskList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_DiskList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_DiskList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_DiskList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -988,6 +1010,7 @@ NSString * const kGTLRCompute_DisksScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_DisksScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_DisksScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_DisksScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_DisksScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_DisksScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_DisksScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1018,6 +1041,7 @@ NSString * const kGTLRCompute_DiskTypeAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_DiskTypeAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_DiskTypeAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_DiskTypeAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_DiskTypeAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_DiskTypeAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_DiskTypeAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1048,6 +1072,7 @@ NSString * const kGTLRCompute_DiskTypeList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_DiskTypeList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_DiskTypeList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_DiskTypeList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_DiskTypeList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_DiskTypeList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_DiskTypeList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1078,6 +1103,7 @@ NSString * const kGTLRCompute_DiskTypesScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_DiskTypesScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_DiskTypesScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_DiskTypesScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_DiskTypesScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_DiskTypesScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_DiskTypesScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1119,6 +1145,7 @@ NSString * const kGTLRCompute_ExchangedPeeringRoutesList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_ExchangedPeeringRoutesList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_ExchangedPeeringRoutesList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_ExchangedPeeringRoutesList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_ExchangedPeeringRoutesList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_ExchangedPeeringRoutesList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_ExchangedPeeringRoutesList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1154,6 +1181,7 @@ NSString * const kGTLRCompute_ExternalVpnGatewayList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_ExternalVpnGatewayList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_ExternalVpnGatewayList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_ExternalVpnGatewayList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_ExternalVpnGatewayList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_ExternalVpnGatewayList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_ExternalVpnGatewayList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1193,6 +1221,7 @@ NSString * const kGTLRCompute_FirewallList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_FirewallList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_FirewallList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_FirewallList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_FirewallList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_FirewallList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_FirewallList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1205,6 +1234,37 @@ NSString * const kGTLRCompute_FirewallLogConfig_Metadata_ExcludeAllMetadata = @"EXCLUDE_ALL_METADATA"; NSString * const kGTLRCompute_FirewallLogConfig_Metadata_IncludeAllMetadata = @"INCLUDE_ALL_METADATA"; +// GTLRCompute_FirewallPoliciesScopedList_Warning.code +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_CleanupFailed = @"CLEANUP_FAILED"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_DeprecatedResourceUsed = @"DEPRECATED_RESOURCE_USED"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_DeprecatedTypeUsed = @"DEPRECATED_TYPE_USED"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_DiskSizeLargerThanImageSize = @"DISK_SIZE_LARGER_THAN_IMAGE_SIZE"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_ExperimentalTypeUsed = @"EXPERIMENTAL_TYPE_USED"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_ExternalApiWarning = @"EXTERNAL_API_WARNING"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_FieldValueOverriden = @"FIELD_VALUE_OVERRIDEN"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_InjectedKernelsDeprecated = @"INJECTED_KERNELS_DEPRECATED"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_InvalidHealthCheckForDynamicWieghtedLb = @"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_LargeDeploymentWarning = @"LARGE_DEPLOYMENT_WARNING"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_ListOverheadQuotaExceed = @"LIST_OVERHEAD_QUOTA_EXCEED"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_MissingTypeDependency = @"MISSING_TYPE_DEPENDENCY"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_NextHopAddressNotAssigned = @"NEXT_HOP_ADDRESS_NOT_ASSIGNED"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_NextHopCannotIpForward = @"NEXT_HOP_CANNOT_IP_FORWARD"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_NextHopInstanceHasNoIpv6Interface = @"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_NextHopInstanceNotFound = @"NEXT_HOP_INSTANCE_NOT_FOUND"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_NextHopInstanceNotOnNetwork = @"NEXT_HOP_INSTANCE_NOT_ON_NETWORK"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_NextHopNotRunning = @"NEXT_HOP_NOT_RUNNING"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_SchemaValidationIgnored = @"SCHEMA_VALIDATION_IGNORED"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_SingleInstancePropertyTemplate = @"SINGLE_INSTANCE_PROPERTY_TEMPLATE"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_UndeclaredProperties = @"UNDECLARED_PROPERTIES"; +NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_Unreachable = @"UNREACHABLE"; + // GTLRCompute_FirewallPolicyList_Warning.code NSString * const kGTLRCompute_FirewallPolicyList_Warning_Code_CleanupFailed = @"CLEANUP_FAILED"; NSString * const kGTLRCompute_FirewallPolicyList_Warning_Code_DeprecatedResourceUsed = @"DEPRECATED_RESOURCE_USED"; @@ -1227,6 +1287,7 @@ NSString * const kGTLRCompute_FirewallPolicyList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_FirewallPolicyList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_FirewallPolicyList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_FirewallPolicyList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_FirewallPolicyList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_FirewallPolicyList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_FirewallPolicyList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1301,6 +1362,7 @@ NSString * const kGTLRCompute_ForwardingRuleAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_ForwardingRuleAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_ForwardingRuleAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_ForwardingRuleAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_ForwardingRuleAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_ForwardingRuleAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_ForwardingRuleAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1331,6 +1393,7 @@ NSString * const kGTLRCompute_ForwardingRuleList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_ForwardingRuleList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_ForwardingRuleList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_ForwardingRuleList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_ForwardingRuleList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_ForwardingRuleList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_ForwardingRuleList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1361,6 +1424,7 @@ NSString * const kGTLRCompute_ForwardingRulesScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_ForwardingRulesScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_ForwardingRulesScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_ForwardingRulesScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_ForwardingRulesScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_ForwardingRulesScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_ForwardingRulesScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1420,6 +1484,7 @@ NSString * const kGTLRCompute_HealthCheckList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_HealthCheckList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_HealthCheckList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_HealthCheckList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_HealthCheckList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_HealthCheckList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_HealthCheckList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1450,6 +1515,7 @@ NSString * const kGTLRCompute_HealthChecksAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_HealthChecksAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_HealthChecksAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_HealthChecksAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_HealthChecksAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_HealthChecksAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_HealthChecksAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1484,6 +1550,7 @@ NSString * const kGTLRCompute_HealthCheckServicesList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_HealthCheckServicesList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_HealthCheckServicesList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_HealthCheckServicesList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_HealthCheckServicesList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_HealthCheckServicesList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_HealthCheckServicesList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1514,6 +1581,7 @@ NSString * const kGTLRCompute_HealthChecksScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_HealthChecksScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_HealthChecksScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_HealthChecksScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_HealthChecksScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_HealthChecksScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_HealthChecksScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1588,6 +1656,7 @@ NSString * const kGTLRCompute_HttpHealthCheckList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_HttpHealthCheckList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_HttpHealthCheckList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_HttpHealthCheckList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_HttpHealthCheckList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_HttpHealthCheckList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_HttpHealthCheckList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1634,6 +1703,7 @@ NSString * const kGTLRCompute_HttpsHealthCheckList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_HttpsHealthCheckList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_HttpsHealthCheckList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_HttpsHealthCheckList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_HttpsHealthCheckList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_HttpsHealthCheckList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_HttpsHealthCheckList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1681,6 +1751,7 @@ NSString * const kGTLRCompute_ImageList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_ImageList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_ImageList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_ImageList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_ImageList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_ImageList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_ImageList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1733,6 +1804,7 @@ NSString * const kGTLRCompute_InstanceAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InstanceAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InstanceAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InstanceAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InstanceAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InstanceAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InstanceAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1763,6 +1835,7 @@ NSString * const kGTLRCompute_InstanceGroupAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InstanceGroupAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InstanceGroupAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InstanceGroupAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InstanceGroupAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InstanceGroupAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InstanceGroupAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1793,6 +1866,7 @@ NSString * const kGTLRCompute_InstanceGroupList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InstanceGroupList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InstanceGroupList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InstanceGroupList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InstanceGroupList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InstanceGroupList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InstanceGroupList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1827,6 +1901,7 @@ NSString * const kGTLRCompute_InstanceGroupManagerAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InstanceGroupManagerAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InstanceGroupManagerAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InstanceGroupManagerAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InstanceGroupManagerAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InstanceGroupManagerAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InstanceGroupManagerAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1865,6 +1940,7 @@ NSString * const kGTLRCompute_InstanceGroupManagerList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InstanceGroupManagerList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InstanceGroupManagerList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InstanceGroupManagerList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InstanceGroupManagerList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InstanceGroupManagerList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InstanceGroupManagerList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1903,6 +1979,7 @@ NSString * const kGTLRCompute_InstanceGroupManagerResizeRequestsListResponse_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InstanceGroupManagerResizeRequestsListResponse_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InstanceGroupManagerResizeRequestsListResponse_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InstanceGroupManagerResizeRequestsListResponse_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InstanceGroupManagerResizeRequestsListResponse_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InstanceGroupManagerResizeRequestsListResponse_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InstanceGroupManagerResizeRequestsListResponse_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1945,6 +2022,7 @@ NSString * const kGTLRCompute_InstanceGroupManagersListPerInstanceConfigsResp_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InstanceGroupManagersListPerInstanceConfigsResp_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InstanceGroupManagersListPerInstanceConfigsResp_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InstanceGroupManagersListPerInstanceConfigsResp_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InstanceGroupManagersListPerInstanceConfigsResp_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InstanceGroupManagersListPerInstanceConfigsResp_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InstanceGroupManagersListPerInstanceConfigsResp_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1975,6 +2053,7 @@ NSString * const kGTLRCompute_InstanceGroupManagersScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InstanceGroupManagersScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InstanceGroupManagersScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InstanceGroupManagersScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InstanceGroupManagersScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InstanceGroupManagersScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InstanceGroupManagersScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -1983,6 +2062,10 @@ NSString * const kGTLRCompute_InstanceGroupManagersScopedList_Warning_Code_UndeclaredProperties = @"UNDECLARED_PROPERTIES"; NSString * const kGTLRCompute_InstanceGroupManagersScopedList_Warning_Code_Unreachable = @"UNREACHABLE"; +// GTLRCompute_InstanceGroupManagerStandbyPolicy.mode +NSString * const kGTLRCompute_InstanceGroupManagerStandbyPolicy_Mode_Manual = @"MANUAL"; +NSString * const kGTLRCompute_InstanceGroupManagerStandbyPolicy_Mode_ScaleOutPool = @"SCALE_OUT_POOL"; + // GTLRCompute_InstanceGroupManagerUpdatePolicy.instanceRedistributionType NSString * const kGTLRCompute_InstanceGroupManagerUpdatePolicy_InstanceRedistributionType_None = @"NONE"; NSString * const kGTLRCompute_InstanceGroupManagerUpdatePolicy_InstanceRedistributionType_Proactive = @"PROACTIVE"; @@ -2029,6 +2112,7 @@ NSString * const kGTLRCompute_InstanceGroupsListInstances_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InstanceGroupsListInstances_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InstanceGroupsListInstances_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InstanceGroupsListInstances_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InstanceGroupsListInstances_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InstanceGroupsListInstances_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InstanceGroupsListInstances_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -2063,6 +2147,7 @@ NSString * const kGTLRCompute_InstanceGroupsScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InstanceGroupsScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InstanceGroupsScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InstanceGroupsScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InstanceGroupsScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InstanceGroupsScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InstanceGroupsScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -2093,6 +2178,7 @@ NSString * const kGTLRCompute_InstanceList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InstanceList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InstanceList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InstanceList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InstanceList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InstanceList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InstanceList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -2123,6 +2209,7 @@ NSString * const kGTLRCompute_InstanceListReferrers_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InstanceListReferrers_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InstanceListReferrers_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InstanceListReferrers_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InstanceListReferrers_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InstanceListReferrers_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InstanceListReferrers_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -2186,6 +2273,7 @@ NSString * const kGTLRCompute_InstancesScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InstancesScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InstancesScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InstancesScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InstancesScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InstancesScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InstancesScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -2216,6 +2304,7 @@ NSString * const kGTLRCompute_InstanceTemplateAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InstanceTemplateAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InstanceTemplateAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InstanceTemplateAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InstanceTemplateAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InstanceTemplateAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InstanceTemplateAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -2246,6 +2335,7 @@ NSString * const kGTLRCompute_InstanceTemplateList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InstanceTemplateList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InstanceTemplateList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InstanceTemplateList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InstanceTemplateList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InstanceTemplateList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InstanceTemplateList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -2276,6 +2366,7 @@ NSString * const kGTLRCompute_InstanceTemplatesScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InstanceTemplatesScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InstanceTemplatesScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InstanceTemplatesScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InstanceTemplatesScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InstanceTemplatesScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InstanceTemplatesScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -2330,6 +2421,7 @@ NSString * const kGTLRCompute_InstantSnapshotAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InstantSnapshotAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InstantSnapshotAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InstantSnapshotAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InstantSnapshotAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InstantSnapshotAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InstantSnapshotAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -2360,6 +2452,7 @@ NSString * const kGTLRCompute_InstantSnapshotList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InstantSnapshotList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InstantSnapshotList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InstantSnapshotList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InstantSnapshotList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InstantSnapshotList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InstantSnapshotList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -2390,6 +2483,7 @@ NSString * const kGTLRCompute_InstantSnapshotsScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InstantSnapshotsScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InstantSnapshotsScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InstantSnapshotsScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InstantSnapshotsScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InstantSnapshotsScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InstantSnapshotsScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -2422,6 +2516,7 @@ NSString * const kGTLRCompute_Interconnect_State_Unprovisioned = @"UNPROVISIONED"; // GTLRCompute_InterconnectAttachment.bandwidth +NSString * const kGTLRCompute_InterconnectAttachment_Bandwidth_Bps100g = @"BPS_100G"; NSString * const kGTLRCompute_InterconnectAttachment_Bandwidth_Bps100m = @"BPS_100M"; NSString * const kGTLRCompute_InterconnectAttachment_Bandwidth_Bps10g = @"BPS_10G"; NSString * const kGTLRCompute_InterconnectAttachment_Bandwidth_Bps1g = @"BPS_1G"; @@ -2488,6 +2583,7 @@ NSString * const kGTLRCompute_InterconnectAttachmentAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InterconnectAttachmentAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InterconnectAttachmentAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InterconnectAttachmentAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InterconnectAttachmentAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InterconnectAttachmentAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InterconnectAttachmentAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -2523,6 +2619,7 @@ NSString * const kGTLRCompute_InterconnectAttachmentList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InterconnectAttachmentList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InterconnectAttachmentList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InterconnectAttachmentList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InterconnectAttachmentList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InterconnectAttachmentList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InterconnectAttachmentList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -2553,6 +2650,7 @@ NSString * const kGTLRCompute_InterconnectAttachmentsScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InterconnectAttachmentsScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InterconnectAttachmentsScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InterconnectAttachmentsScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InterconnectAttachmentsScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InterconnectAttachmentsScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InterconnectAttachmentsScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -2606,6 +2704,7 @@ NSString * const kGTLRCompute_InterconnectList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InterconnectList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InterconnectList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InterconnectList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InterconnectList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InterconnectList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InterconnectList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -2659,6 +2758,7 @@ NSString * const kGTLRCompute_InterconnectLocationList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InterconnectLocationList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InterconnectLocationList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InterconnectLocationList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InterconnectLocationList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InterconnectLocationList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InterconnectLocationList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -2735,6 +2835,7 @@ NSString * const kGTLRCompute_InterconnectRemoteLocationList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_InterconnectRemoteLocationList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_InterconnectRemoteLocationList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_InterconnectRemoteLocationList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_InterconnectRemoteLocationList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_InterconnectRemoteLocationList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_InterconnectRemoteLocationList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -2772,6 +2873,7 @@ NSString * const kGTLRCompute_LicensesListResponse_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_LicensesListResponse_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_LicensesListResponse_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_LicensesListResponse_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_LicensesListResponse_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_LicensesListResponse_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_LicensesListResponse_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -2819,6 +2921,7 @@ NSString * const kGTLRCompute_MachineImageList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_MachineImageList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_MachineImageList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_MachineImageList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_MachineImageList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_MachineImageList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_MachineImageList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -2854,6 +2957,7 @@ NSString * const kGTLRCompute_MachineTypeAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_MachineTypeAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_MachineTypeAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_MachineTypeAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_MachineTypeAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_MachineTypeAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_MachineTypeAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -2884,6 +2988,7 @@ NSString * const kGTLRCompute_MachineTypeList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_MachineTypeList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_MachineTypeList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_MachineTypeList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_MachineTypeList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_MachineTypeList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_MachineTypeList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -2914,6 +3019,7 @@ NSString * const kGTLRCompute_MachineTypesScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_MachineTypesScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_MachineTypesScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_MachineTypesScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_MachineTypesScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_MachineTypesScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_MachineTypesScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3000,6 +3106,7 @@ NSString * const kGTLRCompute_NetworkAttachmentAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_NetworkAttachmentAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_NetworkAttachmentAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_NetworkAttachmentAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_NetworkAttachmentAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_NetworkAttachmentAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_NetworkAttachmentAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3038,6 +3145,7 @@ NSString * const kGTLRCompute_NetworkAttachmentList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_NetworkAttachmentList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_NetworkAttachmentList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_NetworkAttachmentList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_NetworkAttachmentList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_NetworkAttachmentList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_NetworkAttachmentList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3068,6 +3176,7 @@ NSString * const kGTLRCompute_NetworkAttachmentsScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_NetworkAttachmentsScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_NetworkAttachmentsScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_NetworkAttachmentsScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_NetworkAttachmentsScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_NetworkAttachmentsScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_NetworkAttachmentsScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3098,6 +3207,7 @@ NSString * const kGTLRCompute_NetworkEdgeSecurityServiceAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_NetworkEdgeSecurityServiceAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_NetworkEdgeSecurityServiceAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_NetworkEdgeSecurityServiceAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_NetworkEdgeSecurityServiceAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_NetworkEdgeSecurityServiceAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_NetworkEdgeSecurityServiceAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3128,6 +3238,7 @@ NSString * const kGTLRCompute_NetworkEdgeSecurityServicesScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_NetworkEdgeSecurityServicesScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_NetworkEdgeSecurityServicesScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_NetworkEdgeSecurityServicesScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_NetworkEdgeSecurityServicesScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_NetworkEdgeSecurityServicesScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_NetworkEdgeSecurityServicesScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3168,6 +3279,7 @@ NSString * const kGTLRCompute_NetworkEndpointGroupAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_NetworkEndpointGroupAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_NetworkEndpointGroupAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_NetworkEndpointGroupAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_NetworkEndpointGroupAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_NetworkEndpointGroupAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_NetworkEndpointGroupAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3198,6 +3310,7 @@ NSString * const kGTLRCompute_NetworkEndpointGroupList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_NetworkEndpointGroupList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_NetworkEndpointGroupList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_NetworkEndpointGroupList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_NetworkEndpointGroupList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_NetworkEndpointGroupList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_NetworkEndpointGroupList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3240,6 +3353,7 @@ NSString * const kGTLRCompute_NetworkEndpointGroupsListNetworkEndpoints_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_NetworkEndpointGroupsListNetworkEndpoints_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_NetworkEndpointGroupsListNetworkEndpoints_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_NetworkEndpointGroupsListNetworkEndpoints_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_NetworkEndpointGroupsListNetworkEndpoints_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_NetworkEndpointGroupsListNetworkEndpoints_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_NetworkEndpointGroupsListNetworkEndpoints_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3270,6 +3384,7 @@ NSString * const kGTLRCompute_NetworkEndpointGroupsScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_NetworkEndpointGroupsScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_NetworkEndpointGroupsScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_NetworkEndpointGroupsScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_NetworkEndpointGroupsScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_NetworkEndpointGroupsScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_NetworkEndpointGroupsScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3278,6 +3393,37 @@ NSString * const kGTLRCompute_NetworkEndpointGroupsScopedList_Warning_Code_UndeclaredProperties = @"UNDECLARED_PROPERTIES"; NSString * const kGTLRCompute_NetworkEndpointGroupsScopedList_Warning_Code_Unreachable = @"UNREACHABLE"; +// GTLRCompute_NetworkFirewallPolicyAggregatedList_Warning.code +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_CleanupFailed = @"CLEANUP_FAILED"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_DeprecatedResourceUsed = @"DEPRECATED_RESOURCE_USED"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_DeprecatedTypeUsed = @"DEPRECATED_TYPE_USED"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_DiskSizeLargerThanImageSize = @"DISK_SIZE_LARGER_THAN_IMAGE_SIZE"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_ExperimentalTypeUsed = @"EXPERIMENTAL_TYPE_USED"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_ExternalApiWarning = @"EXTERNAL_API_WARNING"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_FieldValueOverriden = @"FIELD_VALUE_OVERRIDEN"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_InjectedKernelsDeprecated = @"INJECTED_KERNELS_DEPRECATED"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_InvalidHealthCheckForDynamicWieghtedLb = @"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_LargeDeploymentWarning = @"LARGE_DEPLOYMENT_WARNING"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_ListOverheadQuotaExceed = @"LIST_OVERHEAD_QUOTA_EXCEED"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_MissingTypeDependency = @"MISSING_TYPE_DEPENDENCY"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_NextHopAddressNotAssigned = @"NEXT_HOP_ADDRESS_NOT_ASSIGNED"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_NextHopCannotIpForward = @"NEXT_HOP_CANNOT_IP_FORWARD"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_NextHopInstanceHasNoIpv6Interface = @"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_NextHopInstanceNotFound = @"NEXT_HOP_INSTANCE_NOT_FOUND"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_NextHopInstanceNotOnNetwork = @"NEXT_HOP_INSTANCE_NOT_ON_NETWORK"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_NextHopNotRunning = @"NEXT_HOP_NOT_RUNNING"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_SchemaValidationIgnored = @"SCHEMA_VALIDATION_IGNORED"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_SingleInstancePropertyTemplate = @"SINGLE_INSTANCE_PROPERTY_TEMPLATE"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_UndeclaredProperties = @"UNDECLARED_PROPERTIES"; +NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_Unreachable = @"UNREACHABLE"; + // GTLRCompute_NetworkInterface.ipv6AccessType NSString * const kGTLRCompute_NetworkInterface_Ipv6AccessType_External = @"EXTERNAL"; NSString * const kGTLRCompute_NetworkInterface_Ipv6AccessType_Internal = @"INTERNAL"; @@ -3285,6 +3431,8 @@ // GTLRCompute_NetworkInterface.nicType NSString * const kGTLRCompute_NetworkInterface_NicType_Gvnic = @"GVNIC"; NSString * const kGTLRCompute_NetworkInterface_NicType_Idpf = @"IDPF"; +NSString * const kGTLRCompute_NetworkInterface_NicType_Irdma = @"IRDMA"; +NSString * const kGTLRCompute_NetworkInterface_NicType_Mrdma = @"MRDMA"; NSString * const kGTLRCompute_NetworkInterface_NicType_UnspecifiedNicType = @"UNSPECIFIED_NIC_TYPE"; NSString * const kGTLRCompute_NetworkInterface_NicType_VirtioNet = @"VIRTIO_NET"; @@ -3315,6 +3463,7 @@ NSString * const kGTLRCompute_NetworkList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_NetworkList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_NetworkList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_NetworkList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_NetworkList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_NetworkList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_NetworkList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3335,6 +3484,152 @@ NSString * const kGTLRCompute_NetworkPerformanceConfig_TotalEgressBandwidthTier_Default = @"DEFAULT"; NSString * const kGTLRCompute_NetworkPerformanceConfig_TotalEgressBandwidthTier_Tier1 = @"TIER_1"; +// GTLRCompute_NetworkProfileLocation.scope +NSString * const kGTLRCompute_NetworkProfileLocation_Scope_Region = @"REGION"; +NSString * const kGTLRCompute_NetworkProfileLocation_Scope_Zone = @"ZONE"; + +// GTLRCompute_NetworkProfileNetworkFeatures.addressPurposes +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AddressPurposes_DnsResolver = @"DNS_RESOLVER"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AddressPurposes_GceEndpoint = @"GCE_ENDPOINT"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AddressPurposes_IpsecInterconnect = @"IPSEC_INTERCONNECT"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AddressPurposes_NatAuto = @"NAT_AUTO"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AddressPurposes_PrivateServiceConnect = @"PRIVATE_SERVICE_CONNECT"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AddressPurposes_Serverless = @"SERVERLESS"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AddressPurposes_SharedLoadbalancerVip = @"SHARED_LOADBALANCER_VIP"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AddressPurposes_VpcPeering = @"VPC_PEERING"; + +// GTLRCompute_NetworkProfileNetworkFeatures.allowAliasIpRanges +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowAliasIpRanges_AliasIpRangesAllowed = @"ALIAS_IP_RANGES_ALLOWED"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowAliasIpRanges_AliasIpRangesBlocked = @"ALIAS_IP_RANGES_BLOCKED"; + +// GTLRCompute_NetworkProfileNetworkFeatures.allowAutoModeSubnet +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowAutoModeSubnet_AutoModeSubnetAllowed = @"AUTO_MODE_SUBNET_ALLOWED"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowAutoModeSubnet_AutoModeSubnetBlocked = @"AUTO_MODE_SUBNET_BLOCKED"; + +// GTLRCompute_NetworkProfileNetworkFeatures.allowClassDFirewalls +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowClassDFirewalls_ClassDFirewallsAllowed = @"CLASS_D_FIREWALLS_ALLOWED"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowClassDFirewalls_ClassDFirewallsBlocked = @"CLASS_D_FIREWALLS_BLOCKED"; + +// GTLRCompute_NetworkProfileNetworkFeatures.allowCloudNat +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowCloudNat_CloudNatAllowed = @"CLOUD_NAT_ALLOWED"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowCloudNat_CloudNatBlocked = @"CLOUD_NAT_BLOCKED"; + +// GTLRCompute_NetworkProfileNetworkFeatures.allowCloudRouter +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowCloudRouter_CloudRouterAllowed = @"CLOUD_ROUTER_ALLOWED"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowCloudRouter_CloudRouterBlocked = @"CLOUD_ROUTER_BLOCKED"; + +// GTLRCompute_NetworkProfileNetworkFeatures.allowExternalIpAccess +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowExternalIpAccess_ExternalIpAccessAllowed = @"EXTERNAL_IP_ACCESS_ALLOWED"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowExternalIpAccess_ExternalIpAccessBlocked = @"EXTERNAL_IP_ACCESS_BLOCKED"; + +// GTLRCompute_NetworkProfileNetworkFeatures.allowInterconnect +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowInterconnect_InterconnectAllowed = @"INTERCONNECT_ALLOWED"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowInterconnect_InterconnectBlocked = @"INTERCONNECT_BLOCKED"; + +// GTLRCompute_NetworkProfileNetworkFeatures.allowLoadBalancing +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowLoadBalancing_LoadBalancingAllowed = @"LOAD_BALANCING_ALLOWED"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowLoadBalancing_LoadBalancingBlocked = @"LOAD_BALANCING_BLOCKED"; + +// GTLRCompute_NetworkProfileNetworkFeatures.allowMultiNicInSameNetwork +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowMultiNicInSameNetwork_MultiNicInSameNetworkAllowed = @"MULTI_NIC_IN_SAME_NETWORK_ALLOWED"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowMultiNicInSameNetwork_MultiNicInSameNetworkBlocked = @"MULTI_NIC_IN_SAME_NETWORK_BLOCKED"; + +// GTLRCompute_NetworkProfileNetworkFeatures.allowPacketMirroring +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowPacketMirroring_PacketMirroringAllowed = @"PACKET_MIRRORING_ALLOWED"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowPacketMirroring_PacketMirroringBlocked = @"PACKET_MIRRORING_BLOCKED"; + +// GTLRCompute_NetworkProfileNetworkFeatures.allowPrivateGoogleAccess +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowPrivateGoogleAccess_PrivateGoogleAccessAllowed = @"PRIVATE_GOOGLE_ACCESS_ALLOWED"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowPrivateGoogleAccess_PrivateGoogleAccessBlocked = @"PRIVATE_GOOGLE_ACCESS_BLOCKED"; + +// GTLRCompute_NetworkProfileNetworkFeatures.allowPsc +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowPsc_PscAllowed = @"PSC_ALLOWED"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowPsc_PscBlocked = @"PSC_BLOCKED"; + +// GTLRCompute_NetworkProfileNetworkFeatures.allowSameNetworkUnicast +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowSameNetworkUnicast_SameNetworkUnicastAllowed = @"SAME_NETWORK_UNICAST_ALLOWED"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowSameNetworkUnicast_SameNetworkUnicastBlocked = @"SAME_NETWORK_UNICAST_BLOCKED"; + +// GTLRCompute_NetworkProfileNetworkFeatures.allowStaticRoutes +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowStaticRoutes_StaticRoutesAllowed = @"STATIC_ROUTES_ALLOWED"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowStaticRoutes_StaticRoutesBlocked = @"STATIC_ROUTES_BLOCKED"; + +// GTLRCompute_NetworkProfileNetworkFeatures.allowSubInterfaces +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowSubInterfaces_SubinterfacesAllowed = @"SUBINTERFACES_ALLOWED"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowSubInterfaces_SubinterfacesBlocked = @"SUBINTERFACES_BLOCKED"; + +// GTLRCompute_NetworkProfileNetworkFeatures.allowVpcPeering +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowVpcPeering_VpcPeeringAllowed = @"VPC_PEERING_ALLOWED"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowVpcPeering_VpcPeeringBlocked = @"VPC_PEERING_BLOCKED"; + +// GTLRCompute_NetworkProfileNetworkFeatures.allowVpn +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowVpn_VpnAllowed = @"VPN_ALLOWED"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowVpn_VpnBlocked = @"VPN_BLOCKED"; + +// GTLRCompute_NetworkProfileNetworkFeatures.interfaceTypes +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_InterfaceTypes_Gvnic = @"GVNIC"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_InterfaceTypes_Idpf = @"IDPF"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_InterfaceTypes_Irdma = @"IRDMA"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_InterfaceTypes_Mrdma = @"MRDMA"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_InterfaceTypes_UnspecifiedNicType = @"UNSPECIFIED_NIC_TYPE"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_InterfaceTypes_VirtioNet = @"VIRTIO_NET"; + +// GTLRCompute_NetworkProfileNetworkFeatures.subnetPurposes +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_SubnetPurposes_SubnetPurposeCustomHardware = @"SUBNET_PURPOSE_CUSTOM_HARDWARE"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_SubnetPurposes_SubnetPurposePrivate = @"SUBNET_PURPOSE_PRIVATE"; + +// GTLRCompute_NetworkProfileNetworkFeatures.subnetStackTypes +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_SubnetStackTypes_SubnetStackTypeIpv4Ipv6 = @"SUBNET_STACK_TYPE_IPV4_IPV6"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_SubnetStackTypes_SubnetStackTypeIpv4Only = @"SUBNET_STACK_TYPE_IPV4_ONLY"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_SubnetStackTypes_SubnetStackTypeIpv6Only = @"SUBNET_STACK_TYPE_IPV6_ONLY"; + +// GTLRCompute_NetworkProfileNetworkFeatures.unicast +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_Unicast_UnicastSdn = @"UNICAST_SDN"; +NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_Unicast_UnicastUll = @"UNICAST_ULL"; + +// GTLRCompute_NetworkProfilesListResponse_Warning.code +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_CleanupFailed = @"CLEANUP_FAILED"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_DeprecatedResourceUsed = @"DEPRECATED_RESOURCE_USED"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_DeprecatedTypeUsed = @"DEPRECATED_TYPE_USED"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_DiskSizeLargerThanImageSize = @"DISK_SIZE_LARGER_THAN_IMAGE_SIZE"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_ExperimentalTypeUsed = @"EXPERIMENTAL_TYPE_USED"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_ExternalApiWarning = @"EXTERNAL_API_WARNING"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_FieldValueOverriden = @"FIELD_VALUE_OVERRIDEN"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_InjectedKernelsDeprecated = @"INJECTED_KERNELS_DEPRECATED"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_InvalidHealthCheckForDynamicWieghtedLb = @"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_LargeDeploymentWarning = @"LARGE_DEPLOYMENT_WARNING"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_ListOverheadQuotaExceed = @"LIST_OVERHEAD_QUOTA_EXCEED"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_MissingTypeDependency = @"MISSING_TYPE_DEPENDENCY"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_NextHopAddressNotAssigned = @"NEXT_HOP_ADDRESS_NOT_ASSIGNED"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_NextHopCannotIpForward = @"NEXT_HOP_CANNOT_IP_FORWARD"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_NextHopInstanceHasNoIpv6Interface = @"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_NextHopInstanceNotFound = @"NEXT_HOP_INSTANCE_NOT_FOUND"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_NextHopInstanceNotOnNetwork = @"NEXT_HOP_INSTANCE_NOT_ON_NETWORK"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_NextHopNotRunning = @"NEXT_HOP_NOT_RUNNING"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_SchemaValidationIgnored = @"SCHEMA_VALIDATION_IGNORED"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_SingleInstancePropertyTemplate = @"SINGLE_INSTANCE_PROPERTY_TEMPLATE"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_UndeclaredProperties = @"UNDECLARED_PROPERTIES"; +NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_Unreachable = @"UNREACHABLE"; + +// GTLRCompute_NetworkRoutingConfig.bgpBestPathSelectionMode +NSString * const kGTLRCompute_NetworkRoutingConfig_BgpBestPathSelectionMode_Legacy = @"LEGACY"; +NSString * const kGTLRCompute_NetworkRoutingConfig_BgpBestPathSelectionMode_Standard = @"STANDARD"; + +// GTLRCompute_NetworkRoutingConfig.bgpInterRegionCost +NSString * const kGTLRCompute_NetworkRoutingConfig_BgpInterRegionCost_AddCostToMed = @"ADD_COST_TO_MED"; +NSString * const kGTLRCompute_NetworkRoutingConfig_BgpInterRegionCost_Default = @"DEFAULT"; + +// GTLRCompute_NetworkRoutingConfig.effectiveBgpInterRegionCost +NSString * const kGTLRCompute_NetworkRoutingConfig_EffectiveBgpInterRegionCost_AddCostToMed = @"ADD_COST_TO_MED"; +NSString * const kGTLRCompute_NetworkRoutingConfig_EffectiveBgpInterRegionCost_Default = @"DEFAULT"; + // GTLRCompute_NetworkRoutingConfig.routingMode NSString * const kGTLRCompute_NetworkRoutingConfig_RoutingMode_Global = @"GLOBAL"; NSString * const kGTLRCompute_NetworkRoutingConfig_RoutingMode_Regional = @"REGIONAL"; @@ -3383,6 +3678,7 @@ NSString * const kGTLRCompute_NodeGroupAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_NodeGroupAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_NodeGroupAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_NodeGroupAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_NodeGroupAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_NodeGroupAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_NodeGroupAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3419,6 +3715,7 @@ NSString * const kGTLRCompute_NodeGroupList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_NodeGroupList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_NodeGroupList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_NodeGroupList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_NodeGroupList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_NodeGroupList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_NodeGroupList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3461,6 +3758,7 @@ NSString * const kGTLRCompute_NodeGroupsListNodes_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_NodeGroupsListNodes_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_NodeGroupsListNodes_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_NodeGroupsListNodes_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_NodeGroupsListNodes_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_NodeGroupsListNodes_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_NodeGroupsListNodes_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3491,6 +3789,7 @@ NSString * const kGTLRCompute_NodeGroupsScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_NodeGroupsScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_NodeGroupsScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_NodeGroupsScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_NodeGroupsScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_NodeGroupsScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_NodeGroupsScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3532,6 +3831,7 @@ NSString * const kGTLRCompute_NodeTemplateAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_NodeTemplateAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_NodeTemplateAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_NodeTemplateAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_NodeTemplateAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_NodeTemplateAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_NodeTemplateAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3562,6 +3862,7 @@ NSString * const kGTLRCompute_NodeTemplateList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_NodeTemplateList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_NodeTemplateList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_NodeTemplateList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_NodeTemplateList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_NodeTemplateList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_NodeTemplateList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3592,6 +3893,7 @@ NSString * const kGTLRCompute_NodeTemplatesScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_NodeTemplatesScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_NodeTemplatesScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_NodeTemplatesScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_NodeTemplatesScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_NodeTemplatesScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_NodeTemplatesScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3622,6 +3924,7 @@ NSString * const kGTLRCompute_NodeTypeAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_NodeTypeAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_NodeTypeAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_NodeTypeAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_NodeTypeAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_NodeTypeAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_NodeTypeAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3652,6 +3955,7 @@ NSString * const kGTLRCompute_NodeTypeList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_NodeTypeList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_NodeTypeList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_NodeTypeList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_NodeTypeList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_NodeTypeList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_NodeTypeList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3682,6 +3986,7 @@ NSString * const kGTLRCompute_NodeTypesScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_NodeTypesScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_NodeTypesScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_NodeTypesScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_NodeTypesScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_NodeTypesScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_NodeTypesScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3712,6 +4017,7 @@ NSString * const kGTLRCompute_NotificationEndpointList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_NotificationEndpointList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_NotificationEndpointList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_NotificationEndpointList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_NotificationEndpointList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_NotificationEndpointList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_NotificationEndpointList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3747,6 +4053,7 @@ NSString * const kGTLRCompute_Operation_Warnings_Item_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_Operation_Warnings_Item_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_Operation_Warnings_Item_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_Operation_Warnings_Item_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_Operation_Warnings_Item_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_Operation_Warnings_Item_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_Operation_Warnings_Item_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3777,6 +4084,7 @@ NSString * const kGTLRCompute_OperationAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_OperationAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_OperationAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_OperationAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_OperationAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_OperationAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_OperationAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3807,6 +4115,7 @@ NSString * const kGTLRCompute_OperationList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_OperationList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_OperationList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_OperationList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_OperationList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_OperationList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_OperationList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3837,6 +4146,7 @@ NSString * const kGTLRCompute_OperationsScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_OperationsScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_OperationsScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_OperationsScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_OperationsScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_OperationsScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_OperationsScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3883,6 +4193,7 @@ NSString * const kGTLRCompute_PacketMirroringAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_PacketMirroringAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_PacketMirroringAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_PacketMirroringAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_PacketMirroringAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_PacketMirroringAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_PacketMirroringAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3918,6 +4229,7 @@ NSString * const kGTLRCompute_PacketMirroringList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_PacketMirroringList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_PacketMirroringList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_PacketMirroringList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_PacketMirroringList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_PacketMirroringList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_PacketMirroringList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -3948,6 +4260,7 @@ NSString * const kGTLRCompute_PacketMirroringsScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_PacketMirroringsScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_PacketMirroringsScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_PacketMirroringsScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_PacketMirroringsScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_PacketMirroringsScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_PacketMirroringsScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -4050,6 +4363,7 @@ NSString * const kGTLRCompute_PublicAdvertisedPrefixList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_PublicAdvertisedPrefixList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_PublicAdvertisedPrefixList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_PublicAdvertisedPrefixList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_PublicAdvertisedPrefixList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_PublicAdvertisedPrefixList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_PublicAdvertisedPrefixList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -4096,6 +4410,7 @@ NSString * const kGTLRCompute_PublicDelegatedPrefixAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_PublicDelegatedPrefixAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_PublicDelegatedPrefixAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_PublicDelegatedPrefixAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_PublicDelegatedPrefixAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_PublicDelegatedPrefixAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_PublicDelegatedPrefixAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -4126,6 +4441,7 @@ NSString * const kGTLRCompute_PublicDelegatedPrefixesScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_PublicDelegatedPrefixesScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_PublicDelegatedPrefixesScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_PublicDelegatedPrefixesScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_PublicDelegatedPrefixesScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_PublicDelegatedPrefixesScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_PublicDelegatedPrefixesScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -4156,6 +4472,7 @@ NSString * const kGTLRCompute_PublicDelegatedPrefixList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_PublicDelegatedPrefixList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_PublicDelegatedPrefixList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_PublicDelegatedPrefixList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_PublicDelegatedPrefixList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_PublicDelegatedPrefixList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_PublicDelegatedPrefixList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -4368,6 +4685,7 @@ NSString * const kGTLRCompute_Region_QuotaStatusWarning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_Region_QuotaStatusWarning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_Region_QuotaStatusWarning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_Region_QuotaStatusWarning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_Region_QuotaStatusWarning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_Region_QuotaStatusWarning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_Region_QuotaStatusWarning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -4398,6 +4716,7 @@ NSString * const kGTLRCompute_RegionAutoscalerList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_RegionAutoscalerList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_RegionAutoscalerList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_RegionAutoscalerList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_RegionAutoscalerList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_RegionAutoscalerList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_RegionAutoscalerList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -4428,6 +4747,7 @@ NSString * const kGTLRCompute_RegionDiskTypeList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_RegionDiskTypeList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_RegionDiskTypeList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_RegionDiskTypeList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_RegionDiskTypeList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_RegionDiskTypeList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_RegionDiskTypeList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -4458,6 +4778,7 @@ NSString * const kGTLRCompute_RegionInstanceGroupList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_RegionInstanceGroupList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_RegionInstanceGroupList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_RegionInstanceGroupList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_RegionInstanceGroupList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_RegionInstanceGroupList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_RegionInstanceGroupList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -4488,6 +4809,7 @@ NSString * const kGTLRCompute_RegionInstanceGroupManagerList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_RegionInstanceGroupManagerList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_RegionInstanceGroupManagerList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_RegionInstanceGroupManagerList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_RegionInstanceGroupManagerList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_RegionInstanceGroupManagerList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_RegionInstanceGroupManagerList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -4530,6 +4852,7 @@ NSString * const kGTLRCompute_RegionInstanceGroupManagersListInstanceConfigsResp_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_RegionInstanceGroupManagersListInstanceConfigsResp_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_RegionInstanceGroupManagersListInstanceConfigsResp_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_RegionInstanceGroupManagersListInstanceConfigsResp_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_RegionInstanceGroupManagersListInstanceConfigsResp_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_RegionInstanceGroupManagersListInstanceConfigsResp_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_RegionInstanceGroupManagersListInstanceConfigsResp_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -4560,6 +4883,7 @@ NSString * const kGTLRCompute_RegionInstanceGroupsListInstances_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_RegionInstanceGroupsListInstances_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_RegionInstanceGroupsListInstances_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_RegionInstanceGroupsListInstances_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_RegionInstanceGroupsListInstances_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_RegionInstanceGroupsListInstances_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_RegionInstanceGroupsListInstances_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -4594,6 +4918,7 @@ NSString * const kGTLRCompute_RegionList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_RegionList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_RegionList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_RegionList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_RegionList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_RegionList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_RegionList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -4643,6 +4968,7 @@ NSString * const kGTLRCompute_ReservationAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_ReservationAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_ReservationAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_ReservationAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_ReservationAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_ReservationAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_ReservationAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -4673,6 +4999,7 @@ NSString * const kGTLRCompute_ReservationList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_ReservationList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_ReservationList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_ReservationList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_ReservationList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_ReservationList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_ReservationList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -4703,6 +5030,7 @@ NSString * const kGTLRCompute_ReservationsScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_ReservationsScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_ReservationsScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_ReservationsScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_ReservationsScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_ReservationsScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_ReservationsScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -4740,6 +5068,7 @@ NSString * const kGTLRCompute_ResourcePoliciesScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_ResourcePoliciesScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_ResourcePoliciesScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_ResourcePoliciesScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_ResourcePoliciesScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_ResourcePoliciesScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_ResourcePoliciesScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -4777,6 +5106,7 @@ NSString * const kGTLRCompute_ResourcePolicyAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_ResourcePolicyAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_ResourcePolicyAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_ResourcePolicyAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_ResourcePolicyAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_ResourcePolicyAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_ResourcePolicyAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -4811,6 +5141,7 @@ NSString * const kGTLRCompute_ResourcePolicyList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_ResourcePolicyList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_ResourcePolicyList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_ResourcePolicyList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_ResourcePolicyList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_ResourcePolicyList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_ResourcePolicyList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -4834,6 +5165,11 @@ NSString * const kGTLRCompute_ResourcePolicyWeeklyCycleDayOfWeek_Day_Tuesday = @"TUESDAY"; NSString * const kGTLRCompute_ResourcePolicyWeeklyCycleDayOfWeek_Day_Wednesday = @"WEDNESDAY"; +// GTLRCompute_Route.nextHopOrigin +NSString * const kGTLRCompute_Route_NextHopOrigin_Egp = @"EGP"; +NSString * const kGTLRCompute_Route_NextHopOrigin_Igp = @"IGP"; +NSString * const kGTLRCompute_Route_NextHopOrigin_Incomplete = @"INCOMPLETE"; + // GTLRCompute_Route.routeStatus NSString * const kGTLRCompute_Route_RouteStatus_Active = @"ACTIVE"; NSString * const kGTLRCompute_Route_RouteStatus_Dropped = @"DROPPED"; @@ -4868,6 +5204,7 @@ NSString * const kGTLRCompute_Route_Warnings_Item_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_Route_Warnings_Item_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_Route_Warnings_Item_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_Route_Warnings_Item_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_Route_Warnings_Item_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_Route_Warnings_Item_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_Route_Warnings_Item_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -4904,6 +5241,7 @@ NSString * const kGTLRCompute_RouteList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_RouteList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_RouteList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_RouteList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_RouteList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_RouteList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_RouteList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -4934,6 +5272,7 @@ NSString * const kGTLRCompute_RouterAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_RouterAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_RouterAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_RouterAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_RouterAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_RouterAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_RouterAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -4999,6 +5338,7 @@ NSString * const kGTLRCompute_RouterList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_RouterList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_RouterList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_RouterList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_RouterList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_RouterList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_RouterList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -5063,6 +5403,7 @@ NSString * const kGTLRCompute_RoutersScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_RoutersScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_RoutersScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_RoutersScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_RoutersScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_RoutersScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_RoutersScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -5153,6 +5494,7 @@ NSString * const kGTLRCompute_SecurityPoliciesAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_SecurityPoliciesAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_SecurityPoliciesAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_SecurityPoliciesAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_SecurityPoliciesAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_SecurityPoliciesAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_SecurityPoliciesAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -5183,6 +5525,7 @@ NSString * const kGTLRCompute_SecurityPoliciesScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_SecurityPoliciesScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_SecurityPoliciesScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_SecurityPoliciesScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_SecurityPoliciesScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_SecurityPoliciesScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_SecurityPoliciesScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -5240,6 +5583,7 @@ NSString * const kGTLRCompute_SecurityPolicyList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_SecurityPolicyList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_SecurityPolicyList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_SecurityPolicyList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_SecurityPolicyList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_SecurityPolicyList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_SecurityPolicyList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -5267,6 +5611,7 @@ NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_RegionCode = @"REGION_CODE"; NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_Sni = @"SNI"; NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_TlsJa3Fingerprint = @"TLS_JA3_FINGERPRINT"; +NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_TlsJa4Fingerprint = @"TLS_JA4_FINGERPRINT"; NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_UserIp = @"USER_IP"; NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_XffIp = @"XFF_IP"; @@ -5279,6 +5624,7 @@ NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_RegionCode = @"REGION_CODE"; NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_Sni = @"SNI"; NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_TlsJa3Fingerprint = @"TLS_JA3_FINGERPRINT"; +NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_TlsJa4Fingerprint = @"TLS_JA4_FINGERPRINT"; NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_UserIp = @"USER_IP"; NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_XffIp = @"XFF_IP"; @@ -5324,6 +5670,7 @@ NSString * const kGTLRCompute_ServiceAttachmentAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_ServiceAttachmentAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_ServiceAttachmentAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_ServiceAttachmentAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_ServiceAttachmentAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_ServiceAttachmentAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_ServiceAttachmentAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -5362,6 +5709,7 @@ NSString * const kGTLRCompute_ServiceAttachmentList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_ServiceAttachmentList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_ServiceAttachmentList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_ServiceAttachmentList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_ServiceAttachmentList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_ServiceAttachmentList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_ServiceAttachmentList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -5392,6 +5740,7 @@ NSString * const kGTLRCompute_ServiceAttachmentsScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_ServiceAttachmentsScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_ServiceAttachmentsScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_ServiceAttachmentsScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_ServiceAttachmentsScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_ServiceAttachmentsScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_ServiceAttachmentsScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -5456,6 +5805,7 @@ NSString * const kGTLRCompute_SnapshotList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_SnapshotList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_SnapshotList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_SnapshotList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_SnapshotList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_SnapshotList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_SnapshotList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -5502,6 +5852,7 @@ NSString * const kGTLRCompute_SslCertificateAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_SslCertificateAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_SslCertificateAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_SslCertificateAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_SslCertificateAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_SslCertificateAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_SslCertificateAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -5532,6 +5883,7 @@ NSString * const kGTLRCompute_SslCertificateList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_SslCertificateList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_SslCertificateList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_SslCertificateList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_SslCertificateList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_SslCertificateList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_SslCertificateList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -5579,6 +5931,7 @@ NSString * const kGTLRCompute_SslCertificatesScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_SslCertificatesScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_SslCertificatesScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_SslCertificatesScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_SslCertificatesScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_SslCertificatesScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_SslCertificatesScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -5618,6 +5971,7 @@ NSString * const kGTLRCompute_SslPoliciesAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_SslPoliciesAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_SslPoliciesAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_SslPoliciesAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_SslPoliciesAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_SslPoliciesAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_SslPoliciesAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -5648,6 +6002,7 @@ NSString * const kGTLRCompute_SslPoliciesList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_SslPoliciesList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_SslPoliciesList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_SslPoliciesList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_SslPoliciesList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_SslPoliciesList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_SslPoliciesList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -5678,6 +6033,7 @@ NSString * const kGTLRCompute_SslPoliciesScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_SslPoliciesScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_SslPoliciesScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_SslPoliciesScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_SslPoliciesScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_SslPoliciesScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_SslPoliciesScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -5719,6 +6075,7 @@ NSString * const kGTLRCompute_SslPolicy_Warnings_Item_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_SslPolicy_Warnings_Item_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_SslPolicy_Warnings_Item_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_SslPolicy_Warnings_Item_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_SslPolicy_Warnings_Item_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_SslPolicy_Warnings_Item_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_SslPolicy_Warnings_Item_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -5773,6 +6130,7 @@ NSString * const kGTLRCompute_StoragePoolAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_StoragePoolAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_StoragePoolAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_StoragePoolAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_StoragePoolAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_StoragePoolAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_StoragePoolAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -5811,6 +6169,7 @@ NSString * const kGTLRCompute_StoragePoolList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_StoragePoolList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_StoragePoolList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_StoragePoolList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_StoragePoolList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_StoragePoolList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_StoragePoolList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -5841,6 +6200,7 @@ NSString * const kGTLRCompute_StoragePoolListDisks_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_StoragePoolListDisks_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_StoragePoolListDisks_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_StoragePoolListDisks_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_StoragePoolListDisks_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_StoragePoolListDisks_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_StoragePoolListDisks_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -5871,6 +6231,7 @@ NSString * const kGTLRCompute_StoragePoolsScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_StoragePoolsScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_StoragePoolsScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_StoragePoolsScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_StoragePoolsScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_StoragePoolsScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_StoragePoolsScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -5901,6 +6262,7 @@ NSString * const kGTLRCompute_StoragePoolTypeAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_StoragePoolTypeAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_StoragePoolTypeAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_StoragePoolTypeAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_StoragePoolTypeAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_StoragePoolTypeAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_StoragePoolTypeAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -5931,6 +6293,7 @@ NSString * const kGTLRCompute_StoragePoolTypeList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_StoragePoolTypeList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_StoragePoolTypeList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_StoragePoolTypeList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_StoragePoolTypeList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_StoragePoolTypeList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_StoragePoolTypeList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -5961,6 +6324,7 @@ NSString * const kGTLRCompute_StoragePoolTypesScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_StoragePoolTypesScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_StoragePoolTypesScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_StoragePoolTypesScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_StoragePoolTypesScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_StoragePoolTypesScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_StoragePoolTypesScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -5981,6 +6345,7 @@ // GTLRCompute_Subnetwork.purpose NSString * const kGTLRCompute_Subnetwork_Purpose_GlobalManagedProxy = @"GLOBAL_MANAGED_PROXY"; NSString * const kGTLRCompute_Subnetwork_Purpose_InternalHttpsLoadBalancer = @"INTERNAL_HTTPS_LOAD_BALANCER"; +NSString * const kGTLRCompute_Subnetwork_Purpose_PeerMigration = @"PEER_MIGRATION"; NSString * const kGTLRCompute_Subnetwork_Purpose_Private = @"PRIVATE"; NSString * const kGTLRCompute_Subnetwork_Purpose_PrivateNat = @"PRIVATE_NAT"; NSString * const kGTLRCompute_Subnetwork_Purpose_PrivateRfc1918 = @"PRIVATE_RFC_1918"; @@ -6022,6 +6387,7 @@ NSString * const kGTLRCompute_SubnetworkAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_SubnetworkAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_SubnetworkAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_SubnetworkAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_SubnetworkAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_SubnetworkAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_SubnetworkAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6052,6 +6418,7 @@ NSString * const kGTLRCompute_SubnetworkList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_SubnetworkList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_SubnetworkList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_SubnetworkList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_SubnetworkList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_SubnetworkList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_SubnetworkList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6095,6 +6462,7 @@ NSString * const kGTLRCompute_SubnetworksScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_SubnetworksScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_SubnetworksScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_SubnetworksScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_SubnetworksScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_SubnetworksScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_SubnetworksScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6129,6 +6497,7 @@ NSString * const kGTLRCompute_TargetGrpcProxyList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_TargetGrpcProxyList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_TargetGrpcProxyList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_TargetGrpcProxyList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_TargetGrpcProxyList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_TargetGrpcProxyList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_TargetGrpcProxyList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6159,6 +6528,7 @@ NSString * const kGTLRCompute_TargetHttpProxiesScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_TargetHttpProxiesScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_TargetHttpProxiesScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_TargetHttpProxiesScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_TargetHttpProxiesScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_TargetHttpProxiesScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_TargetHttpProxiesScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6189,6 +6559,7 @@ NSString * const kGTLRCompute_TargetHttpProxyList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_TargetHttpProxyList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_TargetHttpProxyList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_TargetHttpProxyList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_TargetHttpProxyList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_TargetHttpProxyList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_TargetHttpProxyList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6219,6 +6590,7 @@ NSString * const kGTLRCompute_TargetHttpsProxiesScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_TargetHttpsProxiesScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_TargetHttpsProxiesScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_TargetHttpsProxiesScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_TargetHttpsProxiesScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_TargetHttpsProxiesScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_TargetHttpsProxiesScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6241,6 +6613,7 @@ NSString * const kGTLRCompute_TargetHttpsProxy_TlsEarlyData_Disabled = @"DISABLED"; NSString * const kGTLRCompute_TargetHttpsProxy_TlsEarlyData_Permissive = @"PERMISSIVE"; NSString * const kGTLRCompute_TargetHttpsProxy_TlsEarlyData_Strict = @"STRICT"; +NSString * const kGTLRCompute_TargetHttpsProxy_TlsEarlyData_Unrestricted = @"UNRESTRICTED"; // GTLRCompute_TargetHttpsProxyAggregatedList_Warning.code NSString * const kGTLRCompute_TargetHttpsProxyAggregatedList_Warning_Code_CleanupFailed = @"CLEANUP_FAILED"; @@ -6264,6 +6637,7 @@ NSString * const kGTLRCompute_TargetHttpsProxyAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_TargetHttpsProxyAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_TargetHttpsProxyAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_TargetHttpsProxyAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_TargetHttpsProxyAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_TargetHttpsProxyAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_TargetHttpsProxyAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6294,6 +6668,7 @@ NSString * const kGTLRCompute_TargetHttpsProxyList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_TargetHttpsProxyList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_TargetHttpsProxyList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_TargetHttpsProxyList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_TargetHttpsProxyList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_TargetHttpsProxyList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_TargetHttpsProxyList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6327,6 +6702,7 @@ NSString * const kGTLRCompute_TargetInstanceAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_TargetInstanceAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_TargetInstanceAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_TargetInstanceAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_TargetInstanceAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_TargetInstanceAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_TargetInstanceAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6357,6 +6733,7 @@ NSString * const kGTLRCompute_TargetInstanceList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_TargetInstanceList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_TargetInstanceList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_TargetInstanceList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_TargetInstanceList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_TargetInstanceList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_TargetInstanceList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6387,6 +6764,7 @@ NSString * const kGTLRCompute_TargetInstancesScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_TargetInstancesScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_TargetInstancesScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_TargetInstancesScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_TargetInstancesScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_TargetInstancesScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_TargetInstancesScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6428,6 +6806,7 @@ NSString * const kGTLRCompute_TargetPoolAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_TargetPoolAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_TargetPoolAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_TargetPoolAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_TargetPoolAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_TargetPoolAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_TargetPoolAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6458,6 +6837,7 @@ NSString * const kGTLRCompute_TargetPoolList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_TargetPoolList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_TargetPoolList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_TargetPoolList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_TargetPoolList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_TargetPoolList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_TargetPoolList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6488,6 +6868,7 @@ NSString * const kGTLRCompute_TargetPoolsScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_TargetPoolsScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_TargetPoolsScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_TargetPoolsScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_TargetPoolsScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_TargetPoolsScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_TargetPoolsScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6526,6 +6907,7 @@ NSString * const kGTLRCompute_TargetSslProxyList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_TargetSslProxyList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_TargetSslProxyList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_TargetSslProxyList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_TargetSslProxyList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_TargetSslProxyList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_TargetSslProxyList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6556,6 +6938,7 @@ NSString * const kGTLRCompute_TargetTcpProxiesScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_TargetTcpProxiesScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_TargetTcpProxiesScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_TargetTcpProxiesScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_TargetTcpProxiesScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_TargetTcpProxiesScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_TargetTcpProxiesScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6594,6 +6977,7 @@ NSString * const kGTLRCompute_TargetTcpProxyAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_TargetTcpProxyAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_TargetTcpProxyAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_TargetTcpProxyAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_TargetTcpProxyAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_TargetTcpProxyAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_TargetTcpProxyAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6624,6 +7008,7 @@ NSString * const kGTLRCompute_TargetTcpProxyList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_TargetTcpProxyList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_TargetTcpProxyList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_TargetTcpProxyList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_TargetTcpProxyList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_TargetTcpProxyList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_TargetTcpProxyList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6660,6 +7045,7 @@ NSString * const kGTLRCompute_TargetVpnGatewayAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_TargetVpnGatewayAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_TargetVpnGatewayAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_TargetVpnGatewayAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_TargetVpnGatewayAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_TargetVpnGatewayAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_TargetVpnGatewayAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6690,6 +7076,7 @@ NSString * const kGTLRCompute_TargetVpnGatewayList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_TargetVpnGatewayList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_TargetVpnGatewayList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_TargetVpnGatewayList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_TargetVpnGatewayList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_TargetVpnGatewayList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_TargetVpnGatewayList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6720,6 +7107,7 @@ NSString * const kGTLRCompute_TargetVpnGatewaysScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_TargetVpnGatewaysScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_TargetVpnGatewaysScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_TargetVpnGatewaysScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_TargetVpnGatewaysScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_TargetVpnGatewaysScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_TargetVpnGatewaysScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6769,6 +7157,7 @@ NSString * const kGTLRCompute_UrlMapList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_UrlMapList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_UrlMapList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_UrlMapList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_UrlMapList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_UrlMapList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_UrlMapList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6799,6 +7188,7 @@ NSString * const kGTLRCompute_UrlMapsAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_UrlMapsAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_UrlMapsAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_UrlMapsAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_UrlMapsAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_UrlMapsAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_UrlMapsAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6829,6 +7219,7 @@ NSString * const kGTLRCompute_UrlMapsScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_UrlMapsScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_UrlMapsScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_UrlMapsScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_UrlMapsScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_UrlMapsScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_UrlMapsScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6849,6 +7240,7 @@ // GTLRCompute_UsableSubnetwork.purpose NSString * const kGTLRCompute_UsableSubnetwork_Purpose_GlobalManagedProxy = @"GLOBAL_MANAGED_PROXY"; NSString * const kGTLRCompute_UsableSubnetwork_Purpose_InternalHttpsLoadBalancer = @"INTERNAL_HTTPS_LOAD_BALANCER"; +NSString * const kGTLRCompute_UsableSubnetwork_Purpose_PeerMigration = @"PEER_MIGRATION"; NSString * const kGTLRCompute_UsableSubnetwork_Purpose_Private = @"PRIVATE"; NSString * const kGTLRCompute_UsableSubnetwork_Purpose_PrivateNat = @"PRIVATE_NAT"; NSString * const kGTLRCompute_UsableSubnetwork_Purpose_PrivateRfc1918 = @"PRIVATE_RFC_1918"; @@ -6886,6 +7278,7 @@ NSString * const kGTLRCompute_UsableSubnetworksAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_UsableSubnetworksAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_UsableSubnetworksAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_UsableSubnetworksAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_UsableSubnetworksAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_UsableSubnetworksAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_UsableSubnetworksAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6916,6 +7309,7 @@ NSString * const kGTLRCompute_VmEndpointNatMappingsList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_VmEndpointNatMappingsList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_VmEndpointNatMappingsList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_VmEndpointNatMappingsList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_VmEndpointNatMappingsList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_VmEndpointNatMappingsList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_VmEndpointNatMappingsList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6955,6 +7349,7 @@ NSString * const kGTLRCompute_VpnGatewayAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_VpnGatewayAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_VpnGatewayAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_VpnGatewayAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_VpnGatewayAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_VpnGatewayAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_VpnGatewayAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -6985,6 +7380,7 @@ NSString * const kGTLRCompute_VpnGatewayList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_VpnGatewayList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_VpnGatewayList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_VpnGatewayList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_VpnGatewayList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_VpnGatewayList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_VpnGatewayList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -7015,6 +7411,7 @@ NSString * const kGTLRCompute_VpnGatewaysScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_VpnGatewaysScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_VpnGatewaysScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_VpnGatewaysScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_VpnGatewaysScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_VpnGatewaysScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_VpnGatewaysScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -7067,6 +7464,7 @@ NSString * const kGTLRCompute_VpnTunnelAggregatedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_VpnTunnelAggregatedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_VpnTunnelAggregatedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_VpnTunnelAggregatedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_VpnTunnelAggregatedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_VpnTunnelAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_VpnTunnelAggregatedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -7097,6 +7495,7 @@ NSString * const kGTLRCompute_VpnTunnelList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_VpnTunnelList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_VpnTunnelList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_VpnTunnelList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_VpnTunnelList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_VpnTunnelList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_VpnTunnelList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -7127,6 +7526,7 @@ NSString * const kGTLRCompute_VpnTunnelsScopedList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_VpnTunnelsScopedList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_VpnTunnelsScopedList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_VpnTunnelsScopedList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_VpnTunnelsScopedList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_VpnTunnelsScopedList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_VpnTunnelsScopedList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -7157,6 +7557,7 @@ NSString * const kGTLRCompute_XpnHostList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_XpnHostList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_XpnHostList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_XpnHostList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_XpnHostList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_XpnHostList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_XpnHostList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -7195,6 +7596,7 @@ NSString * const kGTLRCompute_ZoneList_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; NSString * const kGTLRCompute_ZoneList_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; NSString * const kGTLRCompute_ZoneList_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_ZoneList_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; NSString * const kGTLRCompute_ZoneList_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; NSString * const kGTLRCompute_ZoneList_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; NSString * const kGTLRCompute_ZoneList_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; @@ -10277,6 +10679,52 @@ @implementation GTLRCompute_FirewallPoliciesListAssociationsResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_FirewallPoliciesScopedList +// + +@implementation GTLRCompute_FirewallPoliciesScopedList +@dynamic firewallPolicies, warning; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"firewallPolicies" : [GTLRCompute_FirewallPolicy class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_FirewallPoliciesScopedList_Warning +// + +@implementation GTLRCompute_FirewallPoliciesScopedList_Warning +@dynamic code, data, message; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"data" : [GTLRCompute_FirewallPoliciesScopedList_Warning_Data_Item class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_FirewallPoliciesScopedList_Warning_Data_Item +// + +@implementation GTLRCompute_FirewallPoliciesScopedList_Warning_Data_Item +@dynamic key, value; +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_FirewallPolicy @@ -12060,8 +12508,9 @@ @implementation GTLRCompute_InstanceGroupManager distributionPolicy, fingerprint, identifier, instanceFlexibilityPolicy, instanceGroup, instanceLifecyclePolicy, instanceTemplate, kind, listManagedInstancesResults, name, namedPorts, region, satisfiesPzi, - satisfiesPzs, selfLink, statefulPolicy, status, targetPools, - targetSize, updatePolicy, versions, zoneProperty; + satisfiesPzs, selfLink, standbyPolicy, statefulPolicy, status, + targetPools, targetSize, targetStoppedSize, targetSuspendedSize, + updatePolicy, versions, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -12680,6 +13129,24 @@ @implementation GTLRCompute_InstanceGroupManagersRecreateInstancesRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_InstanceGroupManagersResumeInstancesRequest +// + +@implementation GTLRCompute_InstanceGroupManagersResumeInstancesRequest +@dynamic instances; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"instances" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_InstanceGroupManagersScopedList @@ -12754,6 +13221,70 @@ @implementation GTLRCompute_InstanceGroupManagersSetTargetPoolsRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_InstanceGroupManagersStartInstancesRequest +// + +@implementation GTLRCompute_InstanceGroupManagersStartInstancesRequest +@dynamic instances; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"instances" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_InstanceGroupManagersStopInstancesRequest +// + +@implementation GTLRCompute_InstanceGroupManagersStopInstancesRequest +@dynamic forceStop, instances; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"instances" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_InstanceGroupManagersSuspendInstancesRequest +// + +@implementation GTLRCompute_InstanceGroupManagersSuspendInstancesRequest +@dynamic forceSuspend, instances; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"instances" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_InstanceGroupManagerStandbyPolicy +// + +@implementation GTLRCompute_InstanceGroupManagerStandbyPolicy +@dynamic initialDelaySec, mode; +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_InstanceGroupManagerStatus @@ -15466,8 +15997,8 @@ @implementation GTLRCompute_Network @dynamic autoCreateSubnetworks, creationTimestamp, descriptionProperty, enableUlaInternalIpv6, firewallPolicy, gatewayIPv4, identifier, internalIpv6Range, IPv4Range, kind, mtu, name, - networkFirewallPolicyEnforcementOrder, peerings, routingConfig, - selfLink, selfLinkWithId, subnetworks; + networkFirewallPolicyEnforcementOrder, networkProfile, peerings, + routingConfig, selfLink, selfLinkWithId, subnetworks; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -16204,6 +16735,71 @@ @implementation GTLRCompute_NetworkEndpointWithHealthStatus @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_NetworkFirewallPolicyAggregatedList +// + +@implementation GTLRCompute_NetworkFirewallPolicyAggregatedList +@dynamic identifier, items, kind, nextPageToken, selfLink, unreachables, + warning; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"unreachables" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_NetworkFirewallPolicyAggregatedList_Items +// + +@implementation GTLRCompute_NetworkFirewallPolicyAggregatedList_Items + ++ (Class)classForAdditionalProperties { + return [GTLRCompute_FirewallPoliciesScopedList class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_NetworkFirewallPolicyAggregatedList_Warning +// + +@implementation GTLRCompute_NetworkFirewallPolicyAggregatedList_Warning +@dynamic code, data, message; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"data" : [GTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Data_Item class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Data_Item +// + +@implementation GTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Data_Item +@dynamic key, value; +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_NetworkInterface @@ -16300,13 +16896,128 @@ @implementation GTLRCompute_NetworkPerformanceConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_NetworkProfile +// + +@implementation GTLRCompute_NetworkProfile +@dynamic creationTimestamp, descriptionProperty, features, identifier, kind, + location, name, selfLink, selfLinkWithId, zoneProperty; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"descriptionProperty" : @"description", + @"identifier" : @"id", + @"zoneProperty" : @"zone" + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_NetworkProfileLocation +// + +@implementation GTLRCompute_NetworkProfileLocation +@dynamic name, scope; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_NetworkProfileNetworkFeatures +// + +@implementation GTLRCompute_NetworkProfileNetworkFeatures +@dynamic addressPurposes, allowAliasIpRanges, allowAutoModeSubnet, + allowClassDFirewalls, allowCloudNat, allowCloudRouter, + allowExternalIpAccess, allowInterconnect, allowLoadBalancing, + allowMultiNicInSameNetwork, allowPacketMirroring, + allowPrivateGoogleAccess, allowPsc, allowSameNetworkUnicast, + allowStaticRoutes, allowSubInterfaces, allowVpcPeering, allowVpn, + interfaceTypes, subnetPurposes, subnetStackTypes, unicast; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"addressPurposes" : [NSString class], + @"interfaceTypes" : [NSString class], + @"subnetPurposes" : [NSString class], + @"subnetStackTypes" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_NetworkProfilesListResponse +// + +@implementation GTLRCompute_NetworkProfilesListResponse +@dynamic ETag, identifier, items, kind, nextPageToken, selfLink, unreachables, + warning; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"ETag" : @"etag", + @"identifier" : @"id" + }; + return map; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"items" : [GTLRCompute_NetworkProfile class], + @"unreachables" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_NetworkProfilesListResponse_Warning +// + +@implementation GTLRCompute_NetworkProfilesListResponse_Warning +@dynamic code, data, message; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"data" : [GTLRCompute_NetworkProfilesListResponse_Warning_Data_Item class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_NetworkProfilesListResponse_Warning_Data_Item +// + +@implementation GTLRCompute_NetworkProfilesListResponse_Warning_Data_Item +@dynamic key, value; +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_NetworkRoutingConfig // @implementation GTLRCompute_NetworkRoutingConfig -@dynamic routingMode; +@dynamic bgpAlwaysCompareMed, bgpBestPathSelectionMode, bgpInterRegionCost, + effectiveBgpAlwaysCompareMed, effectiveBgpInterRegionCost, routingMode; @end @@ -18927,6 +19638,24 @@ @implementation GTLRCompute_RegionInstanceGroupManagersRecreateRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_RegionInstanceGroupManagersResumeInstancesRequest +// + +@implementation GTLRCompute_RegionInstanceGroupManagersResumeInstancesRequest +@dynamic instances; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"instances" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_RegionInstanceGroupManagersSetTargetPoolsRequest @@ -18955,6 +19684,60 @@ @implementation GTLRCompute_RegionInstanceGroupManagersSetTemplateRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_RegionInstanceGroupManagersStartInstancesRequest +// + +@implementation GTLRCompute_RegionInstanceGroupManagersStartInstancesRequest +@dynamic instances; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"instances" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_RegionInstanceGroupManagersStopInstancesRequest +// + +@implementation GTLRCompute_RegionInstanceGroupManagersStopInstancesRequest +@dynamic forceStop, instances; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"instances" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_RegionInstanceGroupManagersSuspendInstancesRequest +// + +@implementation GTLRCompute_RegionInstanceGroupManagersSuspendInstancesRequest +@dynamic forceSuspend, instances; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"instances" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_RegionInstanceGroupManagerUpdateInstanceConfigReq @@ -19891,9 +20674,9 @@ @implementation GTLRCompute_ResourceStatusScheduling @implementation GTLRCompute_Route @dynamic asPaths, creationTimestamp, descriptionProperty, destRange, identifier, kind, name, network, nextHopGateway, nextHopHub, nextHopIlb, - nextHopInstance, nextHopIp, nextHopNetwork, nextHopPeering, - nextHopVpnTunnel, priority, routeStatus, routeType, selfLink, tags, - warnings; + nextHopInstance, nextHopInterRegionCost, nextHopIp, nextHopMed, + nextHopNetwork, nextHopOrigin, nextHopPeering, nextHopVpnTunnel, + priority, routeStatus, routeType, selfLink, tags, warnings; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Compute/GTLRComputeQuery.m b/Sources/GeneratedServices/Compute/GTLRComputeQuery.m index e4bac42e9..52d0ce943 100644 --- a/Sources/GeneratedServices/Compute/GTLRComputeQuery.m +++ b/Sources/GeneratedServices/Compute/GTLRComputeQuery.m @@ -5206,6 +5206,43 @@ + (instancetype)queryWithProject:(NSString *)project @end +@implementation GTLRComputeQuery_InstanceGroupManagersResumeInstances + +@dynamic instanceGroupManager, project, requestId, zoneProperty; + ++ (NSDictionary *)parameterNameMap { + return @{ @"zoneProperty" : @"zone" }; +} + ++ (instancetype)queryWithObject:(GTLRCompute_InstanceGroupManagersResumeInstancesRequest *)object + project:(NSString *)project + zoneProperty:(NSString *)zoneProperty + instanceGroupManager:(NSString *)instanceGroupManager { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"instanceGroupManager", @"project", @"zone" + ]; + NSString *pathURITemplate = @"projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resumeInstances"; + GTLRComputeQuery_InstanceGroupManagersResumeInstances *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.project = project; + query.zoneProperty = zoneProperty; + query.instanceGroupManager = instanceGroupManager; + query.expectedObjectClass = [GTLRCompute_Operation class]; + query.loggingName = @"compute.instanceGroupManagers.resumeInstances"; + return query; +} + +@end + @implementation GTLRComputeQuery_InstanceGroupManagersSetInstanceTemplate @dynamic instanceGroupManager, project, requestId, zoneProperty; @@ -5280,6 +5317,117 @@ + (instancetype)queryWithObject:(GTLRCompute_InstanceGroupManagersSetTargetPools @end +@implementation GTLRComputeQuery_InstanceGroupManagersStartInstances + +@dynamic instanceGroupManager, project, requestId, zoneProperty; + ++ (NSDictionary *)parameterNameMap { + return @{ @"zoneProperty" : @"zone" }; +} + ++ (instancetype)queryWithObject:(GTLRCompute_InstanceGroupManagersStartInstancesRequest *)object + project:(NSString *)project + zoneProperty:(NSString *)zoneProperty + instanceGroupManager:(NSString *)instanceGroupManager { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"instanceGroupManager", @"project", @"zone" + ]; + NSString *pathURITemplate = @"projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/startInstances"; + GTLRComputeQuery_InstanceGroupManagersStartInstances *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.project = project; + query.zoneProperty = zoneProperty; + query.instanceGroupManager = instanceGroupManager; + query.expectedObjectClass = [GTLRCompute_Operation class]; + query.loggingName = @"compute.instanceGroupManagers.startInstances"; + return query; +} + +@end + +@implementation GTLRComputeQuery_InstanceGroupManagersStopInstances + +@dynamic instanceGroupManager, project, requestId, zoneProperty; + ++ (NSDictionary *)parameterNameMap { + return @{ @"zoneProperty" : @"zone" }; +} + ++ (instancetype)queryWithObject:(GTLRCompute_InstanceGroupManagersStopInstancesRequest *)object + project:(NSString *)project + zoneProperty:(NSString *)zoneProperty + instanceGroupManager:(NSString *)instanceGroupManager { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"instanceGroupManager", @"project", @"zone" + ]; + NSString *pathURITemplate = @"projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/stopInstances"; + GTLRComputeQuery_InstanceGroupManagersStopInstances *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.project = project; + query.zoneProperty = zoneProperty; + query.instanceGroupManager = instanceGroupManager; + query.expectedObjectClass = [GTLRCompute_Operation class]; + query.loggingName = @"compute.instanceGroupManagers.stopInstances"; + return query; +} + +@end + +@implementation GTLRComputeQuery_InstanceGroupManagersSuspendInstances + +@dynamic instanceGroupManager, project, requestId, zoneProperty; + ++ (NSDictionary *)parameterNameMap { + return @{ @"zoneProperty" : @"zone" }; +} + ++ (instancetype)queryWithObject:(GTLRCompute_InstanceGroupManagersSuspendInstancesRequest *)object + project:(NSString *)project + zoneProperty:(NSString *)zoneProperty + instanceGroupManager:(NSString *)instanceGroupManager { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"instanceGroupManager", @"project", @"zone" + ]; + NSString *pathURITemplate = @"projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/suspendInstances"; + GTLRComputeQuery_InstanceGroupManagersSuspendInstances *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.project = project; + query.zoneProperty = zoneProperty; + query.instanceGroupManager = instanceGroupManager; + query.expectedObjectClass = [GTLRCompute_Operation class]; + query.loggingName = @"compute.instanceGroupManagers.suspendInstances"; + return query; +} + +@end + @implementation GTLRComputeQuery_InstanceGroupManagersUpdatePerInstanceConfigs @dynamic instanceGroupManager, project, requestId, zoneProperty; @@ -9449,6 +9597,26 @@ + (instancetype)queryWithObject:(GTLRCompute_FirewallPolicyRule *)object @end +@implementation GTLRComputeQuery_NetworkFirewallPoliciesAggregatedList + +@dynamic filter, includeAllScopes, maxResults, orderBy, pageToken, project, + returnPartialSuccess, serviceProjectNumber; + ++ (instancetype)queryWithProject:(NSString *)project { + NSArray *pathParams = @[ @"project" ]; + NSString *pathURITemplate = @"projects/{project}/aggregated/firewallPolicies"; + GTLRComputeQuery_NetworkFirewallPoliciesAggregatedList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.project = project; + query.expectedObjectClass = [GTLRCompute_NetworkFirewallPolicyAggregatedList class]; + query.loggingName = @"compute.networkFirewallPolicies.aggregatedList"; + return query; +} + +@end + @implementation GTLRComputeQuery_NetworkFirewallPoliciesCloneRules @dynamic firewallPolicy, project, requestId, sourceFirewallPolicy; @@ -9803,6 +9971,48 @@ + (instancetype)queryWithObject:(GTLRCompute_TestPermissionsRequest *)object @end +@implementation GTLRComputeQuery_NetworkProfilesGet + +@dynamic networkProfile, project; + ++ (instancetype)queryWithProject:(NSString *)project + networkProfile:(NSString *)networkProfile { + NSArray *pathParams = @[ + @"networkProfile", @"project" + ]; + NSString *pathURITemplate = @"projects/{project}/global/networkProfiles/{networkProfile}"; + GTLRComputeQuery_NetworkProfilesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.project = project; + query.networkProfile = networkProfile; + query.expectedObjectClass = [GTLRCompute_NetworkProfile class]; + query.loggingName = @"compute.networkProfiles.get"; + return query; +} + +@end + +@implementation GTLRComputeQuery_NetworkProfilesList + +@dynamic filter, maxResults, orderBy, pageToken, project, returnPartialSuccess; + ++ (instancetype)queryWithProject:(NSString *)project { + NSArray *pathParams = @[ @"project" ]; + NSString *pathURITemplate = @"projects/{project}/global/networkProfiles"; + GTLRComputeQuery_NetworkProfilesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.project = project; + query.expectedObjectClass = [GTLRCompute_NetworkProfilesListResponse class]; + query.loggingName = @"compute.networkProfiles.list"; + return query; +} + +@end + @implementation GTLRComputeQuery_NetworksAddPeering @dynamic network, project, requestId; @@ -13798,6 +14008,39 @@ + (instancetype)queryWithProject:(NSString *)project @end +@implementation GTLRComputeQuery_RegionInstanceGroupManagersResumeInstances + +@dynamic instanceGroupManager, project, region, requestId; + ++ (instancetype)queryWithObject:(GTLRCompute_RegionInstanceGroupManagersResumeInstancesRequest *)object + project:(NSString *)project + region:(NSString *)region + instanceGroupManager:(NSString *)instanceGroupManager { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"instanceGroupManager", @"project", @"region" + ]; + NSString *pathURITemplate = @"projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resumeInstances"; + GTLRComputeQuery_RegionInstanceGroupManagersResumeInstances *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.project = project; + query.region = region; + query.instanceGroupManager = instanceGroupManager; + query.expectedObjectClass = [GTLRCompute_Operation class]; + query.loggingName = @"compute.regionInstanceGroupManagers.resumeInstances"; + return query; +} + +@end + @implementation GTLRComputeQuery_RegionInstanceGroupManagersSetInstanceTemplate @dynamic instanceGroupManager, project, region, requestId; @@ -13864,6 +14107,105 @@ + (instancetype)queryWithObject:(GTLRCompute_RegionInstanceGroupManagersSetTarge @end +@implementation GTLRComputeQuery_RegionInstanceGroupManagersStartInstances + +@dynamic instanceGroupManager, project, region, requestId; + ++ (instancetype)queryWithObject:(GTLRCompute_RegionInstanceGroupManagersStartInstancesRequest *)object + project:(NSString *)project + region:(NSString *)region + instanceGroupManager:(NSString *)instanceGroupManager { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"instanceGroupManager", @"project", @"region" + ]; + NSString *pathURITemplate = @"projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/startInstances"; + GTLRComputeQuery_RegionInstanceGroupManagersStartInstances *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.project = project; + query.region = region; + query.instanceGroupManager = instanceGroupManager; + query.expectedObjectClass = [GTLRCompute_Operation class]; + query.loggingName = @"compute.regionInstanceGroupManagers.startInstances"; + return query; +} + +@end + +@implementation GTLRComputeQuery_RegionInstanceGroupManagersStopInstances + +@dynamic instanceGroupManager, project, region, requestId; + ++ (instancetype)queryWithObject:(GTLRCompute_RegionInstanceGroupManagersStopInstancesRequest *)object + project:(NSString *)project + region:(NSString *)region + instanceGroupManager:(NSString *)instanceGroupManager { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"instanceGroupManager", @"project", @"region" + ]; + NSString *pathURITemplate = @"projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/stopInstances"; + GTLRComputeQuery_RegionInstanceGroupManagersStopInstances *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.project = project; + query.region = region; + query.instanceGroupManager = instanceGroupManager; + query.expectedObjectClass = [GTLRCompute_Operation class]; + query.loggingName = @"compute.regionInstanceGroupManagers.stopInstances"; + return query; +} + +@end + +@implementation GTLRComputeQuery_RegionInstanceGroupManagersSuspendInstances + +@dynamic instanceGroupManager, project, region, requestId; + ++ (instancetype)queryWithObject:(GTLRCompute_RegionInstanceGroupManagersSuspendInstancesRequest *)object + project:(NSString *)project + region:(NSString *)region + instanceGroupManager:(NSString *)instanceGroupManager { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"instanceGroupManager", @"project", @"region" + ]; + NSString *pathURITemplate = @"projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/suspendInstances"; + GTLRComputeQuery_RegionInstanceGroupManagersSuspendInstances *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.project = project; + query.region = region; + query.instanceGroupManager = instanceGroupManager; + query.expectedObjectClass = [GTLRCompute_Operation class]; + query.loggingName = @"compute.regionInstanceGroupManagers.suspendInstances"; + return query; +} + +@end + @implementation GTLRComputeQuery_RegionInstanceGroupManagersUpdatePerInstanceConfigs @dynamic instanceGroupManager, project, region, requestId; @@ -15510,6 +15852,39 @@ + (instancetype)queryWithProject:(NSString *)project @end +@implementation GTLRComputeQuery_RegionSecurityPoliciesSetLabels + +@dynamic project, region, requestId, resource; + ++ (instancetype)queryWithObject:(GTLRCompute_RegionSetLabelsRequest *)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}/securityPolicies/{resource}/setLabels"; + GTLRComputeQuery_RegionSecurityPoliciesSetLabels *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.project = project; + query.region = region; + query.resource = resource; + query.expectedObjectClass = [GTLRCompute_Operation class]; + query.loggingName = @"compute.regionSecurityPolicies.setLabels"; + return query; +} + +@end + @implementation GTLRComputeQuery_RegionsGet @dynamic project, region; diff --git a/Sources/GeneratedServices/Compute/GTLRComputeService.m b/Sources/GeneratedServices/Compute/GTLRComputeService.m index b4de8687e..898a4aee3 100644 --- a/Sources/GeneratedServices/Compute/GTLRComputeService.m +++ b/Sources/GeneratedServices/Compute/GTLRComputeService.m @@ -139,8 +139,11 @@ - (instancetype)init { @"compute#networkEndpointGroupAggregatedList" : [GTLRCompute_NetworkEndpointGroupAggregatedList class], @"compute#networkEndpointGroupList" : [GTLRCompute_NetworkEndpointGroupList class], @"compute#networkEndpointGroupsListNetworkEndpoints" : [GTLRCompute_NetworkEndpointGroupsListNetworkEndpoints class], + @"compute#networkFirewallPolicyAggregatedList" : [GTLRCompute_NetworkFirewallPolicyAggregatedList class], @"compute#networkInterface" : [GTLRCompute_NetworkInterface class], @"compute#networkList" : [GTLRCompute_NetworkList class], + @"compute#networkProfile" : [GTLRCompute_NetworkProfile class], + @"compute#networkProfileList" : [GTLRCompute_NetworkProfilesListResponse class], @"compute#nodeGroup" : [GTLRCompute_NodeGroup class], @"compute#nodeGroupAggregatedList" : [GTLRCompute_NodeGroupAggregatedList class], @"compute#nodeGroupList" : [GTLRCompute_NodeGroupList class], diff --git a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h index bebc98fc5..c9dd5440b 100644 --- a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h +++ b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h @@ -184,6 +184,9 @@ @class GTLRCompute_FirewallList_Warning; @class GTLRCompute_FirewallList_Warning_Data_Item; @class GTLRCompute_FirewallLogConfig; +@class GTLRCompute_FirewallPoliciesScopedList; +@class GTLRCompute_FirewallPoliciesScopedList_Warning; +@class GTLRCompute_FirewallPoliciesScopedList_Warning_Data_Item; @class GTLRCompute_FirewallPolicy; @class GTLRCompute_FirewallPolicyAssociation; @class GTLRCompute_FirewallPolicyList_Warning; @@ -300,6 +303,7 @@ @class GTLRCompute_InstanceGroupManagersScopedList; @class GTLRCompute_InstanceGroupManagersScopedList_Warning; @class GTLRCompute_InstanceGroupManagersScopedList_Warning_Data_Item; +@class GTLRCompute_InstanceGroupManagerStandbyPolicy; @class GTLRCompute_InstanceGroupManagerStatus; @class GTLRCompute_InstanceGroupManagerStatusAllInstancesConfig; @class GTLRCompute_InstanceGroupManagerStatusStateful; @@ -477,11 +481,19 @@ @class GTLRCompute_NetworkEndpointGroupsScopedList_Warning; @class GTLRCompute_NetworkEndpointGroupsScopedList_Warning_Data_Item; @class GTLRCompute_NetworkEndpointWithHealthStatus; +@class GTLRCompute_NetworkFirewallPolicyAggregatedList_Items; +@class GTLRCompute_NetworkFirewallPolicyAggregatedList_Warning; +@class GTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Data_Item; @class GTLRCompute_NetworkInterface; @class GTLRCompute_NetworkList_Warning; @class GTLRCompute_NetworkList_Warning_Data_Item; @class GTLRCompute_NetworkPeering; @class GTLRCompute_NetworkPerformanceConfig; +@class GTLRCompute_NetworkProfile; +@class GTLRCompute_NetworkProfileLocation; +@class GTLRCompute_NetworkProfileNetworkFeatures; +@class GTLRCompute_NetworkProfilesListResponse_Warning; +@class GTLRCompute_NetworkProfilesListResponse_Warning_Data_Item; @class GTLRCompute_NetworkRoutingConfig; @class GTLRCompute_NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy; @class GTLRCompute_NodeGroup; @@ -1088,6 +1100,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_AcceleratorTypeAggregatedList_Wa * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_AcceleratorTypeAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_AcceleratorTypeAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -1272,6 +1290,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_AcceleratorTypeList_Warning_Code * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_AcceleratorTypeList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_AcceleratorTypeList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -1456,6 +1480,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_AcceleratorTypesScopedList_Warni * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_AcceleratorTypesScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_AcceleratorTypesScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -1836,6 +1866,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_AddressAggregatedList_Warning_Co * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_AddressAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_AddressAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -2020,6 +2056,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_AddressesScopedList_Warning_Code * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_AddressesScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_AddressesScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -2204,6 +2246,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_AddressList_Warning_Code_NotCrit * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_AddressList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_AddressList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -2627,6 +2675,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_AutoscalerAggregatedList_Warning * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_AutoscalerAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_AutoscalerAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -2811,6 +2865,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_AutoscalerList_Warning_Code_NotC * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_AutoscalerList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_AutoscalerList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -2995,6 +3055,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_AutoscalersScopedList_Warning_Co * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_AutoscalersScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_AutoscalersScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -3487,6 +3553,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendBucketList_Warning_Code_N * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendBucketList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendBucketList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -3952,6 +4024,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendServiceAggregatedList_War * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendServiceAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendServiceAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -4188,6 +4266,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendServiceList_Warning_Code_ * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendServiceList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendServiceList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -4372,6 +4456,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendServiceListUsable_Warning * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendServiceListUsable_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendServiceListUsable_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -4645,6 +4735,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendServicesScopedList_Warnin * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendServicesScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendServicesScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -4882,6 +4978,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_Commitment_Type_GraphicsOptimize FOUNDATION_EXTERN NSString * const kGTLRCompute_Commitment_Type_MemoryOptimized; /** Value: "MEMORY_OPTIMIZED_M3" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_Commitment_Type_MemoryOptimizedM3; +/** Value: "MEMORY_OPTIMIZED_X4_16TB" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Commitment_Type_MemoryOptimizedX416tb; +/** Value: "MEMORY_OPTIMIZED_X4_24TB" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Commitment_Type_MemoryOptimizedX424tb; +/** Value: "MEMORY_OPTIMIZED_X4_32TB" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Commitment_Type_MemoryOptimizedX432tb; /** Value: "STORAGE_OPTIMIZED_Z3" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_Commitment_Type_StorageOptimizedZ3; /** Value: "TYPE_UNSPECIFIED" */ @@ -5024,6 +5126,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_CommitmentAggregatedList_Warning * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_CommitmentAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_CommitmentAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -5208,6 +5316,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_CommitmentList_Warning_Code_NotC * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_CommitmentList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_CommitmentList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -5392,6 +5506,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_CommitmentsScopedList_Warning_Co * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_CommitmentsScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_CommitmentsScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -5703,6 +5823,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_DiskAggregatedList_Warning_Code_ * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_DiskAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_DiskAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -5947,6 +6073,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_DiskList_Warning_Code_NotCritica * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_DiskList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_DiskList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -6167,6 +6299,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_DisksScopedList_Warning_Code_Not * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_DisksScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_DisksScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -6351,6 +6489,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_DiskTypeAggregatedList_Warning_C * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_DiskTypeAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_DiskTypeAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -6535,6 +6679,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_DiskTypeList_Warning_Code_NotCri * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_DiskTypeList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_DiskTypeList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -6719,6 +6869,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_DiskTypesScopedList_Warning_Code * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_DiskTypesScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_DiskTypesScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -6966,6 +7122,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ExchangedPeeringRoutesList_Warni * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ExchangedPeeringRoutesList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ExchangedPeeringRoutesList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -7190,6 +7352,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ExternalVpnGatewayList_Warning_C * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ExternalVpnGatewayList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ExternalVpnGatewayList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -7400,6 +7568,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallList_Warning_Code_NotCri * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -7455,6 +7629,196 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallLogConfig_Metadata_Exclu /** Value: "INCLUDE_ALL_METADATA" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallLogConfig_Metadata_IncludeAllMetadata; +// ---------------------------------------------------------------------------- +// GTLRCompute_FirewallPoliciesScopedList_Warning.code + +/** + * Warning about failed cleanup of transient changes made by a failed + * operation. + * + * Value: "CLEANUP_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_CleanupFailed; +/** + * A link to a deprecated resource was created. + * + * Value: "DEPRECATED_RESOURCE_USED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_DeprecatedResourceUsed; +/** + * When deploying and at least one of the resources has a type marked as + * deprecated + * + * Value: "DEPRECATED_TYPE_USED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_DeprecatedTypeUsed; +/** + * The user created a boot disk that is larger than image size. + * + * Value: "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_DiskSizeLargerThanImageSize; +/** + * When deploying and at least one of the resources has a type marked as + * experimental + * + * Value: "EXPERIMENTAL_TYPE_USED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_ExperimentalTypeUsed; +/** + * Warning that is present in an external api call + * + * Value: "EXTERNAL_API_WARNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_ExternalApiWarning; +/** + * Warning that value of a field has been overridden. Deprecated unused field. + * + * Value: "FIELD_VALUE_OVERRIDEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_FieldValueOverriden GTLR_DEPRECATED; +/** + * The operation involved use of an injected kernel, which is deprecated. + * + * Value: "INJECTED_KERNELS_DEPRECATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_InjectedKernelsDeprecated; +/** + * A WEIGHTED_MAGLEV backend service is associated with a health check that is + * not of type HTTP/HTTPS/HTTP2. + * + * Value: "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_InvalidHealthCheckForDynamicWieghtedLb; +/** + * When deploying a deployment with a exceedingly large number of resources + * + * Value: "LARGE_DEPLOYMENT_WARNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_LargeDeploymentWarning; +/** + * Resource can't be retrieved due to list overhead quota exceed which captures + * the amount of resources filtered out by user-defined list filter. + * + * Value: "LIST_OVERHEAD_QUOTA_EXCEED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_ListOverheadQuotaExceed; +/** + * A resource depends on a missing type + * + * Value: "MISSING_TYPE_DEPENDENCY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_MissingTypeDependency; +/** + * The route's nextHopIp address is not assigned to an instance on the network. + * + * Value: "NEXT_HOP_ADDRESS_NOT_ASSIGNED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_NextHopAddressNotAssigned; +/** + * The route's next hop instance cannot ip forward. + * + * Value: "NEXT_HOP_CANNOT_IP_FORWARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_NextHopCannotIpForward; +/** + * The route's nextHopInstance URL refers to an instance that does not have an + * ipv6 interface on the same network as the route. + * + * Value: "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_NextHopInstanceHasNoIpv6Interface; +/** + * The route's nextHopInstance URL refers to an instance that does not exist. + * + * Value: "NEXT_HOP_INSTANCE_NOT_FOUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_NextHopInstanceNotFound; +/** + * The route's nextHopInstance URL refers to an instance that is not on the + * same network as the route. + * + * Value: "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_NextHopInstanceNotOnNetwork; +/** + * The route's next hop instance does not have a status of RUNNING. + * + * Value: "NEXT_HOP_NOT_RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_NextHopNotRunning; +/** + * No results are present on a particular list page. + * + * Value: "NO_RESULTS_ON_PAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_NoResultsOnPage; +/** + * Error which is not critical. We decided to continue the process despite the + * mentioned error. + * + * Value: "NOT_CRITICAL_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_NotCriticalError; +/** + * Success is reported, but some results may be missing due to errors + * + * Value: "PARTIAL_SUCCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_QuotaInfoUnavailable; +/** + * The user attempted to use a resource that requires a TOS they have not + * accepted. + * + * Value: "REQUIRED_TOS_AGREEMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_RequiredTosAgreement; +/** + * Warning that a resource is in use. + * + * Value: "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_ResourceInUseByOtherResourceWarning; +/** + * One or more of the resources set to auto-delete could not be deleted because + * they were in use. + * + * Value: "RESOURCE_NOT_DELETED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_ResourceNotDeleted; +/** + * When a resource schema validation is ignored. + * + * Value: "SCHEMA_VALIDATION_IGNORED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_SchemaValidationIgnored; +/** + * Instance template used in instance group manager is valid as such, but its + * application does not make a lot of sense, because it allows only single + * instance in instance group. + * + * Value: "SINGLE_INSTANCE_PROPERTY_TEMPLATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_SingleInstancePropertyTemplate; +/** + * When undeclared properties in the schema are present + * + * Value: "UNDECLARED_PROPERTIES" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_UndeclaredProperties; +/** + * A given scope cannot be reached. + * + * Value: "UNREACHABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_Unreachable; + // ---------------------------------------------------------------------------- // GTLRCompute_FirewallPolicyList_Warning.code @@ -7592,6 +7956,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPolicyList_Warning_Code_ * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPolicyList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPolicyList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -7904,6 +8274,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ForwardingRuleAggregatedList_War * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ForwardingRuleAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ForwardingRuleAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -8088,6 +8464,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ForwardingRuleList_Warning_Code_ * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ForwardingRuleList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ForwardingRuleList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -8272,6 +8654,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ForwardingRulesScopedList_Warnin * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ForwardingRulesScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ForwardingRulesScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -8530,6 +8918,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_HealthCheckList_Warning_Code_Not * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_HealthCheckList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_HealthCheckList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -8714,6 +9108,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_HealthChecksAggregatedList_Warni * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_HealthChecksAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_HealthChecksAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -8917,6 +9317,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_HealthCheckServicesList_Warning_ * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_HealthCheckServicesList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_HealthCheckServicesList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -9101,6 +9507,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_HealthChecksScopedList_Warning_C * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_HealthChecksScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_HealthChecksScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -9465,6 +9877,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_HttpHealthCheckList_Warning_Code * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_HttpHealthCheckList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_HttpHealthCheckList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -9717,6 +10135,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_HttpsHealthCheckList_Warning_Cod * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_HttpsHealthCheckList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_HttpsHealthCheckList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -9963,6 +10387,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ImageList_Warning_Code_NotCritic * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ImageList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ImageList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -10262,6 +10692,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceAggregatedList_Warning_C * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -10446,6 +10882,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupAggregatedList_Warn * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -10630,6 +11072,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupList_Warning_Code_N * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -10833,6 +11281,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupManagerAggregatedLi * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupManagerAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupManagerAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -11042,6 +11496,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupManagerList_Warning * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupManagerList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupManagerList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -11269,6 +11729,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupManagerResizeReques * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupManagerResizeRequestsListResponse_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupManagerResizeRequestsListResponse_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -11509,6 +11975,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupManagersListPerInst * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupManagersListPerInstanceConfigsResp_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupManagersListPerInstanceConfigsResp_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -11693,6 +12165,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupManagersScopedList_ * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupManagersScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupManagersScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -11740,6 +12218,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupManagersScopedList_ */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupManagersScopedList_Warning_Code_Unreachable; +// ---------------------------------------------------------------------------- +// GTLRCompute_InstanceGroupManagerStandbyPolicy.mode + +/** + * MIG does not automatically resume or start VMs in the standby pool when the + * group scales out. + * + * Value: "MANUAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupManagerStandbyPolicy_Mode_Manual; +/** + * MIG automatically resumes or starts VMs in the standby pool when the group + * scales out, and replenishes the standby pool afterwards. + * + * Value: "SCALE_OUT_POOL" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupManagerStandbyPolicy_Mode_ScaleOutPool; + // ---------------------------------------------------------------------------- // GTLRCompute_InstanceGroupManagerUpdatePolicy.instanceRedistributionType @@ -11984,6 +12480,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupsListInstances_Warn * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupsListInstances_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupsListInstances_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -12184,6 +12686,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupsScopedList_Warning * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupsScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceGroupsScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -12368,6 +12876,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceList_Warning_Code_NotCri * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -12552,6 +13066,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceListReferrers_Warning_Co * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceListReferrers_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceListReferrers_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -12896,6 +13416,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstancesScopedList_Warning_Code * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstancesScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InstancesScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -13080,6 +13606,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceTemplateAggregatedList_W * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceTemplateAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceTemplateAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -13264,6 +13796,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceTemplateList_Warning_Cod * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceTemplateList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceTemplateList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -13448,6 +13986,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceTemplatesScopedList_Warn * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceTemplatesScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InstanceTemplatesScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -13755,6 +14299,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstantSnapshotAggregatedList_Wa * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstantSnapshotAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InstantSnapshotAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -13939,6 +14489,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstantSnapshotList_Warning_Code * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstantSnapshotList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InstantSnapshotList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -14123,6 +14679,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstantSnapshotsScopedList_Warni * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InstantSnapshotsScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InstantSnapshotsScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -14267,6 +14829,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_Interconnect_State_Unprovisioned // ---------------------------------------------------------------------------- // GTLRCompute_InterconnectAttachment.bandwidth +/** + * 100 Gbit/s + * + * Value: "BPS_100G" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectAttachment_Bandwidth_Bps100g; /** * 100 Mbit/s * @@ -14612,6 +15180,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectAttachmentAggregated * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectAttachmentAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectAttachmentAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -14819,6 +15393,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectAttachmentList_Warni * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectAttachmentList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectAttachmentList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -15003,6 +15583,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectAttachmentsScopedLis * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectAttachmentsScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectAttachmentsScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -15293,6 +15879,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectList_Warning_Code_No * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -15543,6 +16135,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectLocationList_Warning * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectLocationList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectLocationList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -15938,6 +16536,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectRemoteLocationList_W * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectRemoteLocationList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectRemoteLocationList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -16153,6 +16757,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_LicensesListResponse_Warning_Cod * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_LicensesListResponse_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_LicensesListResponse_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -16404,6 +17014,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_MachineImageList_Warning_Code_No * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_MachineImageList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_MachineImageList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -16610,6 +17226,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_MachineTypeAggregatedList_Warnin * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_MachineTypeAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_MachineTypeAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -16794,6 +17416,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_MachineTypeList_Warning_Code_Not * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_MachineTypeList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_MachineTypeList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -16978,6 +17606,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_MachineTypesScopedList_Warning_C * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_MachineTypesScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_MachineTypesScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -17423,6 +18057,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkAttachmentAggregatedList_ * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkAttachmentAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkAttachmentAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -17644,6 +18284,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkAttachmentList_Warning_Co * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkAttachmentList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkAttachmentList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -17828,6 +18474,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkAttachmentsScopedList_War * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkAttachmentsScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkAttachmentsScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -18012,6 +18664,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkEdgeSecurityServiceAggreg * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkEdgeSecurityServiceAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkEdgeSecurityServiceAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -18196,6 +18854,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkEdgeSecurityServicesScope * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkEdgeSecurityServicesScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkEdgeSecurityServicesScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -18436,6 +19100,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkEndpointGroupAggregatedLi * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkEndpointGroupAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkEndpointGroupAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -18620,6 +19290,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkEndpointGroupList_Warning * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkEndpointGroupList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkEndpointGroupList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -18859,6 +19535,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkEndpointGroupsListNetwork * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkEndpointGroupsListNetworkEndpoints_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkEndpointGroupsListNetworkEndpoints_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -19043,6 +19725,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkEndpointGroupsScopedList_ * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkEndpointGroupsScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkEndpointGroupsScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -19090,6 +19778,196 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkEndpointGroupsScopedList_ */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkEndpointGroupsScopedList_Warning_Code_Unreachable; +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkFirewallPolicyAggregatedList_Warning.code + +/** + * Warning about failed cleanup of transient changes made by a failed + * operation. + * + * Value: "CLEANUP_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_CleanupFailed; +/** + * A link to a deprecated resource was created. + * + * Value: "DEPRECATED_RESOURCE_USED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_DeprecatedResourceUsed; +/** + * When deploying and at least one of the resources has a type marked as + * deprecated + * + * Value: "DEPRECATED_TYPE_USED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_DeprecatedTypeUsed; +/** + * The user created a boot disk that is larger than image size. + * + * Value: "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_DiskSizeLargerThanImageSize; +/** + * When deploying and at least one of the resources has a type marked as + * experimental + * + * Value: "EXPERIMENTAL_TYPE_USED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_ExperimentalTypeUsed; +/** + * Warning that is present in an external api call + * + * Value: "EXTERNAL_API_WARNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_ExternalApiWarning; +/** + * Warning that value of a field has been overridden. Deprecated unused field. + * + * Value: "FIELD_VALUE_OVERRIDEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_FieldValueOverriden GTLR_DEPRECATED; +/** + * The operation involved use of an injected kernel, which is deprecated. + * + * Value: "INJECTED_KERNELS_DEPRECATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_InjectedKernelsDeprecated; +/** + * A WEIGHTED_MAGLEV backend service is associated with a health check that is + * not of type HTTP/HTTPS/HTTP2. + * + * Value: "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_InvalidHealthCheckForDynamicWieghtedLb; +/** + * When deploying a deployment with a exceedingly large number of resources + * + * Value: "LARGE_DEPLOYMENT_WARNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_LargeDeploymentWarning; +/** + * Resource can't be retrieved due to list overhead quota exceed which captures + * the amount of resources filtered out by user-defined list filter. + * + * Value: "LIST_OVERHEAD_QUOTA_EXCEED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_ListOverheadQuotaExceed; +/** + * A resource depends on a missing type + * + * Value: "MISSING_TYPE_DEPENDENCY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_MissingTypeDependency; +/** + * The route's nextHopIp address is not assigned to an instance on the network. + * + * Value: "NEXT_HOP_ADDRESS_NOT_ASSIGNED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_NextHopAddressNotAssigned; +/** + * The route's next hop instance cannot ip forward. + * + * Value: "NEXT_HOP_CANNOT_IP_FORWARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_NextHopCannotIpForward; +/** + * The route's nextHopInstance URL refers to an instance that does not have an + * ipv6 interface on the same network as the route. + * + * Value: "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_NextHopInstanceHasNoIpv6Interface; +/** + * The route's nextHopInstance URL refers to an instance that does not exist. + * + * Value: "NEXT_HOP_INSTANCE_NOT_FOUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_NextHopInstanceNotFound; +/** + * The route's nextHopInstance URL refers to an instance that is not on the + * same network as the route. + * + * Value: "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_NextHopInstanceNotOnNetwork; +/** + * The route's next hop instance does not have a status of RUNNING. + * + * Value: "NEXT_HOP_NOT_RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_NextHopNotRunning; +/** + * No results are present on a particular list page. + * + * Value: "NO_RESULTS_ON_PAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_NoResultsOnPage; +/** + * Error which is not critical. We decided to continue the process despite the + * mentioned error. + * + * Value: "NOT_CRITICAL_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_NotCriticalError; +/** + * Success is reported, but some results may be missing due to errors + * + * Value: "PARTIAL_SUCCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_QuotaInfoUnavailable; +/** + * The user attempted to use a resource that requires a TOS they have not + * accepted. + * + * Value: "REQUIRED_TOS_AGREEMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_RequiredTosAgreement; +/** + * Warning that a resource is in use. + * + * Value: "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning; +/** + * One or more of the resources set to auto-delete could not be deleted because + * they were in use. + * + * Value: "RESOURCE_NOT_DELETED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_ResourceNotDeleted; +/** + * When a resource schema validation is ignored. + * + * Value: "SCHEMA_VALIDATION_IGNORED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_SchemaValidationIgnored; +/** + * Instance template used in instance group manager is valid as such, but its + * application does not make a lot of sense, because it allows only single + * instance in instance group. + * + * Value: "SINGLE_INSTANCE_PROPERTY_TEMPLATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_SingleInstancePropertyTemplate; +/** + * When undeclared properties in the schema are present + * + * Value: "UNDECLARED_PROPERTIES" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_UndeclaredProperties; +/** + * A given scope cannot be reached. + * + * Value: "UNREACHABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_Unreachable; + // ---------------------------------------------------------------------------- // GTLRCompute_NetworkInterface.ipv6AccessType @@ -19121,6 +19999,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkInterface_NicType_Gvnic; * Value: "IDPF" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkInterface_NicType_Idpf; +/** + * IRDMA + * + * Value: "IRDMA" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkInterface_NicType_Irdma; +/** + * MRDMA + * + * Value: "MRDMA" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkInterface_NicType_Mrdma; /** * No type specified. * @@ -19293,6 +20183,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkList_Warning_Code_NotCrit * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -19384,6 +20280,491 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPerformanceConfig_TotalEg /** Value: "TIER_1" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPerformanceConfig_TotalEgressBandwidthTier_Tier1; +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileLocation.scope + +/** Value: "REGION" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileLocation_Scope_Region; +/** Value: "ZONE" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileLocation_Scope_Zone; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileNetworkFeatures.addressPurposes + +/** + * DNS resolver address in the subnetwork. + * + * Value: "DNS_RESOLVER" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AddressPurposes_DnsResolver; +/** + * VM internal/alias IP, Internal LB service IP, etc. + * + * Value: "GCE_ENDPOINT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AddressPurposes_GceEndpoint; +/** + * A regional internal IP address range reserved for the VLAN attachment that + * is used in HA VPN over Cloud Interconnect. This regional internal IP address + * range must not overlap with any IP address range of subnet/route in the VPC + * network and its peering networks. After the VLAN attachment is created with + * the reserved IP address range, when creating a new VPN gateway, its + * interface IP address is allocated from the associated VLAN attachment’s IP + * address range. + * + * Value: "IPSEC_INTERCONNECT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AddressPurposes_IpsecInterconnect; +/** + * External IP automatically reserved for Cloud NAT. + * + * Value: "NAT_AUTO" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AddressPurposes_NatAuto; +/** + * A private network IP address that can be used to configure Private Service + * Connect. This purpose can be specified only for GLOBAL addresses of Type + * INTERNAL + * + * Value: "PRIVATE_SERVICE_CONNECT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AddressPurposes_PrivateServiceConnect; +/** + * A regional internal IP address range reserved for Serverless. + * + * Value: "SERVERLESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AddressPurposes_Serverless; +/** + * A private network IP address that can be shared by multiple Internal Load + * Balancer forwarding rules. + * + * Value: "SHARED_LOADBALANCER_VIP" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AddressPurposes_SharedLoadbalancerVip; +/** + * IP range for peer networks. + * + * Value: "VPC_PEERING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AddressPurposes_VpcPeering; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileNetworkFeatures.allowAliasIpRanges + +/** Value: "ALIAS_IP_RANGES_ALLOWED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowAliasIpRanges_AliasIpRangesAllowed; +/** Value: "ALIAS_IP_RANGES_BLOCKED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowAliasIpRanges_AliasIpRangesBlocked; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileNetworkFeatures.allowAutoModeSubnet + +/** Value: "AUTO_MODE_SUBNET_ALLOWED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowAutoModeSubnet_AutoModeSubnetAllowed; +/** Value: "AUTO_MODE_SUBNET_BLOCKED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowAutoModeSubnet_AutoModeSubnetBlocked; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileNetworkFeatures.allowClassDFirewalls + +/** Value: "CLASS_D_FIREWALLS_ALLOWED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowClassDFirewalls_ClassDFirewallsAllowed; +/** Value: "CLASS_D_FIREWALLS_BLOCKED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowClassDFirewalls_ClassDFirewallsBlocked; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileNetworkFeatures.allowCloudNat + +/** Value: "CLOUD_NAT_ALLOWED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowCloudNat_CloudNatAllowed; +/** Value: "CLOUD_NAT_BLOCKED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowCloudNat_CloudNatBlocked; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileNetworkFeatures.allowCloudRouter + +/** Value: "CLOUD_ROUTER_ALLOWED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowCloudRouter_CloudRouterAllowed; +/** Value: "CLOUD_ROUTER_BLOCKED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowCloudRouter_CloudRouterBlocked; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileNetworkFeatures.allowExternalIpAccess + +/** Value: "EXTERNAL_IP_ACCESS_ALLOWED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowExternalIpAccess_ExternalIpAccessAllowed; +/** Value: "EXTERNAL_IP_ACCESS_BLOCKED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowExternalIpAccess_ExternalIpAccessBlocked; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileNetworkFeatures.allowInterconnect + +/** Value: "INTERCONNECT_ALLOWED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowInterconnect_InterconnectAllowed; +/** Value: "INTERCONNECT_BLOCKED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowInterconnect_InterconnectBlocked; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileNetworkFeatures.allowLoadBalancing + +/** Value: "LOAD_BALANCING_ALLOWED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowLoadBalancing_LoadBalancingAllowed; +/** Value: "LOAD_BALANCING_BLOCKED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowLoadBalancing_LoadBalancingBlocked; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileNetworkFeatures.allowMultiNicInSameNetwork + +/** Value: "MULTI_NIC_IN_SAME_NETWORK_ALLOWED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowMultiNicInSameNetwork_MultiNicInSameNetworkAllowed; +/** Value: "MULTI_NIC_IN_SAME_NETWORK_BLOCKED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowMultiNicInSameNetwork_MultiNicInSameNetworkBlocked; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileNetworkFeatures.allowPacketMirroring + +/** Value: "PACKET_MIRRORING_ALLOWED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowPacketMirroring_PacketMirroringAllowed; +/** Value: "PACKET_MIRRORING_BLOCKED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowPacketMirroring_PacketMirroringBlocked; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileNetworkFeatures.allowPrivateGoogleAccess + +/** Value: "PRIVATE_GOOGLE_ACCESS_ALLOWED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowPrivateGoogleAccess_PrivateGoogleAccessAllowed; +/** Value: "PRIVATE_GOOGLE_ACCESS_BLOCKED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowPrivateGoogleAccess_PrivateGoogleAccessBlocked; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileNetworkFeatures.allowPsc + +/** Value: "PSC_ALLOWED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowPsc_PscAllowed; +/** Value: "PSC_BLOCKED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowPsc_PscBlocked; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileNetworkFeatures.allowSameNetworkUnicast + +/** Value: "SAME_NETWORK_UNICAST_ALLOWED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowSameNetworkUnicast_SameNetworkUnicastAllowed; +/** Value: "SAME_NETWORK_UNICAST_BLOCKED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowSameNetworkUnicast_SameNetworkUnicastBlocked; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileNetworkFeatures.allowStaticRoutes + +/** Value: "STATIC_ROUTES_ALLOWED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowStaticRoutes_StaticRoutesAllowed; +/** Value: "STATIC_ROUTES_BLOCKED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowStaticRoutes_StaticRoutesBlocked; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileNetworkFeatures.allowSubInterfaces + +/** Value: "SUBINTERFACES_ALLOWED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowSubInterfaces_SubinterfacesAllowed; +/** Value: "SUBINTERFACES_BLOCKED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowSubInterfaces_SubinterfacesBlocked; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileNetworkFeatures.allowVpcPeering + +/** Value: "VPC_PEERING_ALLOWED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowVpcPeering_VpcPeeringAllowed; +/** Value: "VPC_PEERING_BLOCKED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowVpcPeering_VpcPeeringBlocked; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileNetworkFeatures.allowVpn + +/** Value: "VPN_ALLOWED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowVpn_VpnAllowed; +/** Value: "VPN_BLOCKED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_AllowVpn_VpnBlocked; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileNetworkFeatures.interfaceTypes + +/** + * GVNIC + * + * Value: "GVNIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_InterfaceTypes_Gvnic; +/** + * IDPF + * + * Value: "IDPF" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_InterfaceTypes_Idpf; +/** + * IRDMA + * + * Value: "IRDMA" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_InterfaceTypes_Irdma; +/** + * MRDMA + * + * Value: "MRDMA" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_InterfaceTypes_Mrdma; +/** + * No type specified. + * + * Value: "UNSPECIFIED_NIC_TYPE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_InterfaceTypes_UnspecifiedNicType; +/** + * VIRTIO + * + * Value: "VIRTIO_NET" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_InterfaceTypes_VirtioNet; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileNetworkFeatures.subnetPurposes + +/** Value: "SUBNET_PURPOSE_CUSTOM_HARDWARE" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_SubnetPurposes_SubnetPurposeCustomHardware; +/** Value: "SUBNET_PURPOSE_PRIVATE" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_SubnetPurposes_SubnetPurposePrivate; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileNetworkFeatures.subnetStackTypes + +/** Value: "SUBNET_STACK_TYPE_IPV4_IPV6" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_SubnetStackTypes_SubnetStackTypeIpv4Ipv6; +/** Value: "SUBNET_STACK_TYPE_IPV4_ONLY" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_SubnetStackTypes_SubnetStackTypeIpv4Only; +/** Value: "SUBNET_STACK_TYPE_IPV6_ONLY" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_SubnetStackTypes_SubnetStackTypeIpv6Only; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfileNetworkFeatures.unicast + +/** Value: "UNICAST_SDN" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_Unicast_UnicastSdn; +/** Value: "UNICAST_ULL" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfileNetworkFeatures_Unicast_UnicastUll; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkProfilesListResponse_Warning.code + +/** + * Warning about failed cleanup of transient changes made by a failed + * operation. + * + * Value: "CLEANUP_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_CleanupFailed; +/** + * A link to a deprecated resource was created. + * + * Value: "DEPRECATED_RESOURCE_USED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_DeprecatedResourceUsed; +/** + * When deploying and at least one of the resources has a type marked as + * deprecated + * + * Value: "DEPRECATED_TYPE_USED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_DeprecatedTypeUsed; +/** + * The user created a boot disk that is larger than image size. + * + * Value: "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_DiskSizeLargerThanImageSize; +/** + * When deploying and at least one of the resources has a type marked as + * experimental + * + * Value: "EXPERIMENTAL_TYPE_USED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_ExperimentalTypeUsed; +/** + * Warning that is present in an external api call + * + * Value: "EXTERNAL_API_WARNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_ExternalApiWarning; +/** + * Warning that value of a field has been overridden. Deprecated unused field. + * + * Value: "FIELD_VALUE_OVERRIDEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_FieldValueOverriden GTLR_DEPRECATED; +/** + * The operation involved use of an injected kernel, which is deprecated. + * + * Value: "INJECTED_KERNELS_DEPRECATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_InjectedKernelsDeprecated; +/** + * A WEIGHTED_MAGLEV backend service is associated with a health check that is + * not of type HTTP/HTTPS/HTTP2. + * + * Value: "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_InvalidHealthCheckForDynamicWieghtedLb; +/** + * When deploying a deployment with a exceedingly large number of resources + * + * Value: "LARGE_DEPLOYMENT_WARNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_LargeDeploymentWarning; +/** + * Resource can't be retrieved due to list overhead quota exceed which captures + * the amount of resources filtered out by user-defined list filter. + * + * Value: "LIST_OVERHEAD_QUOTA_EXCEED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_ListOverheadQuotaExceed; +/** + * A resource depends on a missing type + * + * Value: "MISSING_TYPE_DEPENDENCY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_MissingTypeDependency; +/** + * The route's nextHopIp address is not assigned to an instance on the network. + * + * Value: "NEXT_HOP_ADDRESS_NOT_ASSIGNED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_NextHopAddressNotAssigned; +/** + * The route's next hop instance cannot ip forward. + * + * Value: "NEXT_HOP_CANNOT_IP_FORWARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_NextHopCannotIpForward; +/** + * The route's nextHopInstance URL refers to an instance that does not have an + * ipv6 interface on the same network as the route. + * + * Value: "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_NextHopInstanceHasNoIpv6Interface; +/** + * The route's nextHopInstance URL refers to an instance that does not exist. + * + * Value: "NEXT_HOP_INSTANCE_NOT_FOUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_NextHopInstanceNotFound; +/** + * The route's nextHopInstance URL refers to an instance that is not on the + * same network as the route. + * + * Value: "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_NextHopInstanceNotOnNetwork; +/** + * The route's next hop instance does not have a status of RUNNING. + * + * Value: "NEXT_HOP_NOT_RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_NextHopNotRunning; +/** + * No results are present on a particular list page. + * + * Value: "NO_RESULTS_ON_PAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_NoResultsOnPage; +/** + * Error which is not critical. We decided to continue the process despite the + * mentioned error. + * + * Value: "NOT_CRITICAL_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_NotCriticalError; +/** + * Success is reported, but some results may be missing due to errors + * + * Value: "PARTIAL_SUCCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_QuotaInfoUnavailable; +/** + * The user attempted to use a resource that requires a TOS they have not + * accepted. + * + * Value: "REQUIRED_TOS_AGREEMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_RequiredTosAgreement; +/** + * Warning that a resource is in use. + * + * Value: "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_ResourceInUseByOtherResourceWarning; +/** + * One or more of the resources set to auto-delete could not be deleted because + * they were in use. + * + * Value: "RESOURCE_NOT_DELETED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_ResourceNotDeleted; +/** + * When a resource schema validation is ignored. + * + * Value: "SCHEMA_VALIDATION_IGNORED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_SchemaValidationIgnored; +/** + * Instance template used in instance group manager is valid as such, but its + * application does not make a lot of sense, because it allows only single + * instance in instance group. + * + * Value: "SINGLE_INSTANCE_PROPERTY_TEMPLATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_SingleInstancePropertyTemplate; +/** + * When undeclared properties in the schema are present + * + * Value: "UNDECLARED_PROPERTIES" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_UndeclaredProperties; +/** + * A given scope cannot be reached. + * + * Value: "UNREACHABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkProfilesListResponse_Warning_Code_Unreachable; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkRoutingConfig.bgpBestPathSelectionMode + +/** Value: "LEGACY" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkRoutingConfig_BgpBestPathSelectionMode_Legacy; +/** Value: "STANDARD" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkRoutingConfig_BgpBestPathSelectionMode_Standard; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkRoutingConfig.bgpInterRegionCost + +/** Value: "ADD_COST_TO_MED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkRoutingConfig_BgpInterRegionCost_AddCostToMed; +/** Value: "DEFAULT" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkRoutingConfig_BgpInterRegionCost_Default; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkRoutingConfig.effectiveBgpInterRegionCost + +/** Value: "ADD_COST_TO_MED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkRoutingConfig_EffectiveBgpInterRegionCost_AddCostToMed; +/** Value: "DEFAULT" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkRoutingConfig_EffectiveBgpInterRegionCost_Default; + // ---------------------------------------------------------------------------- // GTLRCompute_NetworkRoutingConfig.routingMode @@ -19608,6 +20989,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeGroupAggregatedList_Warning_ * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeGroupAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeGroupAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -19816,6 +21203,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeGroupList_Warning_Code_NotCr * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeGroupList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeGroupList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -20024,6 +21417,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeGroupsListNodes_Warning_Code * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeGroupsListNodes_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeGroupsListNodes_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -20208,6 +21607,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeGroupsScopedList_Warning_Cod * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeGroupsScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeGroupsScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -20430,6 +21835,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeTemplateAggregatedList_Warni * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeTemplateAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeTemplateAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -20614,6 +22025,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeTemplateList_Warning_Code_No * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeTemplateList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeTemplateList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -20798,6 +22215,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeTemplatesScopedList_Warning_ * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeTemplatesScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeTemplatesScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -20982,6 +22405,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeTypeAggregatedList_Warning_C * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeTypeAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeTypeAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -21166,6 +22595,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeTypeList_Warning_Code_NotCri * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeTypeList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeTypeList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -21350,6 +22785,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeTypesScopedList_Warning_Code * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeTypesScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NodeTypesScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -21534,6 +22975,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NotificationEndpointList_Warning * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NotificationEndpointList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NotificationEndpointList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -21728,6 +23175,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_Operation_Warnings_Item_Code_Not * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_Operation_Warnings_Item_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Operation_Warnings_Item_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -21912,6 +23365,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_OperationAggregatedList_Warning_ * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_OperationAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_OperationAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -22096,6 +23555,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_OperationList_Warning_Code_NotCr * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_OperationList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_OperationList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -22280,6 +23745,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_OperationsScopedList_Warning_Cod * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_OperationsScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_OperationsScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -22513,6 +23984,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_PacketMirroringAggregatedList_Wa * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_PacketMirroringAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_PacketMirroringAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -22719,6 +24196,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_PacketMirroringList_Warning_Code * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_PacketMirroringList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_PacketMirroringList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -22903,6 +24386,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_PacketMirroringsScopedList_Warni * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_PacketMirroringsScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_PacketMirroringsScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -23394,6 +24883,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicAdvertisedPrefixList_Warni * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicAdvertisedPrefixList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicAdvertisedPrefixList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -23657,6 +25152,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicDelegatedPrefixAggregatedL * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicDelegatedPrefixAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicDelegatedPrefixAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -23841,6 +25342,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicDelegatedPrefixesScopedLis * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicDelegatedPrefixesScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicDelegatedPrefixesScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -24025,6 +25532,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicDelegatedPrefixList_Warnin * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicDelegatedPrefixList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_PublicDelegatedPrefixList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -24601,6 +26114,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_Region_QuotaStatusWarning_Code_N * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_Region_QuotaStatusWarning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Region_QuotaStatusWarning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -24785,6 +26304,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_RegionAutoscalerList_Warning_Cod * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_RegionAutoscalerList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_RegionAutoscalerList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -24969,6 +26494,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_RegionDiskTypeList_Warning_Code_ * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_RegionDiskTypeList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_RegionDiskTypeList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -25153,6 +26684,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_RegionInstanceGroupList_Warning_ * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_RegionInstanceGroupList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_RegionInstanceGroupList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -25337,6 +26874,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_RegionInstanceGroupManagerList_W * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_RegionInstanceGroupManagerList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_RegionInstanceGroupManagerList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -25577,6 +27120,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_RegionInstanceGroupManagersListI * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_RegionInstanceGroupManagersListInstanceConfigsResp_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_RegionInstanceGroupManagersListInstanceConfigsResp_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -25761,6 +27310,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_RegionInstanceGroupsListInstance * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_RegionInstanceGroupsListInstances_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_RegionInstanceGroupsListInstances_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -25961,6 +27516,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_RegionList_Warning_Code_NotCriti * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_RegionList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_RegionList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -26213,6 +27774,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationAggregatedList_Warnin * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -26397,6 +27964,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationList_Warning_Code_Not * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -26581,6 +28154,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationsScopedList_Warning_C * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationsScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationsScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -26779,6 +28358,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ResourcePoliciesScopedList_Warni * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ResourcePoliciesScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ResourcePoliciesScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -26993,6 +28578,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ResourcePolicyAggregatedList_War * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ResourcePolicyAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ResourcePolicyAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -27185,6 +28776,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ResourcePolicyList_Warning_Code_ * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ResourcePolicyList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ResourcePolicyList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -27262,6 +28859,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ResourcePolicyWeeklyCycleDayOfWe /** Value: "WEDNESDAY" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ResourcePolicyWeeklyCycleDayOfWeek_Day_Wednesday; +// ---------------------------------------------------------------------------- +// GTLRCompute_Route.nextHopOrigin + +/** Value: "EGP" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Route_NextHopOrigin_Egp; +/** Value: "IGP" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Route_NextHopOrigin_Igp; +/** Value: "INCOMPLETE" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Route_NextHopOrigin_Incomplete; + // ---------------------------------------------------------------------------- // GTLRCompute_Route.routeStatus @@ -27442,6 +29049,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_Route_Warnings_Item_Code_NotCrit * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_Route_Warnings_Item_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Route_Warnings_Item_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -27638,6 +29251,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_RouteList_Warning_Code_NotCritic * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_RouteList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_RouteList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -27822,6 +29441,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_RouterAggregatedList_Warning_Cod * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_RouterAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_RouterAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -28110,6 +29735,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_RouterList_Warning_Code_NotCriti * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_RouterList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_RouterList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -28447,6 +30078,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_RoutersScopedList_Warning_Code_N * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_RoutersScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_RoutersScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -28848,6 +30485,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPoliciesAggregatedList_W * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPoliciesAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPoliciesAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -29032,6 +30675,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPoliciesScopedList_Warni * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPoliciesScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPoliciesScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -29270,6 +30919,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyList_Warning_Code_ * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -29381,6 +31036,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptio FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_Sni; /** Value: "TLS_JA3_FINGERPRINT" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_TlsJa3Fingerprint; +/** Value: "TLS_JA4_FINGERPRINT" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_TlsJa4Fingerprint; /** Value: "USER_IP" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_UserIp; /** Value: "XFF_IP" */ @@ -29405,6 +31062,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptio FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_Sni; /** Value: "TLS_JA3_FINGERPRINT" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_TlsJa3Fingerprint; +/** Value: "TLS_JA4_FINGERPRINT" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_TlsJa4Fingerprint; /** Value: "USER_IP" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_UserIp; /** Value: "XFF_IP" */ @@ -29595,6 +31254,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ServiceAttachmentAggregatedList_ * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ServiceAttachmentAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ServiceAttachmentAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -29816,6 +31481,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ServiceAttachmentList_Warning_Co * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ServiceAttachmentList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ServiceAttachmentList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -30000,6 +31671,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ServiceAttachmentsScopedList_War * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ServiceAttachmentsScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ServiceAttachmentsScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -30320,6 +31997,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_SnapshotList_Warning_Code_NotCri * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_SnapshotList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SnapshotList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -30571,6 +32254,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_SslCertificateAggregatedList_War * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_SslCertificateAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SslCertificateAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -30755,6 +32444,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_SslCertificateList_Warning_Code_ * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_SslCertificateList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SslCertificateList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -31030,6 +32725,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_SslCertificatesScopedList_Warnin * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_SslCertificatesScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SslCertificatesScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -31248,6 +32949,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_SslPoliciesAggregatedList_Warnin * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_SslPoliciesAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SslPoliciesAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -31432,6 +33139,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_SslPoliciesList_Warning_Code_Not * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_SslPoliciesList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SslPoliciesList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -31616,6 +33329,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_SslPoliciesScopedList_Warning_Co * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_SslPoliciesScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SslPoliciesScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -31854,6 +33573,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_SslPolicy_Warnings_Item_Code_Not * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_SslPolicy_Warnings_Item_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SslPolicy_Warnings_Item_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -32120,6 +33845,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_StoragePoolAggregatedList_Warnin * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_StoragePoolAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_StoragePoolAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -32344,6 +34075,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_StoragePoolList_Warning_Code_Not * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_StoragePoolList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_StoragePoolList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -32528,6 +34265,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_StoragePoolListDisks_Warning_Cod * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_StoragePoolListDisks_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_StoragePoolListDisks_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -32712,6 +34455,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_StoragePoolsScopedList_Warning_C * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_StoragePoolsScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_StoragePoolsScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -32896,6 +34645,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_StoragePoolTypeAggregatedList_Wa * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_StoragePoolTypeAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_StoragePoolTypeAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -33080,6 +34835,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_StoragePoolTypeList_Warning_Code * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_StoragePoolTypeList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_StoragePoolTypeList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -33264,6 +35025,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_StoragePoolTypesScopedList_Warni * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_StoragePoolTypesScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_StoragePoolTypesScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -33367,6 +35134,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_Subnetwork_Purpose_GlobalManaged * Value: "INTERNAL_HTTPS_LOAD_BALANCER" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_Subnetwork_Purpose_InternalHttpsLoadBalancer; +/** + * Subnetwork will be used for Migration from one peered VPC to another. (a + * transient state of subnetwork while migrating resources from one project to + * another). + * + * Value: "PEER_MIGRATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Subnetwork_Purpose_PeerMigration; /** * Regular user created or automatically created subnet. * @@ -33589,6 +35364,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_SubnetworkAggregatedList_Warning * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_SubnetworkAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SubnetworkAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -33773,6 +35554,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_SubnetworkList_Warning_Code_NotC * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_SubnetworkList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SubnetworkList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -33983,6 +35770,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_SubnetworksScopedList_Warning_Co * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_SubnetworksScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_SubnetworksScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -34193,6 +35986,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetGrpcProxyList_Warning_Code * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetGrpcProxyList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetGrpcProxyList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -34377,6 +36176,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetHttpProxiesScopedList_Warn * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetHttpProxiesScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetHttpProxiesScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -34561,6 +36366,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetHttpProxyList_Warning_Code * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetHttpProxyList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetHttpProxyList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -34745,6 +36556,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetHttpsProxiesScopedList_War * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetHttpsProxiesScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetHttpsProxiesScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -34867,6 +36684,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetHttpsProxy_TlsEarlyData_Pe * Value: "STRICT" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetHttpsProxy_TlsEarlyData_Strict; +/** + * This enables TLS 1.3 Early Data for requests with any HTTP method including + * non-idempotent methods list POST. This mode does not enforce any other + * limitations. This may be valuable for gRPC use cases. However, we do not + * recommend this method unless you have evaluated your security stance and + * mitigated the risk of replay attacks using other mechanisms. + * + * Value: "UNRESTRICTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetHttpsProxy_TlsEarlyData_Unrestricted; // ---------------------------------------------------------------------------- // GTLRCompute_TargetHttpsProxyAggregatedList_Warning.code @@ -35005,6 +36832,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetHttpsProxyAggregatedList_W * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetHttpsProxyAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetHttpsProxyAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -35189,6 +37022,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetHttpsProxyList_Warning_Cod * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetHttpsProxyList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetHttpsProxyList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -35383,6 +37222,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetInstanceAggregatedList_War * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetInstanceAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetInstanceAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -35567,6 +37412,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetInstanceList_Warning_Code_ * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetInstanceList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetInstanceList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -35751,6 +37602,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetInstancesScopedList_Warnin * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetInstancesScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetInstancesScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -36010,6 +37867,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetPoolAggregatedList_Warning * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetPoolAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetPoolAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -36194,6 +38057,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetPoolList_Warning_Code_NotC * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetPoolList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetPoolList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -36378,6 +38247,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetPoolsScopedList_Warning_Co * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetPoolsScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetPoolsScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -36578,6 +38453,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetSslProxyList_Warning_Code_ * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetSslProxyList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetSslProxyList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -36762,6 +38643,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetTcpProxiesScopedList_Warni * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetTcpProxiesScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetTcpProxiesScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -36962,6 +38849,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetTcpProxyAggregatedList_War * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetTcpProxyAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetTcpProxyAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -37146,6 +39039,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetTcpProxyList_Warning_Code_ * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetTcpProxyList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetTcpProxyList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -37342,6 +39241,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetVpnGatewayAggregatedList_W * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetVpnGatewayAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetVpnGatewayAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -37526,6 +39431,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetVpnGatewayList_Warning_Cod * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetVpnGatewayList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetVpnGatewayList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -37710,6 +39621,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetVpnGatewaysScopedList_Warn * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetVpnGatewaysScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_TargetVpnGatewaysScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -37973,6 +39890,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_UrlMapList_Warning_Code_NotCriti * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_UrlMapList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UrlMapList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -38157,6 +40080,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_UrlMapsAggregatedList_Warning_Co * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_UrlMapsAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UrlMapsAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -38341,6 +40270,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_UrlMapsScopedList_Warning_Code_N * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_UrlMapsScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UrlMapsScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -38447,6 +40382,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_UsableSubnetwork_Purpose_GlobalM * Value: "INTERNAL_HTTPS_LOAD_BALANCER" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_UsableSubnetwork_Purpose_InternalHttpsLoadBalancer; +/** + * Subnetwork will be used for Migration from one peered VPC to another. (a + * transient state of subnetwork while migrating resources from one project to + * another). + * + * Value: "PEER_MIGRATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UsableSubnetwork_Purpose_PeerMigration; /** * Regular user created or automatically created subnet. * @@ -38653,6 +40596,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_UsableSubnetworksAggregatedList_ * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_UsableSubnetworksAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UsableSubnetworksAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -38837,6 +40786,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_VmEndpointNatMappingsList_Warnin * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_VmEndpointNatMappingsList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_VmEndpointNatMappingsList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -39059,6 +41014,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_VpnGatewayAggregatedList_Warning * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_VpnGatewayAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_VpnGatewayAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -39243,6 +41204,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_VpnGatewayList_Warning_Code_NotC * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_VpnGatewayList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_VpnGatewayList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -39427,6 +41394,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_VpnGatewaysScopedList_Warning_Co * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_VpnGatewaysScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_VpnGatewaysScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -39724,6 +41697,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_VpnTunnelAggregatedList_Warning_ * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_VpnTunnelAggregatedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_VpnTunnelAggregatedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -39908,6 +41887,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_VpnTunnelList_Warning_Code_NotCr * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_VpnTunnelList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_VpnTunnelList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -40092,6 +42077,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_VpnTunnelsScopedList_Warning_Cod * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_VpnTunnelsScopedList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_VpnTunnelsScopedList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -40276,6 +42267,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_XpnHostList_Warning_Code_NotCrit * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_XpnHostList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_XpnHostList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -40476,6 +42473,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_NotCritica * Value: "PARTIAL_SUCCESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_QuotaInfoUnavailable; /** * The user attempted to use a resource that requires a TOS they have not * accepted. @@ -40743,6 +42746,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_AcceleratorTypeAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_AcceleratorTypeAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_AcceleratorTypeAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -40928,6 +42934,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_AcceleratorTypeList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_AcceleratorTypeList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_AcceleratorTypeList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -41082,6 +43091,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_AcceleratorTypesScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_AcceleratorTypesScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_AcceleratorTypesScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -41221,8 +43233,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, copy, nullable) NSString *publicPtrDomainName; /** - * [Output Only] The resource URL for the security policy associated with this - * access config. + * The resource URL for the security policy associated with this access config. */ @property(nonatomic, copy, nullable) NSString *securityPolicy; @@ -41628,6 +43639,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_AddressAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_AddressAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_AddressAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -41782,6 +43796,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_AddressesScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_AddressesScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_AddressesScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -41965,6 +43982,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_AddressList_Warning_Code_PartialSuccess Success is * reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_AddressList_Warning_Code_QuotaInfoUnavailable Quota + * information is not available to client requests (e.g: regions.list). + * (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_AddressList_Warning_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -42678,7 +44698,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * or disks.source is required. To create a disk with a snapshot that you * created, specify the snapshot name in the following format: * global/snapshots/my-backup If the source snapshot is deleted later, this - * field will not be set. + * field will not be set. Note: You cannot create VMs in bulk using a snapshot + * as the source. Use an image instead when you create VMs using the bulk + * insert method. */ @property(nonatomic, copy, nullable) NSString *sourceSnapshot; @@ -43065,6 +45087,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_AutoscalerAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_AutoscalerAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_AutoscalerAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -43249,6 +45274,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_AutoscalerList_Warning_Code_PartialSuccess Success is * reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_AutoscalerList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_AutoscalerList_Warning_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -43403,6 +45431,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_AutoscalersScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_AutoscalersScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_AutoscalersScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -44222,7 +46253,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * identifiable) content. CACHE_ALL_STATIC Automatically cache static content, * including common image formats, media (video and audio), and web assets * (JavaScript and CSS). Requests and responses that are marked as uncacheable, - * as well as dynamic content (including HTML), will not be cached. + * as well as dynamic content (including HTML), will not be cached. If no value + * is provided for cdnPolicy.cacheMode, it defaults to CACHE_ALL_STATIC. * * Likely values: * @arg @c kGTLRCompute_BackendBucketCdnPolicy_CacheMode_CacheAllStatic @@ -44549,6 +46581,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_BackendBucketList_Warning_Code_PartialSuccess Success * is reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_BackendBucketList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_BackendBucketList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -45318,6 +47353,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_BackendServiceAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_BackendServiceAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_BackendServiceAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -45404,7 +47442,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * identifiable) content. CACHE_ALL_STATIC Automatically cache static content, * including common image formats, media (video and audio), and web assets * (JavaScript and CSS). Requests and responses that are marked as uncacheable, - * as well as dynamic content (including HTML), will not be cached. + * as well as dynamic content (including HTML), will not be cached. If no value + * is provided for cdnPolicy.cacheMode, it defaults to CACHE_ALL_STATIC. * * Likely values: * @arg @c kGTLRCompute_BackendServiceCdnPolicy_CacheMode_CacheAllStatic @@ -45933,6 +47972,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_BackendServiceList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_BackendServiceList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_BackendServiceList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -46118,6 +48160,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_BackendServiceListUsable_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_BackendServiceListUsable_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_BackendServiceListUsable_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -46428,6 +48473,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_BackendServicesScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_BackendServicesScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_BackendServicesScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -47399,6 +49447,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * "MEMORY_OPTIMIZED" * @arg @c kGTLRCompute_Commitment_Type_MemoryOptimizedM3 Value * "MEMORY_OPTIMIZED_M3" + * @arg @c kGTLRCompute_Commitment_Type_MemoryOptimizedX416tb Value + * "MEMORY_OPTIMIZED_X4_16TB" + * @arg @c kGTLRCompute_Commitment_Type_MemoryOptimizedX424tb Value + * "MEMORY_OPTIMIZED_X4_24TB" + * @arg @c kGTLRCompute_Commitment_Type_MemoryOptimizedX432tb Value + * "MEMORY_OPTIMIZED_X4_32TB" * @arg @c kGTLRCompute_Commitment_Type_StorageOptimizedZ3 Value * "STORAGE_OPTIMIZED_Z3" * @arg @c kGTLRCompute_Commitment_Type_TypeUnspecified Value @@ -47540,6 +49594,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_CommitmentAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_CommitmentAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_CommitmentAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -47724,6 +49781,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_CommitmentList_Warning_Code_PartialSuccess Success is * reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_CommitmentList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_CommitmentList_Warning_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -47893,6 +49953,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_CommitmentsScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_CommitmentsScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_CommitmentsScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -48904,6 +50967,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_DiskAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_DiskAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_DiskAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -49209,6 +51275,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_DiskList_Warning_Code_PartialSuccess Success is * reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_DiskList_Warning_Code_QuotaInfoUnavailable Quota + * information is not available to client requests (e.g: regions.list). + * (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_DiskList_Warning_Code_RequiredTosAgreement The user * attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -49511,6 +51580,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_DisksScopedList_Warning_Code_PartialSuccess Success * is reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_DisksScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_DisksScopedList_Warning_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -49817,6 +51889,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_DiskTypeAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_DiskTypeAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_DiskTypeAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -49999,6 +52074,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_DiskTypeList_Warning_Code_PartialSuccess Success is * reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_DiskTypeList_Warning_Code_QuotaInfoUnavailable Quota + * information is not available to client requests (e.g: regions.list). + * (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_DiskTypeList_Warning_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -50153,6 +52231,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_DiskTypesScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_DiskTypesScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_DiskTypesScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -50342,13 +52423,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, copy, nullable) NSString *domain; /** - * Additional structured details about this error. Keys must match /a-z+/ but - * should ideally be lowerCamelCase. Also they must be limited to 64 characters - * in length. When identifying the current value of an exceeded limit, the - * units should be contained in the key, not the value. For example, rather - * than {"instanceLimit": "100/request"}, should be returned as, - * {"instanceLimitPerRequest": "100"}, if the client exceeds the number of - * instances that can be created in a single (batch) request. + * Additional structured details about this error. Keys must match a regular + * expression of `a-z+` but should ideally be lowerCamelCase. Also, they must + * be limited to 64 characters in length. When identifying the current value of + * an exceeded limit, the units should be contained in the key, not the value. + * For example, rather than `{"instanceLimit": "100/request"}`, should be + * returned as, `{"instanceLimitPerRequest": "100"}`, if the client exceeds the + * number of instances that can be created in a single (batch) request. */ @property(nonatomic, strong, nullable) GTLRCompute_ErrorInfo_Metadatas *metadatas; @@ -50364,13 +52445,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** - * Additional structured details about this error. Keys must match /a-z+/ but - * should ideally be lowerCamelCase. Also they must be limited to 64 characters - * in length. When identifying the current value of an exceeded limit, the - * units should be contained in the key, not the value. For example, rather - * than {"instanceLimit": "100/request"}, should be returned as, - * {"instanceLimitPerRequest": "100"}, if the client exceeds the number of - * instances that can be created in a single (batch) request. + * Additional structured details about this error. Keys must match a regular + * expression of `a-z+` but should ideally be lowerCamelCase. Also, they must + * be limited to 64 characters in length. When identifying the current value of + * an exceeded limit, the units should be contained in the key, not the value. + * For example, rather than `{"instanceLimit": "100/request"}`, should be + * returned as, `{"instanceLimitPerRequest": "100"}`, if the client exceeds the + * number of instances that can be created in a single (batch) request. * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list @@ -50552,6 +52633,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_ExchangedPeeringRoutesList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_ExchangedPeeringRoutesList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_ExchangedPeeringRoutesList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -50960,6 +53044,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_ExternalVpnGatewayList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_ExternalVpnGatewayList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_ExternalVpnGatewayList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -51399,6 +53486,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_FirewallList_Warning_Code_PartialSuccess Success is * reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_FirewallList_Warning_Code_QuotaInfoUnavailable Quota + * information is not available to client requests (e.g: regions.list). + * (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_FirewallList_Warning_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -51504,6 +53594,163 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * GTLRCompute_FirewallPoliciesScopedList + */ +@interface GTLRCompute_FirewallPoliciesScopedList : GTLRObject + +/** A list of firewall policies contained in this scope. */ +@property(nonatomic, strong, nullable) NSArray *firewallPolicies; + +/** + * Informational warning which replaces the list of firewall policies when the + * list is empty. + */ +@property(nonatomic, strong, nullable) GTLRCompute_FirewallPoliciesScopedList_Warning *warning; + +@end + + +/** + * Informational warning which replaces the list of firewall policies when the + * list is empty. + */ +@interface GTLRCompute_FirewallPoliciesScopedList_Warning : GTLRObject + +/** + * [Output Only] A warning code, if applicable. For example, Compute Engine + * returns NO_RESULTS_ON_PAGE if there are no results in the response. + * + * Likely values: + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_CleanupFailed + * Warning about failed cleanup of transient changes made by a failed + * operation. (Value: "CLEANUP_FAILED") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_DeprecatedResourceUsed + * A link to a deprecated resource was created. (Value: + * "DEPRECATED_RESOURCE_USED") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_DeprecatedTypeUsed + * When deploying and at least one of the resources has a type marked as + * deprecated (Value: "DEPRECATED_TYPE_USED") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_DiskSizeLargerThanImageSize + * The user created a boot disk that is larger than image size. (Value: + * "DISK_SIZE_LARGER_THAN_IMAGE_SIZE") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_ExperimentalTypeUsed + * When deploying and at least one of the resources has a type marked as + * experimental (Value: "EXPERIMENTAL_TYPE_USED") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_ExternalApiWarning + * Warning that is present in an external api call (Value: + * "EXTERNAL_API_WARNING") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_FieldValueOverriden + * Warning that value of a field has been overridden. Deprecated unused + * field. (Value: "FIELD_VALUE_OVERRIDEN") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_InjectedKernelsDeprecated + * The operation involved use of an injected kernel, which is deprecated. + * (Value: "INJECTED_KERNELS_DEPRECATED") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_InvalidHealthCheckForDynamicWieghtedLb + * A WEIGHTED_MAGLEV backend service is associated with a health check + * that is not of type HTTP/HTTPS/HTTP2. (Value: + * "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_LargeDeploymentWarning + * When deploying a deployment with a exceedingly large number of + * resources (Value: "LARGE_DEPLOYMENT_WARNING") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_ListOverheadQuotaExceed + * Resource can't be retrieved due to list overhead quota exceed which + * captures the amount of resources filtered out by user-defined list + * filter. (Value: "LIST_OVERHEAD_QUOTA_EXCEED") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_MissingTypeDependency + * A resource depends on a missing type (Value: + * "MISSING_TYPE_DEPENDENCY") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_NextHopAddressNotAssigned + * The route's nextHopIp address is not assigned to an instance on the + * network. (Value: "NEXT_HOP_ADDRESS_NOT_ASSIGNED") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_NextHopCannotIpForward + * The route's next hop instance cannot ip forward. (Value: + * "NEXT_HOP_CANNOT_IP_FORWARD") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_NextHopInstanceHasNoIpv6Interface + * The route's nextHopInstance URL refers to an instance that does not + * have an ipv6 interface on the same network as the route. (Value: + * "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_NextHopInstanceNotFound + * The route's nextHopInstance URL refers to an instance that does not + * exist. (Value: "NEXT_HOP_INSTANCE_NOT_FOUND") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_NextHopInstanceNotOnNetwork + * The route's nextHopInstance URL refers to an instance that is not on + * the same network as the route. (Value: + * "NEXT_HOP_INSTANCE_NOT_ON_NETWORK") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_NextHopNotRunning + * The route's next hop instance does not have a status of RUNNING. + * (Value: "NEXT_HOP_NOT_RUNNING") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_NoResultsOnPage + * No results are present on a particular list page. (Value: + * "NO_RESULTS_ON_PAGE") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_NotCriticalError + * Error which is not critical. We decided to continue the process + * despite the mentioned error. (Value: "NOT_CRITICAL_ERROR") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_PartialSuccess + * Success is reported, but some results may be missing due to errors + * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_RequiredTosAgreement + * The user attempted to use a resource that requires a TOS they have not + * accepted. (Value: "REQUIRED_TOS_AGREEMENT") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_ResourceInUseByOtherResourceWarning + * Warning that a resource is in use. (Value: + * "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_ResourceNotDeleted + * One or more of the resources set to auto-delete could not be deleted + * because they were in use. (Value: "RESOURCE_NOT_DELETED") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_SchemaValidationIgnored + * When a resource schema validation is ignored. (Value: + * "SCHEMA_VALIDATION_IGNORED") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_SingleInstancePropertyTemplate + * Instance template used in instance group manager is valid as such, but + * its application does not make a lot of sense, because it allows only + * single instance in instance group. (Value: + * "SINGLE_INSTANCE_PROPERTY_TEMPLATE") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_UndeclaredProperties + * When undeclared properties in the schema are present (Value: + * "UNDECLARED_PROPERTIES") + * @arg @c kGTLRCompute_FirewallPoliciesScopedList_Warning_Code_Unreachable A + * given scope cannot be reached. (Value: "UNREACHABLE") + */ +@property(nonatomic, copy, nullable) NSString *code; + +/** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ +@property(nonatomic, strong, nullable) NSArray *data; + +/** [Output Only] A human-readable description of the warning code. */ +@property(nonatomic, copy, nullable) NSString *message; + +@end + + +/** + * GTLRCompute_FirewallPoliciesScopedList_Warning_Data_Item + */ +@interface GTLRCompute_FirewallPoliciesScopedList_Warning_Data_Item : GTLRObject + +/** + * [Output Only] A key that provides more detail on the warning being returned. + * For example, for warnings where there are no results in a list request for a + * particular zone, this key might be scope and the key value might be the zone + * name. Other examples might be a key indicating a deprecated resource and a + * suggested replacement, or a warning about invalid network settings (for + * example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ +@property(nonatomic, copy, nullable) NSString *key; + +/** [Output Only] A warning data value corresponding to the key. */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + + /** * Represents a Firewall Policy resource. */ @@ -51777,6 +54024,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_FirewallPolicyList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_FirewallPolicyList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_FirewallPolicyList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -52720,6 +54970,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_ForwardingRuleAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_ForwardingRuleAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_ForwardingRuleAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -52902,6 +55155,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_ForwardingRuleList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_ForwardingRuleList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_ForwardingRuleList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -53094,6 +55350,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_ForwardingRulesScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_ForwardingRulesScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_ForwardingRulesScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -53740,6 +55999,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_HealthCheckList_Warning_Code_PartialSuccess Success * is reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_HealthCheckList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_HealthCheckList_Warning_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -53958,6 +56220,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_HealthChecksAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_HealthChecksAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_HealthChecksAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -54282,6 +56547,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_HealthCheckServicesList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_HealthCheckServicesList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_HealthCheckServicesList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -54436,6 +56704,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_HealthChecksScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_HealthChecksScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_HealthChecksScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -55352,6 +57623,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_HttpHealthCheckList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_HttpHealthCheckList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_HttpHealthCheckList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -55752,12 +58026,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * In response to a matching matchRule, the load balancer performs advanced * routing actions, such as URL rewrites and header transformations, before - * forwarding the request to the selected backend. If routeAction specifies any - * weightedBackendServices, service must not be set. Conversely if service is - * set, routeAction cannot contain any weightedBackendServices. Only one of - * urlRedirect, service or routeAction.weightedBackendService must be set. URL - * maps for classic Application Load Balancers only support the urlRewrite - * action within a route rule's routeAction. + * forwarding the request to the selected backend. Only one of urlRedirect, + * service or routeAction.weightedBackendService can be set. URL maps for + * classic Application Load Balancers only support the urlRewrite action within + * a route rule's routeAction. */ @property(nonatomic, strong, nullable) GTLRCompute_HttpRouteAction *routeAction; @@ -55765,17 +58037,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * The full or partial URL of the backend service resource to which traffic is * directed if this rule is matched. If routeAction is also specified, advanced * routing actions, such as URL rewrites, take effect before sending the - * request to the backend. However, if service is specified, routeAction cannot - * contain any weightedBackendServices. Conversely, if routeAction specifies - * any weightedBackendServices, service must not be specified. Only one of - * urlRedirect, service or routeAction.weightedBackendService must be set. + * request to the backend. Only one of urlRedirect, service or + * routeAction.weightedBackendService can be set. */ @property(nonatomic, copy, nullable) NSString *service; /** * When this rule is matched, the request is redirected to a URL specified by - * urlRedirect. If urlRedirect is specified, service or routeAction must not be - * set. Not supported when the URL map is bound to a target gRPC proxy. + * urlRedirect. Only one of urlRedirect, service or + * routeAction.weightedBackendService can be set. Not supported when the URL + * map is bound to a target gRPC proxy. */ @property(nonatomic, strong, nullable) GTLRCompute_HttpRedirectAction *urlRedirect; @@ -56187,6 +58458,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_HttpsHealthCheckList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_HttpsHealthCheckList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_HttpsHealthCheckList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -56700,6 +58974,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_ImageList_Warning_Code_PartialSuccess Success is * reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_ImageList_Warning_Code_QuotaInfoUnavailable Quota + * information is not available to client requests (e.g: regions.list). + * (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_ImageList_Warning_Code_RequiredTosAgreement The user * attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -57263,6 +59540,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InstanceAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InstanceAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InstanceAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -57616,6 +59896,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InstanceGroupAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InstanceGroupAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InstanceGroupAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -57801,6 +60084,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InstanceGroupList_Warning_Code_PartialSuccess Success * is reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InstanceGroupList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InstanceGroupList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -58025,6 +60311,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *selfLink; +/** Standby policy for stopped and suspended instances. */ +@property(nonatomic, strong, nullable) GTLRCompute_InstanceGroupManagerStandbyPolicy *standbyPolicy; + /** Stateful configuration for this Instanced Group Manager */ @property(nonatomic, strong, nullable) GTLRCompute_StatefulPolicy *statefulPolicy; @@ -58047,6 +60336,26 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, strong, nullable) NSNumber *targetSize; +/** + * The target number of stopped instances for this managed instance group. This + * number changes when you: - Stop instance using the stopInstances method or + * start instances using the startInstances method. - Manually change the + * targetStoppedSize using the update method. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *targetStoppedSize; + +/** + * The target number of suspended instances for this managed instance group. + * This number changes when you: - Suspend instance using the suspendInstances + * method or resume instances using the resumeInstances method. - Manually + * change the targetSuspendedSize using the update method. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *targetSuspendedSize; + /** The update policy for this managed instance group. */ @property(nonatomic, strong, nullable) GTLRCompute_InstanceGroupManagerUpdatePolicy *updatePolicy; @@ -58329,6 +60638,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InstanceGroupManagerAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InstanceGroupManagerAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InstanceGroupManagerAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -58648,6 +60960,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InstanceGroupManagerList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InstanceGroupManagerList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InstanceGroupManagerList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -58939,6 +61254,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InstanceGroupManagerResizeRequestsListResponse_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InstanceGroupManagerResizeRequestsListResponse_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InstanceGroupManagerResizeRequestsListResponse_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -59456,6 +61774,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InstanceGroupManagersListPerInstanceConfigsResp_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InstanceGroupManagersListPerInstanceConfigsResp_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InstanceGroupManagersListPerInstanceConfigsResp_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -59543,6 +61864,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * GTLRCompute_InstanceGroupManagersResumeInstancesRequest + */ +@interface GTLRCompute_InstanceGroupManagersResumeInstancesRequest : GTLRObject + +/** + * The URLs of one or more instances to resume. This can be a full URL or a + * partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ +@property(nonatomic, strong, nullable) NSArray *instances; + +@end + + /** * GTLRCompute_InstanceGroupManagersScopedList */ @@ -59641,6 +61976,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InstanceGroupManagersScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InstanceGroupManagersScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InstanceGroupManagersScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -59745,6 +62083,97 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * GTLRCompute_InstanceGroupManagersStartInstancesRequest + */ +@interface GTLRCompute_InstanceGroupManagersStartInstancesRequest : GTLRObject + +/** + * The URLs of one or more instances to start. This can be a full URL or a + * partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ +@property(nonatomic, strong, nullable) NSArray *instances; + +@end + + +/** + * GTLRCompute_InstanceGroupManagersStopInstancesRequest + */ +@interface GTLRCompute_InstanceGroupManagersStopInstancesRequest : GTLRObject + +/** + * If this flag is set to true, the Instance Group Manager will proceed to stop + * the instances, skipping initialization on them. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *forceStop; + +/** + * The URLs of one or more instances to stop. This can be a full URL or a + * partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ +@property(nonatomic, strong, nullable) NSArray *instances; + +@end + + +/** + * GTLRCompute_InstanceGroupManagersSuspendInstancesRequest + */ +@interface GTLRCompute_InstanceGroupManagersSuspendInstancesRequest : GTLRObject + +/** + * If this flag is set to true, the Instance Group Manager will proceed to + * suspend the instances, skipping initialization on them. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *forceSuspend; + +/** + * The URLs of one or more instances to suspend. This can be a full URL or a + * partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ +@property(nonatomic, strong, nullable) NSArray *instances; + +@end + + +/** + * GTLRCompute_InstanceGroupManagerStandbyPolicy + */ +@interface GTLRCompute_InstanceGroupManagerStandbyPolicy : GTLRObject + +/** + * Specifies the number of seconds that the MIG should wait to suspend or stop + * a VM after that VM was created. The initial delay gives the initialization + * script the time to prepare your VM for a quick scale out. The value of + * initial delay must be between 0 and 3600 seconds. The default value is 0. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *initialDelaySec; + +/** + * Defines how a MIG resumes or starts VMs from a standby pool when the group + * scales out. The default mode is `MANUAL`. + * + * Likely values: + * @arg @c kGTLRCompute_InstanceGroupManagerStandbyPolicy_Mode_Manual MIG + * does not automatically resume or start VMs in the standby pool when + * the group scales out. (Value: "MANUAL") + * @arg @c kGTLRCompute_InstanceGroupManagerStandbyPolicy_Mode_ScaleOutPool + * MIG automatically resumes or starts VMs in the standby pool when the + * group scales out, and replenishes the standby pool afterwards. (Value: + * "SCALE_OUT_POOL") + */ +@property(nonatomic, copy, nullable) NSString *mode; + +@end + + /** * GTLRCompute_InstanceGroupManagerStatus */ @@ -60180,6 +62609,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InstanceGroupsListInstances_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InstanceGroupsListInstances_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InstanceGroupsListInstances_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -60370,6 +62802,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InstanceGroupsScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InstanceGroupsScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InstanceGroupsScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -60578,6 +63013,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InstanceList_Warning_Code_PartialSuccess Success is * reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InstanceList_Warning_Code_QuotaInfoUnavailable Quota + * information is not available to client requests (e.g: regions.list). + * (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InstanceList_Warning_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -60763,6 +63201,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InstanceListReferrers_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InstanceListReferrers_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InstanceListReferrers_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -61542,6 +63983,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InstancesScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InstancesScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InstancesScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -61951,6 +64395,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InstanceTemplateAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InstanceTemplateAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InstanceTemplateAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -62136,6 +64583,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InstanceTemplateList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InstanceTemplateList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InstanceTemplateList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -62293,6 +64743,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InstanceTemplatesScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InstanceTemplatesScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InstanceTemplatesScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -62710,6 +65163,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InstantSnapshotAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InstantSnapshotAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InstantSnapshotAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -62892,6 +65348,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InstantSnapshotList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InstantSnapshotList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InstantSnapshotList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -63061,6 +65520,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InstantSnapshotsScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InstantSnapshotsScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InstantSnapshotsScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -63454,9 +65916,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - * BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: * 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - - * BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s + * BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s - BPS_100G: 100 Gbit/s * * Likely values: + * @arg @c kGTLRCompute_InterconnectAttachment_Bandwidth_Bps100g 100 Gbit/s + * (Value: "BPS_100G") * @arg @c kGTLRCompute_InterconnectAttachment_Bandwidth_Bps100m 100 Mbit/s * (Value: "BPS_100M") * @arg @c kGTLRCompute_InterconnectAttachment_Bandwidth_Bps10g 10 Gbit/s @@ -63488,13 +65952,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, strong, nullable) NSArray *candidateIpv6Subnets; /** - * Up to 16 candidate prefixes that can be used to restrict the allocation of - * cloudRouterIpAddress and customerRouterIpAddress for this attachment. All - * prefixes must be within link-local address space (169.254.0.0/16) and must - * be /29 or shorter (/28, /27, etc). Google will attempt to select an unused - * /29 from the supplied candidate prefix(es). The request will fail if all - * possible /29s are in use on Google's edge. If not supplied, Google will - * randomly select an unused /29 from all of link-local space. + * Input only. Up to 16 candidate prefixes that can be used to restrict the + * allocation of cloudRouterIpAddress and customerRouterIpAddress for this + * attachment. All prefixes must be within link-local address space + * (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). Google will + * attempt to select an unused /29 from the supplied candidate prefix(es). The + * request will fail if all possible /29s are in use on Google's edge. If not + * supplied, Google will randomly select an unused /29 from all of link-local + * space. */ @property(nonatomic, strong, nullable) NSArray *candidateSubnets; @@ -63554,14 +66019,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, copy, nullable) NSString *descriptionProperty; /** - * Desired availability domain for the attachment. Only available for type - * PARTNER, at creation time, and can take one of the following values: - - * AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For - * improved reliability, customers should configure a pair of attachments, one - * per availability domain. The selected availability domain will be provided - * to the Partner via the pairing key, so that the provisioned circuit will lie - * in the specified domain. If not specified, the value will default to - * AVAILABILITY_DOMAIN_ANY. + * Input only. Desired availability domain for the attachment. Only available + * for type PARTNER, at creation time, and can take one of the following + * values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - + * AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a + * pair of attachments, one per availability domain. The selected availability + * domain will be provided to the Partner via the pairing key, so that the + * provisioned circuit will lie in the specified domain. If not specified, the + * value will default to AVAILABILITY_DOMAIN_ANY. * * Likely values: * @arg @c kGTLRCompute_InterconnectAttachment_EdgeAvailabilityDomain_AvailabilityDomain1 @@ -63827,13 +66292,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, copy, nullable) NSString *state; /** - * Length of the IPv4 subnet mask. Allowed values: - 29 (default) - 30 The - * default value is 29, except for Cross-Cloud Interconnect connections that - * use an InterconnectRemoteLocation with a constraints.subnetLengthRange.min - * equal to 30. For example, connections that use an Azure remote location fall - * into this category. In these cases, the default value is 30, and requesting - * 29 returns an error. Where both 29 and 30 are allowed, 29 is preferred, - * because it gives Google Cloud Support more debugging visibility. + * Input only. Length of the IPv4 subnet mask. Allowed values: - 29 (default) - + * 30 The default value is 29, except for Cross-Cloud Interconnect connections + * that use an InterconnectRemoteLocation with a + * constraints.subnetLengthRange.min equal to 30. For example, connections that + * use an Azure remote location fall into this category. In these cases, the + * default value is 30, and requesting 29 returns an error. Where both 29 and + * 30 are allowed, 29 is preferred, because it gives Google Cloud Support more + * debugging visibility. * * Uses NSNumber of intValue. */ @@ -64015,6 +66481,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InterconnectAttachmentAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InterconnectAttachmentAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InterconnectAttachmentAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -64264,6 +66733,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InterconnectAttachmentList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InterconnectAttachmentList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InterconnectAttachmentList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -64465,6 +66937,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InterconnectAttachmentsScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InterconnectAttachmentsScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InterconnectAttachmentsScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -64887,6 +67362,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InterconnectList_Warning_Code_PartialSuccess Success * is reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InterconnectList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InterconnectList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -64969,7 +67447,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * [Output only] List of features available at this InterconnectLocation, which - * can take one of the following values: - MACSEC + * can take one of the following values: - IF_MACSEC */ @property(nonatomic, strong, nullable) NSArray *availableFeatures; @@ -65222,6 +67700,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InterconnectLocationList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InterconnectLocationList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InterconnectLocationList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -65901,6 +68382,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_InterconnectRemoteLocationList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_InterconnectRemoteLocationList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_InterconnectRemoteLocationList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -66051,6 +68535,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *name; +/** [Input Only] Deprecated. */ @property(nonatomic, strong, nullable) GTLRCompute_LicenseResourceRequirements *resourceRequirements; /** [Output Only] Server-defined URL for the resource. */ @@ -66191,16 +68676,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @interface GTLRCompute_LicenseResourceRequirements : GTLRObject /** - * Minimum number of guest cpus required to use the Instance. Enforced at - * Instance creation and Instance start. + * [Input Only] Deprecated. This field no longer reflects the minimum number of + * guest cpus required to use the Instance. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *minGuestCpuCount; /** - * Minimum memory required to use the Instance. Enforced at Instance creation - * and Instance start. + * [Input Only] Deprecated. This field no longer reflects the minimum memory + * required to use the Instance. * * Uses NSNumber of intValue. */ @@ -66329,6 +68814,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_LicensesListResponse_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_LicensesListResponse_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_LicensesListResponse_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -66806,6 +69294,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_MachineImageList_Warning_Code_PartialSuccess Success * is reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_MachineImageList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_MachineImageList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -67157,6 +69648,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_MachineTypeAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_MachineTypeAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_MachineTypeAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -67341,6 +69835,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_MachineTypeList_Warning_Code_PartialSuccess Success * is reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_MachineTypeList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_MachineTypeList_Warning_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -67495,6 +69992,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_MachineTypesScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_MachineTypesScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_MachineTypesScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -68174,6 +70674,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *networkFirewallPolicyEnforcementOrder; +/** + * A full or partial URL of the network profile to apply to this network. This + * field can be set only at resource creation time. For example, the following + * are valid URLs: - + * https://www.googleapis.com/compute/{api_version}/projects/{project_id}/global/networkProfiles/{network_profile_name} + * - projects/{project_id}/global/networkProfiles/{network_profile_name} + */ +@property(nonatomic, copy, nullable) NSString *networkProfile; + /** [Output Only] A list of network peerings for the resource. */ @property(nonatomic, strong, nullable) NSArray *peerings; @@ -68439,6 +70948,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_NetworkAttachmentAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_NetworkAttachmentAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_NetworkAttachmentAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -68682,6 +71194,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_NetworkAttachmentList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_NetworkAttachmentList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_NetworkAttachmentList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -68836,6 +71351,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_NetworkAttachmentsScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_NetworkAttachmentsScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_NetworkAttachmentsScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -69110,6 +71628,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_NetworkEdgeSecurityServiceAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_NetworkEdgeSecurityServiceAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_NetworkEdgeSecurityServiceAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -69264,6 +71785,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_NetworkEdgeSecurityServicesScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_NetworkEdgeSecurityServicesScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_NetworkEdgeSecurityServicesScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -69700,6 +72224,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_NetworkEndpointGroupAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_NetworkEndpointGroupAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_NetworkEndpointGroupAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -69987,6 +72514,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_NetworkEndpointGroupList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_NetworkEndpointGroupList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_NetworkEndpointGroupList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -70271,6 +72801,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_NetworkEndpointGroupsListNetworkEndpoints_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_NetworkEndpointGroupsListNetworkEndpoints_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_NetworkEndpointGroupsListNetworkEndpoints_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -70428,6 +72961,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_NetworkEndpointGroupsScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_NetworkEndpointGroupsScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_NetworkEndpointGroupsScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -70501,6 +73037,200 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * GTLRCompute_NetworkFirewallPolicyAggregatedList + */ +@interface GTLRCompute_NetworkFirewallPolicyAggregatedList : GTLRObject + +/** + * [Output Only] Unique identifier for the resource; defined by the server. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** A list of FirewallPoliciesScopedList resources. */ +@property(nonatomic, strong, nullable) GTLRCompute_NetworkFirewallPolicyAggregatedList_Items *items; + +/** + * [Output Only] Type of resource. Always + * compute#networkFirewallPoliciesAggregatedList for lists of network firewall + * policies. + */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** + * [Output Only] This token allows you to get the next page of results for list + * requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list + * request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** [Output Only] Server-defined URL for this resource. */ +@property(nonatomic, copy, nullable) NSString *selfLink; + +/** [Output Only] Unreachable resources. */ +@property(nonatomic, strong, nullable) NSArray *unreachables; + +/** [Output Only] Informational warning message. */ +@property(nonatomic, strong, nullable) GTLRCompute_NetworkFirewallPolicyAggregatedList_Warning *warning; + +@end + + +/** + * A list of FirewallPoliciesScopedList resources. + * + * @note This class is documented as having more properties of + * GTLRCompute_FirewallPoliciesScopedList. 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_NetworkFirewallPolicyAggregatedList_Items : GTLRObject +@end + + +/** + * [Output Only] Informational warning message. + */ +@interface GTLRCompute_NetworkFirewallPolicyAggregatedList_Warning : GTLRObject + +/** + * [Output Only] A warning code, if applicable. For example, Compute Engine + * returns NO_RESULTS_ON_PAGE if there are no results in the response. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_CleanupFailed + * Warning about failed cleanup of transient changes made by a failed + * operation. (Value: "CLEANUP_FAILED") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_DeprecatedResourceUsed + * A link to a deprecated resource was created. (Value: + * "DEPRECATED_RESOURCE_USED") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_DeprecatedTypeUsed + * When deploying and at least one of the resources has a type marked as + * deprecated (Value: "DEPRECATED_TYPE_USED") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_DiskSizeLargerThanImageSize + * The user created a boot disk that is larger than image size. (Value: + * "DISK_SIZE_LARGER_THAN_IMAGE_SIZE") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_ExperimentalTypeUsed + * When deploying and at least one of the resources has a type marked as + * experimental (Value: "EXPERIMENTAL_TYPE_USED") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_ExternalApiWarning + * Warning that is present in an external api call (Value: + * "EXTERNAL_API_WARNING") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_FieldValueOverriden + * Warning that value of a field has been overridden. Deprecated unused + * field. (Value: "FIELD_VALUE_OVERRIDEN") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_InjectedKernelsDeprecated + * The operation involved use of an injected kernel, which is deprecated. + * (Value: "INJECTED_KERNELS_DEPRECATED") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_InvalidHealthCheckForDynamicWieghtedLb + * A WEIGHTED_MAGLEV backend service is associated with a health check + * that is not of type HTTP/HTTPS/HTTP2. (Value: + * "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_LargeDeploymentWarning + * When deploying a deployment with a exceedingly large number of + * resources (Value: "LARGE_DEPLOYMENT_WARNING") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_ListOverheadQuotaExceed + * Resource can't be retrieved due to list overhead quota exceed which + * captures the amount of resources filtered out by user-defined list + * filter. (Value: "LIST_OVERHEAD_QUOTA_EXCEED") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_MissingTypeDependency + * A resource depends on a missing type (Value: + * "MISSING_TYPE_DEPENDENCY") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_NextHopAddressNotAssigned + * The route's nextHopIp address is not assigned to an instance on the + * network. (Value: "NEXT_HOP_ADDRESS_NOT_ASSIGNED") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_NextHopCannotIpForward + * The route's next hop instance cannot ip forward. (Value: + * "NEXT_HOP_CANNOT_IP_FORWARD") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_NextHopInstanceHasNoIpv6Interface + * The route's nextHopInstance URL refers to an instance that does not + * have an ipv6 interface on the same network as the route. (Value: + * "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_NextHopInstanceNotFound + * The route's nextHopInstance URL refers to an instance that does not + * exist. (Value: "NEXT_HOP_INSTANCE_NOT_FOUND") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_NextHopInstanceNotOnNetwork + * The route's nextHopInstance URL refers to an instance that is not on + * the same network as the route. (Value: + * "NEXT_HOP_INSTANCE_NOT_ON_NETWORK") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_NextHopNotRunning + * The route's next hop instance does not have a status of RUNNING. + * (Value: "NEXT_HOP_NOT_RUNNING") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_NoResultsOnPage + * No results are present on a particular list page. (Value: + * "NO_RESULTS_ON_PAGE") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_NotCriticalError + * Error which is not critical. We decided to continue the process + * despite the mentioned error. (Value: "NOT_CRITICAL_ERROR") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_PartialSuccess + * Success is reported, but some results may be missing due to errors + * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_RequiredTosAgreement + * The user attempted to use a resource that requires a TOS they have not + * accepted. (Value: "REQUIRED_TOS_AGREEMENT") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_ResourceInUseByOtherResourceWarning + * Warning that a resource is in use. (Value: + * "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_ResourceNotDeleted + * One or more of the resources set to auto-delete could not be deleted + * because they were in use. (Value: "RESOURCE_NOT_DELETED") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_SchemaValidationIgnored + * When a resource schema validation is ignored. (Value: + * "SCHEMA_VALIDATION_IGNORED") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_SingleInstancePropertyTemplate + * Instance template used in instance group manager is valid as such, but + * its application does not make a lot of sense, because it allows only + * single instance in instance group. (Value: + * "SINGLE_INSTANCE_PROPERTY_TEMPLATE") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_UndeclaredProperties + * When undeclared properties in the schema are present (Value: + * "UNDECLARED_PROPERTIES") + * @arg @c kGTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Code_Unreachable + * A given scope cannot be reached. (Value: "UNREACHABLE") + */ +@property(nonatomic, copy, nullable) NSString *code; + +/** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ +@property(nonatomic, strong, nullable) NSArray *data; + +/** [Output Only] A human-readable description of the warning code. */ +@property(nonatomic, copy, nullable) NSString *message; + +@end + + +/** + * GTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Data_Item + */ +@interface GTLRCompute_NetworkFirewallPolicyAggregatedList_Warning_Data_Item : GTLRObject + +/** + * [Output Only] A key that provides more detail on the warning being returned. + * For example, for warnings where there are no results in a list request for a + * particular zone, this key might be scope and the key value might be the zone + * name. Other examples might be a key indicating a deprecated resource and a + * suggested replacement, or a warning about invalid network settings (for + * example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ +@property(nonatomic, copy, nullable) NSString *key; + +/** [Output Only] A warning data value corresponding to the key. */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + + /** * A network interface resource attached to an instance. */ @@ -70615,6 +73345,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * Likely values: * @arg @c kGTLRCompute_NetworkInterface_NicType_Gvnic GVNIC (Value: "GVNIC") * @arg @c kGTLRCompute_NetworkInterface_NicType_Idpf IDPF (Value: "IDPF") + * @arg @c kGTLRCompute_NetworkInterface_NicType_Irdma IRDMA (Value: "IRDMA") + * @arg @c kGTLRCompute_NetworkInterface_NicType_Mrdma MRDMA (Value: "MRDMA") * @arg @c kGTLRCompute_NetworkInterface_NicType_UnspecifiedNicType No type * specified. (Value: "UNSPECIFIED_NIC_TYPE") * @arg @c kGTLRCompute_NetworkInterface_NicType_VirtioNet VIRTIO (Value: @@ -70786,6 +73518,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_NetworkList_Warning_Code_PartialSuccess Success is * reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_NetworkList_Warning_Code_QuotaInfoUnavailable Quota + * information is not available to client requests (e.g: regions.list). + * (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_NetworkList_Warning_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -70986,6 +73721,505 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * NetworkProfile represents a Google managed network profile resource. + */ +@interface GTLRCompute_NetworkProfile : GTLRObject + +/** [Output Only] Creation timestamp in RFC3339 text format. */ +@property(nonatomic, copy, nullable) NSString *creationTimestamp; + +/** + * [Output Only] An optional description of this resource. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** [Output Only] Features supported by the network. */ +@property(nonatomic, strong, nullable) GTLRCompute_NetworkProfileNetworkFeatures *features; + +/** + * [Output Only] The unique identifier for the resource. This identifier is + * defined by the server. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + * + * Uses NSNumber of unsignedLongLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *identifier; + +/** + * [Output Only] Type of the resource. Always compute#networkProfile for + * network profiles. + */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** [Output Only] Location to which the network is restricted. */ +@property(nonatomic, strong, nullable) GTLRCompute_NetworkProfileLocation *location; + +/** [Output Only] Name of the resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** [Output Only] Server-defined URL for the resource. */ +@property(nonatomic, copy, nullable) NSString *selfLink; + +/** + * [Output Only] Server-defined URL for this resource with the resource id. + */ +@property(nonatomic, copy, nullable) NSString *selfLinkWithId; + +/** + * [Output Only] Zone to which the network is restricted. + * + * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. + */ +@property(nonatomic, copy, nullable) NSString *zoneProperty; + +@end + + +/** + * GTLRCompute_NetworkProfileLocation + */ +@interface GTLRCompute_NetworkProfileLocation : GTLRObject + +@property(nonatomic, copy, nullable) NSString *name; + +/** + * scope + * + * Likely values: + * @arg @c kGTLRCompute_NetworkProfileLocation_Scope_Region Value "REGION" + * @arg @c kGTLRCompute_NetworkProfileLocation_Scope_Zone Value "ZONE" + */ +@property(nonatomic, copy, nullable) NSString *scope; + +@end + + +/** + * GTLRCompute_NetworkProfileNetworkFeatures + */ +@interface GTLRCompute_NetworkProfileNetworkFeatures : GTLRObject + +/** + * Specifies what address purposes are supported. If empty, all address + * purposes are supported. + */ +@property(nonatomic, strong, nullable) NSArray *addressPurposes; + +/** + * Specifies whether alias IP ranges (and secondary address ranges) are + * allowed. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowAliasIpRanges_AliasIpRangesAllowed + * Value "ALIAS_IP_RANGES_ALLOWED" + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowAliasIpRanges_AliasIpRangesBlocked + * Value "ALIAS_IP_RANGES_BLOCKED" + */ +@property(nonatomic, copy, nullable) NSString *allowAliasIpRanges; + +/** + * Specifies whether auto mode subnet creation is allowed. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowAutoModeSubnet_AutoModeSubnetAllowed + * Value "AUTO_MODE_SUBNET_ALLOWED" + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowAutoModeSubnet_AutoModeSubnetBlocked + * Value "AUTO_MODE_SUBNET_BLOCKED" + */ +@property(nonatomic, copy, nullable) NSString *allowAutoModeSubnet; + +/** + * Specifies whether firewalls for Class D address ranges are supported. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowClassDFirewalls_ClassDFirewallsAllowed + * Value "CLASS_D_FIREWALLS_ALLOWED" + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowClassDFirewalls_ClassDFirewallsBlocked + * Value "CLASS_D_FIREWALLS_BLOCKED" + */ +@property(nonatomic, copy, nullable) NSString *allowClassDFirewalls; + +/** + * Specifies whether cloud NAT creation is allowed. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowCloudNat_CloudNatAllowed + * Value "CLOUD_NAT_ALLOWED" + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowCloudNat_CloudNatBlocked + * Value "CLOUD_NAT_BLOCKED" + */ +@property(nonatomic, copy, nullable) NSString *allowCloudNat; + +/** + * Specifies whether cloud router creation is allowed. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowCloudRouter_CloudRouterAllowed + * Value "CLOUD_ROUTER_ALLOWED" + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowCloudRouter_CloudRouterBlocked + * Value "CLOUD_ROUTER_BLOCKED" + */ +@property(nonatomic, copy, nullable) NSString *allowCloudRouter; + +/** + * Specifies whether VMs are allowed to have external IP access on network + * interfaces connected to this VPC. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowExternalIpAccess_ExternalIpAccessAllowed + * Value "EXTERNAL_IP_ACCESS_ALLOWED" + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowExternalIpAccess_ExternalIpAccessBlocked + * Value "EXTERNAL_IP_ACCESS_BLOCKED" + */ +@property(nonatomic, copy, nullable) NSString *allowExternalIpAccess; + +/** + * Specifies whether Cloud Interconnect creation is allowed. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowInterconnect_InterconnectAllowed + * Value "INTERCONNECT_ALLOWED" + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowInterconnect_InterconnectBlocked + * Value "INTERCONNECT_BLOCKED" + */ +@property(nonatomic, copy, nullable) NSString *allowInterconnect; + +/** + * Specifies whether cloud load balancing is allowed. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowLoadBalancing_LoadBalancingAllowed + * Value "LOAD_BALANCING_ALLOWED" + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowLoadBalancing_LoadBalancingBlocked + * Value "LOAD_BALANCING_BLOCKED" + */ +@property(nonatomic, copy, nullable) NSString *allowLoadBalancing; + +/** + * Specifies whether multi-nic in the same network is allowed. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowMultiNicInSameNetwork_MultiNicInSameNetworkAllowed + * Value "MULTI_NIC_IN_SAME_NETWORK_ALLOWED" + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowMultiNicInSameNetwork_MultiNicInSameNetworkBlocked + * Value "MULTI_NIC_IN_SAME_NETWORK_BLOCKED" + */ +@property(nonatomic, copy, nullable) NSString *allowMultiNicInSameNetwork; + +/** + * Specifies whether Packet Mirroring 1.0 is supported. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowPacketMirroring_PacketMirroringAllowed + * Value "PACKET_MIRRORING_ALLOWED" + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowPacketMirroring_PacketMirroringBlocked + * Value "PACKET_MIRRORING_BLOCKED" + */ +@property(nonatomic, copy, nullable) NSString *allowPacketMirroring; + +/** + * Specifies whether private Google access is allowed. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowPrivateGoogleAccess_PrivateGoogleAccessAllowed + * Value "PRIVATE_GOOGLE_ACCESS_ALLOWED" + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowPrivateGoogleAccess_PrivateGoogleAccessBlocked + * Value "PRIVATE_GOOGLE_ACCESS_BLOCKED" + */ +@property(nonatomic, copy, nullable) NSString *allowPrivateGoogleAccess; + +/** + * Specifies whether PSC creation is allowed. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowPsc_PscAllowed + * Value "PSC_ALLOWED" + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowPsc_PscBlocked + * Value "PSC_BLOCKED" + */ +@property(nonatomic, copy, nullable) NSString *allowPsc; + +/** + * Specifies whether unicast within the same network is allowed. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowSameNetworkUnicast_SameNetworkUnicastAllowed + * Value "SAME_NETWORK_UNICAST_ALLOWED" + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowSameNetworkUnicast_SameNetworkUnicastBlocked + * Value "SAME_NETWORK_UNICAST_BLOCKED" + */ +@property(nonatomic, copy, nullable) NSString *allowSameNetworkUnicast; + +/** + * Specifies whether static route creation is allowed. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowStaticRoutes_StaticRoutesAllowed + * Value "STATIC_ROUTES_ALLOWED" + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowStaticRoutes_StaticRoutesBlocked + * Value "STATIC_ROUTES_BLOCKED" + */ +@property(nonatomic, copy, nullable) NSString *allowStaticRoutes; + +/** + * Specifies whether sub interfaces are allowed. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowSubInterfaces_SubinterfacesAllowed + * Value "SUBINTERFACES_ALLOWED" + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowSubInterfaces_SubinterfacesBlocked + * Value "SUBINTERFACES_BLOCKED" + */ +@property(nonatomic, copy, nullable) NSString *allowSubInterfaces; + +/** + * Specifies whether VPC peering is allowed. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowVpcPeering_VpcPeeringAllowed + * Value "VPC_PEERING_ALLOWED" + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowVpcPeering_VpcPeeringBlocked + * Value "VPC_PEERING_BLOCKED" + */ +@property(nonatomic, copy, nullable) NSString *allowVpcPeering; + +/** + * Specifies whether VPN creation is allowed. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowVpn_VpnAllowed + * Value "VPN_ALLOWED" + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_AllowVpn_VpnBlocked + * Value "VPN_BLOCKED" + */ +@property(nonatomic, copy, nullable) NSString *allowVpn; + +/** + * If set, limits the interface types that the network supports. If empty, all + * interface types are supported. + */ +@property(nonatomic, strong, nullable) NSArray *interfaceTypes; + +/** Specifies which subnetwork purposes are supported. */ +@property(nonatomic, strong, nullable) NSArray *subnetPurposes; + +/** Specifies which subnetwork stack types are supported. */ +@property(nonatomic, strong, nullable) NSArray *subnetStackTypes; + +/** + * Specifies which type of unicast is supported. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_Unicast_UnicastSdn + * Value "UNICAST_SDN" + * @arg @c kGTLRCompute_NetworkProfileNetworkFeatures_Unicast_UnicastUll + * Value "UNICAST_ULL" + */ +@property(nonatomic, copy, nullable) NSString *unicast; + +@end + + +/** + * Contains a list of network profiles. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "items" property. If returned as the result of a query, it should + * support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRCompute_NetworkProfilesListResponse : GTLRCollectionObject + +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * [Output Only] Unique identifier for the resource; defined by the server. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * A list of NetworkProfile resources. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *items; + +/** + * [Output Only] Type of resource. Always compute#networkProfileList for + * network profiles. + */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** + * [Output Only] This token allows you to get the next page of results for list + * requests. If the number of results is larger than maxResults, use the + * nextPageToken as a value for the query parameter pageToken in the next list + * request. Subsequent list requests will have their own nextPageToken to + * continue paging through the results. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** [Output Only] Server-defined URL for this resource. */ +@property(nonatomic, copy, nullable) NSString *selfLink; + +/** + * [Output Only] Unreachable resources. end_interface: + * MixerListResponseWithEtagBuilder + */ +@property(nonatomic, strong, nullable) NSArray *unreachables; + +/** [Output Only] Informational warning message. */ +@property(nonatomic, strong, nullable) GTLRCompute_NetworkProfilesListResponse_Warning *warning; + +@end + + +/** + * [Output Only] Informational warning message. + */ +@interface GTLRCompute_NetworkProfilesListResponse_Warning : GTLRObject + +/** + * [Output Only] A warning code, if applicable. For example, Compute Engine + * returns NO_RESULTS_ON_PAGE if there are no results in the response. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_CleanupFailed + * Warning about failed cleanup of transient changes made by a failed + * operation. (Value: "CLEANUP_FAILED") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_DeprecatedResourceUsed + * A link to a deprecated resource was created. (Value: + * "DEPRECATED_RESOURCE_USED") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_DeprecatedTypeUsed + * When deploying and at least one of the resources has a type marked as + * deprecated (Value: "DEPRECATED_TYPE_USED") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_DiskSizeLargerThanImageSize + * The user created a boot disk that is larger than image size. (Value: + * "DISK_SIZE_LARGER_THAN_IMAGE_SIZE") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_ExperimentalTypeUsed + * When deploying and at least one of the resources has a type marked as + * experimental (Value: "EXPERIMENTAL_TYPE_USED") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_ExternalApiWarning + * Warning that is present in an external api call (Value: + * "EXTERNAL_API_WARNING") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_FieldValueOverriden + * Warning that value of a field has been overridden. Deprecated unused + * field. (Value: "FIELD_VALUE_OVERRIDEN") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_InjectedKernelsDeprecated + * The operation involved use of an injected kernel, which is deprecated. + * (Value: "INJECTED_KERNELS_DEPRECATED") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_InvalidHealthCheckForDynamicWieghtedLb + * A WEIGHTED_MAGLEV backend service is associated with a health check + * that is not of type HTTP/HTTPS/HTTP2. (Value: + * "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_LargeDeploymentWarning + * When deploying a deployment with a exceedingly large number of + * resources (Value: "LARGE_DEPLOYMENT_WARNING") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_ListOverheadQuotaExceed + * Resource can't be retrieved due to list overhead quota exceed which + * captures the amount of resources filtered out by user-defined list + * filter. (Value: "LIST_OVERHEAD_QUOTA_EXCEED") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_MissingTypeDependency + * A resource depends on a missing type (Value: + * "MISSING_TYPE_DEPENDENCY") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_NextHopAddressNotAssigned + * The route's nextHopIp address is not assigned to an instance on the + * network. (Value: "NEXT_HOP_ADDRESS_NOT_ASSIGNED") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_NextHopCannotIpForward + * The route's next hop instance cannot ip forward. (Value: + * "NEXT_HOP_CANNOT_IP_FORWARD") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_NextHopInstanceHasNoIpv6Interface + * The route's nextHopInstance URL refers to an instance that does not + * have an ipv6 interface on the same network as the route. (Value: + * "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_NextHopInstanceNotFound + * The route's nextHopInstance URL refers to an instance that does not + * exist. (Value: "NEXT_HOP_INSTANCE_NOT_FOUND") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_NextHopInstanceNotOnNetwork + * The route's nextHopInstance URL refers to an instance that is not on + * the same network as the route. (Value: + * "NEXT_HOP_INSTANCE_NOT_ON_NETWORK") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_NextHopNotRunning + * The route's next hop instance does not have a status of RUNNING. + * (Value: "NEXT_HOP_NOT_RUNNING") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_NoResultsOnPage + * No results are present on a particular list page. (Value: + * "NO_RESULTS_ON_PAGE") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_NotCriticalError + * Error which is not critical. We decided to continue the process + * despite the mentioned error. (Value: "NOT_CRITICAL_ERROR") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_PartialSuccess + * Success is reported, but some results may be missing due to errors + * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_RequiredTosAgreement + * The user attempted to use a resource that requires a TOS they have not + * accepted. (Value: "REQUIRED_TOS_AGREEMENT") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_ResourceInUseByOtherResourceWarning + * Warning that a resource is in use. (Value: + * "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_ResourceNotDeleted + * One or more of the resources set to auto-delete could not be deleted + * because they were in use. (Value: "RESOURCE_NOT_DELETED") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_SchemaValidationIgnored + * When a resource schema validation is ignored. (Value: + * "SCHEMA_VALIDATION_IGNORED") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_SingleInstancePropertyTemplate + * Instance template used in instance group manager is valid as such, but + * its application does not make a lot of sense, because it allows only + * single instance in instance group. (Value: + * "SINGLE_INSTANCE_PROPERTY_TEMPLATE") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_UndeclaredProperties + * When undeclared properties in the schema are present (Value: + * "UNDECLARED_PROPERTIES") + * @arg @c kGTLRCompute_NetworkProfilesListResponse_Warning_Code_Unreachable + * A given scope cannot be reached. (Value: "UNREACHABLE") + */ +@property(nonatomic, copy, nullable) NSString *code; + +/** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ +@property(nonatomic, strong, nullable) NSArray *data; + +/** [Output Only] A human-readable description of the warning code. */ +@property(nonatomic, copy, nullable) NSString *message; + +@end + + +/** + * GTLRCompute_NetworkProfilesListResponse_Warning_Data_Item + */ +@interface GTLRCompute_NetworkProfilesListResponse_Warning_Data_Item : GTLRObject + +/** + * [Output Only] A key that provides more detail on the warning being returned. + * For example, for warnings where there are no results in a list request for a + * particular zone, this key might be scope and the key value might be the zone + * name. Other examples might be a key indicating a deprecated resource and a + * suggested replacement, or a warning about invalid network settings (for + * example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ +@property(nonatomic, copy, nullable) NSString *key; + +/** [Output Only] A warning data value corresponding to the key. */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + + /** * A routing configuration attached to a network resource. The message includes * the list of routers associated with the network, and a flag indicating the @@ -70993,6 +74227,59 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @interface GTLRCompute_NetworkRoutingConfig : GTLRObject +/** + * Enable comparison of Multi-Exit Discriminators (MED) across routes with + * different neighbor ASNs when using the STANDARD BGP best path selection + * algorithm. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *bgpAlwaysCompareMed; + +/** + * The BGP best path selection algorithm to be employed within this network for + * dynamic routes learned by Cloud Routers. Can be LEGACY (default) or + * STANDARD. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkRoutingConfig_BgpBestPathSelectionMode_Legacy + * Value "LEGACY" + * @arg @c kGTLRCompute_NetworkRoutingConfig_BgpBestPathSelectionMode_Standard + * Value "STANDARD" + */ +@property(nonatomic, copy, nullable) NSString *bgpBestPathSelectionMode; + +/** + * Allows to define a preferred approach for handling inter-region cost in the + * selection process when using the STANDARD BGP best path selection algorithm. + * Can be DEFAULT or ADD_COST_TO_MED. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkRoutingConfig_BgpInterRegionCost_AddCostToMed + * Value "ADD_COST_TO_MED" + * @arg @c kGTLRCompute_NetworkRoutingConfig_BgpInterRegionCost_Default Value + * "DEFAULT" + */ +@property(nonatomic, copy, nullable) NSString *bgpInterRegionCost; + +/** + * [Output Only] Effective value of the bgp_always_compare_med field. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *effectiveBgpAlwaysCompareMed; + +/** + * [Output Only] Effective value of the bgp_inter_region_cost field. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkRoutingConfig_EffectiveBgpInterRegionCost_AddCostToMed + * Value "ADD_COST_TO_MED" + * @arg @c kGTLRCompute_NetworkRoutingConfig_EffectiveBgpInterRegionCost_Default + * Value "DEFAULT" + */ +@property(nonatomic, copy, nullable) NSString *effectiveBgpInterRegionCost; + /** * The network-wide routing mode to use. If set to REGIONAL, this network's * Cloud Routers will only advertise routes with subnets of this network in the @@ -71421,6 +74708,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_NodeGroupAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_NodeGroupAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_NodeGroupAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -71644,6 +74934,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_NodeGroupList_Warning_Code_PartialSuccess Success is * reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_NodeGroupList_Warning_Code_QuotaInfoUnavailable Quota + * information is not available to client requests (e.g: regions.list). + * (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_NodeGroupList_Warning_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -71949,6 +75242,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_NodeGroupsListNodes_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_NodeGroupsListNodes_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_NodeGroupsListNodes_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -72117,6 +75413,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_NodeGroupsScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_NodeGroupsScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_NodeGroupsScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -72458,6 +75757,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_NodeTemplateAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_NodeTemplateAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_NodeTemplateAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -72642,6 +75944,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_NodeTemplateList_Warning_Code_PartialSuccess Success * is reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_NodeTemplateList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_NodeTemplateList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -72808,6 +76113,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_NodeTemplatesScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_NodeTemplatesScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_NodeTemplatesScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -73079,6 +76387,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_NodeTypeAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_NodeTypeAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_NodeTypeAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -73262,6 +76573,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_NodeTypeList_Warning_Code_PartialSuccess Success is * reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_NodeTypeList_Warning_Code_QuotaInfoUnavailable Quota + * information is not available to client requests (e.g: regions.list). + * (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_NodeTypeList_Warning_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -73416,6 +76730,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_NodeTypesScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_NodeTypesScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_NodeTypesScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -73712,6 +77029,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_NotificationEndpointList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_NotificationEndpointList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_NotificationEndpointList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -74049,6 +77369,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_Operation_Warnings_Item_Code_PartialSuccess Success * is reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_Operation_Warnings_Item_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_Operation_Warnings_Item_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -74281,6 +77604,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_OperationAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_OperationAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_OperationAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -74465,6 +77791,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_OperationList_Warning_Code_PartialSuccess Success is * reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_OperationList_Warning_Code_QuotaInfoUnavailable Quota + * information is not available to client requests (e.g: regions.list). + * (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_OperationList_Warning_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -74619,6 +77948,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_OperationsScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_OperationsScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_OperationsScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -75094,6 +78426,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_PacketMirroringAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_PacketMirroringAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_PacketMirroringAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -75339,6 +78674,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_PacketMirroringList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_PacketMirroringList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_PacketMirroringList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -75572,6 +78910,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_PacketMirroringsScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_PacketMirroringsScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_PacketMirroringsScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -75671,14 +79012,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * defaultRouteAction takes effect when none of the pathRules or routeRules * match. The load balancer performs advanced routing actions, such as URL * rewrites and header transformations, before forwarding the request to the - * selected backend. If defaultRouteAction specifies any - * weightedBackendServices, defaultService must not be set. Conversely if - * defaultService is set, defaultRouteAction cannot contain any - * weightedBackendServices. If defaultRouteAction is specified, don't set - * defaultUrlRedirect. If defaultRouteAction.weightedBackendServices is - * specified, don't set defaultService. URL maps for classic Application Load - * Balancers only support the urlRewrite action within a path matcher's - * defaultRouteAction. + * selected backend. Only one of defaultUrlRedirect, defaultService or + * defaultRouteAction.weightedBackendService can be set. URL maps for classic + * Application Load Balancers only support the urlRewrite action within a path + * matcher's defaultRouteAction. */ @property(nonatomic, strong, nullable) GTLRCompute_HttpRouteAction *defaultRouteAction; @@ -75691,22 +79028,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * compute/v1/projects/project/global/backendServices/backendService - * global/backendServices/backendService If defaultRouteAction is also * specified, advanced routing actions, such as URL rewrites, take effect - * before sending the request to the backend. However, if defaultService is - * specified, defaultRouteAction cannot contain any weightedBackendServices. - * Conversely, if defaultRouteAction specifies any weightedBackendServices, - * defaultService must not be specified. If defaultService is specified, then - * set either defaultUrlRedirect or defaultRouteAction.weightedBackendService. - * Don't set both. Authorization requires one or more of the following Google - * IAM permissions on the specified resource default_service: - - * compute.backendBuckets.use - compute.backendServices.use + * before sending the request to the backend. Only one of defaultUrlRedirect, + * defaultService or defaultRouteAction.weightedBackendService can be set. + * Authorization requires one or more of the following Google IAM permissions + * on the specified resource default_service: - compute.backendBuckets.use - + * compute.backendServices.use */ @property(nonatomic, copy, nullable) NSString *defaultService; /** * When none of the specified pathRules or routeRules match, the request is - * redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect - * is specified, then set either defaultService or defaultRouteAction. Don't - * set both. Not supported when the URL map is bound to a target gRPC proxy. + * redirected to a URL specified by defaultUrlRedirect. Only one of + * defaultUrlRedirect, defaultService or + * defaultRouteAction.weightedBackendService can be set. Not supported when the + * URL map is bound to a target gRPC proxy. */ @property(nonatomic, strong, nullable) GTLRCompute_HttpRedirectAction *defaultUrlRedirect; @@ -75794,12 +79129,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * In response to a matching path, the load balancer performs advanced routing * actions, such as URL rewrites and header transformations, before forwarding - * the request to the selected backend. If routeAction specifies any - * weightedBackendServices, service must not be set. Conversely if service is - * set, routeAction cannot contain any weightedBackendServices. Only one of - * routeAction or urlRedirect must be set. URL maps for classic Application - * Load Balancers only support the urlRewrite action within a path rule's - * routeAction. + * the request to the selected backend. Only one of urlRedirect, service or + * routeAction.weightedBackendService can be set. URL maps for classic + * Application Load Balancers only support the urlRewrite action within a path + * rule's routeAction. */ @property(nonatomic, strong, nullable) GTLRCompute_HttpRouteAction *routeAction; @@ -75807,17 +79140,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * The full or partial URL of the backend service resource to which traffic is * directed if this rule is matched. If routeAction is also specified, advanced * routing actions, such as URL rewrites, take effect before sending the - * request to the backend. However, if service is specified, routeAction cannot - * contain any weightedBackendServices. Conversely, if routeAction specifies - * any weightedBackendServices, service must not be specified. Only one of - * urlRedirect, service or routeAction.weightedBackendService must be set. + * request to the backend. Only one of urlRedirect, service or + * routeAction.weightedBackendService can be set. */ @property(nonatomic, copy, nullable) NSString *service; /** * When a path pattern is matched, the request is redirected to a URL specified - * by urlRedirect. If urlRedirect is specified, service or routeAction must not - * be set. Not supported when the URL map is bound to a target gRPC proxy. + * by urlRedirect. Only one of urlRedirect, service or + * routeAction.weightedBackendService can be set. Not supported when the URL + * map is bound to a target gRPC proxy. */ @property(nonatomic, strong, nullable) GTLRCompute_HttpRedirectAction *urlRedirect; @@ -75845,7 +79177,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * Serves as a merge key during UpdatePerInstanceConfigs operations, that is, * if a per-instance configuration with the same name exists then it will be * updated, otherwise a new one will be created for the VM instance with the - * same name. An attempt to create a per-instance configconfiguration for a VM + * same name. An attempt to create a per-instance configuration for a VM * instance that either doesn't exist or is not part of the group will result * in an error. */ @@ -76222,7 +79554,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; -/** Restricted features enabled for use on this project. */ +/** + * An optional list of restricted features enabled for use on this project. + */ @property(nonatomic, strong, nullable) NSArray *enabledFeatures; /** @@ -76254,8 +79588,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, copy, nullable) NSString *selfLink; /** - * The naming prefix for daily usage reports and the Google Cloud Storage - * bucket where they are stored. + * An optional naming prefix for daily usage reports and the Google Cloud + * Storage bucket where they are stored. */ @property(nonatomic, strong, nullable) GTLRCompute_UsageExportLocation *usageExportLocation; @@ -76697,6 +80031,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_PublicAdvertisedPrefixList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_PublicAdvertisedPrefixList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_PublicAdvertisedPrefixList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -77083,6 +80420,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_PublicDelegatedPrefixAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_PublicDelegatedPrefixAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_PublicDelegatedPrefixAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -77239,6 +80579,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_PublicDelegatedPrefixesScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_PublicDelegatedPrefixesScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_PublicDelegatedPrefixesScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -77424,6 +80767,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_PublicDelegatedPrefixList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_PublicDelegatedPrefixList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_PublicDelegatedPrefixList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -78095,6 +81441,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_Region_QuotaStatusWarning_Code_PartialSuccess Success * is reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_Region_QuotaStatusWarning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_Region_QuotaStatusWarning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -78303,6 +81652,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_RegionAutoscalerList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_RegionAutoscalerList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_RegionAutoscalerList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -78546,6 +81898,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_RegionDiskTypeList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_RegionDiskTypeList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_RegionDiskTypeList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -78728,6 +82083,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_RegionInstanceGroupList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_RegionInstanceGroupList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_RegionInstanceGroupList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -78928,6 +82286,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_RegionInstanceGroupManagerList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_RegionInstanceGroupManagerList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_RegionInstanceGroupManagerList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -79261,6 +82622,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_RegionInstanceGroupManagersListInstanceConfigsResp_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_RegionInstanceGroupManagersListInstanceConfigsResp_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_RegionInstanceGroupManagersListInstanceConfigsResp_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -79364,6 +82728,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * GTLRCompute_RegionInstanceGroupManagersResumeInstancesRequest + */ +@interface GTLRCompute_RegionInstanceGroupManagersResumeInstancesRequest : GTLRObject + +/** + * The URLs of one or more instances to resume. This can be a full URL or a + * partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ +@property(nonatomic, strong, nullable) NSArray *instances; + +@end + + /** * GTLRCompute_RegionInstanceGroupManagersSetTargetPoolsRequest */ @@ -79403,6 +82781,64 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * GTLRCompute_RegionInstanceGroupManagersStartInstancesRequest + */ +@interface GTLRCompute_RegionInstanceGroupManagersStartInstancesRequest : GTLRObject + +/** + * The URLs of one or more instances to start. This can be a full URL or a + * partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ +@property(nonatomic, strong, nullable) NSArray *instances; + +@end + + +/** + * GTLRCompute_RegionInstanceGroupManagersStopInstancesRequest + */ +@interface GTLRCompute_RegionInstanceGroupManagersStopInstancesRequest : GTLRObject + +/** + * If this flag is set to true, the Instance Group Manager will proceed to stop + * the instances, skipping initialization on them. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *forceStop; + +/** + * The URLs of one or more instances to stop. This can be a full URL or a + * partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ +@property(nonatomic, strong, nullable) NSArray *instances; + +@end + + +/** + * GTLRCompute_RegionInstanceGroupManagersSuspendInstancesRequest + */ +@interface GTLRCompute_RegionInstanceGroupManagersSuspendInstancesRequest : GTLRObject + +/** + * If this flag is set to true, the Instance Group Manager will proceed to + * suspend the instances, skipping initialization on them. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *forceSuspend; + +/** + * The URLs of one or more instances to suspend. This can be a full URL or a + * partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. + */ +@property(nonatomic, strong, nullable) NSArray *instances; + +@end + + /** * RegionInstanceGroupManagers.updatePerInstanceConfigs */ @@ -79540,6 +82976,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_RegionInstanceGroupsListInstances_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_RegionInstanceGroupsListInstances_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_RegionInstanceGroupsListInstances_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -79775,6 +83214,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_RegionList_Warning_Code_PartialSuccess Success is * reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_RegionList_Warning_Code_QuotaInfoUnavailable Quota + * information is not available to client requests (e.g: regions.list). + * (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_RegionList_Warning_Code_RequiredTosAgreement The user * attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -80325,6 +83767,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_ReservationAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_ReservationAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_ReservationAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -80510,6 +83955,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_ReservationList_Warning_Code_PartialSuccess Success * is reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_ReservationList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_ReservationList_Warning_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -80680,6 +84128,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_ReservationsScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_ReservationsScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_ReservationsScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -80888,6 +84339,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_ResourcePoliciesScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_ResourcePoliciesScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_ResourcePoliciesScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -81160,6 +84614,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_ResourcePolicyAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_ResourcePolicyAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_ResourcePolicyAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -81491,6 +84948,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_ResourcePolicyList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_ResourcePolicyList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_ResourcePolicyList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -81760,7 +85220,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @interface GTLRCompute_ResourceStatus : GTLRObject -/** [Output Only] An opaque ID of the host on which the VM is running. */ +/** + * [Output Only] The precise location of your instance within the zone's data + * center, including the block, sub-block, and host. The field is formatted as + * follows: blockId/subBlockId/hostId. + */ @property(nonatomic, copy, nullable) NSString *physicalHost; @property(nonatomic, strong, nullable) GTLRCompute_ResourceStatusScheduling *scheduling; @@ -81880,6 +85344,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *nextHopInstance; +/** + * [Output only] Internal fixed region-to-region cost that Google Cloud + * calculates based on factors such as network performance, distance, and + * available bandwidth between regions. + * + * Uses NSNumber of unsignedIntValue. + */ +@property(nonatomic, strong, nullable) NSNumber *nextHopInterRegionCost; + /** * The network IP address of an instance that should handle matching packets. * Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4 @@ -81890,9 +85363,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *nextHopIp; +/** + * [Output Only] Multi-Exit Discriminator, a BGP route metric that indicates + * the desirability of a particular route in a network. + * + * Uses NSNumber of unsignedIntValue. + */ +@property(nonatomic, strong, nullable) NSNumber *nextHopMed; + /** The URL of the local network if it should handle matching packets. */ @property(nonatomic, copy, nullable) NSString *nextHopNetwork; +/** + * [Output Only] Indicates the origin of the route. Can be IGP (Interior + * Gateway Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE. + * + * Likely values: + * @arg @c kGTLRCompute_Route_NextHopOrigin_Egp Value "EGP" + * @arg @c kGTLRCompute_Route_NextHopOrigin_Igp Value "IGP" + * @arg @c kGTLRCompute_Route_NextHopOrigin_Incomplete Value "INCOMPLETE" + */ +@property(nonatomic, copy, nullable) NSString *nextHopOrigin; + /** * [Output Only] The network peering name that should handle matching packets, * which should conform to RFC1035. @@ -82036,6 +85528,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_Route_Warnings_Item_Code_PartialSuccess Success is * reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_Route_Warnings_Item_Code_QuotaInfoUnavailable Quota + * information is not available to client requests (e.g: regions.list). + * (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_Route_Warnings_Item_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -82251,6 +85746,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_RouteList_Warning_Code_PartialSuccess Success is * reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_RouteList_Warning_Code_QuotaInfoUnavailable Quota + * information is not available to client requests (e.g: regions.list). + * (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_RouteList_Warning_Code_RequiredTosAgreement The user * attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -82546,6 +86044,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_RouterAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_RouterAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_RouterAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -83158,6 +86659,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_RouterList_Warning_Code_PartialSuccess Success is * reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_RouterList_Warning_Code_QuotaInfoUnavailable Quota + * information is not available to client requests (e.g: regions.list). + * (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_RouterList_Warning_Code_RequiredTosAgreement The user * attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -83685,6 +87189,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_RoutersScopedList_Warning_Code_PartialSuccess Success * is reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_RoutersScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_RoutersScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -84549,6 +88056,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_SecurityPoliciesAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_SecurityPoliciesAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_SecurityPoliciesAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -84713,6 +88223,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_SecurityPoliciesScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_SecurityPoliciesScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_SecurityPoliciesScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -85294,6 +88807,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_SecurityPolicyList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_SecurityPolicyList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_SecurityPolicyList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -85830,7 +89346,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * defaults to ALL. - USER_IP: The IP address of the originating client, which * is resolved based on "userIpRequestHeaders" configured with the security * policy. If there is no "userIpRequestHeaders" configuration or an IP address - * cannot be resolved from it, the key type defaults to IP. + * cannot be resolved from it, the key type defaults to IP. - + * TLS_JA4_FINGERPRINT: JA4 TLS/SSL fingerprint if the client connects using + * HTTPS, HTTP/2 or HTTP/3. If not available, the key type defaults to ALL. * * Likely values: * @arg @c kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_All @@ -85849,6 +89367,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * Value "SNI" * @arg @c kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_TlsJa3Fingerprint * Value "TLS_JA3_FINGERPRINT" + * @arg @c kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_TlsJa4Fingerprint + * Value "TLS_JA4_FINGERPRINT" * @arg @c kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_UserIp * Value "USER_IP" * @arg @c kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_XffIp @@ -85934,7 +89454,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * defaults to ALL. - USER_IP: The IP address of the originating client, which * is resolved based on "userIpRequestHeaders" configured with the security * policy. If there is no "userIpRequestHeaders" configuration or an IP address - * cannot be resolved from it, the key type defaults to IP. + * cannot be resolved from it, the key type defaults to IP. - + * TLS_JA4_FINGERPRINT: JA4 TLS/SSL fingerprint if the client connects using + * HTTPS, HTTP/2 or HTTP/3. If not available, the key type defaults to ALL. * * Likely values: * @arg @c kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_All @@ -85953,6 +89475,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * Value "SNI" * @arg @c kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_TlsJa3Fingerprint * Value "TLS_JA3_FINGERPRINT" + * @arg @c kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_TlsJa4Fingerprint + * Value "TLS_JA4_FINGERPRINT" * @arg @c kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_UserIp * Value "USER_IP" * @arg @c kGTLRCompute_SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig_EnforceOnKeyType_XffIp @@ -86492,6 +90016,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_ServiceAttachmentAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_ServiceAttachmentAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_ServiceAttachmentAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -86749,6 +90276,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_ServiceAttachmentList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_ServiceAttachmentList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_ServiceAttachmentList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -86903,6 +90433,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_ServiceAttachmentsScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_ServiceAttachmentsScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_ServiceAttachmentsScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -87634,6 +91167,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_SnapshotList_Warning_Code_PartialSuccess Success is * reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_SnapshotList_Warning_Code_QuotaInfoUnavailable Quota + * information is not available to client requests (e.g: regions.list). + * (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_SnapshotList_Warning_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -88181,6 +91717,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_SslCertificateAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_SslCertificateAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_SslCertificateAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -88363,6 +91902,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_SslCertificateList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_SslCertificateList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_SslCertificateList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -88605,6 +92147,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_SslCertificatesScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_SslCertificatesScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_SslCertificatesScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -88878,6 +92423,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_SslPoliciesAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_SslPoliciesAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_SslPoliciesAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -89062,6 +92610,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_SslPoliciesList_Warning_Code_PartialSuccess Success * is reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_SslPoliciesList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_SslPoliciesList_Warning_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -89226,6 +92777,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_SslPoliciesScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_SslPoliciesScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_SslPoliciesScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -89485,6 +93039,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_SslPolicy_Warnings_Item_Code_PartialSuccess Success * is reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_SslPolicy_Warnings_Item_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_SslPolicy_Warnings_Item_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -90038,6 +93595,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_StoragePoolAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_StoragePoolAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_StoragePoolAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -90307,6 +93867,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_StoragePoolList_Warning_Code_PartialSuccess Success * is reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_StoragePoolList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_StoragePoolList_Warning_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -90500,6 +94063,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_StoragePoolListDisks_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_StoragePoolListDisks_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_StoragePoolListDisks_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -90739,6 +94305,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_StoragePoolsScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_StoragePoolsScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_StoragePoolsScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -91040,6 +94609,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_StoragePoolTypeAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_StoragePoolTypeAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_StoragePoolTypeAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -91225,6 +94797,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_StoragePoolTypeList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_StoragePoolTypeList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_StoragePoolTypeList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -91379,6 +94954,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_StoragePoolTypesScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_StoragePoolTypesScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_StoragePoolTypesScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -91589,14 +95167,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * The purpose of the resource. This field can be either PRIVATE, - * GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or - * PRIVATE is the default purpose for user-created subnets or subnets that are - * automatically created in auto mode networks. Subnets with purpose set to - * GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks - * that are reserved for Envoy-based load balancers. A subnet with purpose set - * to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service - * Connect. If unspecified, the subnet purpose defaults to PRIVATE. The - * enableFlowLogs field isn't supported if the subnet purpose field is set to + * GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PEER_MIGRATION or + * PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user-created + * subnets or subnets that are automatically created in auto mode networks. + * Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY + * are user-created subnetworks that are reserved for Envoy-based load + * balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to + * publish services using Private Service Connect. A subnet with purpose set to + * PEER_MIGRATION is used for subnet migration from one peered VPC to another. + * If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs + * field isn't supported if the subnet purpose field is set to * GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. * * Likely values: @@ -91606,6 +95186,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * reserved for Internal HTTP(S) Load Balancing. This is a legacy * purpose, please use REGIONAL_MANAGED_PROXY instead. (Value: * "INTERNAL_HTTPS_LOAD_BALANCER") + * @arg @c kGTLRCompute_Subnetwork_Purpose_PeerMigration Subnetwork will be + * used for Migration from one peered VPC to another. (a transient state + * of subnetwork while migrating resources from one project to another). + * (Value: "PEER_MIGRATION") * @arg @c kGTLRCompute_Subnetwork_Purpose_Private Regular user created or * automatically created subnet. (Value: "PRIVATE") * @arg @c kGTLRCompute_Subnetwork_Purpose_PrivateNat Subnetwork used as @@ -91824,6 +95408,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_SubnetworkAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_SubnetworkAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_SubnetworkAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -92008,6 +95595,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_SubnetworkList_Warning_Code_PartialSuccess Success is * reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_SubnetworkList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_SubnetworkList_Warning_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -92284,6 +95874,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_SubnetworksScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_SubnetworksScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_SubnetworksScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -92633,6 +96226,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_TargetGrpcProxyList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_TargetGrpcProxyList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_TargetGrpcProxyList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -92787,6 +96383,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_TargetHttpProxiesScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_TargetHttpProxiesScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_TargetHttpProxiesScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -93135,6 +96734,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_TargetHttpProxyList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_TargetHttpProxyList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_TargetHttpProxyList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -93289,6 +96891,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_TargetHttpsProxiesScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_TargetHttpsProxiesScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_TargetHttpsProxiesScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -93407,7 +97012,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * Target HTTPS Proxy resources: * * [Global](/compute/docs/reference/rest/v1/targetHttpsProxies) * * [Regional](/compute/docs/reference/rest/v1/regionTargetHttpsProxies) A - * target HTTPS proxy is a component of GCP HTTPS load balancers. * + * target HTTPS proxy is a component of Google Cloud HTTPS load balancers. * * targetHttpProxies are used by global external Application Load Balancers, * classic Application Load Balancers, cross-region internal Application Load * Balancers, and Traffic Director. * regionTargetHttpProxies are used by @@ -93567,10 +97172,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * set to INTERNAL_SELF_MANAGED. The URLs should refer to a SSL Certificate * resource or Certificate Manager Certificate resource. Mixing Classic * Certificates and Certificate Manager Certificates is not allowed. - * Certificate Manager Certificates must include the certificatemanager API. - * Certificate Manager Certificates are not supported by Global external - * Application Load Balancer or Classic Application Load Balancer, use - * certificate_map instead. Currently, you may specify up to 15 Classic SSL + * Certificate Manager Certificates must include the certificatemanager API + * namespace. Using Certificate Manager Certificates in this field is not + * supported by Global external Application Load Balancer or Classic + * Application Load Balancer, use certificate_map instead. Currently, you may + * specify up to 15 Classic SSL Certificates or up to 100 Certificate Manager * Certificates. Certificate Manager Certificates accepted formats are: - * //certificatemanager.googleapis.com/projects/{project}/locations/{ * location}/certificates/{resourceName}. - @@ -93620,6 +97226,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * parameters. Requests that send Early Data with non-idempotent HTTP * methods or with query parameters will be rejected with a HTTP 425. * (Value: "STRICT") + * @arg @c kGTLRCompute_TargetHttpsProxy_TlsEarlyData_Unrestricted This + * enables TLS 1.3 Early Data for requests with any HTTP method including + * non-idempotent methods list POST. This mode does not enforce any other + * limitations. This may be valuable for gRPC use cases. However, we do + * not recommend this method unless you have evaluated your security + * stance and mitigated the risk of replay attacks using other + * mechanisms. (Value: "UNRESTRICTED") */ @property(nonatomic, copy, nullable) NSString *tlsEarlyData; @@ -93767,6 +97380,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_TargetHttpsProxyAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_TargetHttpsProxyAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_TargetHttpsProxyAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -93952,6 +97568,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_TargetHttpsProxyList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_TargetHttpsProxyList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_TargetHttpsProxyList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -94235,6 +97854,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_TargetInstanceAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_TargetInstanceAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_TargetInstanceAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -94417,6 +98039,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_TargetInstanceList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_TargetInstanceList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_TargetInstanceList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -94571,6 +98196,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_TargetInstancesScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_TargetInstancesScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_TargetInstancesScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -94916,6 +98544,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_TargetPoolAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_TargetPoolAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_TargetPoolAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -95116,6 +98747,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_TargetPoolList_Warning_Code_PartialSuccess Success is * reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_TargetPoolList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_TargetPoolList_Warning_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -95328,6 +98962,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_TargetPoolsScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_TargetPoolsScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_TargetPoolsScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -95670,6 +99307,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_TargetSslProxyList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_TargetSslProxyList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_TargetSslProxyList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -95824,6 +99464,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_TargetTcpProxiesScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_TargetTcpProxiesScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_TargetTcpProxiesScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -96130,6 +99773,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_TargetTcpProxyAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_TargetTcpProxyAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_TargetTcpProxyAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -96312,6 +99958,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_TargetTcpProxyList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_TargetTcpProxyList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_TargetTcpProxyList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -96628,6 +100277,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_TargetVpnGatewayAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_TargetVpnGatewayAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_TargetVpnGatewayAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -96813,6 +100465,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_TargetVpnGatewayList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_TargetVpnGatewayList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_TargetVpnGatewayList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -96967,6 +100622,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_TargetVpnGatewaysScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_TargetVpnGatewaysScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_TargetVpnGatewaysScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -97324,14 +100982,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * defaultRouteAction takes effect when none of the hostRules match. The load * balancer performs advanced routing actions, such as URL rewrites and header - * transformations, before forwarding the request to the selected backend. If - * defaultRouteAction specifies any weightedBackendServices, defaultService - * must not be set. Conversely if defaultService is set, defaultRouteAction - * cannot contain any weightedBackendServices. Only one of defaultRouteAction - * or defaultUrlRedirect must be set. URL maps for classic Application Load - * Balancers only support the urlRewrite action within defaultRouteAction. - * defaultRouteAction has no effect when the URL map is bound to a target gRPC - * proxy that has the validateForProxyless field set to true. + * transformations, before forwarding the request to the selected backend. Only + * one of defaultUrlRedirect, defaultService or + * defaultRouteAction.weightedBackendService can be set. URL maps for classic + * Application Load Balancers only support the urlRewrite action within + * defaultRouteAction. defaultRouteAction has no effect when the URL map is + * bound to a target gRPC proxy that has the validateForProxyless field set to + * true. */ @property(nonatomic, strong, nullable) GTLRCompute_HttpRouteAction *defaultRouteAction; @@ -97339,22 +100996,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * The full or partial URL of the defaultService resource to which traffic is * directed if none of the hostRules match. If defaultRouteAction is also * specified, advanced routing actions, such as URL rewrites, take effect - * before sending the request to the backend. However, if defaultService is - * specified, defaultRouteAction cannot contain any - * defaultRouteAction.weightedBackendServices. Conversely, if - * defaultRouteAction specifies any defaultRouteAction.weightedBackendServices, - * defaultService must not be specified. If defaultService is specified, then - * set either defaultUrlRedirect , or defaultRouteAction.weightedBackendService - * Don't set both. defaultService has no effect when the URL map is bound to a - * target gRPC proxy that has the validateForProxyless field set to true. + * before sending the request to the backend. Only one of defaultUrlRedirect, + * defaultService or defaultRouteAction.weightedBackendService can be set. + * defaultService has no effect when the URL map is bound to a target gRPC + * proxy that has the validateForProxyless field set to true. */ @property(nonatomic, copy, nullable) NSString *defaultService; /** * When none of the specified hostRules match, the request is redirected to a - * URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, - * defaultService or defaultRouteAction must not be set. Not supported when the - * URL map is bound to a target gRPC proxy. + * URL specified by defaultUrlRedirect. Only one of defaultUrlRedirect, + * defaultService or defaultRouteAction.weightedBackendService can be set. Not + * supported when the URL map is bound to a target gRPC proxy. */ @property(nonatomic, strong, nullable) GTLRCompute_HttpRedirectAction *defaultUrlRedirect; @@ -97564,6 +101217,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_UrlMapList_Warning_Code_PartialSuccess Success is * reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_UrlMapList_Warning_Code_QuotaInfoUnavailable Quota + * information is not available to client requests (e.g: regions.list). + * (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_UrlMapList_Warning_Code_RequiredTosAgreement The user * attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -97761,6 +101417,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_UrlMapsAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_UrlMapsAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_UrlMapsAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -97915,6 +101574,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_UrlMapsScopedList_Warning_Code_PartialSuccess Success * is reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_UrlMapsScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_UrlMapsScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -98197,14 +101859,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * The purpose of the resource. This field can be either PRIVATE, - * GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or - * PRIVATE is the default purpose for user-created subnets or subnets that are - * automatically created in auto mode networks. Subnets with purpose set to - * GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks - * that are reserved for Envoy-based load balancers. A subnet with purpose set - * to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service - * Connect. If unspecified, the subnet purpose defaults to PRIVATE. The - * enableFlowLogs field isn't supported if the subnet purpose field is set to + * GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PEER_MIGRATION or + * PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user-created + * subnets or subnets that are automatically created in auto mode networks. + * Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY + * are user-created subnetworks that are reserved for Envoy-based load + * balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to + * publish services using Private Service Connect. A subnet with purpose set to + * PEER_MIGRATION is used for subnet migration from one peered VPC to another. + * If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs + * field isn't supported if the subnet purpose field is set to * GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. * * Likely values: @@ -98215,6 +101879,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy * purpose, please use REGIONAL_MANAGED_PROXY instead. (Value: * "INTERNAL_HTTPS_LOAD_BALANCER") + * @arg @c kGTLRCompute_UsableSubnetwork_Purpose_PeerMigration Subnetwork + * will be used for Migration from one peered VPC to another. (a + * transient state of subnetwork while migrating resources from one + * project to another). (Value: "PEER_MIGRATION") * @arg @c kGTLRCompute_UsableSubnetwork_Purpose_Private Regular user created * or automatically created subnet. (Value: "PRIVATE") * @arg @c kGTLRCompute_UsableSubnetwork_Purpose_PrivateNat Subnetwork used @@ -98402,6 +102070,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_UsableSubnetworksAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_UsableSubnetworksAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_UsableSubnetworksAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -98743,6 +102414,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_VmEndpointNatMappingsList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_VmEndpointNatMappingsList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_VmEndpointNatMappingsList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -99059,6 +102733,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_VpnGatewayAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_VpnGatewayAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_VpnGatewayAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -99242,6 +102919,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_VpnGatewayList_Warning_Code_PartialSuccess Success is * reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_VpnGatewayList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_VpnGatewayList_Warning_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -99406,6 +103086,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_VpnGatewaysScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_VpnGatewaysScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_VpnGatewaysScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -99988,6 +103671,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_VpnTunnelAggregatedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_VpnTunnelAggregatedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_VpnTunnelAggregatedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -100170,6 +103856,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_VpnTunnelList_Warning_Code_PartialSuccess Success is * reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_VpnTunnelList_Warning_Code_QuotaInfoUnavailable Quota + * information is not available to client requests (e.g: regions.list). + * (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_VpnTunnelList_Warning_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -100324,6 +104013,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_VpnTunnelsScopedList_Warning_Code_PartialSuccess * Success is reported, but some results may be missing due to errors * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_VpnTunnelsScopedList_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_VpnTunnelsScopedList_Warning_Code_RequiredTosAgreement * The user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -100605,6 +104297,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_XpnHostList_Warning_Code_PartialSuccess Success is * reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_XpnHostList_Warning_Code_QuotaInfoUnavailable Quota + * information is not available to client requests (e.g: regions.list). + * (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_XpnHostList_Warning_Code_RequiredTosAgreement The * user attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") @@ -100873,6 +104568,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_ZoneList_Warning_Code_PartialSuccess Success is * reported, but some results may be missing due to errors (Value: * "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_ZoneList_Warning_Code_QuotaInfoUnavailable Quota + * information is not available to client requests (e.g: regions.list). + * (Value: "QUOTA_INFO_UNAVAILABLE") * @arg @c kGTLRCompute_ZoneList_Warning_Code_RequiredTosAgreement The user * attempted to use a resource that requires a TOS they have not * accepted. (Value: "REQUIRED_TOS_AGREEMENT") diff --git a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h index 02de0152e..26e499f72 100644 --- a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h +++ b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h @@ -11687,6 +11687,88 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar @end +/** + * Flags the specified instances in the managed instance group to be resumed. + * This method increases the targetSize and decreases the targetSuspendedSize + * of the managed instance group by the number of instances that you resume. + * The resumeInstances operation is marked DONE if the resumeInstances request + * is successful. The underlying actions take additional time. You must + * separately verify the status of the RESUMING action with the + * listmanagedinstances method. In this request, you can only specify instances + * that are suspended. For example, if an instance was previously suspended + * using the suspendInstances method, it can be resumed using the + * resumeInstances method. If a health check is attached to the managed + * instance group, the specified instances will be verified as healthy after + * they are resumed. You can specify a maximum of 1000 instances with this + * method per request. + * + * Method: compute.instanceGroupManagers.resumeInstances + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + */ +@interface GTLRComputeQuery_InstanceGroupManagersResumeInstances : GTLRComputeQuery + +/** The name of the managed instance group. */ +@property(nonatomic, copy, nullable) NSString *instanceGroupManager; + +/** 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 where the managed instance group is located. + * + * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. + */ +@property(nonatomic, copy, nullable) NSString *zoneProperty; + +/** + * Fetches a @c GTLRCompute_Operation. + * + * Flags the specified instances in the managed instance group to be resumed. + * This method increases the targetSize and decreases the targetSuspendedSize + * of the managed instance group by the number of instances that you resume. + * The resumeInstances operation is marked DONE if the resumeInstances request + * is successful. The underlying actions take additional time. You must + * separately verify the status of the RESUMING action with the + * listmanagedinstances method. In this request, you can only specify instances + * that are suspended. For example, if an instance was previously suspended + * using the suspendInstances method, it can be resumed using the + * resumeInstances method. If a health check is attached to the managed + * instance group, the specified instances will be verified as healthy after + * they are resumed. You can specify a maximum of 1000 instances with this + * method per request. + * + * @param object The @c GTLRCompute_InstanceGroupManagersResumeInstancesRequest + * to include in the query. + * @param project Project ID for this request. + * @param zoneProperty The name of the zone where the managed instance group is + * located. + * @param instanceGroupManager The name of the managed instance group. + * + * @return GTLRComputeQuery_InstanceGroupManagersResumeInstances + */ ++ (instancetype)queryWithObject:(GTLRCompute_InstanceGroupManagersResumeInstancesRequest *)object + project:(NSString *)project + zoneProperty:(NSString *)zoneProperty + instanceGroupManager:(NSString *)instanceGroupManager; + +@end + /** * Specifies the instance template to use when creating new instances in this * group. The templates for existing instances in the group do not change @@ -11820,6 +11902,273 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar @end +/** + * Flags the specified instances in the managed instance group to be started. + * This method increases the targetSize and decreases the targetStoppedSize of + * the managed instance group by the number of instances that you start. The + * startInstances operation is marked DONE if the startInstances request is + * successful. The underlying actions take additional time. You must separately + * verify the status of the STARTING action with the listmanagedinstances + * method. In this request, you can only specify instances that are stopped. + * For example, if an instance was previously stopped using the stopInstances + * method, it can be started using the startInstances method. If a health check + * is attached to the managed instance group, the specified instances will be + * verified as healthy after they are started. You can specify a maximum of + * 1000 instances with this method per request. + * + * Method: compute.instanceGroupManagers.startInstances + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + */ +@interface GTLRComputeQuery_InstanceGroupManagersStartInstances : GTLRComputeQuery + +/** The name of the managed instance group. */ +@property(nonatomic, copy, nullable) NSString *instanceGroupManager; + +/** 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 where the managed instance group is located. + * + * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. + */ +@property(nonatomic, copy, nullable) NSString *zoneProperty; + +/** + * Fetches a @c GTLRCompute_Operation. + * + * Flags the specified instances in the managed instance group to be started. + * This method increases the targetSize and decreases the targetStoppedSize of + * the managed instance group by the number of instances that you start. The + * startInstances operation is marked DONE if the startInstances request is + * successful. The underlying actions take additional time. You must separately + * verify the status of the STARTING action with the listmanagedinstances + * method. In this request, you can only specify instances that are stopped. + * For example, if an instance was previously stopped using the stopInstances + * method, it can be started using the startInstances method. If a health check + * is attached to the managed instance group, the specified instances will be + * verified as healthy after they are started. You can specify a maximum of + * 1000 instances with this method per request. + * + * @param object The @c GTLRCompute_InstanceGroupManagersStartInstancesRequest + * to include in the query. + * @param project Project ID for this request. + * @param zoneProperty The name of the zone where the managed instance group is + * located. + * @param instanceGroupManager The name of the managed instance group. + * + * @return GTLRComputeQuery_InstanceGroupManagersStartInstances + */ ++ (instancetype)queryWithObject:(GTLRCompute_InstanceGroupManagersStartInstancesRequest *)object + project:(NSString *)project + zoneProperty:(NSString *)zoneProperty + instanceGroupManager:(NSString *)instanceGroupManager; + +@end + +/** + * Flags the specified instances in the managed instance group to be + * immediately stopped. You can only specify instances that are running in this + * request. This method reduces the targetSize and increases the + * targetStoppedSize of the managed instance group by the number of instances + * that you stop. The stopInstances operation is marked DONE if the + * stopInstances request is successful. The underlying actions take additional + * time. You must separately verify the status of the STOPPING action with the + * listmanagedinstances method. If the standbyPolicy.initialDelaySec field is + * set, the group delays stopping the instances until initialDelaySec have + * passed from instance.creationTimestamp (that is, when the instance was + * created). This delay gives your application time to set itself up and + * initialize on the instance. If more than initialDelaySec seconds have passed + * since instance.creationTimestamp when this method is called, there will be + * zero delay. If the group is part of a backend service that has enabled + * connection draining, it can take up to 60 seconds after the connection + * draining duration has elapsed before the VM instance is stopped. Stopped + * instances can be started using the startInstances method. You can specify a + * maximum of 1000 instances with this method per request. + * + * Method: compute.instanceGroupManagers.stopInstances + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + */ +@interface GTLRComputeQuery_InstanceGroupManagersStopInstances : GTLRComputeQuery + +/** The name of the managed instance group. */ +@property(nonatomic, copy, nullable) NSString *instanceGroupManager; + +/** 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 where the managed instance group is located. + * + * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. + */ +@property(nonatomic, copy, nullable) NSString *zoneProperty; + +/** + * Fetches a @c GTLRCompute_Operation. + * + * Flags the specified instances in the managed instance group to be + * immediately stopped. You can only specify instances that are running in this + * request. This method reduces the targetSize and increases the + * targetStoppedSize of the managed instance group by the number of instances + * that you stop. The stopInstances operation is marked DONE if the + * stopInstances request is successful. The underlying actions take additional + * time. You must separately verify the status of the STOPPING action with the + * listmanagedinstances method. If the standbyPolicy.initialDelaySec field is + * set, the group delays stopping the instances until initialDelaySec have + * passed from instance.creationTimestamp (that is, when the instance was + * created). This delay gives your application time to set itself up and + * initialize on the instance. If more than initialDelaySec seconds have passed + * since instance.creationTimestamp when this method is called, there will be + * zero delay. If the group is part of a backend service that has enabled + * connection draining, it can take up to 60 seconds after the connection + * draining duration has elapsed before the VM instance is stopped. Stopped + * instances can be started using the startInstances method. You can specify a + * maximum of 1000 instances with this method per request. + * + * @param object The @c GTLRCompute_InstanceGroupManagersStopInstancesRequest + * to include in the query. + * @param project Project ID for this request. + * @param zoneProperty The name of the zone where the managed instance group is + * located. + * @param instanceGroupManager The name of the managed instance group. + * + * @return GTLRComputeQuery_InstanceGroupManagersStopInstances + */ ++ (instancetype)queryWithObject:(GTLRCompute_InstanceGroupManagersStopInstancesRequest *)object + project:(NSString *)project + zoneProperty:(NSString *)zoneProperty + instanceGroupManager:(NSString *)instanceGroupManager; + +@end + +/** + * Flags the specified instances in the managed instance group to be + * immediately suspended. You can only specify instances that are running in + * this request. This method reduces the targetSize and increases the + * targetSuspendedSize of the managed instance group by the number of instances + * that you suspend. The suspendInstances operation is marked DONE if the + * suspendInstances request is successful. The underlying actions take + * additional time. You must separately verify the status of the SUSPENDING + * action with the listmanagedinstances method. If the + * standbyPolicy.initialDelaySec field is set, the group delays suspension of + * the instances until initialDelaySec have passed from + * instance.creationTimestamp (that is, when the instance was created). This + * delay gives your application time to set itself up and initialize on the + * instance. If more than initialDelaySec seconds have passed since + * instance.creationTimestamp when this method is called, there will be zero + * delay. If the group is part of a backend service that has enabled connection + * draining, it can take up to 60 seconds after the connection draining + * duration has elapsed before the VM instance is suspended. Suspended + * instances can be resumed using the resumeInstances method. You can specify a + * maximum of 1000 instances with this method per request. + * + * Method: compute.instanceGroupManagers.suspendInstances + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + */ +@interface GTLRComputeQuery_InstanceGroupManagersSuspendInstances : GTLRComputeQuery + +/** The name of the managed instance group. */ +@property(nonatomic, copy, nullable) NSString *instanceGroupManager; + +/** 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 where the managed instance group is located. + * + * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. + */ +@property(nonatomic, copy, nullable) NSString *zoneProperty; + +/** + * Fetches a @c GTLRCompute_Operation. + * + * Flags the specified instances in the managed instance group to be + * immediately suspended. You can only specify instances that are running in + * this request. This method reduces the targetSize and increases the + * targetSuspendedSize of the managed instance group by the number of instances + * that you suspend. The suspendInstances operation is marked DONE if the + * suspendInstances request is successful. The underlying actions take + * additional time. You must separately verify the status of the SUSPENDING + * action with the listmanagedinstances method. If the + * standbyPolicy.initialDelaySec field is set, the group delays suspension of + * the instances until initialDelaySec have passed from + * instance.creationTimestamp (that is, when the instance was created). This + * delay gives your application time to set itself up and initialize on the + * instance. If more than initialDelaySec seconds have passed since + * instance.creationTimestamp when this method is called, there will be zero + * delay. If the group is part of a backend service that has enabled connection + * draining, it can take up to 60 seconds after the connection draining + * duration has elapsed before the VM instance is suspended. Suspended + * instances can be resumed using the resumeInstances method. You can specify a + * maximum of 1000 instances with this method per request. + * + * @param object The @c + * GTLRCompute_InstanceGroupManagersSuspendInstancesRequest to include in the + * query. + * @param project Project ID for this request. + * @param zoneProperty The name of the zone where the managed instance group is + * located. + * @param instanceGroupManager The name of the managed instance group. + * + * @return GTLRComputeQuery_InstanceGroupManagersSuspendInstances + */ ++ (instancetype)queryWithObject:(GTLRCompute_InstanceGroupManagersSuspendInstancesRequest *)object + project:(NSString *)project + zoneProperty:(NSString *)zoneProperty + instanceGroupManager:(NSString *)instanceGroupManager; + +@end + /** * Inserts or updates per-instance configurations for the managed instance * group. perInstanceConfig.name serves as a key used to distinguish whether to @@ -13523,7 +13872,9 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar * property value. You can also provide a negative start position, which * translates to the most recent number of bytes written to the serial port. * For example, -3 is interpreted as the most recent 3 bytes written to the - * serial console. + * serial console. Note that the negative start is bounded by the retained + * buffer size, and the returned serial console output will not exceed the max + * buffer size. */ @property(nonatomic, assign) long long start; @@ -20727,6 +21078,130 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar @end +/** + * Retrieves an aggregated list of network firewall policies, listing network + * firewall policies from all applicable scopes (global and regional) and + * grouping the results per scope. To prevent failure, Google recommends that + * you set the `returnPartialSuccess` parameter to `true`. + * + * Method: compute.networkFirewallPolicies.aggregatedList + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + * @c kGTLRAuthScopeComputeReadonly + */ +@interface GTLRComputeQuery_NetworkFirewallPoliciesAggregatedList : GTLRComputeQuery + +/** + * A filter expression that filters resources listed in the response. Most + * Compute resources support two types of filter expressions: expressions that + * support regular expressions and expressions that follow API improvement + * proposal AIP-160. These two types of filter expressions cannot be mixed in + * one request. If you want to use AIP-160, your expression must specify the + * field name, an operator, and the value that you want to use for filtering. + * The value must be a string, a number, or a boolean. The operator must be + * either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are + * filtering Compute Engine instances, you can exclude instances named + * `example-instance` by specifying `name != example-instance`. The `:*` + * comparison can be used to test whether a key has been defined. For example, + * to find all objects with `owner` label use: ``` labels.owner:* ``` You can + * also filter nested fields. For example, you could specify + * `scheduling.automaticRestart = false` to include instances only if they are + * not scheduled for automatic restarts. You can use filtering on nested fields + * to filter based on resource labels. To filter on multiple expressions, + * provide each separate expression within parentheses. For example: ``` + * (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include + * `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = + * "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true) ``` If you want to use a regular + * expression, use the `eq` (equal) or `ne` (not equal) operator against a + * single un-parenthesized expression with or without quotes or against + * multiple parenthesized expressions. Examples: `fieldname eq unquoted + * literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted + * literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal + * value is interpreted as a regular expression using Google RE2 library + * syntax. The literal value must match the entire field. For example, to + * filter for instances that do not end with name "instance", you would use + * `name ne .*instance`. You cannot combine constraints on multiple fields + * using regular expressions. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Indicates whether every visible scope for each scope type (zone, region, + * global) should be included in the response. For new resource types added + * after this field, the flag has no effect as new resource types will always + * include every visible scope for each scope type in response. For resource + * types which predate this field, if this flag is omitted or false, only + * scopes of the scope types where the resource type is expected to be found + * will be included. + */ +@property(nonatomic, assign) BOOL includeAllScopes; + +/** + * The maximum number of results per page that should be returned. If the + * number of available results is larger than `maxResults`, Compute Engine + * returns a `nextPageToken` that can be used to get the next page of results + * in subsequent list requests. Acceptable values are `0` to `500`, inclusive. + * (Default: `500`) + * + * @note If not set, the documented server-side default will be 500. + */ +@property(nonatomic, assign) NSUInteger maxResults; + +/** + * Sorts list results by a certain order. By default, results are returned in + * alphanumerical order based on the resource name. You can also sort results + * in descending order based on the creation timestamp using + * `orderBy="creationTimestamp desc"`. This sorts results based on the + * `creationTimestamp` field in reverse chronological order (newest result + * first). Use this to sort resources like operations so that the newest + * operation is returned first. Currently, only sorting by `name` or + * `creationTimestamp desc` is supported. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` + * returned by a previous list request to get the next page of results. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** + * Opt-in for partial success behavior which provides partial results in case + * of failure. The default value is false. For example, when partial success + * behavior is enabled, aggregatedList for a single zone scope either returns + * all resources in the zone or no resources, with an error code. + */ +@property(nonatomic, assign) BOOL returnPartialSuccess; + +/** + * The Shared VPC service project id or service project number for which + * aggregated list request is invoked for subnetworks list-usable api. + */ +@property(nonatomic, assign) long long serviceProjectNumber; + +/** + * Fetches a @c GTLRCompute_NetworkFirewallPolicyAggregatedList. + * + * Retrieves an aggregated list of network firewall policies, listing network + * firewall policies from all applicable scopes (global and regional) and + * grouping the results per scope. To prevent failure, Google recommends that + * you set the `returnPartialSuccess` parameter to `true`. + * + * @param project Project ID for this request. + * + * @return GTLRComputeQuery_NetworkFirewallPoliciesAggregatedList + */ ++ (instancetype)queryWithProject:(NSString *)project; + +@end + /** * Copies rules to the specified firewall policy. * @@ -21374,9 +21849,147 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeMostDisruptiveAllowedActionRestar * * @return GTLRComputeQuery_NetworkFirewallPoliciesTestIamPermissions */ -+ (instancetype)queryWithObject:(GTLRCompute_TestPermissionsRequest *)object - project:(NSString *)project - resource:(NSString *)resource; ++ (instancetype)queryWithObject:(GTLRCompute_TestPermissionsRequest *)object + project:(NSString *)project + resource:(NSString *)resource; + +@end + +/** + * Returns the specified network profile. + * + * Method: compute.networkProfiles.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + * @c kGTLRAuthScopeComputeReadonly + */ +@interface GTLRComputeQuery_NetworkProfilesGet : GTLRComputeQuery + +/** Name of the network profile to return. */ +@property(nonatomic, copy, nullable) NSString *networkProfile; + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** + * Fetches a @c GTLRCompute_NetworkProfile. + * + * Returns the specified network profile. + * + * @param project Project ID for this request. + * @param networkProfile Name of the network profile to return. + * + * @return GTLRComputeQuery_NetworkProfilesGet + */ ++ (instancetype)queryWithProject:(NSString *)project + networkProfile:(NSString *)networkProfile; + +@end + +/** + * Retrieves a list of network profiles available to the specified project. + * + * Method: compute.networkProfiles.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + * @c kGTLRAuthScopeComputeReadonly + */ +@interface GTLRComputeQuery_NetworkProfilesList : GTLRComputeQuery + +/** + * A filter expression that filters resources listed in the response. Most + * Compute resources support two types of filter expressions: expressions that + * support regular expressions and expressions that follow API improvement + * proposal AIP-160. These two types of filter expressions cannot be mixed in + * one request. If you want to use AIP-160, your expression must specify the + * field name, an operator, and the value that you want to use for filtering. + * The value must be a string, a number, or a boolean. The operator must be + * either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are + * filtering Compute Engine instances, you can exclude instances named + * `example-instance` by specifying `name != example-instance`. The `:*` + * comparison can be used to test whether a key has been defined. For example, + * to find all objects with `owner` label use: ``` labels.owner:* ``` You can + * also filter nested fields. For example, you could specify + * `scheduling.automaticRestart = false` to include instances only if they are + * not scheduled for automatic restarts. You can use filtering on nested fields + * to filter based on resource labels. To filter on multiple expressions, + * provide each separate expression within parentheses. For example: ``` + * (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include + * `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = + * "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true) ``` If you want to use a regular + * expression, use the `eq` (equal) or `ne` (not equal) operator against a + * single un-parenthesized expression with or without quotes or against + * multiple parenthesized expressions. Examples: `fieldname eq unquoted + * literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted + * literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal + * value is interpreted as a regular expression using Google RE2 library + * syntax. The literal value must match the entire field. For example, to + * filter for instances that do not end with name "instance", you would use + * `name ne .*instance`. You cannot combine constraints on multiple fields + * using regular expressions. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * The maximum number of results per page that should be returned. If the + * number of available results is larger than `maxResults`, Compute Engine + * returns a `nextPageToken` that can be used to get the next page of results + * in subsequent list requests. Acceptable values are `0` to `500`, inclusive. + * (Default: `500`) + * + * @note If not set, the documented server-side default will be 500. + */ +@property(nonatomic, assign) NSUInteger maxResults; + +/** + * Sorts list results by a certain order. By default, results are returned in + * alphanumerical order based on the resource name. You can also sort results + * in descending order based on the creation timestamp using + * `orderBy="creationTimestamp desc"`. This sorts results based on the + * `creationTimestamp` field in reverse chronological order (newest result + * first). Use this to sort resources like operations so that the newest + * operation is returned first. Currently, only sorting by `name` or + * `creationTimestamp desc` is supported. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` + * returned by a previous list request to get the next page of results. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** + * Opt-in for partial success behavior which provides partial results in case + * of failure. The default value is false. For example, when partial success + * behavior is enabled, aggregatedList for a single zone scope either returns + * all resources in the zone or no resources, with an error code. + */ +@property(nonatomic, assign) BOOL returnPartialSuccess; + +/** + * Fetches a @c GTLRCompute_NetworkProfilesListResponse. + * + * Retrieves a list of network profiles available to the specified project. + * + * @param project Project ID for this request. + * + * @return GTLRComputeQuery_NetworkProfilesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithProject:(NSString *)project; @end @@ -30310,6 +30923,84 @@ GTLR_DEPRECATED @end +/** + * Flags the specified instances in the managed instance group to be resumed. + * This method increases the targetSize and decreases the targetSuspendedSize + * of the managed instance group by the number of instances that you resume. + * The resumeInstances operation is marked DONE if the resumeInstances request + * is successful. The underlying actions take additional time. You must + * separately verify the status of the RESUMING action with the + * listmanagedinstances method. In this request, you can only specify instances + * that are suspended. For example, if an instance was previously suspended + * using the suspendInstances method, it can be resumed using the + * resumeInstances method. If a health check is attached to the managed + * instance group, the specified instances will be verified as healthy after + * they are resumed. You can specify a maximum of 1000 instances with this + * method per request. + * + * Method: compute.regionInstanceGroupManagers.resumeInstances + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + */ +@interface GTLRComputeQuery_RegionInstanceGroupManagersResumeInstances : GTLRComputeQuery + +/** Name of the managed instance group. */ +@property(nonatomic, copy, nullable) NSString *instanceGroupManager; + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** Name of the region scoping this request. */ +@property(nonatomic, copy, nullable) NSString *region; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. For example, consider a situation + * where you make an initial request and the request times out. If you make the + * request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the + * second request. This prevents clients from accidentally creating duplicate + * commitments. The request ID must be a valid UUID with the exception that + * zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRCompute_Operation. + * + * Flags the specified instances in the managed instance group to be resumed. + * This method increases the targetSize and decreases the targetSuspendedSize + * of the managed instance group by the number of instances that you resume. + * The resumeInstances operation is marked DONE if the resumeInstances request + * is successful. The underlying actions take additional time. You must + * separately verify the status of the RESUMING action with the + * listmanagedinstances method. In this request, you can only specify instances + * that are suspended. For example, if an instance was previously suspended + * using the suspendInstances method, it can be resumed using the + * resumeInstances method. If a health check is attached to the managed + * instance group, the specified instances will be verified as healthy after + * they are resumed. You can specify a maximum of 1000 instances with this + * method per request. + * + * @param object The @c + * GTLRCompute_RegionInstanceGroupManagersResumeInstancesRequest to include + * in the query. + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param instanceGroupManager Name of the managed instance group. + * + * @return GTLRComputeQuery_RegionInstanceGroupManagersResumeInstances + */ ++ (instancetype)queryWithObject:(GTLRCompute_RegionInstanceGroupManagersResumeInstancesRequest *)object + project:(NSString *)project + region:(NSString *)region + instanceGroupManager:(NSString *)instanceGroupManager; + +@end + /** * Sets the instance template to use when creating new instances or recreating * instances in this group. Existing instances are not affected. @@ -30422,6 +31113,260 @@ GTLR_DEPRECATED @end +/** + * Flags the specified instances in the managed instance group to be started. + * This method increases the targetSize and decreases the targetStoppedSize of + * the managed instance group by the number of instances that you start. The + * startInstances operation is marked DONE if the startInstances request is + * successful. The underlying actions take additional time. You must separately + * verify the status of the STARTING action with the listmanagedinstances + * method. In this request, you can only specify instances that are stopped. + * For example, if an instance was previously stopped using the stopInstances + * method, it can be started using the startInstances method. If a health check + * is attached to the managed instance group, the specified instances will be + * verified as healthy after they are started. You can specify a maximum of + * 1000 instances with this method per request. + * + * Method: compute.regionInstanceGroupManagers.startInstances + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + */ +@interface GTLRComputeQuery_RegionInstanceGroupManagersStartInstances : GTLRComputeQuery + +/** Name of the managed instance group. */ +@property(nonatomic, copy, nullable) NSString *instanceGroupManager; + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** Name of the region scoping this request. */ +@property(nonatomic, copy, nullable) NSString *region; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. For example, consider a situation + * where you make an initial request and the request times out. If you make the + * request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the + * second request. This prevents clients from accidentally creating duplicate + * commitments. The request ID must be a valid UUID with the exception that + * zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRCompute_Operation. + * + * Flags the specified instances in the managed instance group to be started. + * This method increases the targetSize and decreases the targetStoppedSize of + * the managed instance group by the number of instances that you start. The + * startInstances operation is marked DONE if the startInstances request is + * successful. The underlying actions take additional time. You must separately + * verify the status of the STARTING action with the listmanagedinstances + * method. In this request, you can only specify instances that are stopped. + * For example, if an instance was previously stopped using the stopInstances + * method, it can be started using the startInstances method. If a health check + * is attached to the managed instance group, the specified instances will be + * verified as healthy after they are started. You can specify a maximum of + * 1000 instances with this method per request. + * + * @param object The @c + * GTLRCompute_RegionInstanceGroupManagersStartInstancesRequest to include in + * the query. + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param instanceGroupManager Name of the managed instance group. + * + * @return GTLRComputeQuery_RegionInstanceGroupManagersStartInstances + */ ++ (instancetype)queryWithObject:(GTLRCompute_RegionInstanceGroupManagersStartInstancesRequest *)object + project:(NSString *)project + region:(NSString *)region + instanceGroupManager:(NSString *)instanceGroupManager; + +@end + +/** + * Flags the specified instances in the managed instance group to be + * immediately stopped. You can only specify instances that are running in this + * request. This method reduces the targetSize and increases the + * targetStoppedSize of the managed instance group by the number of instances + * that you stop. The stopInstances operation is marked DONE if the + * stopInstances request is successful. The underlying actions take additional + * time. You must separately verify the status of the STOPPING action with the + * listmanagedinstances method. If the standbyPolicy.initialDelaySec field is + * set, the group delays stopping the instances until initialDelaySec have + * passed from instance.creationTimestamp (that is, when the instance was + * created). This delay gives your application time to set itself up and + * initialize on the instance. If more than initialDelaySec seconds have passed + * since instance.creationTimestamp when this method is called, there will be + * zero delay. If the group is part of a backend service that has enabled + * connection draining, it can take up to 60 seconds after the connection + * draining duration has elapsed before the VM instance is stopped. Stopped + * instances can be started using the startInstances method. You can specify a + * maximum of 1000 instances with this method per request. + * + * Method: compute.regionInstanceGroupManagers.stopInstances + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + */ +@interface GTLRComputeQuery_RegionInstanceGroupManagersStopInstances : GTLRComputeQuery + +/** The name of the managed instance group. */ +@property(nonatomic, copy, nullable) NSString *instanceGroupManager; + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** Name of the region scoping this request. */ +@property(nonatomic, copy, nullable) NSString *region; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. For example, consider a situation + * where you make an initial request and the request times out. If you make the + * request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the + * second request. This prevents clients from accidentally creating duplicate + * commitments. The request ID must be a valid UUID with the exception that + * zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRCompute_Operation. + * + * Flags the specified instances in the managed instance group to be + * immediately stopped. You can only specify instances that are running in this + * request. This method reduces the targetSize and increases the + * targetStoppedSize of the managed instance group by the number of instances + * that you stop. The stopInstances operation is marked DONE if the + * stopInstances request is successful. The underlying actions take additional + * time. You must separately verify the status of the STOPPING action with the + * listmanagedinstances method. If the standbyPolicy.initialDelaySec field is + * set, the group delays stopping the instances until initialDelaySec have + * passed from instance.creationTimestamp (that is, when the instance was + * created). This delay gives your application time to set itself up and + * initialize on the instance. If more than initialDelaySec seconds have passed + * since instance.creationTimestamp when this method is called, there will be + * zero delay. If the group is part of a backend service that has enabled + * connection draining, it can take up to 60 seconds after the connection + * draining duration has elapsed before the VM instance is stopped. Stopped + * instances can be started using the startInstances method. You can specify a + * maximum of 1000 instances with this method per request. + * + * @param object The @c + * GTLRCompute_RegionInstanceGroupManagersStopInstancesRequest to include in + * the query. + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param instanceGroupManager The name of the managed instance group. + * + * @return GTLRComputeQuery_RegionInstanceGroupManagersStopInstances + */ ++ (instancetype)queryWithObject:(GTLRCompute_RegionInstanceGroupManagersStopInstancesRequest *)object + project:(NSString *)project + region:(NSString *)region + instanceGroupManager:(NSString *)instanceGroupManager; + +@end + +/** + * Flags the specified instances in the managed instance group to be + * immediately suspended. You can only specify instances that are running in + * this request. This method reduces the targetSize and increases the + * targetSuspendedSize of the managed instance group by the number of instances + * that you suspend. The suspendInstances operation is marked DONE if the + * suspendInstances request is successful. The underlying actions take + * additional time. You must separately verify the status of the SUSPENDING + * action with the listmanagedinstances method. If the + * standbyPolicy.initialDelaySec field is set, the group delays suspension of + * the instances until initialDelaySec have passed from + * instance.creationTimestamp (that is, when the instance was created). This + * delay gives your application time to set itself up and initialize on the + * instance. If more than initialDelaySec seconds have passed since + * instance.creationTimestamp when this method is called, there will be zero + * delay. If the group is part of a backend service that has enabled connection + * draining, it can take up to 60 seconds after the connection draining + * duration has elapsed before the VM instance is suspended. Suspended + * instances can be resumed using the resumeInstances method. You can specify a + * maximum of 1000 instances with this method per request. + * + * Method: compute.regionInstanceGroupManagers.suspendInstances + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + */ +@interface GTLRComputeQuery_RegionInstanceGroupManagersSuspendInstances : GTLRComputeQuery + +/** Name of the managed instance group. */ +@property(nonatomic, copy, nullable) NSString *instanceGroupManager; + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** Name of the region scoping this request. */ +@property(nonatomic, copy, nullable) NSString *region; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. For example, consider a situation + * where you make an initial request and the request times out. If you make the + * request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the + * second request. This prevents clients from accidentally creating duplicate + * commitments. The request ID must be a valid UUID with the exception that + * zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRCompute_Operation. + * + * Flags the specified instances in the managed instance group to be + * immediately suspended. You can only specify instances that are running in + * this request. This method reduces the targetSize and increases the + * targetSuspendedSize of the managed instance group by the number of instances + * that you suspend. The suspendInstances operation is marked DONE if the + * suspendInstances request is successful. The underlying actions take + * additional time. You must separately verify the status of the SUSPENDING + * action with the listmanagedinstances method. If the + * standbyPolicy.initialDelaySec field is set, the group delays suspension of + * the instances until initialDelaySec have passed from + * instance.creationTimestamp (that is, when the instance was created). This + * delay gives your application time to set itself up and initialize on the + * instance. If more than initialDelaySec seconds have passed since + * instance.creationTimestamp when this method is called, there will be zero + * delay. If the group is part of a backend service that has enabled connection + * draining, it can take up to 60 seconds after the connection draining + * duration has elapsed before the VM instance is suspended. Suspended + * instances can be resumed using the resumeInstances method. You can specify a + * maximum of 1000 instances with this method per request. + * + * @param object The @c + * GTLRCompute_RegionInstanceGroupManagersSuspendInstancesRequest to include + * in the query. + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param instanceGroupManager Name of the managed instance group. + * + * @return GTLRComputeQuery_RegionInstanceGroupManagersSuspendInstances + */ ++ (instancetype)queryWithObject:(GTLRCompute_RegionInstanceGroupManagersSuspendInstancesRequest *)object + project:(NSString *)project + region:(NSString *)region + instanceGroupManager:(NSString *)instanceGroupManager; + +@end + /** * Inserts or updates per-instance configurations for the managed instance * group. perInstanceConfig.name serves as a key used to distinguish whether to @@ -33962,6 +34907,61 @@ GTLR_DEPRECATED @end +/** + * Sets the labels on a security policy. To learn more about labels, read the + * Labeling Resources documentation. + * + * Method: compute.regionSecurityPolicies.setLabels + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + */ +@interface GTLRComputeQuery_RegionSecurityPoliciesSetLabels : GTLRComputeQuery + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** The region for this request. */ +@property(nonatomic, copy, nullable) NSString *region; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. For example, consider a situation + * where you make an initial request and the request times out. If you make the + * request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the + * second request. This prevents clients from accidentally creating duplicate + * commitments. The request ID must be a valid UUID with the exception that + * zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** Name or id of the resource for this request. */ +@property(nonatomic, copy, nullable) NSString *resource; + +/** + * Fetches a @c GTLRCompute_Operation. + * + * Sets the labels on a security policy. To learn more about labels, read the + * Labeling Resources documentation. + * + * @param object The @c GTLRCompute_RegionSetLabelsRequest to include in the + * query. + * @param project Project ID for this request. + * @param region The region for this request. + * @param resource Name or id of the resource for this request. + * + * @return GTLRComputeQuery_RegionSecurityPoliciesSetLabels + */ ++ (instancetype)queryWithObject:(GTLRCompute_RegionSetLabelsRequest *)object + project:(NSString *)project + region:(NSString *)region + resource:(NSString *)resource; + +@end + /** * Returns the specified Region resource. To decrease latency for this method, * you can optionally omit any unneeded information from the response by using diff --git a/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigObjects.h b/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigObjects.h index 8110d393e..52fe5d53f 100644 --- a/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigObjects.h +++ b/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigObjects.h @@ -1507,7 +1507,7 @@ FOUNDATION_EXTERN NSString * const kGTLRConfig_TerraformVersion_State_StateUnspe @property(nonatomic, copy, nullable) NSString *nextPageToken; /** - * List of Previewss. + * List of Previews. * * @note This property is used to support NSFastEnumeration and indexed * subscripting on this class. @@ -1538,7 +1538,7 @@ FOUNDATION_EXTERN NSString * const kGTLRConfig_TerraformVersion_State_StateUnspe @property(nonatomic, copy, nullable) NSString *nextPageToken; /** - * List of Resourcess. + * List of Resources. * * @note This property is used to support NSFastEnumeration and indexed * subscripting on this class. @@ -1813,8 +1813,8 @@ FOUNDATION_EXTERN NSString * const kGTLRConfig_TerraformVersion_State_StateUnspe /** * Output only. Identifies whether the user has requested cancellation of the * operation. Operations that have successfully been cancelled have - * Operation.error value with a google.rpc.Status.code of 1, corresponding to - * `Code.CANCELLED`. + * google.longrunning.Operation.error value with a google.rpc.Status.code of + * `1`, corresponding to `Code.CANCELLED`. * * Uses NSNumber of boolValue. */ @@ -2602,14 +2602,14 @@ FOUNDATION_EXTERN NSString * const kGTLRConfig_TerraformVersion_State_StateUnspe /** URI of a public Git repo. */ @property(nonatomic, strong, nullable) GTLRConfig_GitSource *gitSource; -/** Input variable values for the Terraform blueprint. */ +/** Optional. Input variable values for the Terraform blueprint. */ @property(nonatomic, strong, nullable) GTLRConfig_TerraformBlueprint_InputValues *inputValues; @end /** - * Input variable values for the Terraform blueprint. + * Optional. Input variable values for the Terraform blueprint. * * @note This class is documented as having more properties of * GTLRConfig_TerraformVariable. Use @c -additionalJSONKeys and @c @@ -2625,7 +2625,10 @@ FOUNDATION_EXTERN NSString * const kGTLRConfig_TerraformVersion_State_StateUnspe */ @interface GTLRConfig_TerraformError : GTLRObject -/** Original error response from underlying Google API, if available. */ +/** + * Output only. Original error response from underlying Google API, if + * available. + */ @property(nonatomic, strong, nullable) GTLRConfig_Status *error; /** A human-readable error description. */ @@ -2678,7 +2681,7 @@ FOUNDATION_EXTERN NSString * const kGTLRConfig_TerraformVersion_State_StateUnspe @interface GTLRConfig_TerraformVariable : GTLRObject /** - * Input variable value. + * Optional. Input variable value. * * Can be any valid JSON type. */ diff --git a/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigQuery.h b/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigQuery.h index d4331471f..693e3a276 100644 --- a/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigQuery.h +++ b/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigQuery.h @@ -976,7 +976,7 @@ FOUNDATION_EXTERN NSString * const kGTLRConfigDeletePolicyDeletePolicyUnspecifie * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: config.projects.locations.operations.cancel @@ -999,7 +999,7 @@ FOUNDATION_EXTERN NSString * const kGTLRConfigDeletePolicyDeletePolicyUnspecifie * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRConfig_CancelOperationRequest to include in the diff --git a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m index 754644439..f5c728088 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m +++ b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m @@ -686,7 +686,16 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo -@dynamic agentId, agentType, displayName, dispositionCode, team; +@dynamic agentId, agentType, displayName, dispositionCode, location, team, + teams; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"teams" : [NSString class] + }; + return map; +} + @end @@ -796,6 +805,16 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1CreateIssueMetadata +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1CreateIssueMetadata +@dynamic createTime, endTime, request; +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata @@ -816,6 +835,16 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest +@dynamic issue, parent; +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata @@ -1165,6 +1194,7 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse +@dynamic issueModel; @end @@ -1326,6 +1356,25 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Issue +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Issue +@dynamic createTime, displayDescription, displayName, name, sampleUtterances, + updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"sampleUtterances" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IssueAssignment @@ -2442,7 +2491,16 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Conv // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo -@dynamic agentId, agentType, displayName, dispositionCode, team; +@dynamic agentId, agentType, displayName, dispositionCode, location, team, + teams; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"teams" : [NSString class] + }; + return map; +} + @end @@ -2552,6 +2610,16 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Crea @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1CreateIssueMetadata +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1CreateIssueMetadata +@dynamic createTime, endTime, request; +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata @@ -2572,6 +2640,16 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Crea @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1CreateIssueRequest +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1CreateIssueRequest +@dynamic issue, parent; +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata @@ -2940,6 +3018,7 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Impo // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ImportIssueModelResponse +@dynamic issueModel; @end diff --git a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m index 922043ad3..9b3beadcf 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m +++ b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m @@ -137,26 +137,26 @@ + (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcen @end -@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetAuthorizedViewCalculateStats +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsCalculateStats @dynamic filter, location; + (instancetype)queryWithLocation:(NSString *)location { NSArray *pathParams = @[ @"location" ]; - NSString *pathURITemplate = @"v1/{+location}:calculateStats"; - GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetAuthorizedViewCalculateStats *query = + NSString *pathURITemplate = @"v1/{+location}/conversations:calculateStats"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsCalculateStats *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil pathParameterNames:pathParams]; query.location = location; query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1CalculateStatsResponse class]; - query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSet.authorizedView.calculateStats"; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.calculateStats"; return query; } @end -@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetAuthorizedViewQueryMetrics +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetrics @dynamic location; @@ -170,14 +170,14 @@ + (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcen } NSArray *pathParams = @[ @"location" ]; NSString *pathURITemplate = @"v1/{+location}:queryMetrics"; - GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetAuthorizedViewQueryMetrics *query = + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetrics *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" pathParameterNames:pathParams]; query.bodyObject = object; query.location = location; query.expectedObjectClass = [GTLRContactcenterinsights_GoogleLongrunningOperation class]; - query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSet.authorizedView.queryMetrics"; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.queryMetrics"; return query; } @@ -927,6 +927,33 @@ + (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcen @end +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsIssueModelsIssuesCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Issue *)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}/issues"; + GTLRContactcenterinsightsQuery_ProjectsLocationsIssueModelsIssuesCreate *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.issueModels.issues.create"; + return query; +} + +@end + @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsIssueModelsIssuesDelete @dynamic name; diff --git a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h index 45a9b204c..7a7bca82f 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h +++ b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h @@ -47,6 +47,7 @@ @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentWordInfo; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1DialogflowIntent; @@ -81,6 +82,7 @@ @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Intent; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IntentMatchData; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1InterruptionData; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Issue; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IssueAssignment; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IssueMatchData; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IssueModel; @@ -159,6 +161,7 @@ @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1CreateIssueModelRequest; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1CreateIssueRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1DeployIssueModelRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1DialogflowIntent; @@ -2510,8 +2513,17 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ @property(nonatomic, copy, nullable) NSString *dispositionCode; -/** A user-specified string representing the agent's team. */ -@property(nonatomic, copy, nullable) NSString *team; +/** The agent's location. */ +@property(nonatomic, copy, nullable) NSString *location; + +/** + * A user-specified string representing the agent's team. Deprecated in favor + * of the `teams` field. + */ +@property(nonatomic, copy, nullable) NSString *team GTLR_DEPRECATED; + +/** User-specified strings representing the agent's teams. */ +@property(nonatomic, strong, nullable) NSArray *teams; @end @@ -2717,6 +2729,23 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact @end +/** + * Metadata for creating an issue. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1CreateIssueMetadata : GTLRObject + +/** Output only. The time the operation was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. The time the operation finished running. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** The original request for creation. */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest *request; + +@end + + /** * Metadata for creating an issue model. */ @@ -2748,6 +2777,20 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact @end +/** + * The request to create an issue. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest : GTLRObject + +/** Required. The values for the new issue. */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Issue *issue; + +/** Required. The parent resource of the issue. */ +@property(nonatomic, copy, nullable) NSString *parent; + +@end + + /** * Metadata for deleting an issue model. */ @@ -3458,6 +3501,10 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * Response from import issue model */ @interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse : GTLRObject + +/** The issue model that was imported. */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IssueModel *issueModel; + @end @@ -3765,6 +3812,38 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact @end +/** + * The issue resource. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Issue : GTLRObject + +/** Output only. The time at which this issue was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Representative description of the issue. */ +@property(nonatomic, copy, nullable) NSString *displayDescription; + +/** The representative name for the issue. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Immutable. The resource name of the issue. Format: + * projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. Resource names of the sample representative utterances that + * match to this issue. + */ +@property(nonatomic, strong, nullable) NSArray *sampleUtterances; + +/** Output only. The most recent time that this issue was updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * Information about the issue. */ @@ -6224,8 +6303,17 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *dispositionCode; -/** A user-specified string representing the agent's team. */ -@property(nonatomic, copy, nullable) NSString *team; +/** The agent's location. */ +@property(nonatomic, copy, nullable) NSString *location; + +/** + * A user-specified string representing the agent's team. Deprecated in favor + * of the `teams` field. + */ +@property(nonatomic, copy, nullable) NSString *team GTLR_DEPRECATED; + +/** User-specified strings representing the agent's teams. */ +@property(nonatomic, strong, nullable) NSArray *teams; @end @@ -6431,6 +6519,23 @@ GTLR_DEPRECATED @end +/** + * Metadata for creating an issue. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1CreateIssueMetadata : GTLRObject + +/** Output only. The time the operation was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. The time the operation finished running. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** The original request for creation. */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1CreateIssueRequest *request; + +@end + + /** * Metadata for creating an issue model. */ @@ -6462,6 +6567,20 @@ GTLR_DEPRECATED @end +/** + * The request to create an issue. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1CreateIssueRequest : GTLRObject + +/** Required. The values for the new issue. */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Issue *issue; + +/** Required. The parent resource of the issue. */ +@property(nonatomic, copy, nullable) NSString *parent; + +@end + + /** * Metadata for deleting an issue model. */ @@ -7194,6 +7313,10 @@ GTLR_DEPRECATED * Response from import issue model */ @interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ImportIssueModelResponse : GTLRObject + +/** The issue model that was imported. */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IssueModel *issueModel; + @end diff --git a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h index 0eb119b8e..df0adbcbd 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h +++ b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h @@ -244,12 +244,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; /** * Gets conversation statistics. * - * Method: contactcenterinsights.projects.locations.authorizedViewSet.authorizedView.calculateStats + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.calculateStats * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetAuthorizedViewCalculateStats : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsCalculateStats : GTLRContactcenterinsightsQuery /** * A filter to reduce results to a specific subset. This field is useful for @@ -268,7 +268,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; * * @param location Required. The location of the conversations. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetAuthorizedViewCalculateStats + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsCalculateStats */ + (instancetype)queryWithLocation:(NSString *)location; @@ -277,12 +277,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; /** * Query metrics. * - * Method: contactcenterinsights.projects.locations.authorizedViewSet.authorizedView.queryMetrics + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.queryMetrics * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetAuthorizedViewQueryMetrics : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetrics : GTLRContactcenterinsightsQuery /** * Required. The location of the data. @@ -301,7 +301,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; * @param location Required. The location of the data. * "projects/{project}/locations/{location}" * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetAuthorizedViewQueryMetrics + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetrics */ + (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryMetricsRequest *)object location:(NSString *)location; @@ -1428,6 +1428,36 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; @end +/** + * Creates an issue. + * + * Method: contactcenterinsights.projects.locations.issueModels.issues.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsIssueModelsIssuesCreate : GTLRContactcenterinsightsQuery + +/** Required. The parent resource of the issue. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * Creates an issue. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Issue to + * include in the query. + * @param parent Required. The parent resource of the issue. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsIssueModelsIssuesCreate + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Issue *)object + parent:(NSString *)parent; + +@end + /** * Deletes an issue. * diff --git a/Sources/GeneratedServices/Container/GTLRContainerObjects.m b/Sources/GeneratedServices/Container/GTLRContainerObjects.m index f572a4dcc..fdfe55c19 100644 --- a/Sources/GeneratedServices/Container/GTLRContainerObjects.m +++ b/Sources/GeneratedServices/Container/GTLRContainerObjects.m @@ -1839,9 +1839,9 @@ @implementation GTLRContainer_NodeConfig ephemeralStorageLocalSsdConfig, fastSocket, gcfsConfig, gvnic, imageType, kubeletConfig, labels, linuxNodeConfig, localNvmeSsdBlockConfig, localSsdCount, localSsdEncryptionMode, - loggingConfig, machineType, metadata, minCpuPlatform, nodeGroup, - oauthScopes, preemptible, reservationAffinity, resourceLabels, - resourceManagerTags, sandboxConfig, secondaryBootDisks, + loggingConfig, machineType, maxRunDuration, metadata, minCpuPlatform, + nodeGroup, oauthScopes, preemptible, reservationAffinity, + resourceLabels, resourceManagerTags, sandboxConfig, secondaryBootDisks, secondaryBootDiskUpdateStrategy, serviceAccount, shieldedInstanceConfig, soleTenantConfig, spot, storagePools, tags, taints, windowsNodeConfig, workloadMetadataConfig; @@ -2925,10 +2925,10 @@ @implementation GTLRContainer_UpdateNodePoolRequest @dynamic accelerators, clusterId, confidentialNodes, containerdConfig, diskSizeGb, diskType, ETag, fastSocket, gcfsConfig, gvnic, imageType, kubeletConfig, labels, linuxNodeConfig, locations, loggingConfig, - machineType, name, nodeNetworkConfig, nodePoolId, nodeVersion, - projectId, queuedProvisioning, resourceLabels, resourceManagerTags, - storagePools, tags, taints, upgradeSettings, windowsNodeConfig, - workloadMetadataConfig, zoneProperty; + machineType, maxRunDuration, name, nodeNetworkConfig, nodePoolId, + nodeVersion, projectId, queuedProvisioning, resourceLabels, + resourceManagerTags, storagePools, tags, taints, upgradeSettings, + windowsNodeConfig, workloadMetadataConfig, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h index 78872c1f9..eaa889ba6 100644 --- a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h +++ b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h @@ -2559,7 +2559,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, strong, nullable) NSNumber *enabled; -/** Workload policy configuration for Autopilot. */ +/** + * WorkloadPolicyConfig is the configuration related to GCW workload policy + */ @property(nonatomic, strong, nullable) GTLRContainer_WorkloadPolicyConfig *workloadPolicyConfig; @end @@ -3548,7 +3550,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** The desired authenticator groups config for the cluster. */ @property(nonatomic, strong, nullable) GTLRContainer_AuthenticatorGroupsConfig *desiredAuthenticatorGroupsConfig; -/** The desired workload policy configuration for the autopilot cluster. */ +/** + * WorkloadPolicyConfig is the configuration related to GCW workload policy + */ @property(nonatomic, strong, nullable) GTLRContainer_WorkloadPolicyConfig *desiredAutopilotWorkloadPolicyConfig; /** The desired configuration options for the Binary Authorization feature. */ @@ -6088,6 +6092,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, copy, nullable) NSString *machineType; +/** + * The maximum duration for the nodes to exist. If unspecified, the nodes can + * exist indefinitely. + */ +@property(nonatomic, strong, nullable) GTLRDuration *maxRunDuration; + /** * The metadata key/value pairs assigned to instances in the cluster. Keys must * conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length. @@ -9081,6 +9091,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, copy, nullable) NSString *machineType; +/** + * The maximum duration for the nodes to exist. If unspecified, the nodes can + * exist indefinitely. + */ +@property(nonatomic, strong, nullable) GTLRDuration *maxRunDuration; + /** * The name (project, location, cluster, node pool) of the node pool to update. * Specified in the format `projects/ * /locations/ * /clusters/ * /nodePools/ @@ -9624,8 +9640,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** - * WorkloadPolicyConfig is the configuration of workload policy for autopilot - * clusters. + * WorkloadPolicyConfig is the configuration related to GCW workload policy */ @interface GTLRContainer_WorkloadPolicyConfig : GTLRObject diff --git a/Sources/GeneratedServices/Contentwarehouse/Public/GoogleAPIClientForREST/GTLRContentwarehouseObjects.h b/Sources/GeneratedServices/Contentwarehouse/Public/GoogleAPIClientForREST/GTLRContentwarehouseObjects.h index e99c5d92d..7a021005f 100644 --- a/Sources/GeneratedServices/Contentwarehouse/Public/GoogleAPIClientForREST/GTLRContentwarehouseObjects.h +++ b/Sources/GeneratedServices/Contentwarehouse/Public/GoogleAPIClientForREST/GTLRContentwarehouseObjects.h @@ -6775,16 +6775,16 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GoogleIamV1AuditLogConf /** - * Represents a postal address, e.g. for postal delivery or payments addresses. - * Given a postal address, a postal service can deliver items to a premise, - * P.O. Box or similar. It is not intended to model geographical locations - * (roads, towns, mountains). In typical usage an address would be created via - * user input or from importing existing data, depending on the type of - * process. Advice on address input / editing: - Use an + * Represents a postal address. For example for postal delivery or payments + * addresses. Given a postal address, a postal service can deliver items to a + * premise, P.O. Box or similar. It is not intended to model geographical + * locations (roads, towns, mountains). In typical usage an address would be + * created by user input or from importing existing data, depending on the type + * of process. Advice on address input / editing: - Use an * internationalization-ready address widget such as * https://github.com/google/libaddressinput) - Users should not be presented * with UI elements for input or editing of fields outside countries where that - * field is used. For more guidance on how to use this schema, please see: + * field is used. For more guidance on how to use this schema, see: * https://support.google.com/business/answer/6397478 */ @interface GTLRContentwarehouse_GoogleTypePostalAddress : GTLRObject @@ -6792,13 +6792,13 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GoogleIamV1AuditLogConf /** * Unstructured address lines describing the lower levels of an address. * Because values in address_lines do not have type information and may - * sometimes contain multiple values in a single field (e.g. "Austin, TX"), it - * is important that the line order is clear. The order of address lines should - * be "envelope order" for the country/region of the address. In places where - * this can vary (e.g. Japan), address_language is used to make it explicit - * (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for - * small-to-large). This way, the most specific line of an address can be - * selected based on the language. The minimum permitted structural + * sometimes contain multiple values in a single field (For example "Austin, + * TX"), it is important that the line order is clear. The order of address + * lines should be "envelope order" for the country/region of the address. In + * places where this can vary (For example Japan), address_language is used to + * make it explicit (For example "ja" for large-to-small ordering and "ja-Latn" + * or "en" for small-to-large). This way, the most specific line of an address + * can be selected based on the language. The minimum permitted structural * representation of an address consists of a region_code with all remaining * information placed in the address_lines. It would be possible to format such * an address very approximately without geocoding, but no semantic reasoning @@ -6814,9 +6814,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GoogleIamV1AuditLogConf * Optional. Highest administrative subdivision which is used for postal * addresses of a country or region. For example, this can be a state, a * province, an oblast, or a prefecture. Specifically, for Spain this is the - * province and not the autonomous community (e.g. "Barcelona" and not + * province and not the autonomous community (For example "Barcelona" and not * "Catalonia"). Many countries don't use an administrative area in postal - * addresses. E.g. in Switzerland this should be left unpopulated. + * addresses. For example in Switzerland this should be left unpopulated. */ @property(nonatomic, copy, nullable) NSString *administrativeArea; @@ -6846,7 +6846,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GoogleIamV1AuditLogConf /** * Optional. Postal code of the address. Not all countries use or require * postal codes to be present, but where they are used, they may trigger - * additional validation with other parts of the address (e.g. state/zip + * additional validation with other parts of the address (For example state/zip * validation in the U.S.A.). */ @property(nonatomic, copy, nullable) NSString *postalCode; @@ -6879,9 +6879,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GoogleIamV1AuditLogConf /** * Optional. Additional, country-specific, sorting code. This is not used in * most regions. Where it is used, the value is either a string like "CEDEX", - * optionally followed by a number (e.g. "CEDEX 7"), or just a number alone, - * representing the "sector code" (Jamaica), "delivery area indicator" (Malawi) - * or "post office indicator" (e.g. Côte d'Ivoire). + * optionally followed by a number (For example "CEDEX 7"), or just a number + * alone, representing the "sector code" (Jamaica), "delivery area indicator" + * (Malawi) or "post office indicator" (For example Côte d'Ivoire). */ @property(nonatomic, copy, nullable) NSString *sortingCode; @@ -6901,13 +6901,13 @@ FOUNDATION_EXTERN NSString * const kGTLRContentwarehouse_GoogleIamV1AuditLogConf @interface GTLRContentwarehouse_GoogleTypeTimeZone : GTLRObject /** - * IANA Time Zone Database time zone, e.g. "America/New_York". + * IANA Time Zone Database time zone. For example "America/New_York". * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @property(nonatomic, copy, nullable) NSString *identifier; -/** Optional. IANA Time Zone Database version number, e.g. "2019a". */ +/** Optional. IANA Time Zone Database version number. For example "2019a". */ @property(nonatomic, copy, nullable) NSString *version; @end diff --git a/Sources/GeneratedServices/Css/GTLRCssQuery.m b/Sources/GeneratedServices/Css/GTLRCssQuery.m index b62085c36..db54bbd20 100644 --- a/Sources/GeneratedServices/Css/GTLRCssQuery.m +++ b/Sources/GeneratedServices/Css/GTLRCssQuery.m @@ -63,6 +63,33 @@ + (instancetype)queryWithObject:(GTLRCss_ProductInput *)object @end +@implementation GTLRCssQuery_AccountsCssProductInputsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRCss_ProductInput *)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}"; + GTLRCssQuery_AccountsCssProductInputsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCss_ProductInput class]; + query.loggingName = @"css.accounts.cssProductInputs.patch"; + return query; +} + +@end + @implementation GTLRCssQuery_AccountsCssProductsGet @dynamic name; diff --git a/Sources/GeneratedServices/Css/Public/GoogleAPIClientForREST/GTLRCssObjects.h b/Sources/GeneratedServices/Css/Public/GoogleAPIClientForREST/GTLRCssObjects.h index 6d50683e8..317ce4303 100644 --- a/Sources/GeneratedServices/Css/Public/GoogleAPIClientForREST/GTLRCssObjects.h +++ b/Sources/GeneratedServices/Css/Public/GoogleAPIClientForREST/GTLRCssObjects.h @@ -915,18 +915,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCss_HeadlineOfferSubscriptionCost_Period @property(nonatomic, copy, nullable) NSString *finalName; /** - * Represents the existing version (freshness) of the CSS Product, which can be - * used to preserve the right order when multiple updates are done at the same - * time. This field must not be set to the future time. If set, the update is - * prevented if a newer version of the item already exists in our system (that - * is the last update time of the existing CSS products is later than the - * freshness time set in the update). If the update happens, the last update - * time is then set to this freshness time. If not set, the update will not be - * prevented and the last update time will default to when this request was - * received by the CSS API. If the operation is prevented, the aborted - * exception will be thrown. - */ -@property(nonatomic, strong, nullable) GTLRDateTime *freshnessTime; + * DEPRECATED. Use expiration_date instead. Represents the existing version + * (freshness) of the CSS Product, which can be used to preserve the right + * order when multiple updates are done at the same time. This field must not + * be set to the future time. If set, the update is prevented if a newer + * version of the item already exists in our system (that is the last update + * time of the existing CSS products is later than the freshness time set in + * the update). If the update happens, the last update time is then set to this + * freshness time. If not set, the update will not be prevented and the last + * update time will default to when this request was received by the CSS API. + * If the operation is prevented, the aborted exception will be thrown. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *freshnessTime GTLR_DEPRECATED; /** * The name of the CSS Product input. Format: diff --git a/Sources/GeneratedServices/Css/Public/GoogleAPIClientForREST/GTLRCssQuery.h b/Sources/GeneratedServices/Css/Public/GoogleAPIClientForREST/GTLRCssQuery.h index 6823fd363..6e13b9c31 100644 --- a/Sources/GeneratedServices/Css/Public/GoogleAPIClientForREST/GTLRCssQuery.h +++ b/Sources/GeneratedServices/Css/Public/GoogleAPIClientForREST/GTLRCssQuery.h @@ -88,13 +88,13 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCssQuery_AccountsCssProductInputsInsert : GTLRCssQuery /** - * Required. The primary or supplemental feed id. If CSS Product already exists - * and feed id provided is different, then the CSS Product will be moved to a - * new feed. Note: For now, CSSs do not need to provide feed ids as we create - * feeds on the fly. We do not have supplemental feed support for CSS Products - * yet. + * Optional. DEPRECATED. Feed id is not required for CSS Products. The primary + * or supplemental feed id. If CSS Product already exists and feed id provided + * is different, then the CSS Product will be moved to a new feed. Note: For + * now, CSSs do not need to provide feed ids as we create feeds on the fly. We + * do not have supplemental feed support for CSS Products yet. */ -@property(nonatomic, assign) long long feedId; +@property(nonatomic, assign) long long feedId GTLR_DEPRECATED; /** * Required. The account where this CSS Product will be inserted. Format: @@ -122,6 +122,56 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Updates the existing Css Product input in your CSS Center account. After + * inserting, updating, or deleting a CSS Product input, it may take several + * minutes before the processed Css Product can be retrieved. + * + * Method: css.accounts.cssProductInputs.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeCssContent + */ +@interface GTLRCssQuery_AccountsCssProductInputsPatch : GTLRCssQuery + +/** + * The name of the CSS Product input. Format: + * `accounts/{account}/cssProductInputs/{css_product_input}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The list of CSS product attributes to be updated. If the update mask is + * omitted, then it is treated as implied field mask equivalent to all fields + * that are populated (have a non-empty value). Attributes specified in the + * update mask without a value specified in the body will be deleted from the + * CSS product. Update mask can only be specified for top level fields in + * attributes and custom attributes. To specify the update mask for custom + * attributes you need to add the `custom_attribute.` prefix. Providing special + * "*" value for full CSS product replacement is not supported. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRCss_ProductInput. + * + * Updates the existing Css Product input in your CSS Center account. After + * inserting, updating, or deleting a CSS Product input, it may take several + * minutes before the processed Css Product can be retrieved. + * + * @param object The @c GTLRCss_ProductInput to include in the query. + * @param name The name of the CSS Product input. Format: + * `accounts/{account}/cssProductInputs/{css_product_input}` + * + * @return GTLRCssQuery_AccountsCssProductInputsPatch + */ ++ (instancetype)queryWithObject:(GTLRCss_ProductInput *)object + name:(NSString *)name; + +@end + /** * Retrieves the processed CSS Product from your CSS Center account. After * inserting, updating, or deleting a product input, it may take several @@ -403,7 +453,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Optional. The maximum number of accounts to return. The service may return * fewer than this value. If unspecified, at most 50 accounts will be returned. - * The maximum value is 1000; values above 1000 will be coerced to 1000. + * The maximum value is 100; values above 100 will be coerced to 100. */ @property(nonatomic, assign) NSInteger pageSize; diff --git a/Sources/GeneratedServices/DLP/GTLRDLPObjects.m b/Sources/GeneratedServices/DLP/GTLRDLPObjects.m index 59e2a5e54..37281d250 100644 --- a/Sources/GeneratedServices/DLP/GTLRDLPObjects.m +++ b/Sources/GeneratedServices/DLP/GTLRDLPObjects.m @@ -2574,8 +2574,8 @@ @implementation GTLRDLP_GooglePrivacyDlpV2InfoTypeCategory // @implementation GTLRDLP_GooglePrivacyDlpV2InfoTypeDescription -@dynamic categories, descriptionProperty, displayName, name, sensitivityScore, - supportedBy, versions; +@dynamic categories, descriptionProperty, displayName, example, name, + sensitivityScore, supportedBy, versions; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; diff --git a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h index 49b005147..666a2090d 100644 --- a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h +++ b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h @@ -7135,9 +7135,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @property(nonatomic, strong, nullable) NSArray *fileStoreInfoTypeSummaries; /** - * True if no files exist in this cluster. If the bucket had more files than - * could be listed, this will be false even if no files for this cluster were - * seen and file_extensions_seen is empty. + * True if no files exist in this cluster. If the file store had more files + * than could be listed, this will be false even if no files for this cluster + * were seen and file_extensions_seen is empty. * * Uses NSNumber of boolValue. */ @@ -7306,8 +7306,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @property(nonatomic, strong, nullable) GTLRDateTime *lastModifiedTime; /** - * The location type of the bucket (region, dual-region, multi-region, etc). If - * dual-region, expect data_storage_locations to be populated. + * The location type of the file store (region, dual-region, multi-region, + * etc). If dual-region, expect data_storage_locations to be populated. */ @property(nonatomic, copy, nullable) NSString *locationType; @@ -8188,6 +8188,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** Human readable form of the infoType name. */ @property(nonatomic, copy, nullable) NSString *displayName; +/** A sample true positive for this infoType. */ +@property(nonatomic, copy, nullable) NSString *example; + /** Internal name of the infoType. */ @property(nonatomic, copy, nullable) NSString *name; diff --git a/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogQuery.h b/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogQuery.h index 2cca4bf86..cb02621c3 100644 --- a/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogQuery.h +++ b/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogQuery.h @@ -1525,7 +1525,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: datacatalog.projects.locations.operations.cancel @@ -1548,7 +1548,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * 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. diff --git a/Sources/GeneratedServices/DataFusion/GTLRDataFusionObjects.m b/Sources/GeneratedServices/DataFusion/GTLRDataFusionObjects.m index 1dc7d205d..1a1f18a98 100644 --- a/Sources/GeneratedServices/DataFusion/GTLRDataFusionObjects.m +++ b/Sources/GeneratedServices/DataFusion/GTLRDataFusionObjects.m @@ -61,68 +61,13 @@ NSString * const kGTLRDataFusion_Instance_Type_Enterprise = @"ENTERPRISE"; NSString * const kGTLRDataFusion_Instance_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; -// GTLRDataFusion_IsolationExpectations.ziOrgPolicy -NSString * const kGTLRDataFusion_IsolationExpectations_ZiOrgPolicy_ZiNotRequired = @"ZI_NOT_REQUIRED"; -NSString * const kGTLRDataFusion_IsolationExpectations_ZiOrgPolicy_ZiPreferred = @"ZI_PREFERRED"; -NSString * const kGTLRDataFusion_IsolationExpectations_ZiOrgPolicy_ZiRequired = @"ZI_REQUIRED"; -NSString * const kGTLRDataFusion_IsolationExpectations_ZiOrgPolicy_ZiUnknown = @"ZI_UNKNOWN"; -NSString * const kGTLRDataFusion_IsolationExpectations_ZiOrgPolicy_ZiUnspecified = @"ZI_UNSPECIFIED"; - -// GTLRDataFusion_IsolationExpectations.ziRegionPolicy -NSString * const kGTLRDataFusion_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyFailClosed = @"ZI_REGION_POLICY_FAIL_CLOSED"; -NSString * const kGTLRDataFusion_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyFailOpen = @"ZI_REGION_POLICY_FAIL_OPEN"; -NSString * const kGTLRDataFusion_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyNotSet = @"ZI_REGION_POLICY_NOT_SET"; -NSString * const kGTLRDataFusion_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyUnknown = @"ZI_REGION_POLICY_UNKNOWN"; -NSString * const kGTLRDataFusion_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyUnspecified = @"ZI_REGION_POLICY_UNSPECIFIED"; - -// GTLRDataFusion_IsolationExpectations.ziRegionState -NSString * const kGTLRDataFusion_IsolationExpectations_ZiRegionState_ZiRegionEnabled = @"ZI_REGION_ENABLED"; -NSString * const kGTLRDataFusion_IsolationExpectations_ZiRegionState_ZiRegionNotEnabled = @"ZI_REGION_NOT_ENABLED"; -NSString * const kGTLRDataFusion_IsolationExpectations_ZiRegionState_ZiRegionUnknown = @"ZI_REGION_UNKNOWN"; -NSString * const kGTLRDataFusion_IsolationExpectations_ZiRegionState_ZiRegionUnspecified = @"ZI_REGION_UNSPECIFIED"; - -// GTLRDataFusion_IsolationExpectations.zoneIsolation -NSString * const kGTLRDataFusion_IsolationExpectations_ZoneIsolation_ZiNotRequired = @"ZI_NOT_REQUIRED"; -NSString * const kGTLRDataFusion_IsolationExpectations_ZoneIsolation_ZiPreferred = @"ZI_PREFERRED"; -NSString * const kGTLRDataFusion_IsolationExpectations_ZoneIsolation_ZiRequired = @"ZI_REQUIRED"; -NSString * const kGTLRDataFusion_IsolationExpectations_ZoneIsolation_ZiUnknown = @"ZI_UNKNOWN"; -NSString * const kGTLRDataFusion_IsolationExpectations_ZoneIsolation_ZiUnspecified = @"ZI_UNSPECIFIED"; - -// GTLRDataFusion_IsolationExpectations.zoneSeparation -NSString * const kGTLRDataFusion_IsolationExpectations_ZoneSeparation_ZsNotRequired = @"ZS_NOT_REQUIRED"; -NSString * const kGTLRDataFusion_IsolationExpectations_ZoneSeparation_ZsRequired = @"ZS_REQUIRED"; -NSString * const kGTLRDataFusion_IsolationExpectations_ZoneSeparation_ZsUnknown = @"ZS_UNKNOWN"; -NSString * const kGTLRDataFusion_IsolationExpectations_ZoneSeparation_ZsUnspecified = @"ZS_UNSPECIFIED"; - -// GTLRDataFusion_IsolationExpectations.zsOrgPolicy -NSString * const kGTLRDataFusion_IsolationExpectations_ZsOrgPolicy_ZsNotRequired = @"ZS_NOT_REQUIRED"; -NSString * const kGTLRDataFusion_IsolationExpectations_ZsOrgPolicy_ZsRequired = @"ZS_REQUIRED"; -NSString * const kGTLRDataFusion_IsolationExpectations_ZsOrgPolicy_ZsUnknown = @"ZS_UNKNOWN"; -NSString * const kGTLRDataFusion_IsolationExpectations_ZsOrgPolicy_ZsUnspecified = @"ZS_UNSPECIFIED"; - -// GTLRDataFusion_IsolationExpectations.zsRegionState -NSString * const kGTLRDataFusion_IsolationExpectations_ZsRegionState_ZsRegionEnabled = @"ZS_REGION_ENABLED"; -NSString * const kGTLRDataFusion_IsolationExpectations_ZsRegionState_ZsRegionNotEnabled = @"ZS_REGION_NOT_ENABLED"; -NSString * const kGTLRDataFusion_IsolationExpectations_ZsRegionState_ZsRegionUnknown = @"ZS_REGION_UNKNOWN"; -NSString * const kGTLRDataFusion_IsolationExpectations_ZsRegionState_ZsRegionUnspecified = @"ZS_REGION_UNSPECIFIED"; - -// GTLRDataFusion_LocationAssignment.locationType -NSString * const kGTLRDataFusion_LocationAssignment_LocationType_CloudRegion = @"CLOUD_REGION"; -NSString * const kGTLRDataFusion_LocationAssignment_LocationType_CloudZone = @"CLOUD_ZONE"; -NSString * const kGTLRDataFusion_LocationAssignment_LocationType_Cluster = @"CLUSTER"; -NSString * const kGTLRDataFusion_LocationAssignment_LocationType_Global = @"GLOBAL"; -NSString * const kGTLRDataFusion_LocationAssignment_LocationType_MultiRegionGeo = @"MULTI_REGION_GEO"; -NSString * const kGTLRDataFusion_LocationAssignment_LocationType_MultiRegionJurisdiction = @"MULTI_REGION_JURISDICTION"; -NSString * const kGTLRDataFusion_LocationAssignment_LocationType_Other = @"OTHER"; -NSString * const kGTLRDataFusion_LocationAssignment_LocationType_Pop = @"POP"; -NSString * const kGTLRDataFusion_LocationAssignment_LocationType_Unspecified = @"UNSPECIFIED"; - // GTLRDataFusion_NetworkConfig.connectionType NSString * const kGTLRDataFusion_NetworkConfig_ConnectionType_ConnectionTypeUnspecified = @"CONNECTION_TYPE_UNSPECIFIED"; NSString * const kGTLRDataFusion_NetworkConfig_ConnectionType_PrivateServiceConnectInterfaces = @"PRIVATE_SERVICE_CONNECT_INTERFACES"; NSString * const kGTLRDataFusion_NetworkConfig_ConnectionType_VpcPeering = @"VPC_PEERING"; // GTLRDataFusion_Version.type +NSString * const kGTLRDataFusion_Version_Type_TypeDeprecated = @"TYPE_DEPRECATED"; NSString * const kGTLRDataFusion_Version_Type_TypeGeneralAvailability = @"TYPE_GENERAL_AVAILABILITY"; NSString * const kGTLRDataFusion_Version_Type_TypePreview = @"TYPE_PREVIEW"; NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; @@ -137,26 +82,6 @@ @implementation GTLRDataFusion_Accelerator @end -// ---------------------------------------------------------------------------- -// -// GTLRDataFusion_AssetLocation -// - -@implementation GTLRDataFusion_AssetLocation -@dynamic expected, extraParameters, locationData, parentAsset; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"extraParameters" : [GTLRDataFusion_ExtraParameter class], - @"locationData" : [GTLRDataFusion_LocationData class], - @"parentAsset" : [GTLRDataFusion_CloudAsset class] - }; - return map; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRDataFusion_AuditConfig @@ -211,24 +136,6 @@ @implementation GTLRDataFusion_Binding @end -// ---------------------------------------------------------------------------- -// -// GTLRDataFusion_BlobstoreLocation -// - -@implementation GTLRDataFusion_BlobstoreLocation -@dynamic policyId; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"policyId" : [NSString class] - }; - return map; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRDataFusion_CancelOperationRequest @@ -238,34 +145,6 @@ @implementation GTLRDataFusion_CancelOperationRequest @end -// ---------------------------------------------------------------------------- -// -// GTLRDataFusion_CloudAsset -// - -@implementation GTLRDataFusion_CloudAsset -@dynamic assetName, assetType; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDataFusion_CloudAssetComposition -// - -@implementation GTLRDataFusion_CloudAssetComposition -@dynamic childAsset; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"childAsset" : [GTLRDataFusion_CloudAsset class] - }; - return map; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRDataFusion_CryptoKeyConfig @@ -276,24 +155,6 @@ @implementation GTLRDataFusion_CryptoKeyConfig @end -// ---------------------------------------------------------------------------- -// -// GTLRDataFusion_DirectLocationAssignment -// - -@implementation GTLRDataFusion_DirectLocationAssignment -@dynamic location; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"location" : [GTLRDataFusion_LocationAssignment class] - }; - return map; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRDataFusion_DnsPeering @@ -343,16 +204,6 @@ @implementation GTLRDataFusion_Expr @end -// ---------------------------------------------------------------------------- -// -// GTLRDataFusion_ExtraParameter -// - -@implementation GTLRDataFusion_ExtraParameter -@dynamic regionalMigDistributionPolicy; -@end - - // ---------------------------------------------------------------------------- // // GTLRDataFusion_Instance @@ -418,36 +269,22 @@ + (Class)classForAdditionalProperties { @end -// ---------------------------------------------------------------------------- -// -// GTLRDataFusion_IsolationExpectations -// - -@implementation GTLRDataFusion_IsolationExpectations -@dynamic ziOrgPolicy, ziRegionPolicy, ziRegionState, zoneIsolation, - zoneSeparation, zsOrgPolicy, zsRegionState; -@end - - // ---------------------------------------------------------------------------- // // GTLRDataFusion_ListAvailableVersionsResponse // @implementation GTLRDataFusion_ListAvailableVersionsResponse -@dynamic availableVersions, nextPageToken; +@dynamic availableVersions, nextPageToken, versions; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"availableVersions" : [GTLRDataFusion_Version class] + @"availableVersions" : [GTLRDataFusion_Version class], + @"versions" : [GTLRDataFusion_Version class] }; return map; } -+ (NSString *)collectionItemsKey { - return @"availableVersions"; -} - @end @@ -578,27 +415,6 @@ + (Class)classForAdditionalProperties { @end -// ---------------------------------------------------------------------------- -// -// GTLRDataFusion_LocationAssignment -// - -@implementation GTLRDataFusion_LocationAssignment -@dynamic location, locationType; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDataFusion_LocationData -// - -@implementation GTLRDataFusion_LocationData -@dynamic blobstoreLocation, childAssetLocation, directLocation, gcpProjectProxy, - placerLocation, spannerLocation; -@end - - // ---------------------------------------------------------------------------- // // GTLRDataFusion_MaintenancePolicy @@ -692,16 +508,6 @@ + (Class)classForAdditionalProperties { @end -// ---------------------------------------------------------------------------- -// -// GTLRDataFusion_PlacerLocation -// - -@implementation GTLRDataFusion_PlacerLocation -@dynamic placerConfig; -@end - - // ---------------------------------------------------------------------------- // // GTLRDataFusion_Policy @@ -745,24 +551,6 @@ @implementation GTLRDataFusion_RecurringTimeWindow @end -// ---------------------------------------------------------------------------- -// -// GTLRDataFusion_RegionalMigDistributionPolicy -// - -@implementation GTLRDataFusion_RegionalMigDistributionPolicy -@dynamic targetShape, zones; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"zones" : [GTLRDataFusion_ZoneConfiguration class] - }; - return map; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRDataFusion_RestartInstanceRequest @@ -782,25 +570,6 @@ @implementation GTLRDataFusion_SetIamPolicyRequest @end -// ---------------------------------------------------------------------------- -// -// GTLRDataFusion_SpannerLocation -// - -@implementation GTLRDataFusion_SpannerLocation -@dynamic backupName, dbName; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"backupName" : [NSString class], - @"dbName" : [NSString class] - }; - return map; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRDataFusion_Status @@ -833,24 +602,6 @@ + (Class)classForAdditionalProperties { @end -// ---------------------------------------------------------------------------- -// -// GTLRDataFusion_TenantProjectProxy -// - -@implementation GTLRDataFusion_TenantProjectProxy -@dynamic projectNumbers; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"projectNumbers" : [NSString class] - }; - return map; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRDataFusion_TestIamPermissionsRequest @@ -913,18 +664,3 @@ @implementation GTLRDataFusion_Version } @end - - -// ---------------------------------------------------------------------------- -// -// GTLRDataFusion_ZoneConfiguration -// - -@implementation GTLRDataFusion_ZoneConfiguration -@dynamic zoneProperty; - -+ (NSDictionary *)propertyToJSONKeyMap { - return @{ @"zoneProperty" : @"zone" }; -} - -@end diff --git a/Sources/GeneratedServices/DataFusion/Public/GoogleAPIClientForREST/GTLRDataFusionObjects.h b/Sources/GeneratedServices/DataFusion/Public/GoogleAPIClientForREST/GTLRDataFusionObjects.h index e456c4901..8ddb12c0a 100644 --- a/Sources/GeneratedServices/DataFusion/Public/GoogleAPIClientForREST/GTLRDataFusionObjects.h +++ b/Sources/GeneratedServices/DataFusion/Public/GoogleAPIClientForREST/GTLRDataFusionObjects.h @@ -24,24 +24,16 @@ @class GTLRDataFusion_AuditConfig; @class GTLRDataFusion_AuditLogConfig; @class GTLRDataFusion_Binding; -@class GTLRDataFusion_BlobstoreLocation; -@class GTLRDataFusion_CloudAsset; -@class GTLRDataFusion_CloudAssetComposition; @class GTLRDataFusion_CryptoKeyConfig; -@class GTLRDataFusion_DirectLocationAssignment; @class GTLRDataFusion_DnsPeering; @class GTLRDataFusion_EventPublishConfig; @class GTLRDataFusion_Expr; -@class GTLRDataFusion_ExtraParameter; @class GTLRDataFusion_Instance; @class GTLRDataFusion_Instance_Labels; @class GTLRDataFusion_Instance_Options; -@class GTLRDataFusion_IsolationExpectations; @class GTLRDataFusion_Location; @class GTLRDataFusion_Location_Labels; @class GTLRDataFusion_Location_Metadata; -@class GTLRDataFusion_LocationAssignment; -@class GTLRDataFusion_LocationData; @class GTLRDataFusion_MaintenancePolicy; @class GTLRDataFusion_MaintenanceWindow; @class GTLRDataFusion_NetworkConfig; @@ -49,18 +41,13 @@ @class GTLRDataFusion_Operation_Metadata; @class GTLRDataFusion_Operation_Response; @class GTLRDataFusion_OperationMetadata_AdditionalStatus; -@class GTLRDataFusion_PlacerLocation; @class GTLRDataFusion_Policy; @class GTLRDataFusion_PrivateServiceConnectConfig; @class GTLRDataFusion_RecurringTimeWindow; -@class GTLRDataFusion_RegionalMigDistributionPolicy; -@class GTLRDataFusion_SpannerLocation; @class GTLRDataFusion_Status; @class GTLRDataFusion_Status_Details_Item; -@class GTLRDataFusion_TenantProjectProxy; @class GTLRDataFusion_TimeWindow; @class GTLRDataFusion_Version; -@class GTLRDataFusion_ZoneConfiguration; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -287,154 +274,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Instance_Type_Enterprise; */ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Instance_Type_TypeUnspecified; -// ---------------------------------------------------------------------------- -// GTLRDataFusion_IsolationExpectations.ziOrgPolicy - -/** Value: "ZI_NOT_REQUIRED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZiOrgPolicy_ZiNotRequired; -/** Value: "ZI_PREFERRED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZiOrgPolicy_ZiPreferred; -/** Value: "ZI_REQUIRED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZiOrgPolicy_ZiRequired; -/** - * To be used if tracking is not available - * - * Value: "ZI_UNKNOWN" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZiOrgPolicy_ZiUnknown; -/** Value: "ZI_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZiOrgPolicy_ZiUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRDataFusion_IsolationExpectations.ziRegionPolicy - -/** Value: "ZI_REGION_POLICY_FAIL_CLOSED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyFailClosed; -/** Value: "ZI_REGION_POLICY_FAIL_OPEN" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyFailOpen; -/** Value: "ZI_REGION_POLICY_NOT_SET" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyNotSet; -/** - * To be used if tracking is not available - * - * Value: "ZI_REGION_POLICY_UNKNOWN" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyUnknown; -/** Value: "ZI_REGION_POLICY_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRDataFusion_IsolationExpectations.ziRegionState - -/** Value: "ZI_REGION_ENABLED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZiRegionState_ZiRegionEnabled; -/** Value: "ZI_REGION_NOT_ENABLED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZiRegionState_ZiRegionNotEnabled; -/** - * To be used if tracking is not available - * - * Value: "ZI_REGION_UNKNOWN" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZiRegionState_ZiRegionUnknown; -/** Value: "ZI_REGION_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZiRegionState_ZiRegionUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRDataFusion_IsolationExpectations.zoneIsolation - -/** Value: "ZI_NOT_REQUIRED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZoneIsolation_ZiNotRequired; -/** Value: "ZI_PREFERRED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZoneIsolation_ZiPreferred; -/** Value: "ZI_REQUIRED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZoneIsolation_ZiRequired; -/** - * To be used if tracking is not available - * - * Value: "ZI_UNKNOWN" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZoneIsolation_ZiUnknown; -/** Value: "ZI_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZoneIsolation_ZiUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRDataFusion_IsolationExpectations.zoneSeparation - -/** Value: "ZS_NOT_REQUIRED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZoneSeparation_ZsNotRequired; -/** Value: "ZS_REQUIRED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZoneSeparation_ZsRequired; -/** - * To be used if tracking is not available - * - * Value: "ZS_UNKNOWN" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZoneSeparation_ZsUnknown; -/** Value: "ZS_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZoneSeparation_ZsUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRDataFusion_IsolationExpectations.zsOrgPolicy - -/** Value: "ZS_NOT_REQUIRED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZsOrgPolicy_ZsNotRequired; -/** Value: "ZS_REQUIRED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZsOrgPolicy_ZsRequired; -/** - * To be used if tracking is not available - * - * Value: "ZS_UNKNOWN" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZsOrgPolicy_ZsUnknown; -/** Value: "ZS_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZsOrgPolicy_ZsUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRDataFusion_IsolationExpectations.zsRegionState - -/** Value: "ZS_REGION_ENABLED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZsRegionState_ZsRegionEnabled; -/** Value: "ZS_REGION_NOT_ENABLED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZsRegionState_ZsRegionNotEnabled; -/** - * To be used if tracking of the asset ZS-bit is not available - * - * Value: "ZS_REGION_UNKNOWN" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZsRegionState_ZsRegionUnknown; -/** Value: "ZS_REGION_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_IsolationExpectations_ZsRegionState_ZsRegionUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRDataFusion_LocationAssignment.locationType - -/** Value: "CLOUD_REGION" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_LocationAssignment_LocationType_CloudRegion; -/** - * 11-20: Logical failure domains. - * - * Value: "CLOUD_ZONE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_LocationAssignment_LocationType_CloudZone; -/** - * 1-10: Physical failure domains. - * - * Value: "CLUSTER" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_LocationAssignment_LocationType_Cluster; -/** Value: "GLOBAL" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_LocationAssignment_LocationType_Global; -/** Value: "MULTI_REGION_GEO" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_LocationAssignment_LocationType_MultiRegionGeo; -/** Value: "MULTI_REGION_JURISDICTION" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_LocationAssignment_LocationType_MultiRegionJurisdiction; -/** Value: "OTHER" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_LocationAssignment_LocationType_Other; -/** Value: "POP" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_LocationAssignment_LocationType_Pop; -/** Value: "UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataFusion_LocationAssignment_LocationType_Unspecified; - // ---------------------------------------------------------------------------- // GTLRDataFusion_NetworkConfig.connectionType @@ -463,6 +302,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_NetworkConfig_ConnectionType_ // ---------------------------------------------------------------------------- // GTLRDataFusion_Version.type +/** + * Version is no longer supported. + * + * Value: "TYPE_DEPRECATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeDeprecated; /** * Version is available for public use * @@ -525,33 +370,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; @end -/** - * Provides the mapping of a cloud asset to a direct physical location or to a - * proxy that defines the location on its behalf. - */ -@interface GTLRDataFusion_AssetLocation : GTLRObject - -/** - * Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state - * of the region at the time of asset creation. - */ -@property(nonatomic, strong, nullable) GTLRDataFusion_IsolationExpectations *expected; - -/** Defines extra parameters required for specific asset types. */ -@property(nonatomic, strong, nullable) NSArray *extraParameters; - -/** Contains all kinds of physical location definitions for this asset. */ -@property(nonatomic, strong, nullable) NSArray *locationData; - -/** - * Defines parents assets if any in order to allow later generation of - * child_asset_location data via child assets. - */ -@property(nonatomic, strong, nullable) NSArray *parentAsset; - -@end - - /** * Specifies the audit configuration for a service. The configuration * determines which permission types are logged, and what identities, if any, @@ -704,17 +522,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; @end -/** - * Policy ID that identified data placement in Blobstore as per - * go/blobstore-user-guide#data-metadata-placement-and-failure-domains - */ -@interface GTLRDataFusion_BlobstoreLocation : GTLRObject - -@property(nonatomic, strong, nullable) NSArray *policyId; - -@end - - /** * The request message for Operations.CancelOperation. */ @@ -722,27 +529,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; @end -/** - * GTLRDataFusion_CloudAsset - */ -@interface GTLRDataFusion_CloudAsset : GTLRObject - -@property(nonatomic, copy, nullable) NSString *assetName; -@property(nonatomic, copy, nullable) NSString *assetType; - -@end - - -/** - * GTLRDataFusion_CloudAssetComposition - */ -@interface GTLRDataFusion_CloudAssetComposition : GTLRObject - -@property(nonatomic, strong, nullable) NSArray *childAsset; - -@end - - /** * The crypto key configuration. This field is used by the Customer-managed * encryption keys (CMEK) feature. @@ -750,25 +536,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; @interface GTLRDataFusion_CryptoKeyConfig : GTLRObject /** - * The name of the key which is used to encrypt/decrypt customer data. For key - * in Cloud KMS, the key should be in the format of `projects/ * /locations/ * - * /keyRings/ * /cryptoKeys/ *`. + * Optional. The name of the key which is used to encrypt/decrypt customer + * data. For key in Cloud KMS, the key should be in the format of `projects/ * + * /locations/ * /keyRings/ * /cryptoKeys/ *`. */ @property(nonatomic, copy, nullable) NSString *keyReference; @end -/** - * GTLRDataFusion_DirectLocationAssignment - */ -@interface GTLRDataFusion_DirectLocationAssignment : GTLRObject - -@property(nonatomic, strong, nullable) NSArray *location; - -@end - - /** * DNS peering configuration. These configurations are used to create DNS * peering with the customer Cloud DNS. @@ -786,7 +562,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; @property(nonatomic, copy, nullable) NSString *domain; /** - * Required. The resource name of the dns peering zone. Format: + * Identifier. The resource name of the dns peering zone. Format: * projects/{project}/locations/{location}/instances/{instance}/dnsPeerings/{dns_peering} */ @property(nonatomic, copy, nullable) NSString *name; @@ -880,20 +656,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; @end -/** - * Defines parameters that should only be used for specific asset types. - */ -@interface GTLRDataFusion_ExtraParameter : GTLRObject - -/** - * Details about zones used by regional - * compute.googleapis.com/InstanceGroupManager to create instances. - */ -@property(nonatomic, strong, nullable) GTLRDataFusion_RegionalMigDistributionPolicy *regionalMigDistributionPolicy; - -@end - - /** * Represents a Data Fusion instance. */ @@ -915,8 +677,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * The crypto key configuration. This field is used by the Customer-Managed - * Encryption Keys (CMEK) feature. + * Optional. The crypto key configuration. This field is used by the + * Customer-Managed Encryption Keys (CMEK) feature. */ @property(nonatomic, strong, nullable) GTLRDataFusion_CryptoKeyConfig *cryptoKeyConfig; @@ -928,14 +690,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; @property(nonatomic, strong, nullable) NSNumber *dataplexDataLineageIntegrationEnabled; /** - * User-managed service account to set on Dataproc when Cloud Data Fusion - * creates Dataproc to run data processing pipelines. This allows users to have - * fine-grained access control on Dataproc's accesses to cloud resources. + * Optional. User-managed service account to set on Dataproc when Cloud Data + * Fusion creates Dataproc to run data processing pipelines. This allows users + * to have fine-grained access control on Dataproc's accesses to cloud + * resources. */ @property(nonatomic, copy, nullable) NSString *dataprocServiceAccount; /** - * A description of this instance. + * Optional. A description of this instance. * * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. */ @@ -947,38 +710,38 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; */ @property(nonatomic, strong, nullable) NSArray *disabledReason; -/** Display name for an instance. */ +/** Optional. Display name for an instance. */ @property(nonatomic, copy, nullable) NSString *displayName; /** - * Option to enable granular role-based access control. + * Optional. Option to enable granular role-based access control. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *enableRbac; /** - * Option to enable Stackdriver Logging. + * Optional. Option to enable Stackdriver Logging. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *enableStackdriverLogging; /** - * Option to enable Stackdriver Monitoring. + * Optional. Option to enable Stackdriver Monitoring. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *enableStackdriverMonitoring; /** - * Option to enable granular zone separation. + * Output only. Option to enable granular zone separation. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *enableZoneSeparation; -/** Option to enable and pass metadata for event publishing. */ +/** Optional. Option to enable and pass metadata for event publishing. */ @property(nonatomic, strong, nullable) GTLRDataFusion_EventPublishConfig *eventPublishConfig; /** @@ -1004,8 +767,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; @property(nonatomic, copy, nullable) NSString *name; /** - * Network configuration options. These are required when a private Data Fusion - * instance is to be created. + * Optional. Network configuration options. These are required when a private + * Data Fusion instance is to be created. */ @property(nonatomic, strong, nullable) GTLRDataFusion_NetworkConfig *networkConfig; @@ -1022,9 +785,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; @property(nonatomic, copy, nullable) NSString *patchRevision; /** - * Specifies whether the Data Fusion instance should be private. If set to - * true, all Data Fusion nodes will have private IP addresses and will not be - * able to access the public internet. + * Optional. Specifies whether the Data Fusion instance should be private. If + * set to true, all Data Fusion nodes will have private IP addresses and will + * not be able to access the public internet. * * Uses NSNumber of boolValue. */ @@ -1111,7 +874,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; /** Output only. The time the instance was last updated. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; -/** Current version of the Data Fusion. Only specifiable in Update. */ +/** + * Optional. Current version of the Data Fusion. Only specifiable in Update. + */ @property(nonatomic, copy, nullable) NSString *version; /** @@ -1121,8 +886,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; @property(nonatomic, copy, nullable) NSString *workforceIdentityServiceEndpoint; /** - * Name of the zone in which the Data Fusion instance will be created. Only - * DEVELOPER instances use this field. + * Optional. Name of the zone in which the Data Fusion instance will be + * created. Only DEVELOPER instances use this field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -1158,146 +923,16 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; @end -/** - * GTLRDataFusion_IsolationExpectations - */ -@interface GTLRDataFusion_IsolationExpectations : GTLRObject - -/** - * ziOrgPolicy - * - * Likely values: - * @arg @c kGTLRDataFusion_IsolationExpectations_ZiOrgPolicy_ZiNotRequired - * Value "ZI_NOT_REQUIRED" - * @arg @c kGTLRDataFusion_IsolationExpectations_ZiOrgPolicy_ZiPreferred - * Value "ZI_PREFERRED" - * @arg @c kGTLRDataFusion_IsolationExpectations_ZiOrgPolicy_ZiRequired Value - * "ZI_REQUIRED" - * @arg @c kGTLRDataFusion_IsolationExpectations_ZiOrgPolicy_ZiUnknown To be - * used if tracking is not available (Value: "ZI_UNKNOWN") - * @arg @c kGTLRDataFusion_IsolationExpectations_ZiOrgPolicy_ZiUnspecified - * Value "ZI_UNSPECIFIED" - */ -@property(nonatomic, copy, nullable) NSString *ziOrgPolicy; - -/** - * ziRegionPolicy - * - * Likely values: - * @arg @c kGTLRDataFusion_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyFailClosed - * Value "ZI_REGION_POLICY_FAIL_CLOSED" - * @arg @c kGTLRDataFusion_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyFailOpen - * Value "ZI_REGION_POLICY_FAIL_OPEN" - * @arg @c kGTLRDataFusion_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyNotSet - * Value "ZI_REGION_POLICY_NOT_SET" - * @arg @c kGTLRDataFusion_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyUnknown - * To be used if tracking is not available (Value: - * "ZI_REGION_POLICY_UNKNOWN") - * @arg @c kGTLRDataFusion_IsolationExpectations_ZiRegionPolicy_ZiRegionPolicyUnspecified - * Value "ZI_REGION_POLICY_UNSPECIFIED" - */ -@property(nonatomic, copy, nullable) NSString *ziRegionPolicy; - -/** - * ziRegionState - * - * Likely values: - * @arg @c kGTLRDataFusion_IsolationExpectations_ZiRegionState_ZiRegionEnabled - * Value "ZI_REGION_ENABLED" - * @arg @c kGTLRDataFusion_IsolationExpectations_ZiRegionState_ZiRegionNotEnabled - * Value "ZI_REGION_NOT_ENABLED" - * @arg @c kGTLRDataFusion_IsolationExpectations_ZiRegionState_ZiRegionUnknown - * To be used if tracking is not available (Value: "ZI_REGION_UNKNOWN") - * @arg @c kGTLRDataFusion_IsolationExpectations_ZiRegionState_ZiRegionUnspecified - * Value "ZI_REGION_UNSPECIFIED" - */ -@property(nonatomic, copy, nullable) NSString *ziRegionState; - -/** - * Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead - * for setting ZI expectations as per go/zicy-publish-physical-location. - * - * Likely values: - * @arg @c kGTLRDataFusion_IsolationExpectations_ZoneIsolation_ZiNotRequired - * Value "ZI_NOT_REQUIRED" - * @arg @c kGTLRDataFusion_IsolationExpectations_ZoneIsolation_ZiPreferred - * Value "ZI_PREFERRED" - * @arg @c kGTLRDataFusion_IsolationExpectations_ZoneIsolation_ZiRequired - * Value "ZI_REQUIRED" - * @arg @c kGTLRDataFusion_IsolationExpectations_ZoneIsolation_ZiUnknown To - * be used if tracking is not available (Value: "ZI_UNKNOWN") - * @arg @c kGTLRDataFusion_IsolationExpectations_ZoneIsolation_ZiUnspecified - * Value "ZI_UNSPECIFIED" - */ -@property(nonatomic, copy, nullable) NSString *zoneIsolation GTLR_DEPRECATED; - -/** - * Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs - * expectations as per go/zicy-publish-physical-location. - * - * Likely values: - * @arg @c kGTLRDataFusion_IsolationExpectations_ZoneSeparation_ZsNotRequired - * Value "ZS_NOT_REQUIRED" - * @arg @c kGTLRDataFusion_IsolationExpectations_ZoneSeparation_ZsRequired - * Value "ZS_REQUIRED" - * @arg @c kGTLRDataFusion_IsolationExpectations_ZoneSeparation_ZsUnknown To - * be used if tracking is not available (Value: "ZS_UNKNOWN") - * @arg @c kGTLRDataFusion_IsolationExpectations_ZoneSeparation_ZsUnspecified - * Value "ZS_UNSPECIFIED" - */ -@property(nonatomic, copy, nullable) NSString *zoneSeparation GTLR_DEPRECATED; - -/** - * zsOrgPolicy - * - * Likely values: - * @arg @c kGTLRDataFusion_IsolationExpectations_ZsOrgPolicy_ZsNotRequired - * Value "ZS_NOT_REQUIRED" - * @arg @c kGTLRDataFusion_IsolationExpectations_ZsOrgPolicy_ZsRequired Value - * "ZS_REQUIRED" - * @arg @c kGTLRDataFusion_IsolationExpectations_ZsOrgPolicy_ZsUnknown To be - * used if tracking is not available (Value: "ZS_UNKNOWN") - * @arg @c kGTLRDataFusion_IsolationExpectations_ZsOrgPolicy_ZsUnspecified - * Value "ZS_UNSPECIFIED" - */ -@property(nonatomic, copy, nullable) NSString *zsOrgPolicy; - -/** - * zsRegionState - * - * Likely values: - * @arg @c kGTLRDataFusion_IsolationExpectations_ZsRegionState_ZsRegionEnabled - * Value "ZS_REGION_ENABLED" - * @arg @c kGTLRDataFusion_IsolationExpectations_ZsRegionState_ZsRegionNotEnabled - * Value "ZS_REGION_NOT_ENABLED" - * @arg @c kGTLRDataFusion_IsolationExpectations_ZsRegionState_ZsRegionUnknown - * To be used if tracking of the asset ZS-bit is not available (Value: - * "ZS_REGION_UNKNOWN") - * @arg @c kGTLRDataFusion_IsolationExpectations_ZsRegionState_ZsRegionUnspecified - * Value "ZS_REGION_UNSPECIFIED" - */ -@property(nonatomic, copy, nullable) NSString *zsRegionState; - -@end - - /** * Response message for the list available versions request. - * - * @note This class supports NSFastEnumeration and indexed subscripting over - * its "availableVersions" property. If returned as the result of a - * query, it should support automatic pagination (when @c - * shouldFetchNextPages is enabled). */ -@interface GTLRDataFusion_ListAvailableVersionsResponse : GTLRCollectionObject +@interface GTLRDataFusion_ListAvailableVersionsResponse : GTLRObject /** - * Represents a list of versions that are supported. - * - * @note This property is used to support NSFastEnumeration and indexed - * subscripting on this class. + * Represents a list of versions that are supported. Deprecated: Use versions + * field instead. */ -@property(nonatomic, strong, nullable) NSArray *availableVersions; +@property(nonatomic, strong, nullable) NSArray *availableVersions GTLR_DEPRECATED; /** * Token to retrieve the next page of results or empty if there are no more @@ -1305,6 +940,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; */ @property(nonatomic, copy, nullable) NSString *nextPageToken; +/** Represents a list of all versions. */ +@property(nonatomic, strong, nullable) NSArray *versions; + @end @@ -1474,55 +1112,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; @end -/** - * GTLRDataFusion_LocationAssignment - */ -@interface GTLRDataFusion_LocationAssignment : GTLRObject - -@property(nonatomic, copy, nullable) NSString *location; - -/** - * locationType - * - * Likely values: - * @arg @c kGTLRDataFusion_LocationAssignment_LocationType_CloudRegion Value - * "CLOUD_REGION" - * @arg @c kGTLRDataFusion_LocationAssignment_LocationType_CloudZone 11-20: - * Logical failure domains. (Value: "CLOUD_ZONE") - * @arg @c kGTLRDataFusion_LocationAssignment_LocationType_Cluster 1-10: - * Physical failure domains. (Value: "CLUSTER") - * @arg @c kGTLRDataFusion_LocationAssignment_LocationType_Global Value - * "GLOBAL" - * @arg @c kGTLRDataFusion_LocationAssignment_LocationType_MultiRegionGeo - * Value "MULTI_REGION_GEO" - * @arg @c kGTLRDataFusion_LocationAssignment_LocationType_MultiRegionJurisdiction - * Value "MULTI_REGION_JURISDICTION" - * @arg @c kGTLRDataFusion_LocationAssignment_LocationType_Other Value - * "OTHER" - * @arg @c kGTLRDataFusion_LocationAssignment_LocationType_Pop Value "POP" - * @arg @c kGTLRDataFusion_LocationAssignment_LocationType_Unspecified Value - * "UNSPECIFIED" - */ -@property(nonatomic, copy, nullable) NSString *locationType; - -@end - - -/** - * GTLRDataFusion_LocationData - */ -@interface GTLRDataFusion_LocationData : GTLRObject - -@property(nonatomic, strong, nullable) GTLRDataFusion_BlobstoreLocation *blobstoreLocation; -@property(nonatomic, strong, nullable) GTLRDataFusion_CloudAssetComposition *childAssetLocation; -@property(nonatomic, strong, nullable) GTLRDataFusion_DirectLocationAssignment *directLocation; -@property(nonatomic, strong, nullable) GTLRDataFusion_TenantProjectProxy *gcpProjectProxy; -@property(nonatomic, strong, nullable) GTLRDataFusion_PlacerLocation *placerLocation; -@property(nonatomic, strong, nullable) GTLRDataFusion_SpannerLocation *spannerLocation; - -@end - - /** * Maintenance policy of the instance. */ @@ -1740,21 +1329,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; @end -/** - * Message describing that the location of the customer resource is tied to - * placer allocations - */ -@interface GTLRDataFusion_PlacerLocation : GTLRObject - -/** - * Directory with a config related to it in placer (e.g. - * "/placer/prod/home/my-root/my-dir") - */ -@property(nonatomic, copy, nullable) NSString *placerConfig; - -@end - - /** * An Identity and Access Management (IAM) policy, which specifies access * controls for Google Cloud resources. A `Policy` is a collection of @@ -1910,26 +1484,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; @end -/** - * To be used for specifying the intended distribution of regional - * compute.googleapis.com/InstanceGroupManager instances - */ -@interface GTLRDataFusion_RegionalMigDistributionPolicy : GTLRObject - -/** - * The shape in which the group converges around distribution of resources. - * Instance of proto2 enum - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *targetShape; - -/** Cloud zones used by regional MIG to create instances. */ -@property(nonatomic, strong, nullable) NSArray *zones; - -@end - - /** * Request message for restarting a Data Fusion instance. */ @@ -1961,23 +1515,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; @end -/** - * GTLRDataFusion_SpannerLocation - */ -@interface GTLRDataFusion_SpannerLocation : GTLRObject - -/** - * Set of backups used by the resource with name in the same format as what is - * available at http://table/spanner_automon.backup_metadata - */ -@property(nonatomic, strong, nullable) NSArray *backupName; - -/** Set of databases used by the resource in format /span// */ -@property(nonatomic, strong, nullable) NSArray *dbName; - -@end - - /** * The `Status` type defines a logical error model that is suitable for * different programming environments, including REST APIs and RPC APIs. It is @@ -2023,16 +1560,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; @end -/** - * GTLRDataFusion_TenantProjectProxy - */ -@interface GTLRDataFusion_TenantProjectProxy : GTLRObject - -@property(nonatomic, strong, nullable) NSArray *projectNumbers; - -@end - - /** * Request message for `TestIamPermissions` method. */ @@ -2103,6 +1630,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; * Type represents the release availability of the version * * Likely values: + * @arg @c kGTLRDataFusion_Version_Type_TypeDeprecated Version is no longer + * supported. (Value: "TYPE_DEPRECATED") * @arg @c kGTLRDataFusion_Version_Type_TypeGeneralAvailability Version is * available for public use (Value: "TYPE_GENERAL_AVAILABILITY") * @arg @c kGTLRDataFusion_Version_Type_TypePreview Version is under @@ -2117,21 +1646,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDataFusion_Version_Type_TypeUnspecified; @end - -/** - * GTLRDataFusion_ZoneConfiguration - */ -@interface GTLRDataFusion_ZoneConfiguration : GTLRObject - -/** - * zoneProperty - * - * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. - */ -@property(nonatomic, copy, nullable) NSString *zoneProperty; - -@end - NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/DataFusion/Public/GoogleAPIClientForREST/GTLRDataFusionQuery.h b/Sources/GeneratedServices/DataFusion/Public/GoogleAPIClientForREST/GTLRDataFusionQuery.h index 21ef37290..1f79d7dce 100644 --- a/Sources/GeneratedServices/DataFusion/Public/GoogleAPIClientForREST/GTLRDataFusionQuery.h +++ b/Sources/GeneratedServices/DataFusion/Public/GoogleAPIClientForREST/GTLRDataFusionQuery.h @@ -600,7 +600,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: datafusion.projects.locations.operations.cancel @@ -623,7 +623,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRDataFusion_CancelOperationRequest to include in the @@ -784,10 +784,6 @@ NS_ASSUME_NONNULL_BEGIN * projects/{project}/locations/{location}. * * @return GTLRDataFusionQuery_ProjectsLocationsVersionsList - * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. */ + (instancetype)queryWithParent:(NSString *)parent; diff --git a/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m b/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m index 0bc2e22ef..44c8c3319 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m +++ b/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m @@ -87,6 +87,7 @@ // GTLRDatabaseMigrationService_ConnectionProfile.provider NSString * const kGTLRDatabaseMigrationService_ConnectionProfile_Provider_Alloydb = @"ALLOYDB"; NSString * const kGTLRDatabaseMigrationService_ConnectionProfile_Provider_Aurora = @"AURORA"; +NSString * const kGTLRDatabaseMigrationService_ConnectionProfile_Provider_AzureDatabase = @"AZURE_DATABASE"; NSString * const kGTLRDatabaseMigrationService_ConnectionProfile_Provider_Cloudsql = @"CLOUDSQL"; NSString * const kGTLRDatabaseMigrationService_ConnectionProfile_Provider_DatabaseProviderUnspecified = @"DATABASE_PROVIDER_UNSPECIFIED"; NSString * const kGTLRDatabaseMigrationService_ConnectionProfile_Provider_Rds = @"RDS"; @@ -147,6 +148,7 @@ // GTLRDatabaseMigrationService_DatabaseType.provider NSString * const kGTLRDatabaseMigrationService_DatabaseType_Provider_Alloydb = @"ALLOYDB"; NSString * const kGTLRDatabaseMigrationService_DatabaseType_Provider_Aurora = @"AURORA"; +NSString * const kGTLRDatabaseMigrationService_DatabaseType_Provider_AzureDatabase = @"AZURE_DATABASE"; NSString * const kGTLRDatabaseMigrationService_DatabaseType_Provider_Cloudsql = @"CLOUDSQL"; NSString * const kGTLRDatabaseMigrationService_DatabaseType_Provider_DatabaseProviderUnspecified = @"DATABASE_PROVIDER_UNSPECIFIED"; NSString * const kGTLRDatabaseMigrationService_DatabaseType_Provider_Rds = @"RDS"; @@ -320,6 +322,27 @@ NSString * const kGTLRDatabaseMigrationService_MigrationJob_Type_OneTime = @"ONE_TIME"; NSString * const kGTLRDatabaseMigrationService_MigrationJob_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; +// GTLRDatabaseMigrationService_MigrationJobObject.phase +NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_Phase_Cdc = @"CDC"; +NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_Phase_DiffBackup = @"DIFF_BACKUP"; +NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_Phase_FullDump = @"FULL_DUMP"; +NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_Phase_PhaseUnspecified = @"PHASE_UNSPECIFIED"; +NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_Phase_Promoted = @"PROMOTED"; +NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_Phase_PromoteInProgress = @"PROMOTE_IN_PROGRESS"; +NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_Phase_ReadyForPromote = @"READY_FOR_PROMOTE"; + +// GTLRDatabaseMigrationService_MigrationJobObject.state +NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_State_Completed = @"COMPLETED"; +NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_State_Failed = @"FAILED"; +NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_State_NotSelected = @"NOT_SELECTED"; +NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_State_NotStarted = @"NOT_STARTED"; +NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_State_Removing = @"REMOVING"; +NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_State_Restarting = @"RESTARTING"; +NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_State_Running = @"RUNNING"; +NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_State_Stopped = @"STOPPED"; +NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_State_Stopping = @"STOPPING"; + // GTLRDatabaseMigrationService_MigrationJobVerificationError.errorCode NSString * const kGTLRDatabaseMigrationService_MigrationJobVerificationError_ErrorCode_AuthenticationFailure = @"AUTHENTICATION_FAILURE"; NSString * const kGTLRDatabaseMigrationService_MigrationJobVerificationError_ErrorCode_CantRestartRunningMigration = @"CANT_RESTART_RUNNING_MIGRATION"; @@ -385,6 +408,15 @@ NSString * const kGTLRDatabaseMigrationService_SourceNumericFilter_NumericFilterOption_NumericFilterOptionLimitless = @"NUMERIC_FILTER_OPTION_LIMITLESS"; NSString * const kGTLRDatabaseMigrationService_SourceNumericFilter_NumericFilterOption_NumericFilterOptionUnspecified = @"NUMERIC_FILTER_OPTION_UNSPECIFIED"; +// GTLRDatabaseMigrationService_SourceObjectIdentifier.type +NSString * const kGTLRDatabaseMigrationService_SourceObjectIdentifier_Type_Database = @"DATABASE"; +NSString * const kGTLRDatabaseMigrationService_SourceObjectIdentifier_Type_MigrationJobObjectTypeUnspecified = @"MIGRATION_JOB_OBJECT_TYPE_UNSPECIFIED"; + +// GTLRDatabaseMigrationService_SourceObjectsConfig.objectsSelectionType +NSString * const kGTLRDatabaseMigrationService_SourceObjectsConfig_ObjectsSelectionType_AllObjects = @"ALL_OBJECTS"; +NSString * const kGTLRDatabaseMigrationService_SourceObjectsConfig_ObjectsSelectionType_ObjectsSelectionTypeUnspecified = @"OBJECTS_SELECTION_TYPE_UNSPECIFIED"; +NSString * const kGTLRDatabaseMigrationService_SourceObjectsConfig_ObjectsSelectionType_SpecifiedObjects = @"SPECIFIED_OBJECTS"; + // GTLRDatabaseMigrationService_SslConfig.type NSString * const kGTLRDatabaseMigrationService_SslConfig_Type_None = @"NONE"; NSString * const kGTLRDatabaseMigrationService_SslConfig_Type_Required = @"REQUIRED"; @@ -724,7 +756,8 @@ + (Class)classForAdditionalProperties { @implementation GTLRDatabaseMigrationService_ConnectionProfile @dynamic alloydb, cloudsql, createTime, displayName, error, labels, mysql, name, - oracle, postgresql, provider, role, sqlserver, state, updateTime; + oracle, postgresql, provider, role, satisfiesPzi, satisfiesPzs, + sqlserver, state, updateTime; @end @@ -1400,6 +1433,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRDatabaseMigrationService_ListMigrationJobObjectsResponse +// + +@implementation GTLRDatabaseMigrationService_ListMigrationJobObjectsResponse +@dynamic migrationJobObjects, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"migrationJobObjects" : [GTLRDatabaseMigrationService_MigrationJobObject class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"migrationJobObjects"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDatabaseMigrationService_ListMigrationJobsResponse @@ -1525,6 +1580,16 @@ @implementation GTLRDatabaseMigrationService_LogMiner @end +// ---------------------------------------------------------------------------- +// +// GTLRDatabaseMigrationService_LookupMigrationJobObjectRequest +// + +@implementation GTLRDatabaseMigrationService_LookupMigrationJobObjectRequest +@dynamic sourceObjectIdentifier; +@end + + // ---------------------------------------------------------------------------- // // GTLRDatabaseMigrationService_MachineConfig @@ -1574,7 +1639,15 @@ @implementation GTLRDatabaseMigrationService_MappingRuleFilter // @implementation GTLRDatabaseMigrationService_MaterializedViewEntity -@dynamic customFeatures, sqlCode; +@dynamic customFeatures, indices, sqlCode; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"indices" : [GTLRDatabaseMigrationService_IndexEntity class] + }; + return map; +} + @end @@ -1600,8 +1673,9 @@ + (Class)classForAdditionalProperties { @implementation GTLRDatabaseMigrationService_MigrationJob @dynamic cmekKeyName, conversionWorkspace, createTime, destination, destinationDatabase, displayName, dumpFlags, dumpPath, dumpType, - duration, endTime, error, filter, labels, name, oracleToPostgresConfig, - performanceConfig, phase, reverseSshConnectivity, source, + duration, endTime, error, filter, labels, name, objectsConfig, + oracleToPostgresConfig, performanceConfig, phase, + reverseSshConnectivity, satisfiesPzi, satisfiesPzs, source, sourceDatabase, sqlserverHomogeneousMigrationJobConfig, state, staticIpConnectivity, type, updateTime, vpcPeeringConnectivity; @end @@ -1621,6 +1695,26 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRDatabaseMigrationService_MigrationJobObject +// + +@implementation GTLRDatabaseMigrationService_MigrationJobObject +@dynamic createTime, error, name, phase, sourceObject, state, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDatabaseMigrationService_MigrationJobObjectsConfig +// + +@implementation GTLRDatabaseMigrationService_MigrationJobObjectsConfig +@dynamic sourceObjectsConfig; +@end + + // ---------------------------------------------------------------------------- // // GTLRDatabaseMigrationService_MigrationJobVerificationError @@ -1914,8 +2008,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDatabaseMigrationService_PrivateConnection -@dynamic createTime, displayName, error, labels, name, state, updateTime, - vpcPeeringConfig; +@dynamic createTime, displayName, error, labels, name, satisfiesPzi, + satisfiesPzs, state, updateTime, vpcPeeringConfig; @end @@ -1959,6 +2053,7 @@ @implementation GTLRDatabaseMigrationService_PrivateServiceConnectConnectivity // @implementation GTLRDatabaseMigrationService_PromoteMigrationJobRequest +@dynamic objectsFilter; @end @@ -1968,7 +2063,7 @@ @implementation GTLRDatabaseMigrationService_PromoteMigrationJobRequest // @implementation GTLRDatabaseMigrationService_RestartMigrationJobRequest -@dynamic skipValidation; +@dynamic objectsFilter, restartFailedObjects, skipValidation; @end @@ -2201,6 +2296,44 @@ @implementation GTLRDatabaseMigrationService_SourceNumericFilter @end +// ---------------------------------------------------------------------------- +// +// GTLRDatabaseMigrationService_SourceObjectConfig +// + +@implementation GTLRDatabaseMigrationService_SourceObjectConfig +@dynamic objectIdentifier; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDatabaseMigrationService_SourceObjectIdentifier +// + +@implementation GTLRDatabaseMigrationService_SourceObjectIdentifier +@dynamic database, type; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDatabaseMigrationService_SourceObjectsConfig +// + +@implementation GTLRDatabaseMigrationService_SourceObjectsConfig +@dynamic objectConfigs, objectsSelectionType; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"objectConfigs" : [GTLRDatabaseMigrationService_SourceObjectConfig class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDatabaseMigrationService_SourceSqlChange diff --git a/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceQuery.m b/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceQuery.m index 0a7e87081..345dc23eb 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceQuery.m +++ b/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceQuery.m @@ -846,6 +846,25 @@ + (instancetype)queryWithObject:(GTLRDatabaseMigrationService_DemoteDestinationR @end +@implementation GTLRDatabaseMigrationServiceQuery_ProjectsLocationsMigrationJobsFetchSourceObjects + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:fetchSourceObjects"; + GTLRDatabaseMigrationServiceQuery_ProjectsLocationsMigrationJobsFetchSourceObjects *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDatabaseMigrationService_Operation class]; + query.loggingName = @"datamigration.projects.locations.migrationJobs.fetchSourceObjects"; + return query; +} + +@end + @implementation GTLRDatabaseMigrationServiceQuery_ProjectsLocationsMigrationJobsGenerateSshScript @dynamic migrationJob; @@ -961,6 +980,25 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRDatabaseMigrationServiceQuery_ProjectsLocationsMigrationJobsObjectsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDatabaseMigrationServiceQuery_ProjectsLocationsMigrationJobsObjectsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDatabaseMigrationService_MigrationJobObject class]; + query.loggingName = @"datamigration.projects.locations.migrationJobs.objects.get"; + return query; +} + +@end + @implementation GTLRDatabaseMigrationServiceQuery_ProjectsLocationsMigrationJobsObjectsGetIamPolicy @dynamic optionsRequestedPolicyVersion, resource; @@ -984,6 +1022,52 @@ + (instancetype)queryWithResource:(NSString *)resource { @end +@implementation GTLRDatabaseMigrationServiceQuery_ProjectsLocationsMigrationJobsObjectsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/objects"; + GTLRDatabaseMigrationServiceQuery_ProjectsLocationsMigrationJobsObjectsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRDatabaseMigrationService_ListMigrationJobObjectsResponse class]; + query.loggingName = @"datamigration.projects.locations.migrationJobs.objects.list"; + return query; +} + +@end + +@implementation GTLRDatabaseMigrationServiceQuery_ProjectsLocationsMigrationJobsObjectsLookup + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRDatabaseMigrationService_LookupMigrationJobObjectRequest *)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}/objects:lookup"; + GTLRDatabaseMigrationServiceQuery_ProjectsLocationsMigrationJobsObjectsLookup *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRDatabaseMigrationService_MigrationJobObject class]; + query.loggingName = @"datamigration.projects.locations.migrationJobs.objects.lookup"; + return query; +} + +@end + @implementation GTLRDatabaseMigrationServiceQuery_ProjectsLocationsMigrationJobsObjectsSetIamPolicy @dynamic resource; diff --git a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h index 548ac27eb..9e0134321 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h +++ b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h @@ -81,6 +81,8 @@ @class GTLRDatabaseMigrationService_MaterializedViewEntity_CustomFeatures; @class GTLRDatabaseMigrationService_MigrationJob; @class GTLRDatabaseMigrationService_MigrationJob_Labels; +@class GTLRDatabaseMigrationService_MigrationJobObject; +@class GTLRDatabaseMigrationService_MigrationJobObjectsConfig; @class GTLRDatabaseMigrationService_MultiColumnDatatypeChange; @class GTLRDatabaseMigrationService_MultiColumnDatatypeChange_CustomFeatures; @class GTLRDatabaseMigrationService_MultiEntityRename; @@ -121,6 +123,9 @@ @class GTLRDatabaseMigrationService_SingleEntityRename; @class GTLRDatabaseMigrationService_SinglePackageChange; @class GTLRDatabaseMigrationService_SourceNumericFilter; +@class GTLRDatabaseMigrationService_SourceObjectConfig; +@class GTLRDatabaseMigrationService_SourceObjectIdentifier; +@class GTLRDatabaseMigrationService_SourceObjectsConfig; @class GTLRDatabaseMigrationService_SourceSqlChange; @class GTLRDatabaseMigrationService_SourceTextFilter; @class GTLRDatabaseMigrationService_SqlAclEntry; @@ -536,6 +541,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ConnectionProfi * Value: "AURORA" */ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ConnectionProfile_Provider_Aurora; +/** + * Microsoft Azure Database for MySQL/PostgreSQL. + * + * Value: "AZURE_DATABASE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ConnectionProfile_Provider_AzureDatabase; /** * Cloud SQL is the source instance provider. * @@ -840,6 +851,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_DatabaseType_Pr * Value: "AURORA" */ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_DatabaseType_Provider_Aurora; +/** + * Microsoft Azure Database for MySQL/PostgreSQL. + * + * Value: "AZURE_DATABASE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_DatabaseType_Provider_AzureDatabase; /** * Cloud SQL is the source instance provider. * @@ -1746,6 +1763,116 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_MigrationJob_Ty */ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_MigrationJob_Type_TypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDatabaseMigrationService_MigrationJobObject.phase + +/** + * The migration job object is in CDC phase. + * + * Value: "CDC" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_Phase_Cdc; +/** + * The migration job object is in the differential backup phase. + * + * Value: "DIFF_BACKUP" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_Phase_DiffBackup; +/** + * The migration job object is in the full dump phase. + * + * Value: "FULL_DUMP" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_Phase_FullDump; +/** + * The phase of the migration job is unknown. + * + * Value: "PHASE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_Phase_PhaseUnspecified; +/** + * The migration job is promoted. + * + * Value: "PROMOTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_Phase_Promoted; +/** + * The migration job object is in running the promote phase. + * + * Value: "PROMOTE_IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_Phase_PromoteInProgress; +/** + * The migration job object is ready to be promoted. + * + * Value: "READY_FOR_PROMOTE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_Phase_ReadyForPromote; + +// ---------------------------------------------------------------------------- +// GTLRDatabaseMigrationService_MigrationJobObject.state + +/** + * The migration job object is completed. + * + * Value: "COMPLETED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_State_Completed; +/** + * The migration job object failed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_State_Failed; +/** + * The migration job object is not selected for migration. + * + * Value: "NOT_SELECTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_State_NotSelected; +/** + * The migration job object is not started. + * + * Value: "NOT_STARTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_State_NotStarted; +/** + * The migration job object is deleting. + * + * Value: "REMOVING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_State_Removing; +/** + * The migration job object is restarting. + * + * Value: "RESTARTING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_State_Restarting; +/** + * The migration job object is running. + * + * Value: "RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_State_Running; +/** + * The state of the migration job object is unknown. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_State_StateUnspecified; +/** + * The migration job object is currently stopped. + * + * Value: "STOPPED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_State_Stopped; +/** + * The migration job object is being stopped. + * + * Value: "STOPPING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_MigrationJobObject_State_Stopping; + // ---------------------------------------------------------------------------- // GTLRDatabaseMigrationService_MigrationJobVerificationError.errorCode @@ -2090,6 +2217,45 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_SourceNumericFi */ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_SourceNumericFilter_NumericFilterOption_NumericFilterOptionUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDatabaseMigrationService_SourceObjectIdentifier.type + +/** + * The migration job object is a database. + * + * Value: "DATABASE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_SourceObjectIdentifier_Type_Database; +/** + * The type of the migration job object is unknown. + * + * Value: "MIGRATION_JOB_OBJECT_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_SourceObjectIdentifier_Type_MigrationJobObjectTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDatabaseMigrationService_SourceObjectsConfig.objectsSelectionType + +/** + * Migrate all of the objects. + * + * Value: "ALL_OBJECTS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_SourceObjectsConfig_ObjectsSelectionType_AllObjects; +/** + * The type of the objects selection is unknown, indicating that the migration + * job is at instance level. + * + * Value: "OBJECTS_SELECTION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_SourceObjectsConfig_ObjectsSelectionType_ObjectsSelectionTypeUnspecified; +/** + * Migrate specific objects. + * + * Value: "SPECIFIED_OBJECTS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_SourceObjectsConfig_ObjectsSelectionType_SpecifiedObjects; + // ---------------------------------------------------------------------------- // GTLRDatabaseMigrationService_SslConfig.type @@ -3207,6 +3373,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter * "ALLOYDB") * @arg @c kGTLRDatabaseMigrationService_ConnectionProfile_Provider_Aurora * Amazon Aurora is the source instance provider. (Value: "AURORA") + * @arg @c kGTLRDatabaseMigrationService_ConnectionProfile_Provider_AzureDatabase + * Microsoft Azure Database for MySQL/PostgreSQL. (Value: + * "AZURE_DATABASE") * @arg @c kGTLRDatabaseMigrationService_ConnectionProfile_Provider_Cloudsql * Cloud SQL is the source instance provider. (Value: "CLOUDSQL") * @arg @c kGTLRDatabaseMigrationService_ConnectionProfile_Provider_DatabaseProviderUnspecified @@ -3230,6 +3399,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter */ @property(nonatomic, copy, nullable) NSString *role; +/** + * Output only. Zone Isolation compliance state of the resource. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzi; + +/** + * Output only. Zone Separation compliance state of the resource. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzs; + /** Connection profile for a SQL Server data source. */ @property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_SqlServerConnectionProfile *sqlserver; @@ -3700,6 +3883,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter * "ALLOYDB") * @arg @c kGTLRDatabaseMigrationService_DatabaseType_Provider_Aurora Amazon * Aurora is the source instance provider. (Value: "AURORA") + * @arg @c kGTLRDatabaseMigrationService_DatabaseType_Provider_AzureDatabase + * Microsoft Azure Database for MySQL/PostgreSQL. (Value: + * "AZURE_DATABASE") * @arg @c kGTLRDatabaseMigrationService_DatabaseType_Provider_Cloudsql Cloud * SQL is the source instance provider. (Value: "CLOUDSQL") * @arg @c kGTLRDatabaseMigrationService_DatabaseType_Provider_DatabaseProviderUnspecified @@ -4369,8 +4555,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter /** * Output only. Identifies whether the user has requested cancellation of the * operation. Operations that have successfully been cancelled have - * Operation.error value with a google.rpc.Status.code of 1, corresponding to - * `Code.CANCELLED`. + * google.longrunning.Operation.error value with a google.rpc.Status.code of 1, + * corresponding to `Code.CANCELLED`. * * Uses NSNumber of boolValue. */ @@ -4682,6 +4868,30 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter @end +/** + * Response containing the objects for a migration job. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "migrationJobObjects" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRDatabaseMigrationService_ListMigrationJobObjectsResponse : GTLRCollectionObject + +/** + * List of migration job objects. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *migrationJobObjects; + +/** A token, which can be sent as `page_token` to retrieve the next page. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * Response message for 'ListMigrationJobs' request. * @@ -4848,6 +5058,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter @end +/** + * Request for looking up a specific migration job object by its source object + * identifier. + */ +@interface GTLRDatabaseMigrationService_LookupMigrationJobObjectRequest : GTLRObject + +/** + * Required. The source object identifier which maps to the migration job + * object. + */ +@property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_SourceObjectIdentifier *sourceObjectIdentifier; + +@end + + /** * MachineConfig describes the configuration of a machine. */ @@ -5061,6 +5286,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter /** Custom engine specific features. */ @property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_MaterializedViewEntity_CustomFeatures *customFeatures; +/** View indices. */ +@property(nonatomic, strong, nullable) NSArray *indices; + /** The SQL code which creates the view. */ @property(nonatomic, copy, nullable) NSString *sqlCode; @@ -5183,6 +5411,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter */ @property(nonatomic, copy, nullable) NSString *name; +/** Optional. The objects that need to be migrated. */ +@property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_MigrationJobObjectsConfig *objectsConfig; + /** * Configuration for heterogeneous **Oracle to Cloud SQL for PostgreSQL** and * **Oracle to AlloyDB for PostgreSQL** migrations. @@ -5224,6 +5455,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter */ @property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_ReverseSshConnectivity *reverseSshConnectivity; +/** + * Output only. Zone Isolation compliance state of the resource. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzi; + +/** + * Output only. Zone Separation compliance state of the resource. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzs; + /** Required. The resource name (URI) of the source connection profile. */ @property(nonatomic, copy, nullable) NSString *source; @@ -5318,6 +5563,95 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter @end +/** + * A specific Migration Job Object (e.g. a specifc DB Table) + */ +@interface GTLRDatabaseMigrationService_MigrationJobObject : GTLRObject + +/** Output only. The creation time of the migration job object. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. The error details in case of failure. */ +@property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_Status *error; + +/** The object's name. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The phase of the migration job object. + * + * Likely values: + * @arg @c kGTLRDatabaseMigrationService_MigrationJobObject_Phase_Cdc The + * migration job object is in CDC phase. (Value: "CDC") + * @arg @c kGTLRDatabaseMigrationService_MigrationJobObject_Phase_DiffBackup + * The migration job object is in the differential backup phase. (Value: + * "DIFF_BACKUP") + * @arg @c kGTLRDatabaseMigrationService_MigrationJobObject_Phase_FullDump + * The migration job object is in the full dump phase. (Value: + * "FULL_DUMP") + * @arg @c kGTLRDatabaseMigrationService_MigrationJobObject_Phase_PhaseUnspecified + * The phase of the migration job is unknown. (Value: + * "PHASE_UNSPECIFIED") + * @arg @c kGTLRDatabaseMigrationService_MigrationJobObject_Phase_Promoted + * The migration job is promoted. (Value: "PROMOTED") + * @arg @c kGTLRDatabaseMigrationService_MigrationJobObject_Phase_PromoteInProgress + * The migration job object is in running the promote phase. (Value: + * "PROMOTE_IN_PROGRESS") + * @arg @c kGTLRDatabaseMigrationService_MigrationJobObject_Phase_ReadyForPromote + * The migration job object is ready to be promoted. (Value: + * "READY_FOR_PROMOTE") + */ +@property(nonatomic, copy, nullable) NSString *phase; + +/** The object identifier in the data source. */ +@property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_SourceObjectIdentifier *sourceObject; + +/** + * The state of the migration job object. + * + * Likely values: + * @arg @c kGTLRDatabaseMigrationService_MigrationJobObject_State_Completed + * The migration job object is completed. (Value: "COMPLETED") + * @arg @c kGTLRDatabaseMigrationService_MigrationJobObject_State_Failed The + * migration job object failed. (Value: "FAILED") + * @arg @c kGTLRDatabaseMigrationService_MigrationJobObject_State_NotSelected + * The migration job object is not selected for migration. (Value: + * "NOT_SELECTED") + * @arg @c kGTLRDatabaseMigrationService_MigrationJobObject_State_NotStarted + * The migration job object is not started. (Value: "NOT_STARTED") + * @arg @c kGTLRDatabaseMigrationService_MigrationJobObject_State_Removing + * The migration job object is deleting. (Value: "REMOVING") + * @arg @c kGTLRDatabaseMigrationService_MigrationJobObject_State_Restarting + * The migration job object is restarting. (Value: "RESTARTING") + * @arg @c kGTLRDatabaseMigrationService_MigrationJobObject_State_Running The + * migration job object is running. (Value: "RUNNING") + * @arg @c kGTLRDatabaseMigrationService_MigrationJobObject_State_StateUnspecified + * The state of the migration job object is unknown. (Value: + * "STATE_UNSPECIFIED") + * @arg @c kGTLRDatabaseMigrationService_MigrationJobObject_State_Stopped The + * migration job object is currently stopped. (Value: "STOPPED") + * @arg @c kGTLRDatabaseMigrationService_MigrationJobObject_State_Stopping + * The migration job object is being stopped. (Value: "STOPPING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. The last update time of the migration job object. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Configuration for the objects to be migrated. + */ +@interface GTLRDatabaseMigrationService_MigrationJobObjectsConfig : GTLRObject + +/** The list of the migration job objects. */ +@property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_SourceObjectsConfig *sourceObjectsConfig; + +@end + + /** * Error message of a verification Migration job. */ @@ -6236,6 +6570,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter /** The name of the resource. */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Output only. Zone Isolation compliance state of the resource. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzi; + +/** + * Output only. Zone Separation compliance state of the resource. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzs; + /** * Output only. The state of the private connection. * @@ -6315,6 +6663,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter * Request message for 'PromoteMigrationJob' request. */ @interface GTLRDatabaseMigrationService_PromoteMigrationJobRequest : GTLRObject + +/** Optional. The object filter to apply to the migration job. */ +@property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_MigrationJobObjectsConfig *objectsFilter; + @end @@ -6323,6 +6675,16 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter */ @interface GTLRDatabaseMigrationService_RestartMigrationJobRequest : GTLRObject +/** Optional. The object filter to apply to the migration job. */ +@property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_MigrationJobObjectsConfig *objectsFilter; + +/** + * Optional. If true, only failed objects will be restarted. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *restartFailedObjects; + /** * Optional. Restart the migration job without running prior configuration * verification. Defaults to `false`. @@ -6813,6 +7175,69 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter @end +/** + * Config for a single migration job object. + */ +@interface GTLRDatabaseMigrationService_SourceObjectConfig : GTLRObject + +/** Optional. The object identifier. */ +@property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_SourceObjectIdentifier *objectIdentifier; + +@end + + +/** + * An identifier for the Migration Job Object. + */ +@interface GTLRDatabaseMigrationService_SourceObjectIdentifier : GTLRObject + +/** + * Optional. The database name. This will be required only if the object uses a + * database name as part of its unique identifier. + */ +@property(nonatomic, copy, nullable) NSString *database; + +/** + * Required. The type of the migration job object. + * + * Likely values: + * @arg @c kGTLRDatabaseMigrationService_SourceObjectIdentifier_Type_Database + * The migration job object is a database. (Value: "DATABASE") + * @arg @c kGTLRDatabaseMigrationService_SourceObjectIdentifier_Type_MigrationJobObjectTypeUnspecified + * The type of the migration job object is unknown. (Value: + * "MIGRATION_JOB_OBJECT_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * List of configurations for the source objects to be migrated. + */ +@interface GTLRDatabaseMigrationService_SourceObjectsConfig : GTLRObject + +/** Optional. The list of the objects to be migrated. */ +@property(nonatomic, strong, nullable) NSArray *objectConfigs; + +/** + * Optional. The objects selection type of the migration job. + * + * Likely values: + * @arg @c kGTLRDatabaseMigrationService_SourceObjectsConfig_ObjectsSelectionType_AllObjects + * Migrate all of the objects. (Value: "ALL_OBJECTS") + * @arg @c kGTLRDatabaseMigrationService_SourceObjectsConfig_ObjectsSelectionType_ObjectsSelectionTypeUnspecified + * The type of the objects selection is unknown, indicating that the + * migration job is at instance level. (Value: + * "OBJECTS_SELECTION_TYPE_UNSPECIFIED") + * @arg @c kGTLRDatabaseMigrationService_SourceObjectsConfig_ObjectsSelectionType_SpecifiedObjects + * Migrate specific objects. (Value: "SPECIFIED_OBJECTS") + */ +@property(nonatomic, copy, nullable) NSString *objectsSelectionType; + +@end + + /** * Options to configure rule type SourceSqlChange. The rule is used to alter * the sql code for database entities. The rule filter field can refer to one @@ -7038,13 +7463,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter */ @interface GTLRDatabaseMigrationService_SqlServerEncryptionOptions : GTLRObject -/** Required. Path to certificate. */ +/** + * Required. Path to the Certificate (.cer) in Cloud Storage, in the form + * `gs://bucketName/fileName`. The instance must have write permissions to the + * bucket and read access to the file. + */ @property(nonatomic, copy, nullable) NSString *certPath; -/** Required. Input only. Private key password. */ +/** Required. Input only. Password that encrypts the private key. */ @property(nonatomic, copy, nullable) NSString *pvkPassword; -/** Required. Path to certificate private key. */ +/** + * Required. Path to the Certificate Private Key (.pvk) in Cloud Storage, in + * the form `gs://bucketName/fileName`. The instance must have write + * permissions to the bucket and read access to the file. + */ @property(nonatomic, copy, nullable) NSString *pvkPath; @end diff --git a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceQuery.h b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceQuery.h index 9da7be75b..8d7029a80 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceQuery.h +++ b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceQuery.h @@ -1647,6 +1647,40 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationServiceViewDatabaseEnti @end +/** + * Retrieves objects from the source database that can be selected for data + * migration. This is applicable for the following migrations: 1. PostgreSQL to + * Cloud SQL for PostgreSQL 2. PostgreSQL to AlloyDB for PostgreSQL. + * + * Method: datamigration.projects.locations.migrationJobs.fetchSourceObjects + * + * Authorization scope(s): + * @c kGTLRAuthScopeDatabaseMigrationServiceCloudPlatform + */ +@interface GTLRDatabaseMigrationServiceQuery_ProjectsLocationsMigrationJobsFetchSourceObjects : GTLRDatabaseMigrationServiceQuery + +/** + * Required. The resource name for the migration job for which source objects + * should be returned. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDatabaseMigrationService_Operation. + * + * Retrieves objects from the source database that can be selected for data + * migration. This is applicable for the following migrations: 1. PostgreSQL to + * Cloud SQL for PostgreSQL 2. PostgreSQL to AlloyDB for PostgreSQL. + * + * @param name Required. The resource name for the migration job for which + * source objects should be returned. + * + * @return GTLRDatabaseMigrationServiceQuery_ProjectsLocationsMigrationJobsFetchSourceObjects + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Generate a SSH configuration script to configure the reverse SSH * connectivity. @@ -1853,6 +1887,32 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationServiceViewDatabaseEnti @end +/** + * Use this method to get details about a migration job object. + * + * Method: datamigration.projects.locations.migrationJobs.objects.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDatabaseMigrationServiceCloudPlatform + */ +@interface GTLRDatabaseMigrationServiceQuery_ProjectsLocationsMigrationJobsObjectsGet : GTLRDatabaseMigrationServiceQuery + +/** Required. The name of the migration job object resource to get. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDatabaseMigrationService_MigrationJobObject. + * + * Use this method to get details about a migration job object. + * + * @param name Required. The name of the migration job object resource to get. + * + * @return GTLRDatabaseMigrationServiceQuery_ProjectsLocationsMigrationJobsObjectsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Gets the access control policy for a resource. Returns an empty policy if * the resource exists and does not have a policy set. @@ -1902,6 +1962,84 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationServiceViewDatabaseEnti @end +/** + * Use this method to list the objects of a specific migration job. + * + * Method: datamigration.projects.locations.migrationJobs.objects.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeDatabaseMigrationServiceCloudPlatform + */ +@interface GTLRDatabaseMigrationServiceQuery_ProjectsLocationsMigrationJobsObjectsList : GTLRDatabaseMigrationServiceQuery + +/** + * Maximum number of objects to return. Default is 50. The maximum value is + * 1000; values above 1000 will be coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Page token received from a previous `ListMigrationJObObjectsRequest` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters provided to `ListMigrationJobObjectsRequest` must match the call + * that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent migration job that owns the collection of objects. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRDatabaseMigrationService_ListMigrationJobObjectsResponse. + * + * Use this method to list the objects of a specific migration job. + * + * @param parent Required. The parent migration job that owns the collection of + * objects. + * + * @return GTLRDatabaseMigrationServiceQuery_ProjectsLocationsMigrationJobsObjectsList + * + * @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 + +/** + * Use this method to look up a migration job object by its source object + * identifier. + * + * Method: datamigration.projects.locations.migrationJobs.objects.lookup + * + * Authorization scope(s): + * @c kGTLRAuthScopeDatabaseMigrationServiceCloudPlatform + */ +@interface GTLRDatabaseMigrationServiceQuery_ProjectsLocationsMigrationJobsObjectsLookup : GTLRDatabaseMigrationServiceQuery + +/** Required. The parent migration job that owns the collection of objects. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRDatabaseMigrationService_MigrationJobObject. + * + * Use this method to look up a migration job object by its source object + * identifier. + * + * @param object The @c + * GTLRDatabaseMigrationService_LookupMigrationJobObjectRequest to include in + * the query. + * @param parent Required. The parent migration job that owns the collection of + * objects. + * + * @return GTLRDatabaseMigrationServiceQuery_ProjectsLocationsMigrationJobsObjectsLookup + */ ++ (instancetype)queryWithObject:(GTLRDatabaseMigrationService_LookupMigrationJobObjectRequest *)object + parent:(NSString *)parent; + +@end + /** * Sets the access control policy on the specified resource. Replaces any * existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and @@ -2312,7 +2450,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationServiceViewDatabaseEnti * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: datamigration.projects.locations.operations.cancel @@ -2335,7 +2473,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationServiceViewDatabaseEnti * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRDatabaseMigrationService_CancelOperationRequest to diff --git a/Sources/GeneratedServices/Dataflow/GTLRDataflowObjects.m b/Sources/GeneratedServices/Dataflow/GTLRDataflowObjects.m index 83a873c63..3fc5bbafb 100644 --- a/Sources/GeneratedServices/Dataflow/GTLRDataflowObjects.m +++ b/Sources/GeneratedServices/Dataflow/GTLRDataflowObjects.m @@ -963,6 +963,16 @@ @implementation GTLRDataflow_FloatingPointMean @end +// ---------------------------------------------------------------------------- +// +// GTLRDataflow_GaugeValue +// + +@implementation GTLRDataflow_GaugeValue +@dynamic measuredTime, value; +@end + + // ---------------------------------------------------------------------------- // // GTLRDataflow_GetDebugConfigRequest @@ -1717,7 +1727,7 @@ + (BOOL)isKindValidForClassRegistry { // @implementation GTLRDataflow_MetricValue -@dynamic metric, metricLabels, valueHistogram, valueInt64; +@dynamic metric, metricLabels, valueGauge64, valueHistogram, valueInt64; @end diff --git a/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowObjects.h b/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowObjects.h index 287294250..b50a7406c 100644 --- a/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowObjects.h +++ b/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowObjects.h @@ -59,6 +59,7 @@ @class GTLRDataflow_FlexTemplateRuntimeEnvironment_AdditionalUserLabels; @class GTLRDataflow_FloatingPointList; @class GTLRDataflow_FloatingPointMean; +@class GTLRDataflow_GaugeValue; @class GTLRDataflow_GPUUsage; @class GTLRDataflow_GPUUtilization; @class GTLRDataflow_Histogram; @@ -3700,6 +3701,24 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_WorkItemDetails_State_Execution @end +/** + * The gauge value of a metric. + */ +@interface GTLRDataflow_GaugeValue : GTLRObject + +/** The timestamp when the gauge was recorded. */ +@property(nonatomic, strong, nullable) GTLRDateTime *measuredTime; + +/** + * The value of the gauge. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *value; + +@end + + /** * Request to get updated debug configuration for component. */ @@ -5282,6 +5301,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_WorkItemDetails_State_Execution /** Optional. Set of metric labels for this metric. */ @property(nonatomic, strong, nullable) GTLRDataflow_MetricValue_MetricLabels *metricLabels; +/** Non-cumulative int64 value of this metric. */ +@property(nonatomic, strong, nullable) GTLRDataflow_GaugeValue *valueGauge64; + /** Histogram value of this metric. */ @property(nonatomic, strong, nullable) GTLRDataflow_HistogramValue *valueHistogram; diff --git a/Sources/GeneratedServices/Dataform/GTLRDataformQuery.m b/Sources/GeneratedServices/Dataform/GTLRDataformQuery.m index b2a769d2e..5e2abf4f1 100644 --- a/Sources/GeneratedServices/Dataform/GTLRDataformQuery.m +++ b/Sources/GeneratedServices/Dataform/GTLRDataformQuery.m @@ -17,83 +17,6 @@ @implementation GTLRDataformQuery @end -@implementation GTLRDataformQuery_ProjectsLocationsCollectionsGetIamPolicy - -@dynamic optionsRequestedPolicyVersion, resource; - -+ (NSDictionary *)parameterNameMap { - return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; -} - -+ (instancetype)queryWithResource:(NSString *)resource { - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1beta1/{+resource}:getIamPolicy"; - GTLRDataformQuery_ProjectsLocationsCollectionsGetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.resource = resource; - query.expectedObjectClass = [GTLRDataform_Policy class]; - query.loggingName = @"dataform.projects.locations.collections.getIamPolicy"; - return query; -} - -@end - -@implementation GTLRDataformQuery_ProjectsLocationsCollectionsSetIamPolicy - -@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_ProjectsLocationsCollectionsSetIamPolicy *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.collections.setIamPolicy"; - return query; -} - -@end - -@implementation GTLRDataformQuery_ProjectsLocationsCollectionsTestIamPermissions - -@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_ProjectsLocationsCollectionsTestIamPermissions *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.collections.testIamPermissions"; - return query; -} - -@end - @implementation GTLRDataformQuery_ProjectsLocationsGet @dynamic name; @@ -151,106 +74,6 @@ + (instancetype)queryWithName:(NSString *)name { @end -@implementation GTLRDataformQuery_ProjectsLocationsRepositoriesCommentThreadsCommentsGetIamPolicy - -@dynamic optionsRequestedPolicyVersion, resource; - -+ (NSDictionary *)parameterNameMap { - return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; -} - -+ (instancetype)queryWithResource:(NSString *)resource { - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1beta1/{+resource}:getIamPolicy"; - GTLRDataformQuery_ProjectsLocationsRepositoriesCommentThreadsCommentsGetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.resource = resource; - query.expectedObjectClass = [GTLRDataform_Policy class]; - query.loggingName = @"dataform.projects.locations.repositories.commentThreads.comments.getIamPolicy"; - return query; -} - -@end - -@implementation GTLRDataformQuery_ProjectsLocationsRepositoriesCommentThreadsCommentsSetIamPolicy - -@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_ProjectsLocationsRepositoriesCommentThreadsCommentsSetIamPolicy *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.repositories.commentThreads.comments.setIamPolicy"; - return query; -} - -@end - -@implementation GTLRDataformQuery_ProjectsLocationsRepositoriesCommentThreadsGetIamPolicy - -@dynamic optionsRequestedPolicyVersion, resource; - -+ (NSDictionary *)parameterNameMap { - return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; -} - -+ (instancetype)queryWithResource:(NSString *)resource { - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1beta1/{+resource}:getIamPolicy"; - GTLRDataformQuery_ProjectsLocationsRepositoriesCommentThreadsGetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.resource = resource; - query.expectedObjectClass = [GTLRDataform_Policy class]; - query.loggingName = @"dataform.projects.locations.repositories.commentThreads.getIamPolicy"; - return query; -} - -@end - -@implementation GTLRDataformQuery_ProjectsLocationsRepositoriesCommentThreadsSetIamPolicy - -@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_ProjectsLocationsRepositoriesCommentThreadsSetIamPolicy *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.repositories.commentThreads.setIamPolicy"; - return query; -} - -@end - @implementation GTLRDataformQuery_ProjectsLocationsRepositoriesCommit @dynamic name; diff --git a/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformQuery.h b/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformQuery.h index d315f2a03..2f7f86ec6 100644 --- a/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformQuery.h +++ b/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformQuery.h @@ -34,139 +34,6 @@ 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.collections.getIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataformCloudPlatform - */ -@interface GTLRDataformQuery_ProjectsLocationsCollectionsGetIamPolicy : 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_ProjectsLocationsCollectionsGetIamPolicy - */ -+ (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.collections.setIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataformCloudPlatform - */ -@interface GTLRDataformQuery_ProjectsLocationsCollectionsSetIamPolicy : 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_ProjectsLocationsCollectionsSetIamPolicy - */ -+ (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.collections.testIamPermissions - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataformCloudPlatform - */ -@interface GTLRDataformQuery_ProjectsLocationsCollectionsTestIamPermissions : 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_ProjectsLocationsCollectionsTestIamPermissions - */ -+ (instancetype)queryWithObject:(GTLRDataform_TestIamPermissionsRequest *)object - resource:(NSString *)resource; - -@end - /** * Gets information about a location. * @@ -268,184 +135,6 @@ 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.repositories.commentThreads.comments.getIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataformCloudPlatform - */ -@interface GTLRDataformQuery_ProjectsLocationsRepositoriesCommentThreadsCommentsGetIamPolicy : 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_ProjectsLocationsRepositoriesCommentThreadsCommentsGetIamPolicy - */ -+ (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.repositories.commentThreads.comments.setIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataformCloudPlatform - */ -@interface GTLRDataformQuery_ProjectsLocationsRepositoriesCommentThreadsCommentsSetIamPolicy : 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_ProjectsLocationsRepositoriesCommentThreadsCommentsSetIamPolicy - */ -+ (instancetype)queryWithObject:(GTLRDataform_SetIamPolicyRequest *)object - resource:(NSString *)resource; - -@end - -/** - * Gets the access control policy for a resource. Returns an empty policy if - * the resource exists and does not have a policy set. - * - * Method: dataform.projects.locations.repositories.commentThreads.getIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataformCloudPlatform - */ -@interface GTLRDataformQuery_ProjectsLocationsRepositoriesCommentThreadsGetIamPolicy : 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_ProjectsLocationsRepositoriesCommentThreadsGetIamPolicy - */ -+ (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.repositories.commentThreads.setIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataformCloudPlatform - */ -@interface GTLRDataformQuery_ProjectsLocationsRepositoriesCommentThreadsSetIamPolicy : 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_ProjectsLocationsRepositoriesCommentThreadsSetIamPolicy - */ -+ (instancetype)queryWithObject:(GTLRDataform_SetIamPolicyRequest *)object - resource:(NSString *)resource; - -@end - /** * Applies a Git commit to a Repository. The Repository must not have a value * for `git_remote_settings.url`. diff --git a/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreObjects.m b/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreObjects.m index fa5b17c9c..1f6f29e02 100644 --- a/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreObjects.m +++ b/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreObjects.m @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Dataproc Metastore API (metastore/v1) +// Dataproc Metastore API (metastore/v2) // Description: // The Dataproc Metastore API is used to manage the lifecycle and // configuration of metastore services. @@ -14,232 +14,91 @@ // ---------------------------------------------------------------------------- // Constants -// GTLRDataprocMetastore_AuditLogConfig.logType -NSString * const kGTLRDataprocMetastore_AuditLogConfig_LogType_AdminRead = @"ADMIN_READ"; -NSString * const kGTLRDataprocMetastore_AuditLogConfig_LogType_DataRead = @"DATA_READ"; -NSString * const kGTLRDataprocMetastore_AuditLogConfig_LogType_DataWrite = @"DATA_WRITE"; -NSString * const kGTLRDataprocMetastore_AuditLogConfig_LogType_LogTypeUnspecified = @"LOG_TYPE_UNSPECIFIED"; - -// GTLRDataprocMetastore_BackendMetastore.metastoreType -NSString * const kGTLRDataprocMetastore_BackendMetastore_MetastoreType_Bigquery = @"BIGQUERY"; -NSString * const kGTLRDataprocMetastore_BackendMetastore_MetastoreType_DataprocMetastore = @"DATAPROC_METASTORE"; -NSString * const kGTLRDataprocMetastore_BackendMetastore_MetastoreType_MetastoreTypeUnspecified = @"METASTORE_TYPE_UNSPECIFIED"; - -// GTLRDataprocMetastore_Backup.state -NSString * const kGTLRDataprocMetastore_Backup_State_Active = @"ACTIVE"; -NSString * const kGTLRDataprocMetastore_Backup_State_Creating = @"CREATING"; -NSString * const kGTLRDataprocMetastore_Backup_State_Deleting = @"DELETING"; -NSString * const kGTLRDataprocMetastore_Backup_State_Failed = @"FAILED"; -NSString * const kGTLRDataprocMetastore_Backup_State_Restoring = @"RESTORING"; -NSString * const kGTLRDataprocMetastore_Backup_State_StateUnspecified = @"STATE_UNSPECIFIED"; - -// GTLRDataprocMetastore_DatabaseDump.databaseType -NSString * const kGTLRDataprocMetastore_DatabaseDump_DatabaseType_DatabaseTypeUnspecified = @"DATABASE_TYPE_UNSPECIFIED"; -NSString * const kGTLRDataprocMetastore_DatabaseDump_DatabaseType_Mysql = @"MYSQL"; - -// GTLRDataprocMetastore_DatabaseDump.type -NSString * const kGTLRDataprocMetastore_DatabaseDump_Type_Avro = @"AVRO"; -NSString * const kGTLRDataprocMetastore_DatabaseDump_Type_Mysql = @"MYSQL"; -NSString * const kGTLRDataprocMetastore_DatabaseDump_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; - -// GTLRDataprocMetastore_ExportMetadataRequest.databaseDumpType -NSString * const kGTLRDataprocMetastore_ExportMetadataRequest_DatabaseDumpType_Avro = @"AVRO"; -NSString * const kGTLRDataprocMetastore_ExportMetadataRequest_DatabaseDumpType_Mysql = @"MYSQL"; -NSString * const kGTLRDataprocMetastore_ExportMetadataRequest_DatabaseDumpType_TypeUnspecified = @"TYPE_UNSPECIFIED"; - -// GTLRDataprocMetastore_Federation.state -NSString * const kGTLRDataprocMetastore_Federation_State_Active = @"ACTIVE"; -NSString * const kGTLRDataprocMetastore_Federation_State_Creating = @"CREATING"; -NSString * const kGTLRDataprocMetastore_Federation_State_Deleting = @"DELETING"; -NSString * const kGTLRDataprocMetastore_Federation_State_Error = @"ERROR"; -NSString * const kGTLRDataprocMetastore_Federation_State_StateUnspecified = @"STATE_UNSPECIFIED"; -NSString * const kGTLRDataprocMetastore_Federation_State_Updating = @"UPDATING"; - -// GTLRDataprocMetastore_HiveMetastoreConfig.endpointProtocol -NSString * const kGTLRDataprocMetastore_HiveMetastoreConfig_EndpointProtocol_EndpointProtocolUnspecified = @"ENDPOINT_PROTOCOL_UNSPECIFIED"; -NSString * const kGTLRDataprocMetastore_HiveMetastoreConfig_EndpointProtocol_Grpc = @"GRPC"; -NSString * const kGTLRDataprocMetastore_HiveMetastoreConfig_EndpointProtocol_Thrift = @"THRIFT"; - -// GTLRDataprocMetastore_LatestBackup.state -NSString * const kGTLRDataprocMetastore_LatestBackup_State_Failed = @"FAILED"; -NSString * const kGTLRDataprocMetastore_LatestBackup_State_InProgress = @"IN_PROGRESS"; -NSString * const kGTLRDataprocMetastore_LatestBackup_State_StateUnspecified = @"STATE_UNSPECIFIED"; -NSString * const kGTLRDataprocMetastore_LatestBackup_State_Succeeded = @"SUCCEEDED"; - -// GTLRDataprocMetastore_MaintenanceWindow.dayOfWeek -NSString * const kGTLRDataprocMetastore_MaintenanceWindow_DayOfWeek_DayOfWeekUnspecified = @"DAY_OF_WEEK_UNSPECIFIED"; -NSString * const kGTLRDataprocMetastore_MaintenanceWindow_DayOfWeek_Friday = @"FRIDAY"; -NSString * const kGTLRDataprocMetastore_MaintenanceWindow_DayOfWeek_Monday = @"MONDAY"; -NSString * const kGTLRDataprocMetastore_MaintenanceWindow_DayOfWeek_Saturday = @"SATURDAY"; -NSString * const kGTLRDataprocMetastore_MaintenanceWindow_DayOfWeek_Sunday = @"SUNDAY"; -NSString * const kGTLRDataprocMetastore_MaintenanceWindow_DayOfWeek_Thursday = @"THURSDAY"; -NSString * const kGTLRDataprocMetastore_MaintenanceWindow_DayOfWeek_Tuesday = @"TUESDAY"; -NSString * const kGTLRDataprocMetastore_MaintenanceWindow_DayOfWeek_Wednesday = @"WEDNESDAY"; - -// GTLRDataprocMetastore_MetadataExport.databaseDumpType -NSString * const kGTLRDataprocMetastore_MetadataExport_DatabaseDumpType_Avro = @"AVRO"; -NSString * const kGTLRDataprocMetastore_MetadataExport_DatabaseDumpType_Mysql = @"MYSQL"; -NSString * const kGTLRDataprocMetastore_MetadataExport_DatabaseDumpType_TypeUnspecified = @"TYPE_UNSPECIFIED"; - -// GTLRDataprocMetastore_MetadataExport.state -NSString * const kGTLRDataprocMetastore_MetadataExport_State_Cancelled = @"CANCELLED"; -NSString * const kGTLRDataprocMetastore_MetadataExport_State_Failed = @"FAILED"; -NSString * const kGTLRDataprocMetastore_MetadataExport_State_Running = @"RUNNING"; -NSString * const kGTLRDataprocMetastore_MetadataExport_State_StateUnspecified = @"STATE_UNSPECIFIED"; -NSString * const kGTLRDataprocMetastore_MetadataExport_State_Succeeded = @"SUCCEEDED"; - -// GTLRDataprocMetastore_MetadataImport.state -NSString * const kGTLRDataprocMetastore_MetadataImport_State_Failed = @"FAILED"; -NSString * const kGTLRDataprocMetastore_MetadataImport_State_Running = @"RUNNING"; -NSString * const kGTLRDataprocMetastore_MetadataImport_State_StateUnspecified = @"STATE_UNSPECIFIED"; -NSString * const kGTLRDataprocMetastore_MetadataImport_State_Succeeded = @"SUCCEEDED"; -NSString * const kGTLRDataprocMetastore_MetadataImport_State_Updating = @"UPDATING"; - -// GTLRDataprocMetastore_MigrationExecution.phase -NSString * const kGTLRDataprocMetastore_MigrationExecution_Phase_Cutover = @"CUTOVER"; -NSString * const kGTLRDataprocMetastore_MigrationExecution_Phase_PhaseUnspecified = @"PHASE_UNSPECIFIED"; -NSString * const kGTLRDataprocMetastore_MigrationExecution_Phase_Replication = @"REPLICATION"; - -// GTLRDataprocMetastore_MigrationExecution.state -NSString * const kGTLRDataprocMetastore_MigrationExecution_State_AwaitingUserAction = @"AWAITING_USER_ACTION"; -NSString * const kGTLRDataprocMetastore_MigrationExecution_State_Cancelled = @"CANCELLED"; -NSString * const kGTLRDataprocMetastore_MigrationExecution_State_Cancelling = @"CANCELLING"; -NSString * const kGTLRDataprocMetastore_MigrationExecution_State_Deleting = @"DELETING"; -NSString * const kGTLRDataprocMetastore_MigrationExecution_State_Failed = @"FAILED"; -NSString * const kGTLRDataprocMetastore_MigrationExecution_State_Running = @"RUNNING"; -NSString * const kGTLRDataprocMetastore_MigrationExecution_State_Starting = @"STARTING"; -NSString * const kGTLRDataprocMetastore_MigrationExecution_State_StateUnspecified = @"STATE_UNSPECIFIED"; -NSString * const kGTLRDataprocMetastore_MigrationExecution_State_Succeeded = @"SUCCEEDED"; - -// GTLRDataprocMetastore_Restore.state -NSString * const kGTLRDataprocMetastore_Restore_State_Cancelled = @"CANCELLED"; -NSString * const kGTLRDataprocMetastore_Restore_State_Failed = @"FAILED"; -NSString * const kGTLRDataprocMetastore_Restore_State_Running = @"RUNNING"; -NSString * const kGTLRDataprocMetastore_Restore_State_StateUnspecified = @"STATE_UNSPECIFIED"; -NSString * const kGTLRDataprocMetastore_Restore_State_Succeeded = @"SUCCEEDED"; - -// GTLRDataprocMetastore_Restore.type -NSString * const kGTLRDataprocMetastore_Restore_Type_Full = @"FULL"; -NSString * const kGTLRDataprocMetastore_Restore_Type_MetadataOnly = @"METADATA_ONLY"; -NSString * const kGTLRDataprocMetastore_Restore_Type_RestoreTypeUnspecified = @"RESTORE_TYPE_UNSPECIFIED"; - -// GTLRDataprocMetastore_RestoreServiceRequest.restoreType -NSString * const kGTLRDataprocMetastore_RestoreServiceRequest_RestoreType_Full = @"FULL"; -NSString * const kGTLRDataprocMetastore_RestoreServiceRequest_RestoreType_MetadataOnly = @"METADATA_ONLY"; -NSString * const kGTLRDataprocMetastore_RestoreServiceRequest_RestoreType_RestoreTypeUnspecified = @"RESTORE_TYPE_UNSPECIFIED"; - -// GTLRDataprocMetastore_ScalingConfig.instanceSize -NSString * const kGTLRDataprocMetastore_ScalingConfig_InstanceSize_ExtraLarge = @"EXTRA_LARGE"; -NSString * const kGTLRDataprocMetastore_ScalingConfig_InstanceSize_ExtraSmall = @"EXTRA_SMALL"; -NSString * const kGTLRDataprocMetastore_ScalingConfig_InstanceSize_InstanceSizeUnspecified = @"INSTANCE_SIZE_UNSPECIFIED"; -NSString * const kGTLRDataprocMetastore_ScalingConfig_InstanceSize_Large = @"LARGE"; -NSString * const kGTLRDataprocMetastore_ScalingConfig_InstanceSize_Medium = @"MEDIUM"; -NSString * const kGTLRDataprocMetastore_ScalingConfig_InstanceSize_Small = @"SMALL"; - -// GTLRDataprocMetastore_Service.databaseType -NSString * const kGTLRDataprocMetastore_Service_DatabaseType_DatabaseTypeUnspecified = @"DATABASE_TYPE_UNSPECIFIED"; -NSString * const kGTLRDataprocMetastore_Service_DatabaseType_Mysql = @"MYSQL"; -NSString * const kGTLRDataprocMetastore_Service_DatabaseType_Spanner = @"SPANNER"; - -// GTLRDataprocMetastore_Service.releaseChannel -NSString * const kGTLRDataprocMetastore_Service_ReleaseChannel_Canary = @"CANARY"; -NSString * const kGTLRDataprocMetastore_Service_ReleaseChannel_ReleaseChannelUnspecified = @"RELEASE_CHANNEL_UNSPECIFIED"; -NSString * const kGTLRDataprocMetastore_Service_ReleaseChannel_Stable = @"STABLE"; - -// GTLRDataprocMetastore_Service.state -NSString * const kGTLRDataprocMetastore_Service_State_Active = @"ACTIVE"; -NSString * const kGTLRDataprocMetastore_Service_State_Autoscaling = @"AUTOSCALING"; -NSString * const kGTLRDataprocMetastore_Service_State_Creating = @"CREATING"; -NSString * const kGTLRDataprocMetastore_Service_State_Deleting = @"DELETING"; -NSString * const kGTLRDataprocMetastore_Service_State_Error = @"ERROR"; -NSString * const kGTLRDataprocMetastore_Service_State_Migrating = @"MIGRATING"; -NSString * const kGTLRDataprocMetastore_Service_State_StateUnspecified = @"STATE_UNSPECIFIED"; -NSString * const kGTLRDataprocMetastore_Service_State_Suspended = @"SUSPENDED"; -NSString * const kGTLRDataprocMetastore_Service_State_Suspending = @"SUSPENDING"; -NSString * const kGTLRDataprocMetastore_Service_State_Updating = @"UPDATING"; - -// GTLRDataprocMetastore_Service.tier -NSString * const kGTLRDataprocMetastore_Service_Tier_Developer = @"DEVELOPER"; -NSString * const kGTLRDataprocMetastore_Service_Tier_Enterprise = @"ENTERPRISE"; -NSString * const kGTLRDataprocMetastore_Service_Tier_TierUnspecified = @"TIER_UNSPECIFIED"; - -// GTLRDataprocMetastore_TelemetryConfig.logFormat -NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFormat_Json = @"JSON"; -NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFormat_Legacy = @"LEGACY"; -NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFormat_LogFormatUnspecified = @"LOG_FORMAT_UNSPECIFIED"; - -// ---------------------------------------------------------------------------- -// -// GTLRDataprocMetastore_AlterMetadataResourceLocationRequest -// - -@implementation GTLRDataprocMetastore_AlterMetadataResourceLocationRequest -@dynamic locationUri, resourceName; -@end +// GTLRDataprocMetastore_GoogleCloudMetastoreV2Backup.state +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Backup_State_Active = @"ACTIVE"; +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Backup_State_Creating = @"CREATING"; +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Backup_State_Deleting = @"DELETING"; +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Backup_State_Failed = @"FAILED"; +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Backup_State_Restoring = @"RESTORING"; +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Backup_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRDataprocMetastore_GoogleCloudMetastoreV2DatabaseDump.type +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2DatabaseDump_Type_Avro = @"AVRO"; +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2DatabaseDump_Type_Mysql = @"MYSQL"; +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2DatabaseDump_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; -// ---------------------------------------------------------------------------- -// -// GTLRDataprocMetastore_AlterMetadataResourceLocationResponse -// +// GTLRDataprocMetastore_GoogleCloudMetastoreV2ExportMetadataRequest.databaseDumpType +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2ExportMetadataRequest_DatabaseDumpType_Avro = @"AVRO"; +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2ExportMetadataRequest_DatabaseDumpType_Mysql = @"MYSQL"; +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2ExportMetadataRequest_DatabaseDumpType_TypeUnspecified = @"TYPE_UNSPECIFIED"; -@implementation GTLRDataprocMetastore_AlterMetadataResourceLocationResponse -@end +// GTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig.endpointProtocol +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig_EndpointProtocol_EndpointProtocolUnspecified = @"ENDPOINT_PROTOCOL_UNSPECIFIED"; +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig_EndpointProtocol_Grpc = @"GRPC"; +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig_EndpointProtocol_Thrift = @"THRIFT"; +// GTLRDataprocMetastore_GoogleCloudMetastoreV2LatestBackup.state +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2LatestBackup_State_Failed = @"FAILED"; +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2LatestBackup_State_InProgress = @"IN_PROGRESS"; +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2LatestBackup_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2LatestBackup_State_Succeeded = @"SUCCEEDED"; + +// GTLRDataprocMetastore_GoogleCloudMetastoreV2RestoreServiceRequest.restoreType +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2RestoreServiceRequest_RestoreType_Full = @"FULL"; +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2RestoreServiceRequest_RestoreType_MetadataOnly = @"METADATA_ONLY"; +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2RestoreServiceRequest_RestoreType_RestoreTypeUnspecified = @"RESTORE_TYPE_UNSPECIFIED"; + +// GTLRDataprocMetastore_GoogleCloudMetastoreV2Service.state +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Service_State_Active = @"ACTIVE"; +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Service_State_Creating = @"CREATING"; +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Service_State_Deleting = @"DELETING"; +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Service_State_Error = @"ERROR"; +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Service_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Service_State_Suspended = @"SUSPENDED"; +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Service_State_Suspending = @"SUSPENDING"; +NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Service_State_Updating = @"UPDATING"; // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_AlterTablePropertiesRequest +// GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaAlterMetadataResourceLocationResponse // -@implementation GTLRDataprocMetastore_AlterTablePropertiesRequest -@dynamic properties, tableName, updateMask; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaAlterMetadataResourceLocationResponse @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_AlterTablePropertiesRequest_Properties +// GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaCancelMigrationResponse // -@implementation GTLRDataprocMetastore_AlterTablePropertiesRequest_Properties - -+ (Class)classForAdditionalProperties { - return [NSString class]; -} - +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaCancelMigrationResponse +@dynamic migrationExecution; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_AuditConfig +// GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaCompleteMigrationResponse // -@implementation GTLRDataprocMetastore_AuditConfig -@dynamic auditLogConfigs, service; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"auditLogConfigs" : [GTLRDataprocMetastore_AuditLogConfig class] - }; - return map; -} - +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaCompleteMigrationResponse +@dynamic migrationExecution; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_AuditLogConfig +// GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaCustomRegionMetadata // -@implementation GTLRDataprocMetastore_AuditLogConfig -@dynamic exemptedMembers, logType; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaCustomRegionMetadata +@dynamic optionalReadOnlyRegions, requiredReadWriteRegions, witnessRegion; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"exemptedMembers" : [NSString class] + @"optionalReadOnlyRegions" : [NSString class], + @"requiredReadWriteRegions" : [NSString class] }; return map; } @@ -249,30 +108,20 @@ @implementation GTLRDataprocMetastore_AuditLogConfig // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_AutoscalingConfig +// GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaErrorDetails // -@implementation GTLRDataprocMetastore_AutoscalingConfig -@dynamic autoscalingEnabled, autoscalingFactor, limitConfig; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDataprocMetastore_AuxiliaryVersionConfig -// - -@implementation GTLRDataprocMetastore_AuxiliaryVersionConfig -@dynamic configOverrides, networkConfig, version; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaErrorDetails +@dynamic details; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_AuxiliaryVersionConfig_ConfigOverrides +// GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaErrorDetails_Details // -@implementation GTLRDataprocMetastore_AuxiliaryVersionConfig_ConfigOverrides +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaErrorDetails_Details + (Class)classForAdditionalProperties { return [NSString class]; @@ -283,30 +132,27 @@ + (Class)classForAdditionalProperties { // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_BackendMetastore +// GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaHiveMetastoreVersion // -@implementation GTLRDataprocMetastore_BackendMetastore -@dynamic metastoreType, name; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaHiveMetastoreVersion +@dynamic isDefault, version; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_Backup +// GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaLocationMetadata // -@implementation GTLRDataprocMetastore_Backup -@dynamic createTime, descriptionProperty, endTime, name, restoringServices, - serviceRevision, state; - -+ (NSDictionary *)propertyToJSONKeyMap { - return @{ @"descriptionProperty" : @"description" }; -} +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaLocationMetadata +@dynamic customRegionMetadata, multiRegionMetadata, + supportedHiveMetastoreVersions; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"restoringServices" : [NSString class] + @"customRegionMetadata" : [GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaCustomRegionMetadata class], + @"supportedHiveMetastoreVersions" : [GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaHiveMetastoreVersion class] }; return map; } @@ -316,97 +162,96 @@ @implementation GTLRDataprocMetastore_Backup // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_Binding +// GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaMoveTableToDatabaseResponse // -@implementation GTLRDataprocMetastore_Binding -@dynamic condition, members, role; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"members" : [NSString class] - }; - return map; -} - +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaMoveTableToDatabaseResponse @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_CancelMigrationRequest +// GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaMultiRegionMetadata // -@implementation GTLRDataprocMetastore_CancelMigrationRequest +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaMultiRegionMetadata +@dynamic constituentRegions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"constituentRegions" : [NSString class] + }; + return map; +} + @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_CancelOperationRequest +// GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaOperationMetadata // -@implementation GTLRDataprocMetastore_CancelOperationRequest +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaOperationMetadata +@dynamic apiVersion, createTime, endTime, requestedCancellation, statusMessage, + target, verb; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_CdcConfig +// GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaQueryMetadataResponse // -@implementation GTLRDataprocMetastore_CdcConfig -@dynamic bucket, password, reverseProxySubnet, rootPath, subnetIpRange, - username, vpcNetwork; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaQueryMetadataResponse +@dynamic resultManifestUri; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_CloudSQLConnectionConfig +// GTLRDataprocMetastore_GoogleCloudMetastoreV1AlterMetadataResourceLocationResponse // -@implementation GTLRDataprocMetastore_CloudSQLConnectionConfig -@dynamic hiveDatabaseName, instanceConnectionName, ipAddress, natSubnet, - password, port, proxySubnet, username; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1AlterMetadataResourceLocationResponse @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_CloudSQLMigrationConfig +// GTLRDataprocMetastore_GoogleCloudMetastoreV1betaAlterMetadataResourceLocationResponse // -@implementation GTLRDataprocMetastore_CloudSQLMigrationConfig -@dynamic cdcConfig, cloudSqlConnectionConfig; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1betaAlterMetadataResourceLocationResponse @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_CompleteMigrationRequest +// GTLRDataprocMetastore_GoogleCloudMetastoreV1betaCancelMigrationResponse // -@implementation GTLRDataprocMetastore_CompleteMigrationRequest +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1betaCancelMigrationResponse +@dynamic migrationExecution; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_Consumer +// GTLRDataprocMetastore_GoogleCloudMetastoreV1betaCompleteMigrationResponse // -@implementation GTLRDataprocMetastore_Consumer -@dynamic endpointLocation, endpointUri, subnetwork; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1betaCompleteMigrationResponse +@dynamic migrationExecution; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_CustomRegionMetadata +// GTLRDataprocMetastore_GoogleCloudMetastoreV1betaCustomRegionMetadata // -@implementation GTLRDataprocMetastore_CustomRegionMetadata +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1betaCustomRegionMetadata @dynamic optionalReadOnlyRegions, requiredReadWriteRegions, witnessRegion; + (NSDictionary *)arrayPropertyToClassMap { @@ -422,62 +267,53 @@ @implementation GTLRDataprocMetastore_CustomRegionMetadata // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_DatabaseDump -// - -@implementation GTLRDataprocMetastore_DatabaseDump -@dynamic databaseType, gcsUri, sourceDatabase, type; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDataprocMetastore_DataCatalogConfig +// GTLRDataprocMetastore_GoogleCloudMetastoreV1betaErrorDetails // -@implementation GTLRDataprocMetastore_DataCatalogConfig -@dynamic enabled; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1betaErrorDetails +@dynamic details; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_Empty +// GTLRDataprocMetastore_GoogleCloudMetastoreV1betaErrorDetails_Details // -@implementation GTLRDataprocMetastore_Empty -@end - +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1betaErrorDetails_Details -// ---------------------------------------------------------------------------- -// -// GTLRDataprocMetastore_EncryptionConfig -// ++ (Class)classForAdditionalProperties { + return [NSString class]; +} -@implementation GTLRDataprocMetastore_EncryptionConfig -@dynamic kmsKey; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_ErrorDetails +// GTLRDataprocMetastore_GoogleCloudMetastoreV1betaHiveMetastoreVersion // -@implementation GTLRDataprocMetastore_ErrorDetails -@dynamic details; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1betaHiveMetastoreVersion +@dynamic isDefault, version; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_ErrorDetails_Details +// GTLRDataprocMetastore_GoogleCloudMetastoreV1betaLocationMetadata // -@implementation GTLRDataprocMetastore_ErrorDetails_Details +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1betaLocationMetadata +@dynamic customRegionMetadata, multiRegionMetadata, + supportedHiveMetastoreVersions; -+ (Class)classForAdditionalProperties { - return [NSString class]; ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"customRegionMetadata" : [GTLRDataprocMetastore_GoogleCloudMetastoreV1betaCustomRegionMetadata class], + @"supportedHiveMetastoreVersions" : [GTLRDataprocMetastore_GoogleCloudMetastoreV1betaHiveMetastoreVersion class] + }; + return map; } @end @@ -485,24 +321,26 @@ + (Class)classForAdditionalProperties { // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_ExportMetadataRequest +// GTLRDataprocMetastore_GoogleCloudMetastoreV1betaMoveTableToDatabaseResponse // -@implementation GTLRDataprocMetastore_ExportMetadataRequest -@dynamic databaseDumpType, destinationGcsFolder, requestId; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1betaMoveTableToDatabaseResponse @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_Expr +// GTLRDataprocMetastore_GoogleCloudMetastoreV1betaMultiRegionMetadata // -@implementation GTLRDataprocMetastore_Expr -@dynamic descriptionProperty, expression, location, title; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1betaMultiRegionMetadata +@dynamic constituentRegions; -+ (NSDictionary *)propertyToJSONKeyMap { - return @{ @"descriptionProperty" : @"description" }; ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"constituentRegions" : [NSString class] + }; + return map; } @end @@ -510,38 +348,39 @@ @implementation GTLRDataprocMetastore_Expr // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_Federation +// GTLRDataprocMetastore_GoogleCloudMetastoreV1betaOperationMetadata // -@implementation GTLRDataprocMetastore_Federation -@dynamic backendMetastores, createTime, endpointUri, labels, name, state, - stateMessage, uid, updateTime, version; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1betaOperationMetadata +@dynamic apiVersion, createTime, endTime, requestedCancellation, statusMessage, + target, verb; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_Federation_BackendMetastores +// GTLRDataprocMetastore_GoogleCloudMetastoreV1betaQueryMetadataResponse // -@implementation GTLRDataprocMetastore_Federation_BackendMetastores - -+ (Class)classForAdditionalProperties { - return [GTLRDataprocMetastore_BackendMetastore class]; -} - +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1betaQueryMetadataResponse +@dynamic resultManifestUri; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_Federation_Labels +// GTLRDataprocMetastore_GoogleCloudMetastoreV1CustomRegionMetadata // -@implementation GTLRDataprocMetastore_Federation_Labels +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1CustomRegionMetadata +@dynamic optionalReadOnlyRegions, requiredReadWriteRegions, witnessRegion; -+ (Class)classForAdditionalProperties { - return [NSString class]; ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"optionalReadOnlyRegions" : [NSString class], + @"requiredReadWriteRegions" : [NSString class] + }; + return map; } @end @@ -549,35 +388,20 @@ + (Class)classForAdditionalProperties { // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_HiveMetastoreConfig +// GTLRDataprocMetastore_GoogleCloudMetastoreV1ErrorDetails // -@implementation GTLRDataprocMetastore_HiveMetastoreConfig -@dynamic auxiliaryVersions, configOverrides, endpointProtocol, kerberosConfig, - version; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDataprocMetastore_HiveMetastoreConfig_AuxiliaryVersions -// - -@implementation GTLRDataprocMetastore_HiveMetastoreConfig_AuxiliaryVersions - -+ (Class)classForAdditionalProperties { - return [GTLRDataprocMetastore_AuxiliaryVersionConfig class]; -} - +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1ErrorDetails +@dynamic details; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_HiveMetastoreConfig_ConfigOverrides +// GTLRDataprocMetastore_GoogleCloudMetastoreV1ErrorDetails_Details // -@implementation GTLRDataprocMetastore_HiveMetastoreConfig_ConfigOverrides +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1ErrorDetails_Details + (Class)classForAdditionalProperties { return [NSString class]; @@ -588,175 +412,111 @@ + (Class)classForAdditionalProperties { // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_HiveMetastoreVersion +// GTLRDataprocMetastore_GoogleCloudMetastoreV1HiveMetastoreVersion // -@implementation GTLRDataprocMetastore_HiveMetastoreVersion +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1HiveMetastoreVersion @dynamic isDefault, version; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_KerberosConfig +// GTLRDataprocMetastore_GoogleCloudMetastoreV1LocationMetadata // -@implementation GTLRDataprocMetastore_KerberosConfig -@dynamic keytab, krb5ConfigGcsUri, principal; -@end - +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1LocationMetadata +@dynamic customRegionMetadata, multiRegionMetadata, + supportedHiveMetastoreVersions; -// ---------------------------------------------------------------------------- -// -// GTLRDataprocMetastore_LatestBackup -// ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"customRegionMetadata" : [GTLRDataprocMetastore_GoogleCloudMetastoreV1CustomRegionMetadata class], + @"supportedHiveMetastoreVersions" : [GTLRDataprocMetastore_GoogleCloudMetastoreV1HiveMetastoreVersion class] + }; + return map; +} -@implementation GTLRDataprocMetastore_LatestBackup -@dynamic backupId, duration, startTime, state; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_LimitConfig +// GTLRDataprocMetastore_GoogleCloudMetastoreV1MoveTableToDatabaseResponse // -@implementation GTLRDataprocMetastore_LimitConfig -@dynamic maxScalingFactor, minScalingFactor; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1MoveTableToDatabaseResponse @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_ListBackupsResponse +// GTLRDataprocMetastore_GoogleCloudMetastoreV1MultiRegionMetadata // -@implementation GTLRDataprocMetastore_ListBackupsResponse -@dynamic backups, nextPageToken, unreachable; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1MultiRegionMetadata +@dynamic constituentRegions; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"backups" : [GTLRDataprocMetastore_Backup class], - @"unreachable" : [NSString class] + @"constituentRegions" : [NSString class] }; return map; } -+ (NSString *)collectionItemsKey { - return @"backups"; -} - @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_ListFederationsResponse +// GTLRDataprocMetastore_GoogleCloudMetastoreV1OperationMetadata // -@implementation GTLRDataprocMetastore_ListFederationsResponse -@dynamic federations, nextPageToken, unreachable; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"federations" : [GTLRDataprocMetastore_Federation class], - @"unreachable" : [NSString class] - }; - return map; -} - -+ (NSString *)collectionItemsKey { - return @"federations"; -} - +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1OperationMetadata +@dynamic apiVersion, createTime, endTime, requestedCancellation, statusMessage, + target, verb; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_ListLocationsResponse +// GTLRDataprocMetastore_GoogleCloudMetastoreV1QueryMetadataResponse // -@implementation GTLRDataprocMetastore_ListLocationsResponse -@dynamic locations, nextPageToken; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"locations" : [GTLRDataprocMetastore_Location class] - }; - return map; -} - -+ (NSString *)collectionItemsKey { - return @"locations"; -} - +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV1QueryMetadataResponse +@dynamic resultManifestUri; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_ListMetadataImportsResponse +// GTLRDataprocMetastore_GoogleCloudMetastoreV2AlterMetadataResourceLocationRequest // -@implementation GTLRDataprocMetastore_ListMetadataImportsResponse -@dynamic metadataImports, nextPageToken, unreachable; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"metadataImports" : [GTLRDataprocMetastore_MetadataImport class], - @"unreachable" : [NSString class] - }; - return map; -} - -+ (NSString *)collectionItemsKey { - return @"metadataImports"; -} - +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2AlterMetadataResourceLocationRequest +@dynamic locationUri, resourceName; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_ListMigrationExecutionsResponse +// GTLRDataprocMetastore_GoogleCloudMetastoreV2AlterTablePropertiesRequest // -@implementation GTLRDataprocMetastore_ListMigrationExecutionsResponse -@dynamic migrationExecutions, nextPageToken, unreachable; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"migrationExecutions" : [GTLRDataprocMetastore_MigrationExecution class], - @"unreachable" : [NSString class] - }; - return map; -} - -+ (NSString *)collectionItemsKey { - return @"migrationExecutions"; -} - +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2AlterTablePropertiesRequest +@dynamic properties, tableName, updateMask; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_ListOperationsResponse +// GTLRDataprocMetastore_GoogleCloudMetastoreV2AlterTablePropertiesRequest_Properties // -@implementation GTLRDataprocMetastore_ListOperationsResponse -@dynamic nextPageToken, operations; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"operations" : [GTLRDataprocMetastore_Operation class] - }; - return map; -} +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2AlterTablePropertiesRequest_Properties -+ (NSString *)collectionItemsKey { - return @"operations"; ++ (Class)classForAdditionalProperties { + return [NSString class]; } @end @@ -764,43 +524,28 @@ + (NSString *)collectionItemsKey { // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_ListServicesResponse +// GTLRDataprocMetastore_GoogleCloudMetastoreV2AuxiliaryVersionConfig // -@implementation GTLRDataprocMetastore_ListServicesResponse -@dynamic nextPageToken, services, unreachable; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2AuxiliaryVersionConfig +@dynamic configOverrides, endpoints, version; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"services" : [GTLRDataprocMetastore_Service class], - @"unreachable" : [NSString class] + @"endpoints" : [GTLRDataprocMetastore_GoogleCloudMetastoreV2Endpoint class] }; return map; } -+ (NSString *)collectionItemsKey { - return @"services"; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDataprocMetastore_Location -// - -@implementation GTLRDataprocMetastore_Location -@dynamic displayName, labels, locationId, metadata, name; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_Location_Labels +// GTLRDataprocMetastore_GoogleCloudMetastoreV2AuxiliaryVersionConfig_ConfigOverrides // -@implementation GTLRDataprocMetastore_Location_Labels +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2AuxiliaryVersionConfig_ConfigOverrides + (Class)classForAdditionalProperties { return [NSString class]; @@ -811,31 +556,20 @@ + (Class)classForAdditionalProperties { // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_Location_Metadata +// GTLRDataprocMetastore_GoogleCloudMetastoreV2Backup // -@implementation GTLRDataprocMetastore_Location_Metadata +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2Backup +@dynamic createTime, descriptionProperty, endTime, name, restoringServices, + serviceRevision, state; -+ (Class)classForAdditionalProperties { - return [NSObject class]; ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; } -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDataprocMetastore_LocationMetadata -// - -@implementation GTLRDataprocMetastore_LocationMetadata -@dynamic customRegionMetadata, multiRegionMetadata, - supportedHiveMetastoreVersions; - + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"customRegionMetadata" : [GTLRDataprocMetastore_CustomRegionMetadata class], - @"supportedHiveMetastoreVersions" : [GTLRDataprocMetastore_HiveMetastoreVersion class] + @"restoringServices" : [NSString class] }; return map; } @@ -845,112 +579,86 @@ @implementation GTLRDataprocMetastore_LocationMetadata // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_MaintenanceWindow +// GTLRDataprocMetastore_GoogleCloudMetastoreV2DatabaseDump // -@implementation GTLRDataprocMetastore_MaintenanceWindow -@dynamic dayOfWeek, hourOfDay; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2DatabaseDump +@dynamic gcsUri, type; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_MetadataExport +// GTLRDataprocMetastore_GoogleCloudMetastoreV2DataCatalogConfig // -@implementation GTLRDataprocMetastore_MetadataExport -@dynamic databaseDumpType, destinationGcsUri, endTime, startTime, state; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2DataCatalogConfig +@dynamic enabled; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_MetadataImport +// GTLRDataprocMetastore_GoogleCloudMetastoreV2EncryptionConfig // -@implementation GTLRDataprocMetastore_MetadataImport -@dynamic createTime, databaseDump, descriptionProperty, endTime, name, state, - updateTime; - -+ (NSDictionary *)propertyToJSONKeyMap { - return @{ @"descriptionProperty" : @"description" }; -} - +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2EncryptionConfig @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_MetadataIntegration +// GTLRDataprocMetastore_GoogleCloudMetastoreV2Endpoint // -@implementation GTLRDataprocMetastore_MetadataIntegration -@dynamic dataCatalogConfig; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2Endpoint +@dynamic endpointUri, region; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_MetadataManagementActivity +// GTLRDataprocMetastore_GoogleCloudMetastoreV2ExportMetadataRequest // -@implementation GTLRDataprocMetastore_MetadataManagementActivity -@dynamic metadataExports, restores; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"metadataExports" : [GTLRDataprocMetastore_MetadataExport class], - @"restores" : [GTLRDataprocMetastore_Restore class] - }; - return map; -} - +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2ExportMetadataRequest +@dynamic databaseDumpType, destinationGcsFolder, requestId; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_MigrationExecution +// GTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig // -@implementation GTLRDataprocMetastore_MigrationExecution -@dynamic cloudSqlMigrationConfig, createTime, endTime, name, phase, state, - stateMessage; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig +@dynamic auxiliaryVersions, configOverrides, endpointProtocol, version; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_MoveTableToDatabaseRequest +// GTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig_AuxiliaryVersions // -@implementation GTLRDataprocMetastore_MoveTableToDatabaseRequest -@dynamic dbName, destinationDbName, tableName; -@end +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig_AuxiliaryVersions ++ (Class)classForAdditionalProperties { + return [GTLRDataprocMetastore_GoogleCloudMetastoreV2AuxiliaryVersionConfig class]; +} -// ---------------------------------------------------------------------------- -// -// GTLRDataprocMetastore_MoveTableToDatabaseResponse -// - -@implementation GTLRDataprocMetastore_MoveTableToDatabaseResponse @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_MultiRegionMetadata +// GTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig_ConfigOverrides // -@implementation GTLRDataprocMetastore_MultiRegionMetadata -@dynamic constituentRegions; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig_ConfigOverrides -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"constituentRegions" : [NSString class] - }; - return map; ++ (Class)classForAdditionalProperties { + return [NSString class]; } @end @@ -958,17 +666,14 @@ @implementation GTLRDataprocMetastore_MultiRegionMetadata // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_NetworkConfig +// GTLRDataprocMetastore_GoogleCloudMetastoreV2ImportMetadataRequest // -@implementation GTLRDataprocMetastore_NetworkConfig -@dynamic consumers; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2ImportMetadataRequest +@dynamic databaseDump, descriptionProperty, requestId; -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"consumers" : [GTLRDataprocMetastore_Consumer class] - }; - return map; ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; } @end @@ -976,37 +681,32 @@ @implementation GTLRDataprocMetastore_NetworkConfig // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_Operation +// GTLRDataprocMetastore_GoogleCloudMetastoreV2LatestBackup // -@implementation GTLRDataprocMetastore_Operation -@dynamic done, error, metadata, name, response; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2LatestBackup +@dynamic backupId, duration, startTime, state; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_Operation_Metadata +// GTLRDataprocMetastore_GoogleCloudMetastoreV2ListBackupsResponse // -@implementation GTLRDataprocMetastore_Operation_Metadata +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2ListBackupsResponse +@dynamic backups, nextPageToken, unreachable; -+ (Class)classForAdditionalProperties { - return [NSObject class]; ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"backups" : [GTLRDataprocMetastore_GoogleCloudMetastoreV2Backup class], + @"unreachable" : [NSString class] + }; + return map; } -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDataprocMetastore_Operation_Response -// - -@implementation GTLRDataprocMetastore_Operation_Response - -+ (Class)classForAdditionalProperties { - return [NSObject class]; ++ (NSString *)collectionItemsKey { + return @"backups"; } @end @@ -1014,94 +714,83 @@ + (Class)classForAdditionalProperties { // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_OperationMetadata -// - -@implementation GTLRDataprocMetastore_OperationMetadata -@dynamic apiVersion, createTime, endTime, requestedCancellation, statusMessage, - target, verb; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDataprocMetastore_Policy +// GTLRDataprocMetastore_GoogleCloudMetastoreV2ListServicesResponse // -@implementation GTLRDataprocMetastore_Policy -@dynamic auditConfigs, bindings, ETag, version; - -+ (NSDictionary *)propertyToJSONKeyMap { - return @{ @"ETag" : @"etag" }; -} +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2ListServicesResponse +@dynamic nextPageToken, services, unreachable; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"auditConfigs" : [GTLRDataprocMetastore_AuditConfig class], - @"bindings" : [GTLRDataprocMetastore_Binding class] + @"services" : [GTLRDataprocMetastore_GoogleCloudMetastoreV2Service class], + @"unreachable" : [NSString class] }; return map; } ++ (NSString *)collectionItemsKey { + return @"services"; +} + @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_QueryMetadataRequest +// GTLRDataprocMetastore_GoogleCloudMetastoreV2MetadataIntegration // -@implementation GTLRDataprocMetastore_QueryMetadataRequest -@dynamic query; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2MetadataIntegration +@dynamic dataCatalogConfig; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_QueryMetadataResponse +// GTLRDataprocMetastore_GoogleCloudMetastoreV2MoveTableToDatabaseRequest // -@implementation GTLRDataprocMetastore_QueryMetadataResponse -@dynamic resultManifestUri; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2MoveTableToDatabaseRequest +@dynamic dbName, destinationDbName, tableName; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_Restore +// GTLRDataprocMetastore_GoogleCloudMetastoreV2QueryMetadataRequest // -@implementation GTLRDataprocMetastore_Restore -@dynamic backup, backupLocation, details, endTime, startTime, state, type; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2QueryMetadataRequest +@dynamic query; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_RestoreServiceRequest +// GTLRDataprocMetastore_GoogleCloudMetastoreV2RestoreServiceRequest // -@implementation GTLRDataprocMetastore_RestoreServiceRequest +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2RestoreServiceRequest @dynamic backup, backupLocation, requestId, restoreType; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_ScalingConfig +// GTLRDataprocMetastore_GoogleCloudMetastoreV2ScalingConfig // -@implementation GTLRDataprocMetastore_ScalingConfig -@dynamic autoscalingConfig, instanceSize, scalingFactor; +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2ScalingConfig +@dynamic scalingFactor; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_ScheduledBackup +// GTLRDataprocMetastore_GoogleCloudMetastoreV2ScheduledBackup // -@implementation GTLRDataprocMetastore_ScheduledBackup +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2ScheduledBackup @dynamic backupLocation, cronSchedule, enabled, latestBackup, nextScheduledTime, timeZone; @end @@ -1109,35 +798,30 @@ @implementation GTLRDataprocMetastore_ScheduledBackup // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_Secret +// GTLRDataprocMetastore_GoogleCloudMetastoreV2Service // -@implementation GTLRDataprocMetastore_Secret -@dynamic cloudSecret; -@end +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2Service +@dynamic createTime, encryptionConfig, endpoints, hiveMetastoreConfig, labels, + metadataIntegration, name, scalingConfig, scheduledBackup, state, + stateMessage, uid, updateTime, warehouseGcsUri; ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"endpoints" : [GTLRDataprocMetastore_GoogleCloudMetastoreV2Endpoint class] + }; + return map; +} -// ---------------------------------------------------------------------------- -// -// GTLRDataprocMetastore_Service -// - -@implementation GTLRDataprocMetastore_Service -@dynamic artifactGcsUri, createTime, databaseType, deletionProtection, - encryptionConfig, endpointUri, hiveMetastoreConfig, labels, - maintenanceWindow, metadataIntegration, metadataManagementActivity, - name, network, networkConfig, port, releaseChannel, scalingConfig, - scheduledBackup, state, stateMessage, telemetryConfig, tier, uid, - updateTime; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_Service_Labels +// GTLRDataprocMetastore_GoogleCloudMetastoreV2Service_Labels // -@implementation GTLRDataprocMetastore_Service_Labels +@implementation GTLRDataprocMetastore_GoogleCloudMetastoreV2Service_Labels + (Class)classForAdditionalProperties { return [NSString class]; @@ -1148,37 +832,23 @@ + (Class)classForAdditionalProperties { // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_SetIamPolicyRequest -// - -@implementation GTLRDataprocMetastore_SetIamPolicyRequest -@dynamic policy, updateMask; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDataprocMetastore_StartMigrationRequest +// GTLRDataprocMetastore_GoogleLongrunningOperation // -@implementation GTLRDataprocMetastore_StartMigrationRequest -@dynamic migrationExecution, requestId; +@implementation GTLRDataprocMetastore_GoogleLongrunningOperation +@dynamic done, error, metadata, name, response; @end // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_Status +// GTLRDataprocMetastore_GoogleLongrunningOperation_Metadata // -@implementation GTLRDataprocMetastore_Status -@dynamic code, details, message; +@implementation GTLRDataprocMetastore_GoogleLongrunningOperation_Metadata -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"details" : [GTLRDataprocMetastore_Status_Details_Item class] - }; - return map; ++ (Class)classForAdditionalProperties { + return [NSObject class]; } @end @@ -1186,10 +856,10 @@ @implementation GTLRDataprocMetastore_Status // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_Status_Details_Item +// GTLRDataprocMetastore_GoogleLongrunningOperation_Response // -@implementation GTLRDataprocMetastore_Status_Details_Item +@implementation GTLRDataprocMetastore_GoogleLongrunningOperation_Response + (Class)classForAdditionalProperties { return [NSObject class]; @@ -1200,25 +870,15 @@ + (Class)classForAdditionalProperties { // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_TelemetryConfig -// - -@implementation GTLRDataprocMetastore_TelemetryConfig -@dynamic logFormat; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDataprocMetastore_TestIamPermissionsRequest +// GTLRDataprocMetastore_GoogleRpcStatus // -@implementation GTLRDataprocMetastore_TestIamPermissionsRequest -@dynamic permissions; +@implementation GTLRDataprocMetastore_GoogleRpcStatus +@dynamic code, details, message; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"permissions" : [NSString class] + @"details" : [GTLRDataprocMetastore_GoogleRpcStatus_Details_Item class] }; return map; } @@ -1228,17 +888,13 @@ @implementation GTLRDataprocMetastore_TestIamPermissionsRequest // ---------------------------------------------------------------------------- // -// GTLRDataprocMetastore_TestIamPermissionsResponse +// GTLRDataprocMetastore_GoogleRpcStatus_Details_Item // -@implementation GTLRDataprocMetastore_TestIamPermissionsResponse -@dynamic permissions; +@implementation GTLRDataprocMetastore_GoogleRpcStatus_Details_Item -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"permissions" : [NSString class] - }; - return map; ++ (Class)classForAdditionalProperties { + return [NSObject class]; } @end diff --git a/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreQuery.m b/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreQuery.m index b4886c136..12337383f 100644 --- a/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreQuery.m +++ b/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreQuery.m @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Dataproc Metastore API (metastore/v1) +// Dataproc Metastore API (metastore/v2) // Description: // The Dataproc Metastore API is used to manage the lifecycle and // configuration of metastore services. @@ -17,321 +17,11 @@ @implementation GTLRDataprocMetastoreQuery @end -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsCreate - -@dynamic federationId, parent, requestId; - -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_Federation *)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}/federations"; - GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsCreate *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.parent = parent; - query.expectedObjectClass = [GTLRDataprocMetastore_Operation class]; - query.loggingName = @"metastore.projects.locations.federations.create"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsDelete - -@dynamic name, requestId; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}"; - GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsDelete *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"DELETE" - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRDataprocMetastore_Operation class]; - query.loggingName = @"metastore.projects.locations.federations.delete"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsGet - -@dynamic name; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}"; - GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsGet *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRDataprocMetastore_Federation class]; - query.loggingName = @"metastore.projects.locations.federations.get"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsGetIamPolicy - -@dynamic optionsRequestedPolicyVersion, resource; - -+ (NSDictionary *)parameterNameMap { - return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; -} - -+ (instancetype)queryWithResource:(NSString *)resource { - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; - GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsGetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.resource = resource; - query.expectedObjectClass = [GTLRDataprocMetastore_Policy class]; - query.loggingName = @"metastore.projects.locations.federations.getIamPolicy"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsList - -@dynamic filter, orderBy, pageSize, pageToken, parent; - -+ (instancetype)queryWithParent:(NSString *)parent { - NSArray *pathParams = @[ @"parent" ]; - NSString *pathURITemplate = @"v1/{+parent}/federations"; - GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsList *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.parent = parent; - query.expectedObjectClass = [GTLRDataprocMetastore_ListFederationsResponse class]; - query.loggingName = @"metastore.projects.locations.federations.list"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsPatch - -@dynamic name, requestId, updateMask; - -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_Federation *)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}"; - GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsPatch *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"PATCH" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.name = name; - query.expectedObjectClass = [GTLRDataprocMetastore_Operation class]; - query.loggingName = @"metastore.projects.locations.federations.patch"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsSetIamPolicy - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_SetIamPolicyRequest *)object - resource:(NSString *)resource { - if (object == nil) { -#if defined(DEBUG) && DEBUG - NSAssert(object != nil, @"Got a nil object"); -#endif - return nil; - } - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:setIamPolicy"; - GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsSetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRDataprocMetastore_Policy class]; - query.loggingName = @"metastore.projects.locations.federations.setIamPolicy"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsTestIamPermissions - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_TestIamPermissionsRequest *)object - resource:(NSString *)resource { - if (object == nil) { -#if defined(DEBUG) && DEBUG - NSAssert(object != nil, @"Got a nil object"); -#endif - return nil; - } - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:testIamPermissions"; - GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsTestIamPermissions *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRDataprocMetastore_TestIamPermissionsResponse class]; - query.loggingName = @"metastore.projects.locations.federations.testIamPermissions"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsGet - -@dynamic name; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}"; - GTLRDataprocMetastoreQuery_ProjectsLocationsGet *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRDataprocMetastore_Location class]; - query.loggingName = @"metastore.projects.locations.get"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsList - -@dynamic filter, name, pageSize, pageToken; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}/locations"; - GTLRDataprocMetastoreQuery_ProjectsLocationsList *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRDataprocMetastore_ListLocationsResponse class]; - query.loggingName = @"metastore.projects.locations.list"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsOperationsCancel - -@dynamic name; - -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_CancelOperationRequest *)object - name:(NSString *)name { - if (object == nil) { -#if defined(DEBUG) && DEBUG - NSAssert(object != nil, @"Got a nil object"); -#endif - return nil; - } - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}:cancel"; - GTLRDataprocMetastoreQuery_ProjectsLocationsOperationsCancel *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.name = name; - query.expectedObjectClass = [GTLRDataprocMetastore_Empty class]; - query.loggingName = @"metastore.projects.locations.operations.cancel"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsOperationsDelete - -@dynamic name; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}"; - GTLRDataprocMetastoreQuery_ProjectsLocationsOperationsDelete *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"DELETE" - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRDataprocMetastore_Empty class]; - query.loggingName = @"metastore.projects.locations.operations.delete"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsOperationsGet - -@dynamic name; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}"; - GTLRDataprocMetastoreQuery_ProjectsLocationsOperationsGet *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRDataprocMetastore_Operation class]; - query.loggingName = @"metastore.projects.locations.operations.get"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsOperationsList - -@dynamic filter, name, pageSize, pageToken; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}/operations"; - GTLRDataprocMetastoreQuery_ProjectsLocationsOperationsList *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRDataprocMetastore_ListOperationsResponse class]; - query.loggingName = @"metastore.projects.locations.operations.list"; - return query; -} - -@end - @implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesAlterLocation @dynamic service; -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_AlterMetadataResourceLocationRequest *)object ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_GoogleCloudMetastoreV2AlterMetadataResourceLocationRequest *)object service:(NSString *)service { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -340,14 +30,14 @@ + (instancetype)queryWithObject:(GTLRDataprocMetastore_AlterMetadataResourceLoca return nil; } NSArray *pathParams = @[ @"service" ]; - NSString *pathURITemplate = @"v1/{+service}:alterLocation"; + NSString *pathURITemplate = @"v2/{+service}:alterLocation"; GTLRDataprocMetastoreQuery_ProjectsLocationsServicesAlterLocation *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" pathParameterNames:pathParams]; query.bodyObject = object; query.service = service; - query.expectedObjectClass = [GTLRDataprocMetastore_Operation class]; + query.expectedObjectClass = [GTLRDataprocMetastore_GoogleLongrunningOperation class]; query.loggingName = @"metastore.projects.locations.services.alterLocation"; return query; } @@ -358,7 +48,7 @@ @implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesAlterTablePr @dynamic service; -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_AlterTablePropertiesRequest *)object ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_GoogleCloudMetastoreV2AlterTablePropertiesRequest *)object service:(NSString *)service { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -367,14 +57,14 @@ + (instancetype)queryWithObject:(GTLRDataprocMetastore_AlterTablePropertiesReque return nil; } NSArray *pathParams = @[ @"service" ]; - NSString *pathURITemplate = @"v1/{+service}:alterTableProperties"; + NSString *pathURITemplate = @"v2/{+service}:alterTableProperties"; GTLRDataprocMetastoreQuery_ProjectsLocationsServicesAlterTableProperties *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" pathParameterNames:pathParams]; query.bodyObject = object; query.service = service; - query.expectedObjectClass = [GTLRDataprocMetastore_Operation class]; + query.expectedObjectClass = [GTLRDataprocMetastore_GoogleLongrunningOperation class]; query.loggingName = @"metastore.projects.locations.services.alterTableProperties"; return query; } @@ -385,7 +75,7 @@ @implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsCreat @dynamic backupId, parent, requestId; -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_Backup *)object ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_GoogleCloudMetastoreV2Backup *)object parent:(NSString *)parent { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -394,14 +84,14 @@ + (instancetype)queryWithObject:(GTLRDataprocMetastore_Backup *)object return nil; } NSArray *pathParams = @[ @"parent" ]; - NSString *pathURITemplate = @"v1/{+parent}/backups"; + NSString *pathURITemplate = @"v2/{+parent}/backups"; GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsCreate *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" pathParameterNames:pathParams]; query.bodyObject = object; query.parent = parent; - query.expectedObjectClass = [GTLRDataprocMetastore_Operation class]; + query.expectedObjectClass = [GTLRDataprocMetastore_GoogleLongrunningOperation class]; query.loggingName = @"metastore.projects.locations.services.backups.create"; return query; } @@ -414,13 +104,13 @@ @implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsDelet + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}"; + NSString *pathURITemplate = @"v2/{+name}"; GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsDelete *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"DELETE" pathParameterNames:pathParams]; query.name = name; - query.expectedObjectClass = [GTLRDataprocMetastore_Operation class]; + query.expectedObjectClass = [GTLRDataprocMetastore_GoogleLongrunningOperation class]; query.loggingName = @"metastore.projects.locations.services.backups.delete"; return query; } @@ -433,147 +123,43 @@ @implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsGet + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}"; + NSString *pathURITemplate = @"v2/{+name}"; GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsGet *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil pathParameterNames:pathParams]; query.name = name; - query.expectedObjectClass = [GTLRDataprocMetastore_Backup class]; + query.expectedObjectClass = [GTLRDataprocMetastore_GoogleCloudMetastoreV2Backup class]; query.loggingName = @"metastore.projects.locations.services.backups.get"; return query; } @end -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsGetIamPolicy - -@dynamic optionsRequestedPolicyVersion, resource; - -+ (NSDictionary *)parameterNameMap { - return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; -} - -+ (instancetype)queryWithResource:(NSString *)resource { - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; - GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsGetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.resource = resource; - query.expectedObjectClass = [GTLRDataprocMetastore_Policy class]; - query.loggingName = @"metastore.projects.locations.services.backups.getIamPolicy"; - return query; -} - -@end - @implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsList @dynamic filter, orderBy, pageSize, pageToken, parent; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; - NSString *pathURITemplate = @"v1/{+parent}/backups"; + NSString *pathURITemplate = @"v2/{+parent}/backups"; GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsList *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil pathParameterNames:pathParams]; query.parent = parent; - query.expectedObjectClass = [GTLRDataprocMetastore_ListBackupsResponse class]; + query.expectedObjectClass = [GTLRDataprocMetastore_GoogleCloudMetastoreV2ListBackupsResponse class]; query.loggingName = @"metastore.projects.locations.services.backups.list"; return query; } @end -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsSetIamPolicy - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_SetIamPolicyRequest *)object - resource:(NSString *)resource { - if (object == nil) { -#if defined(DEBUG) && DEBUG - NSAssert(object != nil, @"Got a nil object"); -#endif - return nil; - } - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:setIamPolicy"; - GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsSetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRDataprocMetastore_Policy class]; - query.loggingName = @"metastore.projects.locations.services.backups.setIamPolicy"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesCancelMigration - -@dynamic service; - -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_CancelMigrationRequest *)object - service:(NSString *)service { - if (object == nil) { -#if defined(DEBUG) && DEBUG - NSAssert(object != nil, @"Got a nil object"); -#endif - return nil; - } - NSArray *pathParams = @[ @"service" ]; - NSString *pathURITemplate = @"v1/{+service}:cancelMigration"; - GTLRDataprocMetastoreQuery_ProjectsLocationsServicesCancelMigration *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.service = service; - query.expectedObjectClass = [GTLRDataprocMetastore_Operation class]; - query.loggingName = @"metastore.projects.locations.services.cancelMigration"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesCompleteMigration - -@dynamic service; - -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_CompleteMigrationRequest *)object - service:(NSString *)service { - if (object == nil) { -#if defined(DEBUG) && DEBUG - NSAssert(object != nil, @"Got a nil object"); -#endif - return nil; - } - NSArray *pathParams = @[ @"service" ]; - NSString *pathURITemplate = @"v1/{+service}:completeMigration"; - GTLRDataprocMetastoreQuery_ProjectsLocationsServicesCompleteMigration *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.service = service; - query.expectedObjectClass = [GTLRDataprocMetastore_Operation class]; - query.loggingName = @"metastore.projects.locations.services.completeMigration"; - return query; -} - -@end - @implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesCreate @dynamic parent, requestId, serviceId; -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_Service *)object ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_GoogleCloudMetastoreV2Service *)object parent:(NSString *)parent { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -582,133 +168,33 @@ + (instancetype)queryWithObject:(GTLRDataprocMetastore_Service *)object return nil; } NSArray *pathParams = @[ @"parent" ]; - NSString *pathURITemplate = @"v1/{+parent}/services"; + NSString *pathURITemplate = @"v2/{+parent}/services"; GTLRDataprocMetastoreQuery_ProjectsLocationsServicesCreate *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" pathParameterNames:pathParams]; query.bodyObject = object; query.parent = parent; - query.expectedObjectClass = [GTLRDataprocMetastore_Operation class]; + query.expectedObjectClass = [GTLRDataprocMetastore_GoogleLongrunningOperation class]; query.loggingName = @"metastore.projects.locations.services.create"; return query; } @end -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesGetIamPolicy - -@dynamic optionsRequestedPolicyVersion, resource; - -+ (NSDictionary *)parameterNameMap { - return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; -} - -+ (instancetype)queryWithResource:(NSString *)resource { - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; - GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesGetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.resource = resource; - query.expectedObjectClass = [GTLRDataprocMetastore_Policy class]; - query.loggingName = @"metastore.projects.locations.services.databases.getIamPolicy"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesSetIamPolicy - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_SetIamPolicyRequest *)object - resource:(NSString *)resource { - if (object == nil) { -#if defined(DEBUG) && DEBUG - NSAssert(object != nil, @"Got a nil object"); -#endif - return nil; - } - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:setIamPolicy"; - GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesSetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRDataprocMetastore_Policy class]; - query.loggingName = @"metastore.projects.locations.services.databases.setIamPolicy"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesTablesGetIamPolicy - -@dynamic optionsRequestedPolicyVersion, resource; - -+ (NSDictionary *)parameterNameMap { - return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; -} - -+ (instancetype)queryWithResource:(NSString *)resource { - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; - GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesTablesGetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.resource = resource; - query.expectedObjectClass = [GTLRDataprocMetastore_Policy class]; - query.loggingName = @"metastore.projects.locations.services.databases.tables.getIamPolicy"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesTablesSetIamPolicy - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_SetIamPolicyRequest *)object - resource:(NSString *)resource { - if (object == nil) { -#if defined(DEBUG) && DEBUG - NSAssert(object != nil, @"Got a nil object"); -#endif - return nil; - } - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:setIamPolicy"; - GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesTablesSetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRDataprocMetastore_Policy class]; - query.loggingName = @"metastore.projects.locations.services.databases.tables.setIamPolicy"; - return query; -} - -@end - @implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDelete @dynamic name, requestId; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}"; + NSString *pathURITemplate = @"v2/{+name}"; GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDelete *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"DELETE" pathParameterNames:pathParams]; query.name = name; - query.expectedObjectClass = [GTLRDataprocMetastore_Operation class]; + query.expectedObjectClass = [GTLRDataprocMetastore_GoogleLongrunningOperation class]; query.loggingName = @"metastore.projects.locations.services.delete"; return query; } @@ -719,7 +205,7 @@ @implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesExportMetada @dynamic service; -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_ExportMetadataRequest *)object ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_GoogleCloudMetastoreV2ExportMetadataRequest *)object service:(NSString *)service { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -728,14 +214,14 @@ + (instancetype)queryWithObject:(GTLRDataprocMetastore_ExportMetadataRequest *)o return nil; } NSArray *pathParams = @[ @"service" ]; - NSString *pathURITemplate = @"v1/{+service}:exportMetadata"; + NSString *pathURITemplate = @"v2/{+service}:exportMetadata"; GTLRDataprocMetastoreQuery_ProjectsLocationsServicesExportMetadata *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" pathParameterNames:pathParams]; query.bodyObject = object; query.service = service; - query.expectedObjectClass = [GTLRDataprocMetastore_Operation class]; + query.expectedObjectClass = [GTLRDataprocMetastore_GoogleLongrunningOperation class]; query.loggingName = @"metastore.projects.locations.services.exportMetadata"; return query; } @@ -748,131 +234,24 @@ @implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesGet + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}"; + NSString *pathURITemplate = @"v2/{+name}"; GTLRDataprocMetastoreQuery_ProjectsLocationsServicesGet *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil pathParameterNames:pathParams]; query.name = name; - query.expectedObjectClass = [GTLRDataprocMetastore_Service class]; + query.expectedObjectClass = [GTLRDataprocMetastore_GoogleCloudMetastoreV2Service class]; query.loggingName = @"metastore.projects.locations.services.get"; return query; } @end -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesGetIamPolicy - -@dynamic optionsRequestedPolicyVersion, resource; - -+ (NSDictionary *)parameterNameMap { - return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; -} - -+ (instancetype)queryWithResource:(NSString *)resource { - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; - GTLRDataprocMetastoreQuery_ProjectsLocationsServicesGetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.resource = resource; - query.expectedObjectClass = [GTLRDataprocMetastore_Policy class]; - query.loggingName = @"metastore.projects.locations.services.getIamPolicy"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesList - -@dynamic filter, orderBy, pageSize, pageToken, parent; - -+ (instancetype)queryWithParent:(NSString *)parent { - NSArray *pathParams = @[ @"parent" ]; - NSString *pathURITemplate = @"v1/{+parent}/services"; - GTLRDataprocMetastoreQuery_ProjectsLocationsServicesList *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.parent = parent; - query.expectedObjectClass = [GTLRDataprocMetastore_ListServicesResponse class]; - query.loggingName = @"metastore.projects.locations.services.list"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMetadataImportsCreate - -@dynamic metadataImportId, parent, requestId; - -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_MetadataImport *)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}/metadataImports"; - GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMetadataImportsCreate *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.parent = parent; - query.expectedObjectClass = [GTLRDataprocMetastore_Operation class]; - query.loggingName = @"metastore.projects.locations.services.metadataImports.create"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMetadataImportsGet +@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesImportMetadata @dynamic name; -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}"; - GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMetadataImportsGet *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRDataprocMetastore_MetadataImport class]; - query.loggingName = @"metastore.projects.locations.services.metadataImports.get"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMetadataImportsList - -@dynamic filter, orderBy, pageSize, pageToken, parent; - -+ (instancetype)queryWithParent:(NSString *)parent { - NSArray *pathParams = @[ @"parent" ]; - NSString *pathURITemplate = @"v1/{+parent}/metadataImports"; - GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMetadataImportsList *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.parent = parent; - query.expectedObjectClass = [GTLRDataprocMetastore_ListMetadataImportsResponse class]; - query.loggingName = @"metastore.projects.locations.services.metadataImports.list"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMetadataImportsPatch - -@dynamic name, requestId, updateMask; - -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_MetadataImport *)object ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_GoogleCloudMetastoreV2ImportMetadataRequest *)object name:(NSString *)name { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -881,72 +260,34 @@ + (instancetype)queryWithObject:(GTLRDataprocMetastore_MetadataImport *)object return nil; } NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}"; - GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMetadataImportsPatch *query = + NSString *pathURITemplate = @"v2/{+name}:importMetadata"; + GTLRDataprocMetastoreQuery_ProjectsLocationsServicesImportMetadata *query = [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"PATCH" + HTTPMethod:@"POST" pathParameterNames:pathParams]; query.bodyObject = object; query.name = name; - query.expectedObjectClass = [GTLRDataprocMetastore_Operation class]; - query.loggingName = @"metastore.projects.locations.services.metadataImports.patch"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMigrationExecutionsDelete - -@dynamic name, requestId; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}"; - GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMigrationExecutionsDelete *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"DELETE" - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRDataprocMetastore_Operation class]; - query.loggingName = @"metastore.projects.locations.services.migrationExecutions.delete"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMigrationExecutionsGet - -@dynamic name; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}"; - GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMigrationExecutionsGet *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRDataprocMetastore_MigrationExecution class]; - query.loggingName = @"metastore.projects.locations.services.migrationExecutions.get"; + query.expectedObjectClass = [GTLRDataprocMetastore_GoogleLongrunningOperation class]; + query.loggingName = @"metastore.projects.locations.services.importMetadata"; return query; } @end -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMigrationExecutionsList +@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesList @dynamic filter, orderBy, pageSize, pageToken, parent; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; - NSString *pathURITemplate = @"v1/{+parent}/migrationExecutions"; - GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMigrationExecutionsList *query = + NSString *pathURITemplate = @"v2/{+parent}/services"; + GTLRDataprocMetastoreQuery_ProjectsLocationsServicesList *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil pathParameterNames:pathParams]; query.parent = parent; - query.expectedObjectClass = [GTLRDataprocMetastore_ListMigrationExecutionsResponse class]; - query.loggingName = @"metastore.projects.locations.services.migrationExecutions.list"; + query.expectedObjectClass = [GTLRDataprocMetastore_GoogleCloudMetastoreV2ListServicesResponse class]; + query.loggingName = @"metastore.projects.locations.services.list"; return query; } @@ -956,7 +297,7 @@ @implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMoveTableToD @dynamic service; -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_MoveTableToDatabaseRequest *)object ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_GoogleCloudMetastoreV2MoveTableToDatabaseRequest *)object service:(NSString *)service { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -965,14 +306,14 @@ + (instancetype)queryWithObject:(GTLRDataprocMetastore_MoveTableToDatabaseReques return nil; } NSArray *pathParams = @[ @"service" ]; - NSString *pathURITemplate = @"v1/{+service}:moveTableToDatabase"; + NSString *pathURITemplate = @"v2/{+service}:moveTableToDatabase"; GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMoveTableToDatabase *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" pathParameterNames:pathParams]; query.bodyObject = object; query.service = service; - query.expectedObjectClass = [GTLRDataprocMetastore_Operation class]; + query.expectedObjectClass = [GTLRDataprocMetastore_GoogleLongrunningOperation class]; query.loggingName = @"metastore.projects.locations.services.moveTableToDatabase"; return query; } @@ -983,7 +324,7 @@ @implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesPatch @dynamic name, requestId, updateMask; -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_Service *)object ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_GoogleCloudMetastoreV2Service *)object name:(NSString *)name { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -992,14 +333,14 @@ + (instancetype)queryWithObject:(GTLRDataprocMetastore_Service *)object return nil; } NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}"; + NSString *pathURITemplate = @"v2/{+name}"; GTLRDataprocMetastoreQuery_ProjectsLocationsServicesPatch *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"PATCH" pathParameterNames:pathParams]; query.bodyObject = object; query.name = name; - query.expectedObjectClass = [GTLRDataprocMetastore_Operation class]; + query.expectedObjectClass = [GTLRDataprocMetastore_GoogleLongrunningOperation class]; query.loggingName = @"metastore.projects.locations.services.patch"; return query; } @@ -1010,7 +351,7 @@ @implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesQueryMetadat @dynamic service; -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_QueryMetadataRequest *)object ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_GoogleCloudMetastoreV2QueryMetadataRequest *)object service:(NSString *)service { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -1019,14 +360,14 @@ + (instancetype)queryWithObject:(GTLRDataprocMetastore_QueryMetadataRequest *)ob return nil; } NSArray *pathParams = @[ @"service" ]; - NSString *pathURITemplate = @"v1/{+service}:queryMetadata"; + NSString *pathURITemplate = @"v2/{+service}:queryMetadata"; GTLRDataprocMetastoreQuery_ProjectsLocationsServicesQueryMetadata *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" pathParameterNames:pathParams]; query.bodyObject = object; query.service = service; - query.expectedObjectClass = [GTLRDataprocMetastore_Operation class]; + query.expectedObjectClass = [GTLRDataprocMetastore_GoogleLongrunningOperation class]; query.loggingName = @"metastore.projects.locations.services.queryMetadata"; return query; } @@ -1037,7 +378,7 @@ @implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesRestore @dynamic service; -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_RestoreServiceRequest *)object ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_GoogleCloudMetastoreV2RestoreServiceRequest *)object service:(NSString *)service { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -1046,97 +387,16 @@ + (instancetype)queryWithObject:(GTLRDataprocMetastore_RestoreServiceRequest *)o return nil; } NSArray *pathParams = @[ @"service" ]; - NSString *pathURITemplate = @"v1/{+service}:restore"; + NSString *pathURITemplate = @"v2/{+service}:restore"; GTLRDataprocMetastoreQuery_ProjectsLocationsServicesRestore *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" pathParameterNames:pathParams]; query.bodyObject = object; query.service = service; - query.expectedObjectClass = [GTLRDataprocMetastore_Operation class]; + query.expectedObjectClass = [GTLRDataprocMetastore_GoogleLongrunningOperation class]; query.loggingName = @"metastore.projects.locations.services.restore"; return query; } @end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesSetIamPolicy - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_SetIamPolicyRequest *)object - resource:(NSString *)resource { - if (object == nil) { -#if defined(DEBUG) && DEBUG - NSAssert(object != nil, @"Got a nil object"); -#endif - return nil; - } - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:setIamPolicy"; - GTLRDataprocMetastoreQuery_ProjectsLocationsServicesSetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRDataprocMetastore_Policy class]; - query.loggingName = @"metastore.projects.locations.services.setIamPolicy"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesStartMigration - -@dynamic service; - -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_StartMigrationRequest *)object - service:(NSString *)service { - if (object == nil) { -#if defined(DEBUG) && DEBUG - NSAssert(object != nil, @"Got a nil object"); -#endif - return nil; - } - NSArray *pathParams = @[ @"service" ]; - NSString *pathURITemplate = @"v1/{+service}:startMigration"; - GTLRDataprocMetastoreQuery_ProjectsLocationsServicesStartMigration *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.service = service; - query.expectedObjectClass = [GTLRDataprocMetastore_Operation class]; - query.loggingName = @"metastore.projects.locations.services.startMigration"; - return query; -} - -@end - -@implementation GTLRDataprocMetastoreQuery_ProjectsLocationsServicesTestIamPermissions - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_TestIamPermissionsRequest *)object - resource:(NSString *)resource { - if (object == nil) { -#if defined(DEBUG) && DEBUG - NSAssert(object != nil, @"Got a nil object"); -#endif - return nil; - } - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:testIamPermissions"; - GTLRDataprocMetastoreQuery_ProjectsLocationsServicesTestIamPermissions *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRDataprocMetastore_TestIamPermissionsResponse class]; - query.loggingName = @"metastore.projects.locations.services.testIamPermissions"; - return query; -} - -@end diff --git a/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreService.m b/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreService.m index adaade150..fcd3b2705 100644 --- a/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreService.m +++ b/Sources/GeneratedServices/DataprocMetastore/GTLRDataprocMetastoreService.m @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Dataproc Metastore API (metastore/v1) +// Dataproc Metastore API (metastore/v2) // Description: // The Dataproc Metastore API is used to manage the lifecycle and // configuration of metastore services. diff --git a/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastore.h b/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastore.h index 2c3deea64..a8eb26b85 100644 --- a/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastore.h +++ b/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastore.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Dataproc Metastore API (metastore/v1) +// Dataproc Metastore API (metastore/v2) // Description: // The Dataproc Metastore API is used to manage the lifecycle and // configuration of metastore services. diff --git a/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreObjects.h b/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreObjects.h index 41b2cacfc..4e0cfe3bf 100644 --- a/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreObjects.h +++ b/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreObjects.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Dataproc Metastore API (metastore/v1) +// Dataproc Metastore API (metastore/v2) // Description: // The Dataproc Metastore API is used to manage the lifecycle and // configuration of metastore services. @@ -15,59 +15,39 @@ #error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. #endif -@class GTLRDataprocMetastore_AlterTablePropertiesRequest_Properties; -@class GTLRDataprocMetastore_AuditConfig; -@class GTLRDataprocMetastore_AuditLogConfig; -@class GTLRDataprocMetastore_AutoscalingConfig; -@class GTLRDataprocMetastore_AuxiliaryVersionConfig; -@class GTLRDataprocMetastore_AuxiliaryVersionConfig_ConfigOverrides; -@class GTLRDataprocMetastore_BackendMetastore; -@class GTLRDataprocMetastore_Backup; -@class GTLRDataprocMetastore_Binding; -@class GTLRDataprocMetastore_CdcConfig; -@class GTLRDataprocMetastore_CloudSQLConnectionConfig; -@class GTLRDataprocMetastore_CloudSQLMigrationConfig; -@class GTLRDataprocMetastore_Consumer; -@class GTLRDataprocMetastore_CustomRegionMetadata; -@class GTLRDataprocMetastore_DatabaseDump; -@class GTLRDataprocMetastore_DataCatalogConfig; -@class GTLRDataprocMetastore_EncryptionConfig; -@class GTLRDataprocMetastore_ErrorDetails_Details; -@class GTLRDataprocMetastore_Expr; -@class GTLRDataprocMetastore_Federation; -@class GTLRDataprocMetastore_Federation_BackendMetastores; -@class GTLRDataprocMetastore_Federation_Labels; -@class GTLRDataprocMetastore_HiveMetastoreConfig; -@class GTLRDataprocMetastore_HiveMetastoreConfig_AuxiliaryVersions; -@class GTLRDataprocMetastore_HiveMetastoreConfig_ConfigOverrides; -@class GTLRDataprocMetastore_HiveMetastoreVersion; -@class GTLRDataprocMetastore_KerberosConfig; -@class GTLRDataprocMetastore_LatestBackup; -@class GTLRDataprocMetastore_LimitConfig; -@class GTLRDataprocMetastore_Location; -@class GTLRDataprocMetastore_Location_Labels; -@class GTLRDataprocMetastore_Location_Metadata; -@class GTLRDataprocMetastore_MaintenanceWindow; -@class GTLRDataprocMetastore_MetadataExport; -@class GTLRDataprocMetastore_MetadataImport; -@class GTLRDataprocMetastore_MetadataIntegration; -@class GTLRDataprocMetastore_MetadataManagementActivity; -@class GTLRDataprocMetastore_MigrationExecution; -@class GTLRDataprocMetastore_MultiRegionMetadata; -@class GTLRDataprocMetastore_NetworkConfig; -@class GTLRDataprocMetastore_Operation; -@class GTLRDataprocMetastore_Operation_Metadata; -@class GTLRDataprocMetastore_Operation_Response; -@class GTLRDataprocMetastore_Policy; -@class GTLRDataprocMetastore_Restore; -@class GTLRDataprocMetastore_ScalingConfig; -@class GTLRDataprocMetastore_ScheduledBackup; -@class GTLRDataprocMetastore_Secret; -@class GTLRDataprocMetastore_Service; -@class GTLRDataprocMetastore_Service_Labels; -@class GTLRDataprocMetastore_Status; -@class GTLRDataprocMetastore_Status_Details_Item; -@class GTLRDataprocMetastore_TelemetryConfig; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaCustomRegionMetadata; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaErrorDetails_Details; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaHiveMetastoreVersion; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaMultiRegionMetadata; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV1betaCustomRegionMetadata; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV1betaErrorDetails_Details; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV1betaHiveMetastoreVersion; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV1betaMultiRegionMetadata; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV1CustomRegionMetadata; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV1ErrorDetails_Details; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV1HiveMetastoreVersion; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV1MultiRegionMetadata; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV2AlterTablePropertiesRequest_Properties; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV2AuxiliaryVersionConfig; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV2AuxiliaryVersionConfig_ConfigOverrides; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV2Backup; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV2DatabaseDump; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV2DataCatalogConfig; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV2EncryptionConfig; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV2Endpoint; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig_AuxiliaryVersions; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig_ConfigOverrides; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV2LatestBackup; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV2MetadataIntegration; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV2ScalingConfig; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV2ScheduledBackup; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV2Service; +@class GTLRDataprocMetastore_GoogleCloudMetastoreV2Service_Labels; +@class GTLRDataprocMetastore_GoogleLongrunningOperation_Metadata; +@class GTLRDataprocMetastore_GoogleLongrunningOperation_Response; +@class GTLRDataprocMetastore_GoogleRpcStatus; +@class GTLRDataprocMetastore_GoogleRpcStatus_Details_Item; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -80,1747 +60,503 @@ NS_ASSUME_NONNULL_BEGIN // Constants - For some of the classes' properties below. // ---------------------------------------------------------------------------- -// GTLRDataprocMetastore_AuditLogConfig.logType - -/** - * Admin reads. Example: CloudIAM getIamPolicy - * - * Value: "ADMIN_READ" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_AuditLogConfig_LogType_AdminRead; -/** - * Data reads. Example: CloudSQL Users list - * - * Value: "DATA_READ" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_AuditLogConfig_LogType_DataRead; -/** - * Data writes. Example: CloudSQL Users create - * - * Value: "DATA_WRITE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_AuditLogConfig_LogType_DataWrite; -/** - * Default case. Should never be this. - * - * Value: "LOG_TYPE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_AuditLogConfig_LogType_LogTypeUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRDataprocMetastore_BackendMetastore.metastoreType - -/** - * The backend metastore is BigQuery. - * - * Value: "BIGQUERY" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_BackendMetastore_MetastoreType_Bigquery; -/** - * The backend metastore is Dataproc Metastore. - * - * Value: "DATAPROC_METASTORE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_BackendMetastore_MetastoreType_DataprocMetastore; -/** - * The metastore type is not set. - * - * Value: "METASTORE_TYPE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_BackendMetastore_MetastoreType_MetastoreTypeUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRDataprocMetastore_Backup.state +// GTLRDataprocMetastore_GoogleCloudMetastoreV2Backup.state /** * The backup is active and ready to use. * * Value: "ACTIVE" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Backup_State_Active; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Backup_State_Active; /** * The backup is being created. * * Value: "CREATING" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Backup_State_Creating; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Backup_State_Creating; /** * The backup is being deleted. * * Value: "DELETING" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Backup_State_Deleting; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Backup_State_Deleting; /** * The backup failed. * * Value: "FAILED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Backup_State_Failed; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Backup_State_Failed; /** * The backup is being restored. * * Value: "RESTORING" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Backup_State_Restoring; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Backup_State_Restoring; /** * The state of the backup is unknown. * * Value: "STATE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Backup_State_StateUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRDataprocMetastore_DatabaseDump.databaseType - -/** - * The type of the source database is unknown. - * - * Value: "DATABASE_TYPE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_DatabaseDump_DatabaseType_DatabaseTypeUnspecified; -/** - * The type of the source database is MySQL. - * - * Value: "MYSQL" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_DatabaseDump_DatabaseType_Mysql; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Backup_State_StateUnspecified; // ---------------------------------------------------------------------------- -// GTLRDataprocMetastore_DatabaseDump.type +// GTLRDataprocMetastore_GoogleCloudMetastoreV2DatabaseDump.type /** * Database dump contains Avro files. * * Value: "AVRO" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_DatabaseDump_Type_Avro; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2DatabaseDump_Type_Avro; /** * Database dump is a MySQL dump file. * * Value: "MYSQL" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_DatabaseDump_Type_Mysql; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2DatabaseDump_Type_Mysql; /** * The type of the database dump is unknown. * * Value: "TYPE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_DatabaseDump_Type_TypeUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2DatabaseDump_Type_TypeUnspecified; // ---------------------------------------------------------------------------- -// GTLRDataprocMetastore_ExportMetadataRequest.databaseDumpType +// GTLRDataprocMetastore_GoogleCloudMetastoreV2ExportMetadataRequest.databaseDumpType /** * Database dump contains Avro files. * * Value: "AVRO" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_ExportMetadataRequest_DatabaseDumpType_Avro; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2ExportMetadataRequest_DatabaseDumpType_Avro; /** * Database dump is a MySQL dump file. * * Value: "MYSQL" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_ExportMetadataRequest_DatabaseDumpType_Mysql; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2ExportMetadataRequest_DatabaseDumpType_Mysql; /** * The type of the database dump is unknown. * * Value: "TYPE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_ExportMetadataRequest_DatabaseDumpType_TypeUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRDataprocMetastore_Federation.state - -/** - * The metastore federation is running and ready to serve queries. - * - * Value: "ACTIVE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Federation_State_Active; -/** - * The metastore federation is in the process of being created. - * - * Value: "CREATING" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Federation_State_Creating; -/** - * The metastore federation is undergoing deletion. It cannot be used. - * - * Value: "DELETING" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Federation_State_Deleting; -/** - * The metastore federation has encountered an error and cannot be used. The - * metastore federation should be deleted. - * - * Value: "ERROR" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Federation_State_Error; -/** - * The state of the metastore federation is unknown. - * - * Value: "STATE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Federation_State_StateUnspecified; -/** - * The metastore federation is being updated. It remains usable but cannot - * accept additional update requests or be deleted at this time. - * - * Value: "UPDATING" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Federation_State_Updating; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2ExportMetadataRequest_DatabaseDumpType_TypeUnspecified; // ---------------------------------------------------------------------------- -// GTLRDataprocMetastore_HiveMetastoreConfig.endpointProtocol +// GTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig.endpointProtocol /** * The protocol is not set. * * Value: "ENDPOINT_PROTOCOL_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_HiveMetastoreConfig_EndpointProtocol_EndpointProtocolUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig_EndpointProtocol_EndpointProtocolUnspecified; /** * Use the modernized gRPC protocol for the metastore service endpoint. * * Value: "GRPC" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_HiveMetastoreConfig_EndpointProtocol_Grpc; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig_EndpointProtocol_Grpc; /** * Use the legacy Apache Thrift protocol for the metastore service endpoint. * * Value: "THRIFT" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_HiveMetastoreConfig_EndpointProtocol_Thrift; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig_EndpointProtocol_Thrift; // ---------------------------------------------------------------------------- -// GTLRDataprocMetastore_LatestBackup.state +// GTLRDataprocMetastore_GoogleCloudMetastoreV2LatestBackup.state /** * The backup failed. * * Value: "FAILED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_LatestBackup_State_Failed; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2LatestBackup_State_Failed; /** * The backup is in progress. * * Value: "IN_PROGRESS" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_LatestBackup_State_InProgress; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2LatestBackup_State_InProgress; /** * The state of the backup is unknown. * * Value: "STATE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_LatestBackup_State_StateUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2LatestBackup_State_StateUnspecified; /** * The backup completed. * * Value: "SUCCEEDED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_LatestBackup_State_Succeeded; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2LatestBackup_State_Succeeded; // ---------------------------------------------------------------------------- -// GTLRDataprocMetastore_MaintenanceWindow.dayOfWeek +// GTLRDataprocMetastore_GoogleCloudMetastoreV2RestoreServiceRequest.restoreType /** - * The day of the week is unspecified. - * - * Value: "DAY_OF_WEEK_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MaintenanceWindow_DayOfWeek_DayOfWeekUnspecified; -/** - * Friday - * - * Value: "FRIDAY" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MaintenanceWindow_DayOfWeek_Friday; -/** - * Monday - * - * Value: "MONDAY" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MaintenanceWindow_DayOfWeek_Monday; -/** - * Saturday - * - * Value: "SATURDAY" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MaintenanceWindow_DayOfWeek_Saturday; -/** - * Sunday - * - * Value: "SUNDAY" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MaintenanceWindow_DayOfWeek_Sunday; -/** - * Thursday + * The service's metadata and configuration are restored. * - * Value: "THURSDAY" + * Value: "FULL" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MaintenanceWindow_DayOfWeek_Thursday; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2RestoreServiceRequest_RestoreType_Full; /** - * Tuesday + * Only the service's metadata is restored. * - * Value: "TUESDAY" + * Value: "METADATA_ONLY" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MaintenanceWindow_DayOfWeek_Tuesday; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2RestoreServiceRequest_RestoreType_MetadataOnly; /** - * Wednesday + * The restore type is unknown. * - * Value: "WEDNESDAY" + * Value: "RESTORE_TYPE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MaintenanceWindow_DayOfWeek_Wednesday; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2RestoreServiceRequest_RestoreType_RestoreTypeUnspecified; // ---------------------------------------------------------------------------- -// GTLRDataprocMetastore_MetadataExport.databaseDumpType +// GTLRDataprocMetastore_GoogleCloudMetastoreV2Service.state /** - * Database dump contains Avro files. + * The metastore service is running and ready to serve queries. * - * Value: "AVRO" + * Value: "ACTIVE" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MetadataExport_DatabaseDumpType_Avro; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Service_State_Active; /** - * Database dump is a MySQL dump file. + * The metastore service is in the process of being created. * - * Value: "MYSQL" + * Value: "CREATING" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MetadataExport_DatabaseDumpType_Mysql; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Service_State_Creating; /** - * The type of the database dump is unknown. + * The metastore service is undergoing deletion. It cannot be used. * - * Value: "TYPE_UNSPECIFIED" + * Value: "DELETING" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MetadataExport_DatabaseDumpType_TypeUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRDataprocMetastore_MetadataExport.state - +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Service_State_Deleting; /** - * The metadata export is cancelled. + * The metastore service has encountered an error and cannot be used. The + * metastore service should be deleted. * - * Value: "CANCELLED" + * Value: "ERROR" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MetadataExport_State_Cancelled; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Service_State_Error; /** - * The metadata export failed. + * The state of the metastore service is unknown. * - * Value: "FAILED" + * Value: "STATE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MetadataExport_State_Failed; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Service_State_StateUnspecified; /** - * The metadata export is running. + * The metastore service is suspended and unable to serve queries. * - * Value: "RUNNING" + * Value: "SUSPENDED" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MetadataExport_State_Running; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Service_State_Suspended; /** - * The state of the metadata export is unknown. + * The metastore service is entering suspension. Its query-serving availability + * may cease unexpectedly. * - * Value: "STATE_UNSPECIFIED" + * Value: "SUSPENDING" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MetadataExport_State_StateUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Service_State_Suspending; /** - * The metadata export completed successfully. + * The metastore service is being updated. It remains usable but cannot accept + * additional update requests or be deleted at this time. * - * Value: "SUCCEEDED" + * Value: "UPDATING" */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MetadataExport_State_Succeeded; - -// ---------------------------------------------------------------------------- -// GTLRDataprocMetastore_MetadataImport.state +FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_GoogleCloudMetastoreV2Service_State_Updating; /** - * The metadata import failed, and attempted metadata changes were rolled back. - * - * Value: "FAILED" + * Response message for DataprocMetastore.AlterMetadataResourceLocation. */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MetadataImport_State_Failed; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaAlterMetadataResourceLocationResponse : GTLRObject +@end + + /** - * The metadata import is running. - * - * Value: "RUNNING" + * Response message for DataprocMetastore.CancelMigration. */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MetadataImport_State_Running; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaCancelMigrationResponse : GTLRObject + /** - * The state of the metadata import is unknown. - * - * Value: "STATE_UNSPECIFIED" + * The relative resource name of the migration execution, in the following + * form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}. */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MetadataImport_State_StateUnspecified; +@property(nonatomic, copy, nullable) NSString *migrationExecution; + +@end + + /** - * The metadata import completed successfully. - * - * Value: "SUCCEEDED" + * Response message for DataprocMetastore.CompleteMigration. */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MetadataImport_State_Succeeded; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaCompleteMigrationResponse : GTLRObject + /** - * The metadata import is being updated. - * - * Value: "UPDATING" + * The relative resource name of the migration execution, in the following + * form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}. */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MetadataImport_State_Updating; +@property(nonatomic, copy, nullable) NSString *migrationExecution; + +@end -// ---------------------------------------------------------------------------- -// GTLRDataprocMetastore_MigrationExecution.phase /** - * Cutover phase refers to the migration phase when Dataproc Metastore switches - * to using its own backend database. Migration enters this phase when customer - * is done migrating all their clusters/workloads to Dataproc Metastore and - * triggers CompleteMigration. - * - * Value: "CUTOVER" + * Metadata about a custom region. This is only populated if the region is a + * custom region. For single/multi regions, it will be empty. */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MigrationExecution_Phase_Cutover; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaCustomRegionMetadata : GTLRObject + +/** The read-only regions for this custom region. */ +@property(nonatomic, strong, nullable) NSArray *optionalReadOnlyRegions; + +/** The read-write regions for this custom region. */ +@property(nonatomic, strong, nullable) NSArray *requiredReadWriteRegions; + +/** The Spanner witness region for this custom region. */ +@property(nonatomic, copy, nullable) NSString *witnessRegion; + +@end + + /** - * The phase of the migration execution is unknown. - * - * Value: "PHASE_UNSPECIFIED" + * Error details in public error message for DataprocMetastore.QueryMetadata. */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MigrationExecution_Phase_PhaseUnspecified; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaErrorDetails : GTLRObject + /** - * Replication phase refers to the migration phase when Dataproc Metastore is - * running a pipeline to replicate changes in the customer database to its - * backend database. During this phase, Dataproc Metastore uses the customer - * database as the hive metastore backend database. - * - * Value: "REPLICATION" + * Additional structured details about this error.Keys define the failure + * items. Value describes the exception or details of the item. */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MigrationExecution_Phase_Replication; +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaErrorDetails_Details *details; + +@end -// ---------------------------------------------------------------------------- -// GTLRDataprocMetastore_MigrationExecution.state /** - * The migration execution is awaiting user action. + * Additional structured details about this error.Keys define the failure + * items. Value describes the exception or details of the item. * - * Value: "AWAITING_USER_ACTION" + * @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. */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MigrationExecution_State_AwaitingUserAction; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaErrorDetails_Details : GTLRObject +@end + + /** - * The migration execution is cancelled. - * - * Value: "CANCELLED" + * A specification of a supported version of the Hive Metastore software. */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MigrationExecution_State_Cancelled; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaHiveMetastoreVersion : GTLRObject + /** - * The migration execution is in the process of being cancelled. + * Whether version will be chosen by the server if a metastore service is + * created with a HiveMetastoreConfig that omits the version. * - * Value: "CANCELLING" + * Uses NSNumber of boolValue. */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MigrationExecution_State_Cancelling; +@property(nonatomic, strong, nullable) NSNumber *isDefault; + +/** The semantic version of the Hive Metastore software. */ +@property(nonatomic, copy, nullable) NSString *version; + +@end + + /** - * The migration execution is being deleted. - * - * Value: "DELETING" + * Metadata about the service in a location. */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MigrationExecution_State_Deleting; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaLocationMetadata : GTLRObject + /** - * The migration execution has failed. - * - * Value: "FAILED" + * Possible configurations supported if the current region is a custom region. */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MigrationExecution_State_Failed; +@property(nonatomic, strong, nullable) NSArray *customRegionMetadata; + +/** The multi-region metadata if the current region is a multi-region. */ +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaMultiRegionMetadata *multiRegionMetadata; + /** - * The migration execution is running. - * - * Value: "RUNNING" + * The versions of Hive Metastore that can be used when creating a new + * metastore service in this location. The server guarantees that exactly one + * HiveMetastoreVersion in the list will set is_default. */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MigrationExecution_State_Running; +@property(nonatomic, strong, nullable) NSArray *supportedHiveMetastoreVersions; + +@end + + /** - * The migration execution is starting. - * - * Value: "STARTING" + * Response message for DataprocMetastore.MoveTableToDatabase. */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MigrationExecution_State_Starting; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaMoveTableToDatabaseResponse : GTLRObject +@end + + /** - * The state of the migration execution is unknown. - * - * Value: "STATE_UNSPECIFIED" + * The metadata for the multi-region that includes the constituent regions. The + * metadata is only populated if the region is multi-region. For single region + * or custom dual region, it will be empty. */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MigrationExecution_State_StateUnspecified; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaMultiRegionMetadata : GTLRObject + +/** The regions constituting the multi-region. */ +@property(nonatomic, strong, nullable) NSArray *constituentRegions; + +@end + + /** - * The migration execution has completed successfully. - * - * Value: "SUCCEEDED" + * Represents the metadata of a long-running operation. */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_MigrationExecution_State_Succeeded; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaOperationMetadata : GTLRObject -// ---------------------------------------------------------------------------- -// GTLRDataprocMetastore_Restore.state +/** Output only. API version used to start the operation. */ +@property(nonatomic, copy, nullable) NSString *apiVersion; + +/** Output only. The time the operation was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. The time the operation finished running. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; /** - * The metadata restore is cancelled. + * Output only. Identifies whether the caller has requested cancellation of the + * operation. Operations that have successfully been cancelled have + * google.longrunning.Operation.error value with a google.rpc.Status.code of 1, + * corresponding to Code.CANCELLED. * - * Value: "CANCELLED" + * Uses NSNumber of boolValue. */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Restore_State_Cancelled; +@property(nonatomic, strong, nullable) NSNumber *requestedCancellation; + +/** Output only. Human-readable status of the operation, if any. */ +@property(nonatomic, copy, nullable) NSString *statusMessage; + /** - * The metadata restore failed. - * - * Value: "FAILED" + * Output only. Server-defined resource path for the target of the operation. */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Restore_State_Failed; +@property(nonatomic, copy, nullable) NSString *target; + +/** Output only. Name of the verb executed by the operation. */ +@property(nonatomic, copy, nullable) NSString *verb; + +@end + + /** - * The metadata restore is running. - * - * Value: "RUNNING" + * Response message for DataprocMetastore.QueryMetadata. */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Restore_State_Running; -/** - * The state of the metadata restore is unknown. - * - * Value: "STATE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Restore_State_StateUnspecified; -/** - * The metadata restore completed successfully. - * - * Value: "SUCCEEDED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Restore_State_Succeeded; - -// ---------------------------------------------------------------------------- -// GTLRDataprocMetastore_Restore.type - -/** - * The service's metadata and configuration are restored. - * - * Value: "FULL" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Restore_Type_Full; -/** - * Only the service's metadata is restored. - * - * Value: "METADATA_ONLY" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Restore_Type_MetadataOnly; -/** - * The restore type is unknown. - * - * Value: "RESTORE_TYPE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Restore_Type_RestoreTypeUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRDataprocMetastore_RestoreServiceRequest.restoreType - -/** - * The service's metadata and configuration are restored. - * - * Value: "FULL" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_RestoreServiceRequest_RestoreType_Full; -/** - * Only the service's metadata is restored. - * - * Value: "METADATA_ONLY" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_RestoreServiceRequest_RestoreType_MetadataOnly; -/** - * The restore type is unknown. - * - * Value: "RESTORE_TYPE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_RestoreServiceRequest_RestoreType_RestoreTypeUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRDataprocMetastore_ScalingConfig.instanceSize - -/** - * Extra large instance size, maps to a scaling factor of 6.0. - * - * Value: "EXTRA_LARGE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_ScalingConfig_InstanceSize_ExtraLarge; -/** - * Extra small instance size, maps to a scaling factor of 0.1. - * - * Value: "EXTRA_SMALL" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_ScalingConfig_InstanceSize_ExtraSmall; -/** - * Unspecified instance size - * - * Value: "INSTANCE_SIZE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_ScalingConfig_InstanceSize_InstanceSizeUnspecified; -/** - * Large instance size, maps to a scaling factor of 3.0. - * - * Value: "LARGE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_ScalingConfig_InstanceSize_Large; -/** - * Medium instance size, maps to a scaling factor of 1.0. - * - * Value: "MEDIUM" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_ScalingConfig_InstanceSize_Medium; -/** - * Small instance size, maps to a scaling factor of 0.5. - * - * Value: "SMALL" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_ScalingConfig_InstanceSize_Small; - -// ---------------------------------------------------------------------------- -// GTLRDataprocMetastore_Service.databaseType - -/** - * The DATABASE_TYPE is not set. - * - * Value: "DATABASE_TYPE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Service_DatabaseType_DatabaseTypeUnspecified; -/** - * MySQL is used to persist the metastore data. - * - * Value: "MYSQL" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Service_DatabaseType_Mysql; -/** - * Spanner is used to persist the metastore data. - * - * Value: "SPANNER" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Service_DatabaseType_Spanner; - -// ---------------------------------------------------------------------------- -// GTLRDataprocMetastore_Service.releaseChannel - -/** - * The CANARY release channel contains the newest features, which may be - * unstable and subject to unresolved issues with no known workarounds. - * Services using the CANARY release channel are not subject to any SLAs. - * - * Value: "CANARY" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Service_ReleaseChannel_Canary; -/** - * Release channel is not specified. - * - * Value: "RELEASE_CHANNEL_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Service_ReleaseChannel_ReleaseChannelUnspecified; -/** - * The STABLE release channel contains features that are considered stable and - * have been validated for production use. - * - * Value: "STABLE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Service_ReleaseChannel_Stable; - -// ---------------------------------------------------------------------------- -// GTLRDataprocMetastore_Service.state - -/** - * The metastore service is running and ready to serve queries. - * - * Value: "ACTIVE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Service_State_Active; -/** - * The Dataproc Metastore service 2 is being scaled up or down. - * - * Value: "AUTOSCALING" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Service_State_Autoscaling; -/** - * The metastore service is in the process of being created. - * - * Value: "CREATING" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Service_State_Creating; -/** - * The metastore service is undergoing deletion. It cannot be used. - * - * Value: "DELETING" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Service_State_Deleting; -/** - * The metastore service has encountered an error and cannot be used. The - * metastore service should be deleted. - * - * Value: "ERROR" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Service_State_Error; -/** - * The metastore service is processing a managed migration. - * - * Value: "MIGRATING" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Service_State_Migrating; -/** - * The state of the metastore service is unknown. - * - * Value: "STATE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Service_State_StateUnspecified; -/** - * The metastore service is suspended and unable to serve queries. - * - * Value: "SUSPENDED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Service_State_Suspended; -/** - * The metastore service is entering suspension. Its query-serving availability - * may cease unexpectedly. - * - * Value: "SUSPENDING" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Service_State_Suspending; -/** - * The metastore service is being updated. It remains usable but cannot accept - * additional update requests or be deleted at this time. - * - * Value: "UPDATING" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Service_State_Updating; - -// ---------------------------------------------------------------------------- -// GTLRDataprocMetastore_Service.tier - -/** - * The developer tier provides limited scalability and no fault tolerance. Good - * for low-cost proof-of-concept. - * - * Value: "DEVELOPER" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Service_Tier_Developer; -/** - * The enterprise tier provides multi-zone high availability, and sufficient - * scalability for enterprise-level Dataproc Metastore workloads. - * - * Value: "ENTERPRISE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Service_Tier_Enterprise; -/** - * The tier is not set. - * - * Value: "TIER_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_Service_Tier_TierUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRDataprocMetastore_TelemetryConfig.logFormat - -/** - * Logging output uses the jsonPayload format. - * - * Value: "JSON" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFormat_Json; -/** - * Logging output uses the legacy textPayload format. - * - * Value: "LEGACY" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFormat_Legacy; -/** - * The LOG_FORMAT is not set. - * - * Value: "LOG_FORMAT_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFormat_LogFormatUnspecified; - -/** - * Request message for DataprocMetastore.AlterMetadataResourceLocation. - */ -@interface GTLRDataprocMetastore_AlterMetadataResourceLocationRequest : GTLRObject - -/** Required. The new location URI for the metadata resource. */ -@property(nonatomic, copy, nullable) NSString *locationUri; - -/** - * Required. The relative metadata resource name in the following - * format.databases/{database_id} or databases/{database_id}/tables/{table_id} - * or databases/{database_id}/tables/{table_id}/partitions/{partition_id} - */ -@property(nonatomic, copy, nullable) NSString *resourceName; - -@end - - -/** - * Response message for DataprocMetastore.AlterMetadataResourceLocation. - */ -@interface GTLRDataprocMetastore_AlterMetadataResourceLocationResponse : GTLRObject -@end - - -/** - * Request message for DataprocMetastore.AlterTableProperties. - */ -@interface GTLRDataprocMetastore_AlterTablePropertiesRequest : GTLRObject - -/** - * A map that describes the desired values to mutate. If update_mask is empty, - * the properties will not update. Otherwise, the properties only alters the - * value whose associated paths exist in the update mask - */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_AlterTablePropertiesRequest_Properties *properties; - -/** - * Required. The name of the table containing the properties you're altering in - * the following format.databases/{database_id}/tables/{table_id} - */ -@property(nonatomic, copy, nullable) NSString *tableName; - -/** - * A field mask that specifies the metadata table properties that are - * overwritten by the update. Fields specified in the update_mask are relative - * to the resource (not to the full request). A field is overwritten if it is - * in the mask.For example, given the target properties: properties { a: 1 b: 2 - * } And an update properties: properties { a: 2 b: 3 c: 4 } then if the field - * mask is:paths: "properties.b", "properties.c"then the result will be: - * properties { a: 1 b: 3 c: 4 } - * - * String format is a comma-separated list of fields. - */ -@property(nonatomic, copy, nullable) NSString *updateMask; - -@end - - -/** - * A map that describes the desired values to mutate. If update_mask is empty, - * the properties will not update. Otherwise, the properties only alters the - * value whose associated paths exist in the update mask - * - * @note This class is documented as having more properties of NSString. Use @c - * -additionalJSONKeys and @c -additionalPropertyForName: to get the list - * of properties and then fetch them; or @c -additionalProperties to - * fetch them all at once. - */ -@interface GTLRDataprocMetastore_AlterTablePropertiesRequest_Properties : GTLRObject -@end - - -/** - * Specifies the audit configuration for a service. The configuration - * determines which permission types are logged, and what identities, if any, - * are exempted from logging. An AuditConfig must have one or more - * AuditLogConfigs.If there are AuditConfigs for both allServices and a - * specific service, the union of the two AuditConfigs is used for that - * service: the log_types specified in each AuditConfig are enabled, and the - * exempted_members in each AuditLogConfig are exempted.Example Policy with - * multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", - * "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ - * "user:jose\@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": - * "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", - * "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": - * "DATA_WRITE", "exempted_members": [ "user:aliya\@example.com" ] } ] } ] } - * For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ - * logging. It also exempts jose\@example.com from DATA_READ logging, and - * aliya\@example.com from DATA_WRITE logging. - */ -@interface GTLRDataprocMetastore_AuditConfig : GTLRObject - -/** The configuration for logging of each type of permission. */ -@property(nonatomic, strong, nullable) NSArray *auditLogConfigs; - -/** - * Specifies a service that will be enabled for audit logging. For example, - * storage.googleapis.com, cloudsql.googleapis.com. allServices is a special - * value that covers all services. - */ -@property(nonatomic, copy, nullable) NSString *service; - -@end - - -/** - * Provides the configuration for logging a type of permissions. Example: { - * "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ - * "user:jose\@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables - * 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose\@example.com from - * DATA_READ logging. - */ -@interface GTLRDataprocMetastore_AuditLogConfig : GTLRObject - -/** - * Specifies the identities that do not cause logging for this type of - * permission. Follows the same format of Binding.members. - */ -@property(nonatomic, strong, nullable) NSArray *exemptedMembers; - -/** - * The log type that this config enables. - * - * Likely values: - * @arg @c kGTLRDataprocMetastore_AuditLogConfig_LogType_AdminRead Admin - * reads. Example: CloudIAM getIamPolicy (Value: "ADMIN_READ") - * @arg @c kGTLRDataprocMetastore_AuditLogConfig_LogType_DataRead Data reads. - * Example: CloudSQL Users list (Value: "DATA_READ") - * @arg @c kGTLRDataprocMetastore_AuditLogConfig_LogType_DataWrite Data - * writes. Example: CloudSQL Users create (Value: "DATA_WRITE") - * @arg @c kGTLRDataprocMetastore_AuditLogConfig_LogType_LogTypeUnspecified - * Default case. Should never be this. (Value: "LOG_TYPE_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *logType; - -@end - - -/** - * Represents the autoscaling configuration of a metastore service. - */ -@interface GTLRDataprocMetastore_AutoscalingConfig : GTLRObject - -/** - * Optional. Whether or not autoscaling is enabled for this service. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *autoscalingEnabled; - -/** - * Output only. The scaling factor of a service with autoscaling enabled. - * - * Uses NSNumber of floatValue. - */ -@property(nonatomic, strong, nullable) NSNumber *autoscalingFactor; - -/** Optional. The LimitConfig of the service. */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_LimitConfig *limitConfig; - -@end - - -/** - * Configuration information for the auxiliary service versions. - */ -@interface GTLRDataprocMetastore_AuxiliaryVersionConfig : GTLRObject - -/** - * A mapping of Hive metastore configuration key-value pairs to apply to the - * auxiliary Hive metastore (configured in hive-site.xml) in addition to the - * primary version's overrides. If keys are present in both the auxiliary - * version's overrides and the primary version's overrides, the value from the - * auxiliary version's overrides takes precedence. - */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_AuxiliaryVersionConfig_ConfigOverrides *configOverrides; - -/** - * Output only. The network configuration contains the endpoint URI(s) of the - * auxiliary Hive metastore service. - */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_NetworkConfig *networkConfig; - -/** - * The Hive metastore version of the auxiliary service. It must be less than - * the primary Hive metastore service's version. - */ -@property(nonatomic, copy, nullable) NSString *version; - -@end - - -/** - * A mapping of Hive metastore configuration key-value pairs to apply to the - * auxiliary Hive metastore (configured in hive-site.xml) in addition to the - * primary version's overrides. If keys are present in both the auxiliary - * version's overrides and the primary version's overrides, the value from the - * auxiliary version's overrides takes precedence. - * - * @note This class is documented as having more properties of NSString. Use @c - * -additionalJSONKeys and @c -additionalPropertyForName: to get the list - * of properties and then fetch them; or @c -additionalProperties to - * fetch them all at once. - */ -@interface GTLRDataprocMetastore_AuxiliaryVersionConfig_ConfigOverrides : GTLRObject -@end - - -/** - * Represents a backend metastore for the federation. - */ -@interface GTLRDataprocMetastore_BackendMetastore : GTLRObject - -/** - * The type of the backend metastore. - * - * Likely values: - * @arg @c kGTLRDataprocMetastore_BackendMetastore_MetastoreType_Bigquery The - * backend metastore is BigQuery. (Value: "BIGQUERY") - * @arg @c kGTLRDataprocMetastore_BackendMetastore_MetastoreType_DataprocMetastore - * The backend metastore is Dataproc Metastore. (Value: - * "DATAPROC_METASTORE") - * @arg @c kGTLRDataprocMetastore_BackendMetastore_MetastoreType_MetastoreTypeUnspecified - * The metastore type is not set. (Value: "METASTORE_TYPE_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *metastoreType; - -/** - * The relative resource name of the metastore that is being federated. The - * formats of the relative resource names for the currently supported - * metastores are listed below: BigQuery projects/{project_id} Dataproc - * Metastore projects/{project_id}/locations/{location}/services/{service_id} - */ -@property(nonatomic, copy, nullable) NSString *name; - -@end - - -/** - * The details of a backup resource. - */ -@interface GTLRDataprocMetastore_Backup : GTLRObject - -/** Output only. The time when the backup was started. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; - -/** - * The description of the backup. - * - * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. - */ -@property(nonatomic, copy, nullable) NSString *descriptionProperty; - -/** Output only. The time when the backup finished creating. */ -@property(nonatomic, strong, nullable) GTLRDateTime *endTime; - -/** - * Immutable. The relative resource name of the backup, in the following - * form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id} - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** Output only. Services that are restoring from the backup. */ -@property(nonatomic, strong, nullable) NSArray *restoringServices; - -/** Output only. The revision of the service at the time of backup. */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_Service *serviceRevision; - -/** - * Output only. The current state of the backup. - * - * Likely values: - * @arg @c kGTLRDataprocMetastore_Backup_State_Active The backup is active - * and ready to use. (Value: "ACTIVE") - * @arg @c kGTLRDataprocMetastore_Backup_State_Creating The backup is being - * created. (Value: "CREATING") - * @arg @c kGTLRDataprocMetastore_Backup_State_Deleting The backup is being - * deleted. (Value: "DELETING") - * @arg @c kGTLRDataprocMetastore_Backup_State_Failed The backup failed. - * (Value: "FAILED") - * @arg @c kGTLRDataprocMetastore_Backup_State_Restoring The backup is being - * restored. (Value: "RESTORING") - * @arg @c kGTLRDataprocMetastore_Backup_State_StateUnspecified The state of - * the backup is unknown. (Value: "STATE_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *state; - -@end - - -/** - * Associates members, or principals, with a role. - */ -@interface GTLRDataprocMetastore_Binding : GTLRObject - -/** - * The condition that is associated with this binding.If the condition - * evaluates to true, then this binding applies to the current request.If the - * condition evaluates to false, then this binding does not apply to the - * current request. However, a different role binding might grant the same role - * to one or more of the principals in this binding.To learn which resources - * support conditions in their IAM policies, see the IAM documentation - * (https://cloud.google.com/iam/help/conditions/resource-policies). - */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_Expr *condition; - -/** - * Specifies the principals requesting access for a Google Cloud resource. - * members can have the following values: allUsers: A special identifier that - * represents anyone who is on the internet; with or without a Google account. - * allAuthenticatedUsers: A special identifier that represents anyone who is - * authenticated with a Google account or a service account. Does not include - * identities that come from external identity providers (IdPs) through - * identity federation. user:{emailid}: An email address that represents a - * specific Google account. For example, alice\@example.com . - * serviceAccount:{emailid}: An email address that represents a Google service - * account. For example, my-other-app\@appspot.gserviceaccount.com. - * serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]: An - * identifier for a Kubernetes service account - * (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). - * For example, my-project.svc.id.goog[my-namespace/my-kubernetes-sa]. - * group:{emailid}: An email address that represents a Google group. For - * example, admins\@example.com. domain:{domain}: The G Suite domain (primary) - * that represents all the users of that domain. For example, google.com or - * example.com. - * principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}: - * A single identity in a workforce identity pool. - * principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}: - * All workforce identities in a group. - * principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}: - * All workforce identities with a specific attribute value. - * principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ - * *: All identities in a workforce identity pool. - * principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}: - * A single identity in a workload identity pool. - * principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}: - * A workload identity pool group. - * principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}: - * All identities in a workload identity pool with a certain attribute. - * principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/ - * *: All identities in a workload identity pool. - * deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique - * identifier) representing a user that has been recently deleted. For example, - * alice\@example.com?uid=123456789012345678901. If the user is recovered, this - * value reverts to user:{emailid} and the recovered user retains the role in - * the binding. deleted:serviceAccount:{emailid}?uid={uniqueid}: An email - * address (plus unique identifier) representing a service account that has - * been recently deleted. For example, - * my-other-app\@appspot.gserviceaccount.com?uid=123456789012345678901. If the - * service account is undeleted, this value reverts to serviceAccount:{emailid} - * and the undeleted service account retains the role in the binding. - * deleted:group:{emailid}?uid={uniqueid}: An email address (plus unique - * identifier) representing a Google group that has been recently deleted. For - * example, admins\@example.com?uid=123456789012345678901. If the group is - * recovered, this value reverts to group:{emailid} and the recovered group - * retains the role in the binding. - * deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}: - * Deleted single identity in a workforce identity pool. For example, - * deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value. - */ -@property(nonatomic, strong, nullable) NSArray *members; - -/** - * Role that is assigned to the list of members, or principals. For example, - * roles/viewer, roles/editor, or roles/owner.For an overview of the IAM roles - * and permissions, see the IAM documentation - * (https://cloud.google.com/iam/docs/roles-overview). For a list of the - * available pre-defined roles, see here - * (https://cloud.google.com/iam/docs/understanding-roles). - */ -@property(nonatomic, copy, nullable) NSString *role; - -@end - - -/** - * Request message for DataprocMetastore.CancelMigration. - */ -@interface GTLRDataprocMetastore_CancelMigrationRequest : GTLRObject -@end - - -/** - * The request message for Operations.CancelOperation. - */ -@interface GTLRDataprocMetastore_CancelOperationRequest : GTLRObject -@end - - -/** - * Configuration information to start the Change Data Capture (CDC) streams - * from customer database to backend database of Dataproc Metastore. - */ -@interface GTLRDataprocMetastore_CdcConfig : GTLRObject - -/** - * Optional. The bucket to write the intermediate stream event data in. The - * bucket name must be without any prefix like "gs://". See the bucket naming - * requirements (https://cloud.google.com/storage/docs/buckets#naming). This - * field is optional. If not set, the Artifacts Cloud Storage bucket will be - * used. - */ -@property(nonatomic, copy, nullable) NSString *bucket; - -/** - * Required. Input only. The password for the user that Datastream service - * should use for the MySQL connection. This field is not returned on request. - */ -@property(nonatomic, copy, nullable) NSString *password; - -/** - * Required. The URL of the subnetwork resource to create the VM instance - * hosting the reverse proxy in. More context in - * https://cloud.google.com/datastream/docs/private-connectivity#reverse-csql-proxy - * The subnetwork should reside in the network provided in the request that - * Datastream will peer to and should be in the same region as Datastream, in - * the following format. - * projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id} - */ -@property(nonatomic, copy, nullable) NSString *reverseProxySubnet; - -/** - * Optional. The root path inside the Cloud Storage bucket. The stream event - * data will be written to this path. The default value is /migration. - */ -@property(nonatomic, copy, nullable) NSString *rootPath; - -/** Required. A /29 CIDR IP range for peering with datastream. */ -@property(nonatomic, copy, nullable) NSString *subnetIpRange; - -/** - * Required. The username that the Datastream service should use for the MySQL - * connection. - */ -@property(nonatomic, copy, nullable) NSString *username; - -/** - * Required. Fully qualified name of the Cloud SQL instance's VPC network or - * the shared VPC network that Datastream will peer to, in the following - * format: projects/{project_id}/locations/global/networks/{network_id}. More - * context in - * https://cloud.google.com/datastream/docs/network-connectivity-options#privateconnectivity - */ -@property(nonatomic, copy, nullable) NSString *vpcNetwork; - -@end - - -/** - * Configuration information to establish customer database connection before - * the cutover phase of migration - */ -@interface GTLRDataprocMetastore_CloudSQLConnectionConfig : GTLRObject - -/** Required. The hive database name. */ -@property(nonatomic, copy, nullable) NSString *hiveDatabaseName; - -/** - * Required. Cloud SQL database connection name - * (project_id:region:instance_name) - */ -@property(nonatomic, copy, nullable) NSString *instanceConnectionName; - -/** Required. The private IP address of the Cloud SQL instance. */ -@property(nonatomic, copy, nullable) NSString *ipAddress; - -/** - * Required. The relative resource name of the subnetwork to be used for - * Private Service Connect. Note that this cannot be a regular subnet and is - * used only for NAT. - * (https://cloud.google.com/vpc/docs/about-vpc-hosted-services#psc-subnets) - * This subnet is used to publish the SOCKS5 proxy service. The subnet size - * must be at least /29 and it should reside in a network through which the - * Cloud SQL instance is accessible. The resource name should be in the format, - * projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id} - */ -@property(nonatomic, copy, nullable) NSString *natSubnet; - -/** - * Required. Input only. The password for the user that Dataproc Metastore - * service will be using to connect to the database. This field is not returned - * on request. - */ -@property(nonatomic, copy, nullable) NSString *password; - -/** - * Required. The network port of the database. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *port; - -/** - * Required. The relative resource name of the subnetwork to deploy the SOCKS5 - * proxy service in. The subnetwork should reside in a network through which - * the Cloud SQL instance is accessible. The resource name should be in the - * format, - * projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id} - */ -@property(nonatomic, copy, nullable) NSString *proxySubnet; - -/** - * Required. The username that Dataproc Metastore service will use to connect - * to the database. - */ -@property(nonatomic, copy, nullable) NSString *username; - -@end - - -/** - * Configuration information for migrating from self-managed hive metastore on - * Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. - */ -@interface GTLRDataprocMetastore_CloudSQLMigrationConfig : GTLRObject - -/** - * Required. Configuration information to start the Change Data Capture (CDC) - * streams from customer database to backend database of Dataproc Metastore. - * Dataproc Metastore switches to using its backend database after the cutover - * phase of migration. - */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_CdcConfig *cdcConfig; - -/** - * Required. Configuration information to establish customer database - * connection before the cutover phase of migration - */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_CloudSQLConnectionConfig *cloudSqlConnectionConfig; - -@end - - -/** - * Request message for DataprocMetastore.CompleteMigration. - */ -@interface GTLRDataprocMetastore_CompleteMigrationRequest : GTLRObject -@end - - -/** - * Contains information of the customer's network configurations. - */ -@interface GTLRDataprocMetastore_Consumer : GTLRObject - -/** - * Output only. The location of the endpoint URI. Format: - * projects/{project}/locations/{location}. - */ -@property(nonatomic, copy, nullable) NSString *endpointLocation; - -/** - * Output only. The URI of the endpoint used to access the metastore service. - */ -@property(nonatomic, copy, nullable) NSString *endpointUri; - -/** - * Immutable. The subnetwork of the customer project from which an IP address - * is reserved and used as the Dataproc Metastore service's endpoint. It is - * accessible to hosts in the subnet and to all hosts in a subnet in the same - * region and same network. There must be at least one IP address available in - * the subnet's primary range. The subnet is specified in the following - * form:projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id} - */ -@property(nonatomic, copy, nullable) NSString *subnetwork; - -@end - - -/** - * Metadata about a custom region. This is only populated if the region is a - * custom region. For single/multi regions, it will be empty. - */ -@interface GTLRDataprocMetastore_CustomRegionMetadata : GTLRObject - -/** The read-only regions for this custom region. */ -@property(nonatomic, strong, nullable) NSArray *optionalReadOnlyRegions; - -/** The read-write regions for this custom region. */ -@property(nonatomic, strong, nullable) NSArray *requiredReadWriteRegions; - -/** The Spanner witness region for this custom region. */ -@property(nonatomic, copy, nullable) NSString *witnessRegion; - -@end - - -/** - * A specification of the location of and metadata about a database dump from a - * relational database management system. - */ -@interface GTLRDataprocMetastore_DatabaseDump : GTLRObject - -/** - * The type of the database. - * - * Likely values: - * @arg @c kGTLRDataprocMetastore_DatabaseDump_DatabaseType_DatabaseTypeUnspecified - * The type of the source database is unknown. (Value: - * "DATABASE_TYPE_UNSPECIFIED") - * @arg @c kGTLRDataprocMetastore_DatabaseDump_DatabaseType_Mysql The type of - * the source database is MySQL. (Value: "MYSQL") - */ -@property(nonatomic, copy, nullable) NSString *databaseType GTLR_DEPRECATED; - -/** - * A Cloud Storage object or folder URI that specifies the source from which to - * import metadata. It must begin with gs://. - */ -@property(nonatomic, copy, nullable) NSString *gcsUri; - -/** The name of the source database. */ -@property(nonatomic, copy, nullable) NSString *sourceDatabase GTLR_DEPRECATED; - -/** - * Optional. The type of the database dump. If unspecified, defaults to MYSQL. - * - * Likely values: - * @arg @c kGTLRDataprocMetastore_DatabaseDump_Type_Avro Database dump - * contains Avro files. (Value: "AVRO") - * @arg @c kGTLRDataprocMetastore_DatabaseDump_Type_Mysql Database dump is a - * MySQL dump file. (Value: "MYSQL") - * @arg @c kGTLRDataprocMetastore_DatabaseDump_Type_TypeUnspecified The type - * of the database dump is unknown. (Value: "TYPE_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *type; - -@end - - -/** - * Specifies how metastore metadata should be integrated with the Data Catalog - * service. - */ -@interface GTLRDataprocMetastore_DataCatalogConfig : GTLRObject - -/** - * Optional. Defines whether the metastore metadata should be synced to Data - * Catalog. The default value is to disable syncing metastore metadata to Data - * Catalog. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *enabled; - -@end - - -/** - * A generic empty message that you can re-use to avoid defining duplicated - * empty messages in your APIs. A typical example is to use it as the request - * or the response type of an API method. For instance: service Foo { rpc - * Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } - */ -@interface GTLRDataprocMetastore_Empty : GTLRObject -@end - - -/** - * Encryption settings for the service. - */ -@interface GTLRDataprocMetastore_EncryptionConfig : GTLRObject +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1alphaQueryMetadataResponse : GTLRObject /** - * The fully qualified customer provided Cloud KMS key name to use for customer - * data encryption, in the following - * format:projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}. + * The manifest URI is link to a JSON instance in Cloud Storage. This instance + * manifests immediately along with QueryMetadataResponse. The content of the + * URI is not retriable until the long-running operation query against the + * metadata finishes. */ -@property(nonatomic, copy, nullable) NSString *kmsKey; +@property(nonatomic, copy, nullable) NSString *resultManifestUri; @end /** - * Error details in public error message for DataprocMetastore.QueryMetadata. - */ -@interface GTLRDataprocMetastore_ErrorDetails : GTLRObject - -/** - * Additional structured details about this error.Keys define the failure - * items. Value describes the exception or details of the item. + * Response message for DataprocMetastore.AlterMetadataResourceLocation. */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_ErrorDetails_Details *details; - +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1AlterMetadataResourceLocationResponse : GTLRObject @end /** - * Additional structured details about this error.Keys define the failure - * items. Value describes the exception or details of the item. - * - * @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. + * Response message for DataprocMetastore.AlterMetadataResourceLocation. */ -@interface GTLRDataprocMetastore_ErrorDetails_Details : GTLRObject +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1betaAlterMetadataResourceLocationResponse : GTLRObject @end /** - * Request message for DataprocMetastore.ExportMetadata. - */ -@interface GTLRDataprocMetastore_ExportMetadataRequest : GTLRObject - -/** - * Optional. The type of the database dump. If unspecified, defaults to MYSQL. - * - * Likely values: - * @arg @c kGTLRDataprocMetastore_ExportMetadataRequest_DatabaseDumpType_Avro - * Database dump contains Avro files. (Value: "AVRO") - * @arg @c kGTLRDataprocMetastore_ExportMetadataRequest_DatabaseDumpType_Mysql - * Database dump is a MySQL dump file. (Value: "MYSQL") - * @arg @c kGTLRDataprocMetastore_ExportMetadataRequest_DatabaseDumpType_TypeUnspecified - * The type of the database dump is unknown. (Value: "TYPE_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *databaseDumpType; - -/** - * A Cloud Storage URI of a folder, in the format gs:///. A sub-folder - * containing exported files will be created below it. + * Response message for DataprocMetastore.CancelMigration. */ -@property(nonatomic, copy, nullable) NSString *destinationGcsFolder; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1betaCancelMigrationResponse : GTLRObject /** - * Optional. A request ID. Specify a unique request ID to allow the server to - * ignore the request if it has completed. The server will ignore subsequent - * requests that provide a duplicate request ID for at least 60 minutes after - * the first request.For example, if an initial request times out, followed by - * another request with the same request ID, the server ignores the second - * request to prevent the creation of duplicate commitments.The request ID must - * be a valid UUID - * (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero - * UUID (00000000-0000-0000-0000-000000000000) is not supported. + * The relative resource name of the migration execution, in the following + * form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}. */ -@property(nonatomic, copy, nullable) NSString *requestId; +@property(nonatomic, copy, nullable) NSString *migrationExecution; @end /** - * Represents a textual expression in the Common Expression Language (CEL) - * syntax. CEL is a C-like expression language. The syntax and semantics of CEL - * are documented at https://github.com/google/cel-spec.Example (Comparison): - * title: "Summary size limit" description: "Determines if a summary is less - * than 100 chars" expression: "document.summary.size() < 100" Example - * (Equality): title: "Requestor is owner" description: "Determines if - * requestor is the document owner" expression: "document.owner == - * request.auth.claims.email" Example (Logic): title: "Public documents" - * description: "Determine whether the document should be publicly visible" - * expression: "document.type != 'private' && document.type != 'internal'" - * Example (Data Manipulation): title: "Notification string" description: - * "Create a notification string with a timestamp." expression: "'New message - * received at ' + string(document.create_time)" The exact variables and - * functions that may be referenced within an expression are determined by the - * service that evaluates it. See the service documentation for additional - * information. - */ -@interface GTLRDataprocMetastore_Expr : GTLRObject - -/** - * Optional. Description of the expression. This is a longer text which - * describes the expression, e.g. when hovered over it in a UI. - * - * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. - */ -@property(nonatomic, copy, nullable) NSString *descriptionProperty; - -/** - * Textual representation of an expression in Common Expression Language - * syntax. - */ -@property(nonatomic, copy, nullable) NSString *expression; - -/** - * Optional. String indicating the location of the expression for error - * reporting, e.g. a file name and a position in the file. + * Response message for DataprocMetastore.CompleteMigration. */ -@property(nonatomic, copy, nullable) NSString *location; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1betaCompleteMigrationResponse : GTLRObject /** - * Optional. Title for the expression, i.e. a short string describing its - * purpose. This can be used e.g. in UIs which allow to enter the expression. + * The relative resource name of the migration execution, in the following + * form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}. */ -@property(nonatomic, copy, nullable) NSString *title; +@property(nonatomic, copy, nullable) NSString *migrationExecution; @end /** - * Represents a federation of multiple backend metastores. - */ -@interface GTLRDataprocMetastore_Federation : GTLRObject - -/** - * A map from BackendMetastore rank to BackendMetastores from which the - * federation service serves metadata at query time. The map key represents the - * order in which BackendMetastores should be evaluated to resolve database - * names at query time and should be greater than or equal to zero. A - * BackendMetastore with a lower number will be evaluated before a - * BackendMetastore with a higher number. - */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_Federation_BackendMetastores *backendMetastores; - -/** Output only. The time when the metastore federation was created. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; - -/** Output only. The federation endpoint. */ -@property(nonatomic, copy, nullable) NSString *endpointUri; - -/** User-defined labels for the metastore federation. */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_Federation_Labels *labels; - -/** - * Immutable. The relative resource name of the federation, of the form: - * projects/{project_number}/locations/{location_id}/federations/{federation_id}`. - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Output only. The current state of the federation. - * - * Likely values: - * @arg @c kGTLRDataprocMetastore_Federation_State_Active The metastore - * federation is running and ready to serve queries. (Value: "ACTIVE") - * @arg @c kGTLRDataprocMetastore_Federation_State_Creating The metastore - * federation is in the process of being created. (Value: "CREATING") - * @arg @c kGTLRDataprocMetastore_Federation_State_Deleting The metastore - * federation is undergoing deletion. It cannot be used. (Value: - * "DELETING") - * @arg @c kGTLRDataprocMetastore_Federation_State_Error The metastore - * federation has encountered an error and cannot be used. The metastore - * federation should be deleted. (Value: "ERROR") - * @arg @c kGTLRDataprocMetastore_Federation_State_StateUnspecified The state - * of the metastore federation is unknown. (Value: "STATE_UNSPECIFIED") - * @arg @c kGTLRDataprocMetastore_Federation_State_Updating The metastore - * federation is being updated. It remains usable but cannot accept - * additional update requests or be deleted at this time. (Value: - * "UPDATING") - */ -@property(nonatomic, copy, nullable) NSString *state; - -/** - * Output only. Additional information about the current state of the metastore - * federation, if available. - */ -@property(nonatomic, copy, nullable) NSString *stateMessage; - -/** - * Output only. The globally unique resource identifier of the metastore - * federation. - */ -@property(nonatomic, copy, nullable) NSString *uid; - -/** Output only. The time when the metastore federation was last updated. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; - -/** - * Immutable. The Apache Hive metastore version of the federation. All backend - * metastore versions must be compatible with the federation version. + * Metadata about a custom region. This is only populated if the region is a + * custom region. For single/multi regions, it will be empty. */ -@property(nonatomic, copy, nullable) NSString *version; - -@end +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1betaCustomRegionMetadata : GTLRObject +/** The read-only regions for this custom region. */ +@property(nonatomic, strong, nullable) NSArray *optionalReadOnlyRegions; -/** - * A map from BackendMetastore rank to BackendMetastores from which the - * federation service serves metadata at query time. The map key represents the - * order in which BackendMetastores should be evaluated to resolve database - * names at query time and should be greater than or equal to zero. A - * BackendMetastore with a lower number will be evaluated before a - * BackendMetastore with a higher number. - * - * @note This class is documented as having more properties of - * GTLRDataprocMetastore_BackendMetastore. Use @c -additionalJSONKeys and - * @c -additionalPropertyForName: to get the list of properties and then - * fetch them; or @c -additionalProperties to fetch them all at once. - */ -@interface GTLRDataprocMetastore_Federation_BackendMetastores : GTLRObject -@end +/** The read-write regions for this custom region. */ +@property(nonatomic, strong, nullable) NSArray *requiredReadWriteRegions; +/** The Spanner witness region for this custom region. */ +@property(nonatomic, copy, nullable) NSString *witnessRegion; -/** - * User-defined labels for the metastore federation. - * - * @note This class is documented as having more properties of NSString. Use @c - * -additionalJSONKeys and @c -additionalPropertyForName: to get the list - * of properties and then fetch them; or @c -additionalProperties to - * fetch them all at once. - */ -@interface GTLRDataprocMetastore_Federation_Labels : GTLRObject @end /** - * Specifies configuration information specific to running Hive metastore - * software as the metastore service. - */ -@interface GTLRDataprocMetastore_HiveMetastoreConfig : GTLRObject - -/** - * A mapping of Hive metastore version to the auxiliary version configuration. - * When specified, a secondary Hive metastore service is created along with the - * primary service. All auxiliary versions must be less than the service's - * primary version. The key is the auxiliary service name and it must match the - * regular expression a-z?. This means that the first character must be a - * lowercase letter, and all the following characters must be hyphens, - * lowercase letters, or digits, except the last character, which cannot be a - * hyphen. - */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_HiveMetastoreConfig_AuxiliaryVersions *auxiliaryVersions; - -/** - * A mapping of Hive metastore configuration key-value pairs to apply to the - * Hive metastore (configured in hive-site.xml). The mappings override system - * defaults (some keys cannot be overridden). These overrides are also applied - * to auxiliary versions and can be further customized in the auxiliary - * version's AuxiliaryVersionConfig. - */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_HiveMetastoreConfig_ConfigOverrides *configOverrides; - -/** - * The protocol to use for the metastore service endpoint. If unspecified, - * defaults to THRIFT. - * - * Likely values: - * @arg @c kGTLRDataprocMetastore_HiveMetastoreConfig_EndpointProtocol_EndpointProtocolUnspecified - * The protocol is not set. (Value: "ENDPOINT_PROTOCOL_UNSPECIFIED") - * @arg @c kGTLRDataprocMetastore_HiveMetastoreConfig_EndpointProtocol_Grpc - * Use the modernized gRPC protocol for the metastore service endpoint. - * (Value: "GRPC") - * @arg @c kGTLRDataprocMetastore_HiveMetastoreConfig_EndpointProtocol_Thrift - * Use the legacy Apache Thrift protocol for the metastore service - * endpoint. (Value: "THRIFT") + * Error details in public error message for DataprocMetastore.QueryMetadata. */ -@property(nonatomic, copy, nullable) NSString *endpointProtocol; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1betaErrorDetails : GTLRObject /** - * Information used to configure the Hive metastore service as a service - * principal in a Kerberos realm. To disable Kerberos, use the UpdateService - * method and specify this field's path (hive_metastore_config.kerberos_config) - * in the request's update_mask while omitting this field from the request's - * service. + * Additional structured details about this error.Keys define the failure + * items. Value describes the exception or details of the item. */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_KerberosConfig *kerberosConfig; - -/** Immutable. The Hive metastore schema version. */ -@property(nonatomic, copy, nullable) NSString *version; - -@end - +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_GoogleCloudMetastoreV1betaErrorDetails_Details *details; -/** - * A mapping of Hive metastore version to the auxiliary version configuration. - * When specified, a secondary Hive metastore service is created along with the - * primary service. All auxiliary versions must be less than the service's - * primary version. The key is the auxiliary service name and it must match the - * regular expression a-z?. This means that the first character must be a - * lowercase letter, and all the following characters must be hyphens, - * lowercase letters, or digits, except the last character, which cannot be a - * hyphen. - * - * @note This class is documented as having more properties of - * GTLRDataprocMetastore_AuxiliaryVersionConfig. Use @c - * -additionalJSONKeys and @c -additionalPropertyForName: to get the list - * of properties and then fetch them; or @c -additionalProperties to - * fetch them all at once. - */ -@interface GTLRDataprocMetastore_HiveMetastoreConfig_AuxiliaryVersions : GTLRObject @end /** - * A mapping of Hive metastore configuration key-value pairs to apply to the - * Hive metastore (configured in hive-site.xml). The mappings override system - * defaults (some keys cannot be overridden). These overrides are also applied - * to auxiliary versions and can be further customized in the auxiliary - * version's AuxiliaryVersionConfig. + * Additional structured details about this error.Keys define the failure + * items. Value describes the exception or details of the item. * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list * of properties and then fetch them; or @c -additionalProperties to * fetch them all at once. */ -@interface GTLRDataprocMetastore_HiveMetastoreConfig_ConfigOverrides : GTLRObject +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1betaErrorDetails_Details : GTLRObject @end /** * A specification of a supported version of the Hive Metastore software. */ -@interface GTLRDataprocMetastore_HiveMetastoreVersion : GTLRObject +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1betaHiveMetastoreVersion : GTLRObject /** * Whether version will be chosen by the server if a metastore service is @@ -1830,977 +566,792 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor */ @property(nonatomic, strong, nullable) NSNumber *isDefault; -/** The semantic version of the Hive Metastore software. */ -@property(nonatomic, copy, nullable) NSString *version; - -@end - - -/** - * Configuration information for a Kerberos principal. - */ -@interface GTLRDataprocMetastore_KerberosConfig : GTLRObject - -/** - * A Kerberos keytab file that can be used to authenticate a service principal - * with a Kerberos Key Distribution Center (KDC). - */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_Secret *keytab; - -/** - * A Cloud Storage URI that specifies the path to a krb5.conf file. It is of - * the form gs://{bucket_name}/path/to/krb5.conf, although the file does not - * need to be named krb5.conf explicitly. - */ -@property(nonatomic, copy, nullable) NSString *krb5ConfigGcsUri; - -/** - * A Kerberos principal that exists in the both the keytab the KDC to - * authenticate as. A typical principal is of the form primary/instance\@REALM, - * but there is no exact format. - */ -@property(nonatomic, copy, nullable) NSString *principal; - -@end - - -/** - * The details of the latest scheduled backup. - */ -@interface GTLRDataprocMetastore_LatestBackup : GTLRObject - -/** - * Output only. The ID of an in-progress scheduled backup. Empty if no backup - * is in progress. - */ -@property(nonatomic, copy, nullable) NSString *backupId; - -/** Output only. The duration of the backup completion. */ -@property(nonatomic, strong, nullable) GTLRDuration *duration; - -/** Output only. The time when the backup was started. */ -@property(nonatomic, strong, nullable) GTLRDateTime *startTime; - -/** - * Output only. The current state of the backup. - * - * Likely values: - * @arg @c kGTLRDataprocMetastore_LatestBackup_State_Failed The backup - * failed. (Value: "FAILED") - * @arg @c kGTLRDataprocMetastore_LatestBackup_State_InProgress The backup is - * in progress. (Value: "IN_PROGRESS") - * @arg @c kGTLRDataprocMetastore_LatestBackup_State_StateUnspecified The - * state of the backup is unknown. (Value: "STATE_UNSPECIFIED") - * @arg @c kGTLRDataprocMetastore_LatestBackup_State_Succeeded The backup - * completed. (Value: "SUCCEEDED") - */ -@property(nonatomic, copy, nullable) NSString *state; +/** The semantic version of the Hive Metastore software. */ +@property(nonatomic, copy, nullable) NSString *version; @end /** - * Represents the autoscaling limit configuration of a metastore service. + * Metadata about the service in a location. */ -@interface GTLRDataprocMetastore_LimitConfig : GTLRObject +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1betaLocationMetadata : GTLRObject /** - * Optional. The highest scaling factor that the service should be autoscaled - * to. - * - * Uses NSNumber of floatValue. + * Possible configurations supported if the current region is a custom region. */ -@property(nonatomic, strong, nullable) NSNumber *maxScalingFactor; +@property(nonatomic, strong, nullable) NSArray *customRegionMetadata; + +/** The multi-region metadata if the current region is a multi-region. */ +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_GoogleCloudMetastoreV1betaMultiRegionMetadata *multiRegionMetadata; /** - * Optional. The lowest scaling factor that the service should be autoscaled - * to. - * - * Uses NSNumber of floatValue. + * The versions of Hive Metastore that can be used when creating a new + * metastore service in this location. The server guarantees that exactly one + * HiveMetastoreVersion in the list will set is_default. */ -@property(nonatomic, strong, nullable) NSNumber *minScalingFactor; +@property(nonatomic, strong, nullable) NSArray *supportedHiveMetastoreVersions; @end /** - * Response message for DataprocMetastore.ListBackups. - * - * @note This class supports NSFastEnumeration and indexed subscripting over - * its "backups" property. If returned as the result of a query, it - * should support automatic pagination (when @c shouldFetchNextPages is - * enabled). + * Response message for DataprocMetastore.MoveTableToDatabase. */ -@interface GTLRDataprocMetastore_ListBackupsResponse : GTLRCollectionObject +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1betaMoveTableToDatabaseResponse : GTLRObject +@end -/** - * The backups of the specified service. - * - * @note This property is used to support NSFastEnumeration and indexed - * subscripting on this class. - */ -@property(nonatomic, strong, nullable) NSArray *backups; /** - * A token that can be sent as page_token to retrieve the next page. If this - * field is omitted, there are no subsequent pages. + * The metadata for the multi-region that includes the constituent regions. The + * metadata is only populated if the region is multi-region. For single region + * or custom dual region, it will be empty. */ -@property(nonatomic, copy, nullable) NSString *nextPageToken; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1betaMultiRegionMetadata : GTLRObject -/** Locations that could not be reached. */ -@property(nonatomic, strong, nullable) NSArray *unreachable; +/** The regions constituting the multi-region. */ +@property(nonatomic, strong, nullable) NSArray *constituentRegions; @end /** - * Response message for ListFederations - * - * @note This class supports NSFastEnumeration and indexed subscripting over - * its "federations" property. If returned as the result of a query, it - * should support automatic pagination (when @c shouldFetchNextPages is - * enabled). + * Represents the metadata of a long-running operation. */ -@interface GTLRDataprocMetastore_ListFederationsResponse : GTLRCollectionObject +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1betaOperationMetadata : GTLRObject + +/** Output only. API version used to start the operation. */ +@property(nonatomic, copy, nullable) NSString *apiVersion; + +/** Output only. The time the operation was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. The time the operation finished running. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; /** - * The services in the specified location. + * Output only. Identifies whether the caller has requested cancellation of the + * operation. Operations that have successfully been cancelled have + * google.longrunning.Operation.error value with a google.rpc.Status.code of 1, + * corresponding to Code.CANCELLED. * - * @note This property is used to support NSFastEnumeration and indexed - * subscripting on this class. + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSArray *federations; +@property(nonatomic, strong, nullable) NSNumber *requestedCancellation; + +/** Output only. Human-readable status of the operation, if any. */ +@property(nonatomic, copy, nullable) NSString *statusMessage; /** - * A token that can be sent as page_token to retrieve the next page. If this - * field is omitted, there are no subsequent pages. + * Output only. Server-defined resource path for the target of the operation. */ -@property(nonatomic, copy, nullable) NSString *nextPageToken; +@property(nonatomic, copy, nullable) NSString *target; -/** Locations that could not be reached. */ -@property(nonatomic, strong, nullable) NSArray *unreachable; +/** Output only. Name of the verb executed by the operation. */ +@property(nonatomic, copy, nullable) NSString *verb; @end /** - * The response message for Locations.ListLocations. - * - * @note This class supports NSFastEnumeration and indexed subscripting over - * its "locations" property. If returned as the result of a query, it - * should support automatic pagination (when @c shouldFetchNextPages is - * enabled). + * Response message for DataprocMetastore.QueryMetadata. */ -@interface GTLRDataprocMetastore_ListLocationsResponse : GTLRCollectionObject +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1betaQueryMetadataResponse : GTLRObject /** - * A list of locations that matches the specified filter in the request. - * - * @note This property is used to support NSFastEnumeration and indexed - * subscripting on this class. + * The manifest URI is link to a JSON instance in Cloud Storage. This instance + * manifests immediately along with QueryMetadataResponse. The content of the + * URI is not retriable until the long-running operation query against the + * metadata finishes. */ -@property(nonatomic, strong, nullable) NSArray *locations; - -/** The standard List next-page token. */ -@property(nonatomic, copy, nullable) NSString *nextPageToken; +@property(nonatomic, copy, nullable) NSString *resultManifestUri; @end /** - * Response message for DataprocMetastore.ListMetadataImports. - * - * @note This class supports NSFastEnumeration and indexed subscripting over - * its "metadataImports" property. If returned as the result of a query, - * it should support automatic pagination (when @c shouldFetchNextPages - * is enabled). + * Metadata about a custom region. This is only populated if the region is a + * custom region. For single/multi regions, it will be empty. */ -@interface GTLRDataprocMetastore_ListMetadataImportsResponse : GTLRCollectionObject +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1CustomRegionMetadata : GTLRObject + +/** The read-only regions for this custom region. */ +@property(nonatomic, strong, nullable) NSArray *optionalReadOnlyRegions; + +/** The read-write regions for this custom region. */ +@property(nonatomic, strong, nullable) NSArray *requiredReadWriteRegions; + +/** The Spanner witness region for this custom region. */ +@property(nonatomic, copy, nullable) NSString *witnessRegion; + +@end + /** - * The imports in the specified service. - * - * @note This property is used to support NSFastEnumeration and indexed - * subscripting on this class. + * Error details in public error message for DataprocMetastore.QueryMetadata. */ -@property(nonatomic, strong, nullable) NSArray *metadataImports; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1ErrorDetails : GTLRObject /** - * A token that can be sent as page_token to retrieve the next page. If this - * field is omitted, there are no subsequent pages. + * Additional structured details about this error.Keys define the failure + * items. Value describes the exception or details of the item. */ -@property(nonatomic, copy, nullable) NSString *nextPageToken; - -/** Locations that could not be reached. */ -@property(nonatomic, strong, nullable) NSArray *unreachable; +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_GoogleCloudMetastoreV1ErrorDetails_Details *details; @end /** - * Response message for DataprocMetastore.ListMigrationExecutions. + * Additional structured details about this error.Keys define the failure + * items. Value describes the exception or details of the item. * - * @note This class supports NSFastEnumeration and indexed subscripting over - * its "migrationExecutions" property. If returned as the result of a - * query, it should support automatic pagination (when @c - * shouldFetchNextPages is enabled). + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. */ -@interface GTLRDataprocMetastore_ListMigrationExecutionsResponse : GTLRCollectionObject +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1ErrorDetails_Details : GTLRObject +@end + /** - * The migration executions on the specified service. - * - * @note This property is used to support NSFastEnumeration and indexed - * subscripting on this class. + * A specification of a supported version of the Hive Metastore software. */ -@property(nonatomic, strong, nullable) NSArray *migrationExecutions; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1HiveMetastoreVersion : GTLRObject /** - * A token that can be sent as page_token to retrieve the next page. If this - * field is omitted, there are no subsequent pages. + * Whether version will be chosen by the server if a metastore service is + * created with a HiveMetastoreConfig that omits the version. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *nextPageToken; +@property(nonatomic, strong, nullable) NSNumber *isDefault; -/** Locations that could not be reached. */ -@property(nonatomic, strong, nullable) NSArray *unreachable; +/** The semantic version of the Hive Metastore software. */ +@property(nonatomic, copy, nullable) NSString *version; @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). + * Metadata about the service in a location. */ -@interface GTLRDataprocMetastore_ListOperationsResponse : GTLRCollectionObject +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1LocationMetadata : GTLRObject -/** The standard List next-page token. */ -@property(nonatomic, copy, nullable) NSString *nextPageToken; +/** + * Possible configurations supported if the current region is a custom region. + */ +@property(nonatomic, strong, nullable) NSArray *customRegionMetadata; + +/** The multi-region metadata if the current region is a multi-region. */ +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_GoogleCloudMetastoreV1MultiRegionMetadata *multiRegionMetadata; /** - * 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. + * The versions of Hive Metastore that can be used when creating a new + * metastore service in this location. The server guarantees that exactly one + * HiveMetastoreVersion in the list will set is_default. */ -@property(nonatomic, strong, nullable) NSArray *operations; +@property(nonatomic, strong, nullable) NSArray *supportedHiveMetastoreVersions; @end /** - * Response message for DataprocMetastore.ListServices. - * - * @note This class supports NSFastEnumeration and indexed subscripting over - * its "services" property. If returned as the result of a query, it - * should support automatic pagination (when @c shouldFetchNextPages is - * enabled). + * Response message for DataprocMetastore.MoveTableToDatabase. */ -@interface GTLRDataprocMetastore_ListServicesResponse : GTLRCollectionObject +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1MoveTableToDatabaseResponse : GTLRObject +@end -/** - * A token that 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 services in the specified location. - * - * @note This property is used to support NSFastEnumeration and indexed - * subscripting on this class. + * The metadata for the multi-region that includes the constituent regions. The + * metadata is only populated if the region is multi-region. For single region + * or custom dual region, it will be empty. */ -@property(nonatomic, strong, nullable) NSArray *services; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1MultiRegionMetadata : GTLRObject -/** Locations that could not be reached. */ -@property(nonatomic, strong, nullable) NSArray *unreachable; +/** The regions constituting the multi-region. */ +@property(nonatomic, strong, nullable) NSArray *constituentRegions; @end /** - * A resource that represents a Google Cloud location. + * Represents the metadata of a long-running operation. */ -@interface GTLRDataprocMetastore_Location : GTLRObject +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1OperationMetadata : GTLRObject + +/** Output only. API version used to start the operation. */ +@property(nonatomic, copy, nullable) NSString *apiVersion; + +/** Output only. The time the operation was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. The time the operation finished running. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; /** - * The friendly name for this location, typically a nearby city name. For - * example, "Tokyo". + * Output only. Identifies whether the caller has requested cancellation of the + * operation. Operations that have successfully been cancelled have + * google.longrunning.Operation.error value with a google.rpc.Status.code of 1, + * corresponding to Code.CANCELLED. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *displayName; +@property(nonatomic, strong, nullable) NSNumber *requestedCancellation; + +/** Output only. Human-readable status of the operation, if any. */ +@property(nonatomic, copy, nullable) NSString *statusMessage; /** - * Cross-service attributes for the location. For example - * {"cloud.googleapis.com/region": "us-east1"} + * Output only. Server-defined resource path for the target of the operation. */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_Location_Labels *labels; +@property(nonatomic, copy, nullable) NSString *target; + +/** Output only. Name of the verb executed by the operation. */ +@property(nonatomic, copy, nullable) NSString *verb; + +@end -/** The canonical id for this location. For example: "us-east1". */ -@property(nonatomic, copy, nullable) NSString *locationId; /** - * Service-specific metadata. For example the available capacity at the given - * location. + * Response message for DataprocMetastore.QueryMetadata. */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_Location_Metadata *metadata; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV1QueryMetadataResponse : GTLRObject /** - * Resource name for the location, which may vary between implementations. For - * example: "projects/example-project/locations/us-east1" + * The manifest URI is link to a JSON instance in Cloud Storage. This instance + * manifests immediately along with QueryMetadataResponse. The content of the + * URI is not retriable until the long-running operation query against the + * metadata finishes. */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *resultManifestUri; @end /** - * Cross-service attributes for the location. For example - * {"cloud.googleapis.com/region": "us-east1"} - * - * @note This class is documented as having more properties of NSString. Use @c - * -additionalJSONKeys and @c -additionalPropertyForName: to get the list - * of properties and then fetch them; or @c -additionalProperties to - * fetch them all at once. + * Request message for DataprocMetastore.AlterMetadataResourceLocation. */ -@interface GTLRDataprocMetastore_Location_Labels : GTLRObject -@end +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2AlterMetadataResourceLocationRequest : GTLRObject +/** Required. The new location URI for the metadata resource. */ +@property(nonatomic, copy, nullable) NSString *locationUri; /** - * Service-specific metadata. For example the available capacity at the given - * location. - * - * @note This class is documented as having more properties of any valid JSON - * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to - * get the list of properties and then fetch them; or @c - * -additionalProperties to fetch them all at once. + * Required. The relative metadata resource name in the following + * format.databases/{database_id} or databases/{database_id}/tables/{table_id} + * or databases/{database_id}/tables/{table_id}/partitions/{partition_id} */ -@interface GTLRDataprocMetastore_Location_Metadata : GTLRObject +@property(nonatomic, copy, nullable) NSString *resourceName; + @end /** - * Metadata about the service in a location. + * Request message for DataprocMetastore.AlterTableProperties. */ -@interface GTLRDataprocMetastore_LocationMetadata : GTLRObject +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2AlterTablePropertiesRequest : GTLRObject /** - * Possible configurations supported if the current region is a custom region. + * A map that describes the desired values to mutate. If update_mask is empty, + * the properties will not update. Otherwise, the properties only alters the + * value whose associated paths exist in the update mask */ -@property(nonatomic, strong, nullable) NSArray *customRegionMetadata; +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_GoogleCloudMetastoreV2AlterTablePropertiesRequest_Properties *properties; -/** The multi-region metadata if the current region is a multi-region. */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_MultiRegionMetadata *multiRegionMetadata; +/** + * Required. The name of the table containing the properties you're altering in + * the following format.databases/{database_id}/tables/{table_id} + */ +@property(nonatomic, copy, nullable) NSString *tableName; /** - * The versions of Hive Metastore that can be used when creating a new - * metastore service in this location. The server guarantees that exactly one - * HiveMetastoreVersion in the list will set is_default. + * A field mask that specifies the metadata table properties that are + * overwritten by the update. Fields specified in the update_mask are relative + * to the resource (not to the full request). A field is overwritten if it is + * in the mask.For example, given the target properties: properties { a: 1 b: 2 + * } And an update properties: properties { a: 2 b: 3 c: 4 } then if the field + * mask is:paths: "properties.b", "properties.c"then the result will be: + * properties { a: 1 b: 3 c: 4 } + * + * String format is a comma-separated list of fields. */ -@property(nonatomic, strong, nullable) NSArray *supportedHiveMetastoreVersions; +@property(nonatomic, copy, nullable) NSString *updateMask; @end /** - * Maintenance window. This specifies when Dataproc Metastore may perform - * system maintenance operation to the service. - */ -@interface GTLRDataprocMetastore_MaintenanceWindow : GTLRObject - -/** - * The day of week, when the window starts. - * - * Likely values: - * @arg @c kGTLRDataprocMetastore_MaintenanceWindow_DayOfWeek_DayOfWeekUnspecified - * The day of the week is unspecified. (Value: "DAY_OF_WEEK_UNSPECIFIED") - * @arg @c kGTLRDataprocMetastore_MaintenanceWindow_DayOfWeek_Friday Friday - * (Value: "FRIDAY") - * @arg @c kGTLRDataprocMetastore_MaintenanceWindow_DayOfWeek_Monday Monday - * (Value: "MONDAY") - * @arg @c kGTLRDataprocMetastore_MaintenanceWindow_DayOfWeek_Saturday - * Saturday (Value: "SATURDAY") - * @arg @c kGTLRDataprocMetastore_MaintenanceWindow_DayOfWeek_Sunday Sunday - * (Value: "SUNDAY") - * @arg @c kGTLRDataprocMetastore_MaintenanceWindow_DayOfWeek_Thursday - * Thursday (Value: "THURSDAY") - * @arg @c kGTLRDataprocMetastore_MaintenanceWindow_DayOfWeek_Tuesday Tuesday - * (Value: "TUESDAY") - * @arg @c kGTLRDataprocMetastore_MaintenanceWindow_DayOfWeek_Wednesday - * Wednesday (Value: "WEDNESDAY") - */ -@property(nonatomic, copy, nullable) NSString *dayOfWeek; - -/** - * The hour of day (0-23) when the window starts. + * A map that describes the desired values to mutate. If update_mask is empty, + * the properties will not update. Otherwise, the properties only alters the + * value whose associated paths exist in the update mask * - * Uses NSNumber of intValue. + * @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. */ -@property(nonatomic, strong, nullable) NSNumber *hourOfDay; - +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2AlterTablePropertiesRequest_Properties : GTLRObject @end /** - * The details of a metadata export operation. + * Configuration information for the auxiliary service versions. */ -@interface GTLRDataprocMetastore_MetadataExport : GTLRObject +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2AuxiliaryVersionConfig : GTLRObject /** - * Output only. The type of the database dump. - * - * Likely values: - * @arg @c kGTLRDataprocMetastore_MetadataExport_DatabaseDumpType_Avro - * Database dump contains Avro files. (Value: "AVRO") - * @arg @c kGTLRDataprocMetastore_MetadataExport_DatabaseDumpType_Mysql - * Database dump is a MySQL dump file. (Value: "MYSQL") - * @arg @c kGTLRDataprocMetastore_MetadataExport_DatabaseDumpType_TypeUnspecified - * The type of the database dump is unknown. (Value: "TYPE_UNSPECIFIED") + * A mapping of Hive metastore configuration key-value pairs to apply to the + * auxiliary Hive metastore (configured in hive-site.xml) in addition to the + * primary version's overrides. If keys are present in both the auxiliary + * version's overrides and the primary version's overrides, the value from the + * auxiliary version's overrides takes precedence. */ -@property(nonatomic, copy, nullable) NSString *databaseDumpType; +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_GoogleCloudMetastoreV2AuxiliaryVersionConfig_ConfigOverrides *configOverrides; /** - * Output only. A Cloud Storage URI of a folder that metadata are exported to, - * in the form of gs:////, where is automatically generated. + * Output only. The list of endpoints used to access the auxiliary metastore + * service, includes version and region data. */ -@property(nonatomic, copy, nullable) NSString *destinationGcsUri; +@property(nonatomic, strong, nullable) NSArray *endpoints; -/** Output only. The time when the export ended. */ -@property(nonatomic, strong, nullable) GTLRDateTime *endTime; +/** + * The Hive metastore version of the auxiliary service. It must be less than + * the primary Hive metastore service's version. + */ +@property(nonatomic, copy, nullable) NSString *version; + +@end -/** Output only. The time when the export started. */ -@property(nonatomic, strong, nullable) GTLRDateTime *startTime; /** - * Output only. The current state of the export. + * A mapping of Hive metastore configuration key-value pairs to apply to the + * auxiliary Hive metastore (configured in hive-site.xml) in addition to the + * primary version's overrides. If keys are present in both the auxiliary + * version's overrides and the primary version's overrides, the value from the + * auxiliary version's overrides takes precedence. * - * Likely values: - * @arg @c kGTLRDataprocMetastore_MetadataExport_State_Cancelled The metadata - * export is cancelled. (Value: "CANCELLED") - * @arg @c kGTLRDataprocMetastore_MetadataExport_State_Failed The metadata - * export failed. (Value: "FAILED") - * @arg @c kGTLRDataprocMetastore_MetadataExport_State_Running The metadata - * export is running. (Value: "RUNNING") - * @arg @c kGTLRDataprocMetastore_MetadataExport_State_StateUnspecified The - * state of the metadata export is unknown. (Value: "STATE_UNSPECIFIED") - * @arg @c kGTLRDataprocMetastore_MetadataExport_State_Succeeded The metadata - * export completed successfully. (Value: "SUCCEEDED") + * @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. */ -@property(nonatomic, copy, nullable) NSString *state; - +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2AuxiliaryVersionConfig_ConfigOverrides : GTLRObject @end /** - * A metastore resource that imports metadata. + * The details of a backup resource. */ -@interface GTLRDataprocMetastore_MetadataImport : GTLRObject +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2Backup : GTLRObject -/** Output only. The time when the metadata import was started. */ +/** Output only. The time when the backup was started. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; -/** Immutable. A database dump from a pre-existing metastore's database. */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_DatabaseDump *databaseDump; - /** - * The description of the metadata import. + * The description of the backup. * * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; -/** Output only. The time when the metadata import finished. */ +/** Output only. The time when the backup finished creating. */ @property(nonatomic, strong, nullable) GTLRDateTime *endTime; /** - * Immutable. The relative resource name of the metadata import, of the - * form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}. + * Immutable. The relative resource name of the backup, in the following + * form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id} */ @property(nonatomic, copy, nullable) NSString *name; +/** Output only. Services that are restoring from the backup. */ +@property(nonatomic, strong, nullable) NSArray *restoringServices; + +/** Output only. The revision of the service at the time of backup. */ +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_GoogleCloudMetastoreV2Service *serviceRevision; + /** - * Output only. The current state of the metadata import. + * Output only. The current state of the backup. * * Likely values: - * @arg @c kGTLRDataprocMetastore_MetadataImport_State_Failed The metadata - * import failed, and attempted metadata changes were rolled back. - * (Value: "FAILED") - * @arg @c kGTLRDataprocMetastore_MetadataImport_State_Running The metadata - * import is running. (Value: "RUNNING") - * @arg @c kGTLRDataprocMetastore_MetadataImport_State_StateUnspecified The - * state of the metadata import is unknown. (Value: "STATE_UNSPECIFIED") - * @arg @c kGTLRDataprocMetastore_MetadataImport_State_Succeeded The metadata - * import completed successfully. (Value: "SUCCEEDED") - * @arg @c kGTLRDataprocMetastore_MetadataImport_State_Updating The metadata - * import is being updated. (Value: "UPDATING") + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2Backup_State_Active + * The backup is active and ready to use. (Value: "ACTIVE") + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2Backup_State_Creating + * The backup is being created. (Value: "CREATING") + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2Backup_State_Deleting + * The backup is being deleted. (Value: "DELETING") + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2Backup_State_Failed + * The backup failed. (Value: "FAILED") + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2Backup_State_Restoring + * The backup is being restored. (Value: "RESTORING") + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2Backup_State_StateUnspecified + * The state of the backup is unknown. (Value: "STATE_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *state; -/** Output only. The time when the metadata import was last updated. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; - @end /** - * Specifies how metastore metadata should be integrated with external - * services. + * A specification of the location of and metadata about a database dump from a + * relational database management system. */ -@interface GTLRDataprocMetastore_MetadataIntegration : GTLRObject +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2DatabaseDump : GTLRObject -/** Optional. The integration config for the Data Catalog service. */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_DataCatalogConfig *dataCatalogConfig; +/** + * Required. A Cloud Storage object or folder URI that specifies the source + * from which to import metadata. It must begin with gs://. + */ +@property(nonatomic, copy, nullable) NSString *gcsUri; + +/** + * Optional. The type of the database dump. If unspecified, defaults to MYSQL. + * + * Likely values: + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2DatabaseDump_Type_Avro + * Database dump contains Avro files. (Value: "AVRO") + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2DatabaseDump_Type_Mysql + * Database dump is a MySQL dump file. (Value: "MYSQL") + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2DatabaseDump_Type_TypeUnspecified + * The type of the database dump is unknown. (Value: "TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; @end /** - * The metadata management activities of the metastore service. + * Specifies how metastore metadata should be integrated with the Data Catalog + * service. + */ +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2DataCatalogConfig : GTLRObject + +/** + * Optional. Defines whether the metastore metadata should be synced to Data + * Catalog. The default value is to disable syncing metastore metadata to Data + * Catalog. + * + * Uses NSNumber of boolValue. */ -@interface GTLRDataprocMetastore_MetadataManagementActivity : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *enabled; -/** Output only. The latest metadata exports of the metastore service. */ -@property(nonatomic, strong, nullable) NSArray *metadataExports; +@end -/** Output only. The latest restores of the metastore service. */ -@property(nonatomic, strong, nullable) NSArray *restores; +/** + * Encryption settings for the service. + */ +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2EncryptionConfig : GTLRObject @end /** - * The details of a migration execution resource. + * An endpoint used to access the metastore service. */ -@interface GTLRDataprocMetastore_MigrationExecution : GTLRObject +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2Endpoint : GTLRObject /** - * Configuration information specific to migrating from self-managed hive - * metastore on Google Cloud using Cloud SQL as the backend database to - * Dataproc Metastore. + * Output only. The URI of the endpoint used to access the metastore service. */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_CloudSQLMigrationConfig *cloudSqlMigrationConfig; +@property(nonatomic, copy, nullable) NSString *endpointUri; -/** Output only. The time when the migration execution was started. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** Output only. The region where the endpoint is located. */ +@property(nonatomic, copy, nullable) NSString *region; + +@end -/** Output only. The time when the migration execution finished. */ -@property(nonatomic, strong, nullable) GTLRDateTime *endTime; /** - * Output only. The relative resource name of the migration execution, in the - * following form: - * projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id} + * Request message for DataprocMetastore.ExportMetadata. */ -@property(nonatomic, copy, nullable) NSString *name; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2ExportMetadataRequest : GTLRObject /** - * Output only. The current phase of the migration execution. - * - * Likely values: - * @arg @c kGTLRDataprocMetastore_MigrationExecution_Phase_Cutover Cutover - * phase refers to the migration phase when Dataproc Metastore switches - * to using its own backend database. Migration enters this phase when - * customer is done migrating all their clusters/workloads to Dataproc - * Metastore and triggers CompleteMigration. (Value: "CUTOVER") - * @arg @c kGTLRDataprocMetastore_MigrationExecution_Phase_PhaseUnspecified - * The phase of the migration execution is unknown. (Value: - * "PHASE_UNSPECIFIED") - * @arg @c kGTLRDataprocMetastore_MigrationExecution_Phase_Replication - * Replication phase refers to the migration phase when Dataproc - * Metastore is running a pipeline to replicate changes in the customer - * database to its backend database. During this phase, Dataproc - * Metastore uses the customer database as the hive metastore backend - * database. (Value: "REPLICATION") - */ -@property(nonatomic, copy, nullable) NSString *phase; - -/** - * Output only. The current state of the migration execution. + * Optional. The type of the database dump. If unspecified, defaults to MYSQL. * * Likely values: - * @arg @c kGTLRDataprocMetastore_MigrationExecution_State_AwaitingUserAction - * The migration execution is awaiting user action. (Value: - * "AWAITING_USER_ACTION") - * @arg @c kGTLRDataprocMetastore_MigrationExecution_State_Cancelled The - * migration execution is cancelled. (Value: "CANCELLED") - * @arg @c kGTLRDataprocMetastore_MigrationExecution_State_Cancelling The - * migration execution is in the process of being cancelled. (Value: - * "CANCELLING") - * @arg @c kGTLRDataprocMetastore_MigrationExecution_State_Deleting The - * migration execution is being deleted. (Value: "DELETING") - * @arg @c kGTLRDataprocMetastore_MigrationExecution_State_Failed The - * migration execution has failed. (Value: "FAILED") - * @arg @c kGTLRDataprocMetastore_MigrationExecution_State_Running The - * migration execution is running. (Value: "RUNNING") - * @arg @c kGTLRDataprocMetastore_MigrationExecution_State_Starting The - * migration execution is starting. (Value: "STARTING") - * @arg @c kGTLRDataprocMetastore_MigrationExecution_State_StateUnspecified - * The state of the migration execution is unknown. (Value: - * "STATE_UNSPECIFIED") - * @arg @c kGTLRDataprocMetastore_MigrationExecution_State_Succeeded The - * migration execution has completed successfully. (Value: "SUCCEEDED") + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2ExportMetadataRequest_DatabaseDumpType_Avro + * Database dump contains Avro files. (Value: "AVRO") + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2ExportMetadataRequest_DatabaseDumpType_Mysql + * Database dump is a MySQL dump file. (Value: "MYSQL") + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2ExportMetadataRequest_DatabaseDumpType_TypeUnspecified + * The type of the database dump is unknown. (Value: "TYPE_UNSPECIFIED") */ -@property(nonatomic, copy, nullable) NSString *state; +@property(nonatomic, copy, nullable) NSString *databaseDumpType; /** - * Output only. Additional information about the current state of the migration - * execution. + * A Cloud Storage URI of a folder, in the format gs:///. A sub-folder + * containing exported files will be created below it. */ -@property(nonatomic, copy, nullable) NSString *stateMessage; - -@end - +@property(nonatomic, copy, nullable) NSString *destinationGcsFolder; /** - * Request message for DataprocMetastore.MoveTableToDatabase. + * Optional. A request ID. Specify a unique request ID to allow the server to + * ignore the request if it has completed. The server will ignore subsequent + * requests that provide a duplicate request ID for at least 60 minutes after + * the first request.For example, if an initial request times out, followed by + * another request with the same request ID, the server ignores the second + * request to prevent the creation of duplicate commitments.The request ID must + * be a valid UUID + * (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero + * UUID (00000000-0000-0000-0000-000000000000) is not supported. */ -@interface GTLRDataprocMetastore_MoveTableToDatabaseRequest : GTLRObject - -/** Required. The name of the database where the table resides. */ -@property(nonatomic, copy, nullable) NSString *dbName; - -/** Required. The name of the database where the table should be moved. */ -@property(nonatomic, copy, nullable) NSString *destinationDbName; - -/** Required. The name of the table to be moved. */ -@property(nonatomic, copy, nullable) NSString *tableName; +@property(nonatomic, copy, nullable) NSString *requestId; @end /** - * Response message for DataprocMetastore.MoveTableToDatabase. + * Specifies configuration information specific to running Hive metastore + * software as the metastore service. */ -@interface GTLRDataprocMetastore_MoveTableToDatabaseResponse : GTLRObject -@end - +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig : GTLRObject /** - * The metadata for the multi-region that includes the constituent regions. The - * metadata is only populated if the region is multi-region. For single region - * or custom dual region, it will be empty. + * Optional. A mapping of Hive metastore version to the auxiliary version + * configuration. When specified, a secondary Hive metastore service is created + * along with the primary service. All auxiliary versions must be less than the + * service's primary version. The key is the auxiliary service name and it must + * match the regular expression a-z?. This means that the first character must + * be a lowercase letter, and all the following characters must be hyphens, + * lowercase letters, or digits, except the last character, which cannot be a + * hyphen. */ -@interface GTLRDataprocMetastore_MultiRegionMetadata : GTLRObject - -/** The regions constituting the multi-region. */ -@property(nonatomic, strong, nullable) NSArray *constituentRegions; - -@end - +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig_AuxiliaryVersions *auxiliaryVersions; /** - * Network configuration for the Dataproc Metastore service. + * Optional. A mapping of Hive metastore configuration key-value pairs to apply + * to the Hive metastore (configured in hive-site.xml). The mappings override + * system defaults (some keys cannot be overridden). These overrides are also + * applied to auxiliary versions and can be further customized in the auxiliary + * version's AuxiliaryVersionConfig. */ -@interface GTLRDataprocMetastore_NetworkConfig : GTLRObject +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig_ConfigOverrides *configOverrides; /** - * Immutable. The consumer-side network configuration for the Dataproc - * Metastore instance. + * Optional. The protocol to use for the metastore service endpoint. If + * unspecified, defaults to GRPC. + * + * Likely values: + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig_EndpointProtocol_EndpointProtocolUnspecified + * The protocol is not set. (Value: "ENDPOINT_PROTOCOL_UNSPECIFIED") + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig_EndpointProtocol_Grpc + * Use the modernized gRPC protocol for the metastore service endpoint. + * (Value: "GRPC") + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig_EndpointProtocol_Thrift + * Use the legacy Apache Thrift protocol for the metastore service + * endpoint. (Value: "THRIFT") */ -@property(nonatomic, strong, nullable) NSArray *consumers; +@property(nonatomic, copy, nullable) NSString *endpointProtocol; + +/** Immutable. The Hive metastore schema version. */ +@property(nonatomic, copy, nullable) NSString *version; @end /** - * This resource represents a long-running operation that is the result of a - * network API call. + * Optional. A mapping of Hive metastore version to the auxiliary version + * configuration. When specified, a secondary Hive metastore service is created + * along with the primary service. All auxiliary versions must be less than the + * service's primary version. The key is the auxiliary service name and it must + * match the regular expression a-z?. This means that the first character must + * be a lowercase letter, and all the following characters must be hyphens, + * lowercase letters, or digits, except the last character, which cannot be a + * hyphen. + * + * @note This class is documented as having more properties of + * GTLRDataprocMetastore_GoogleCloudMetastoreV2AuxiliaryVersionConfig. + * Use @c -additionalJSONKeys and @c -additionalPropertyForName: to get + * the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. */ -@interface GTLRDataprocMetastore_Operation : GTLRObject +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig_AuxiliaryVersions : GTLRObject +@end + /** - * 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. + * Optional. A mapping of Hive metastore configuration key-value pairs to apply + * to the Hive metastore (configured in hive-site.xml). The mappings override + * system defaults (some keys cannot be overridden). These overrides are also + * applied to auxiliary versions and can be further customized in the auxiliary + * version's AuxiliaryVersionConfig. * - * Uses NSNumber of boolValue. + * @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. */ -@property(nonatomic, strong, nullable) NSNumber *done; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig_ConfigOverrides : GTLRObject +@end -/** The error result of the operation in case of failure or cancellation. */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_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. + * Request message for DataprocMetastore.CreateMetadataImport. */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_Operation_Metadata *metadata; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2ImportMetadataRequest : GTLRObject + +/** Immutable. A database dump from a pre-existing metastore's database. */ +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_GoogleCloudMetastoreV2DatabaseDump *databaseDump; /** - * 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}. + * Optional. The description of the metadata import. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *descriptionProperty; /** - * 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. + * Optional. A request ID. Specify a unique request ID to allow the server to + * ignore the request if it has completed. The server will ignore subsequent + * requests that provide a duplicate request ID for at least 60 minutes after + * the first request.For example, if an initial request times out, followed by + * another request with the same request ID, the server ignores the second + * request to prevent the creation of duplicate commitments.The request ID must + * be a valid UUID + * (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero + * UUID (00000000-0000-0000-0000-000000000000) is not supported. */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_Operation_Response *response; +@property(nonatomic, copy, nullable) NSString *requestId; @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. + * The details of the latest scheduled backup. */ -@interface GTLRDataprocMetastore_Operation_Metadata : GTLRObject -@end - +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2LatestBackup : GTLRObject /** - * 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. + * Output only. The ID of an in-progress scheduled backup. Empty if no backup + * is in progress. */ -@interface GTLRDataprocMetastore_Operation_Response : GTLRObject -@end +@property(nonatomic, copy, nullable) NSString *backupId; + +/** Output only. The duration of the backup completion. */ +@property(nonatomic, strong, nullable) GTLRDuration *duration; +/** Output only. The time when the backup was started. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; /** - * Represents the metadata of a long-running operation. + * Output only. The current state of the backup. + * + * Likely values: + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2LatestBackup_State_Failed + * The backup failed. (Value: "FAILED") + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2LatestBackup_State_InProgress + * The backup is in progress. (Value: "IN_PROGRESS") + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2LatestBackup_State_StateUnspecified + * The state of the backup is unknown. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2LatestBackup_State_Succeeded + * The backup completed. (Value: "SUCCEEDED") */ -@interface GTLRDataprocMetastore_OperationMetadata : GTLRObject - -/** Output only. API version used to start the operation. */ -@property(nonatomic, copy, nullable) NSString *apiVersion; +@property(nonatomic, copy, nullable) NSString *state; -/** Output only. The time the operation was created. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +@end -/** Output only. The time the operation finished running. */ -@property(nonatomic, strong, nullable) GTLRDateTime *endTime; /** - * Output only. Identifies whether the caller has requested cancellation of the - * operation. Operations that have successfully been cancelled have - * Operation.error value with a google.rpc.Status.code of 1, corresponding to - * Code.CANCELLED. + * Response message for DataprocMetastore.ListBackups. * - * Uses NSNumber of boolValue. + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "backups" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). */ -@property(nonatomic, strong, nullable) NSNumber *requestedCancellation; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2ListBackupsResponse : GTLRCollectionObject -/** Output only. Human-readable status of the operation, if any. */ -@property(nonatomic, copy, nullable) NSString *statusMessage; +/** + * The backups of the specified service. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *backups; /** - * Output only. Server-defined resource path for the target of the operation. + * A token that 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 *target; +@property(nonatomic, copy, nullable) NSString *nextPageToken; -/** Output only. Name of the verb executed by the operation. */ -@property(nonatomic, copy, nullable) NSString *verb; +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; @end /** - * An Identity and Access Management (IAM) policy, which specifies access - * controls for Google Cloud resources.A Policy is a collection of bindings. A - * binding binds one or more members, or principals, to a single role. - * Principals can be user accounts, service accounts, Google groups, and - * domains (such as G Suite). A role is a named list of permissions; each role - * can be an IAM predefined role or a user-created custom role.For some types - * of Google Cloud resources, a binding can also specify a condition, which is - * a logical expression that allows access to a resource only if the expression - * evaluates to true. A condition can add constraints based on attributes of - * the request, the resource, or both. To learn which resources support - * conditions in their IAM policies, see the IAM documentation - * (https://cloud.google.com/iam/help/conditions/resource-policies).JSON - * example: { "bindings": [ { "role": - * "roles/resourcemanager.organizationAdmin", "members": [ - * "user:mike\@example.com", "group:admins\@example.com", "domain:google.com", - * "serviceAccount:my-project-id\@appspot.gserviceaccount.com" ] }, { "role": - * "roles/resourcemanager.organizationViewer", "members": [ - * "user:eve\@example.com" ], "condition": { "title": "expirable access", - * "description": "Does not grant access after Sep 2020", "expression": - * "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": - * "BwWWja0YfJA=", "version": 3 } YAML example: bindings: - members: - - * user:mike\@example.com - group:admins\@example.com - domain:google.com - - * serviceAccount:my-project-id\@appspot.gserviceaccount.com role: - * roles/resourcemanager.organizationAdmin - members: - user:eve\@example.com - * role: roles/resourcemanager.organizationViewer condition: title: expirable - * access description: Does not grant access after Sep 2020 expression: - * request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= - * version: 3 For a description of IAM and its features, see the IAM - * documentation (https://cloud.google.com/iam/docs/). - */ -@interface GTLRDataprocMetastore_Policy : GTLRObject - -/** Specifies cloud audit logging configuration for this policy. */ -@property(nonatomic, strong, nullable) NSArray *auditConfigs; - -/** - * Associates a list of members, or principals, with a role. Optionally, may - * specify a condition that determines how and when the bindings are applied. - * Each of the bindings must contain at least one principal.The bindings in a - * Policy can refer to up to 1,500 principals; up to 250 of these principals - * can be Google groups. Each occurrence of a principal counts towards these - * limits. For example, if the bindings grant 50 different roles to - * user:alice\@example.com, and not to any other principal, then you can add - * another 1,450 principals to the bindings in the Policy. - */ -@property(nonatomic, strong, nullable) NSArray *bindings; - -/** - * etag is used for optimistic concurrency control as a way to help prevent - * simultaneous updates of a policy from overwriting each other. It is strongly - * suggested that systems make use of the etag in the read-modify-write cycle - * to perform policy updates in order to avoid race conditions: An etag is - * returned in the response to getIamPolicy, and systems are expected to put - * that etag in the request to setIamPolicy to ensure that their change will be - * applied to the same version of the policy.Important: If you use IAM - * Conditions, you must include the etag field whenever you call setIamPolicy. - * If you omit this field, then IAM allows you to overwrite a version 3 policy - * with a version 1 policy, and all of the conditions in the version 3 policy - * are lost. - * - * Contains encoded binary data; GTLRBase64 can encode/decode (probably - * web-safe format). - */ -@property(nonatomic, copy, nullable) NSString *ETag; - -/** - * Specifies the format of the policy.Valid values are 0, 1, and 3. Requests - * that specify an invalid value are rejected.Any operation that affects - * conditional role bindings must specify version 3. This requirement applies - * to the following operations: Getting a policy that includes a conditional - * role binding Adding a conditional role binding to a policy Changing a - * conditional role binding in a policy Removing any role binding, with or - * without a condition, from a policy that includes conditionsImportant: If you - * use IAM Conditions, you must include the etag field whenever you call - * setIamPolicy. If you omit this field, then IAM allows you to overwrite a - * version 3 policy with a version 1 policy, and all of the conditions in the - * version 3 policy are lost.If a policy does not include any conditions, - * operations on that policy may specify any valid version or leave the field - * unset.To learn which resources support conditions in their IAM policies, see - * the IAM documentation - * (https://cloud.google.com/iam/help/conditions/resource-policies). + * Response message for DataprocMetastore.ListServices. * - * Uses NSNumber of intValue. + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "services" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). */ -@property(nonatomic, strong, nullable) NSNumber *version; - -@end - +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2ListServicesResponse : GTLRCollectionObject /** - * Request message for DataprocMetastore.QueryMetadata. + * A token that can be sent as page_token to retrieve the next page. If this + * field is omitted, there are no subsequent pages. */ -@interface GTLRDataprocMetastore_QueryMetadataRequest : GTLRObject +@property(nonatomic, copy, nullable) NSString *nextPageToken; /** - * Required. A read-only SQL query to execute against the metadata database. - * The query cannot change or mutate the data. + * The services in the specified location. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. */ -@property(nonatomic, copy, nullable) NSString *query; +@property(nonatomic, strong, nullable) NSArray *services; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; @end /** - * Response message for DataprocMetastore.QueryMetadata. + * Specifies how metastore metadata should be integrated with external + * services. */ -@interface GTLRDataprocMetastore_QueryMetadataResponse : GTLRObject +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2MetadataIntegration : GTLRObject -/** - * The manifest URI is link to a JSON instance in Cloud Storage. This instance - * manifests immediately along with QueryMetadataResponse. The content of the - * URI is not retriable until the long-running operation query against the - * metadata finishes. - */ -@property(nonatomic, copy, nullable) NSString *resultManifestUri; +/** Optional. The integration config for the Data Catalog service. */ +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_GoogleCloudMetastoreV2DataCatalogConfig *dataCatalogConfig; @end /** - * The details of a metadata restore operation. + * Request message for DataprocMetastore.MoveTableToDatabase. */ -@interface GTLRDataprocMetastore_Restore : GTLRObject +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2MoveTableToDatabaseRequest : GTLRObject -/** - * Output only. The relative resource name of the metastore service backup to - * restore from, in the following - * form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}. - */ -@property(nonatomic, copy, nullable) NSString *backup; +/** Required. The name of the database where the table resides. */ +@property(nonatomic, copy, nullable) NSString *dbName; -/** - * Optional. A Cloud Storage URI specifying where the backup artifacts are - * stored, in the format gs:///. - */ -@property(nonatomic, copy, nullable) NSString *backupLocation; +/** Required. The name of the database where the table should be moved. */ +@property(nonatomic, copy, nullable) NSString *destinationDbName; -/** - * Output only. The restore details containing the revision of the service to - * be restored to, in format of JSON. - */ -@property(nonatomic, copy, nullable) NSString *details; +/** Required. The name of the table to be moved. */ +@property(nonatomic, copy, nullable) NSString *tableName; -/** Output only. The time when the restore ended. */ -@property(nonatomic, strong, nullable) GTLRDateTime *endTime; +@end -/** Output only. The time when the restore started. */ -@property(nonatomic, strong, nullable) GTLRDateTime *startTime; /** - * Output only. The current state of the restore. - * - * Likely values: - * @arg @c kGTLRDataprocMetastore_Restore_State_Cancelled The metadata - * restore is cancelled. (Value: "CANCELLED") - * @arg @c kGTLRDataprocMetastore_Restore_State_Failed The metadata restore - * failed. (Value: "FAILED") - * @arg @c kGTLRDataprocMetastore_Restore_State_Running The metadata restore - * is running. (Value: "RUNNING") - * @arg @c kGTLRDataprocMetastore_Restore_State_StateUnspecified The state of - * the metadata restore is unknown. (Value: "STATE_UNSPECIFIED") - * @arg @c kGTLRDataprocMetastore_Restore_State_Succeeded The metadata - * restore completed successfully. (Value: "SUCCEEDED") + * Request message for DataprocMetastore.QueryMetadata. */ -@property(nonatomic, copy, nullable) NSString *state; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2QueryMetadataRequest : GTLRObject /** - * Output only. The type of restore. - * - * Likely values: - * @arg @c kGTLRDataprocMetastore_Restore_Type_Full The service's metadata - * and configuration are restored. (Value: "FULL") - * @arg @c kGTLRDataprocMetastore_Restore_Type_MetadataOnly Only the - * service's metadata is restored. (Value: "METADATA_ONLY") - * @arg @c kGTLRDataprocMetastore_Restore_Type_RestoreTypeUnspecified The - * restore type is unknown. (Value: "RESTORE_TYPE_UNSPECIFIED") + * Required. A read-only SQL query to execute against the metadata database. + * The query cannot change or mutate the data. */ -@property(nonatomic, copy, nullable) NSString *type; +@property(nonatomic, copy, nullable) NSString *query; @end @@ -2808,7 +1359,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor /** * Request message for DataprocMetastore.Restore. */ -@interface GTLRDataprocMetastore_RestoreServiceRequest : GTLRObject +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2RestoreServiceRequest : GTLRObject /** * Optional. The relative resource name of the metastore service backup to @@ -2844,11 +1395,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor * Optional. The type of restore. If unspecified, defaults to METADATA_ONLY. * * Likely values: - * @arg @c kGTLRDataprocMetastore_RestoreServiceRequest_RestoreType_Full The - * service's metadata and configuration are restored. (Value: "FULL") - * @arg @c kGTLRDataprocMetastore_RestoreServiceRequest_RestoreType_MetadataOnly + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2RestoreServiceRequest_RestoreType_Full + * The service's metadata and configuration are restored. (Value: "FULL") + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2RestoreServiceRequest_RestoreType_MetadataOnly * Only the service's metadata is restored. (Value: "METADATA_ONLY") - * @arg @c kGTLRDataprocMetastore_RestoreServiceRequest_RestoreType_RestoreTypeUnspecified + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2RestoreServiceRequest_RestoreType_RestoreTypeUnspecified * The restore type is unknown. (Value: "RESTORE_TYPE_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *restoreType; @@ -2859,38 +1410,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor /** * Represents the scaling configuration of a metastore service. */ -@interface GTLRDataprocMetastore_ScalingConfig : GTLRObject - -/** Optional. The autoscaling configuration. */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_AutoscalingConfig *autoscalingConfig; - -/** - * An enum of readable instance sizes, with each instance size mapping to a - * float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1)) - * - * Likely values: - * @arg @c kGTLRDataprocMetastore_ScalingConfig_InstanceSize_ExtraLarge Extra - * large instance size, maps to a scaling factor of 6.0. (Value: - * "EXTRA_LARGE") - * @arg @c kGTLRDataprocMetastore_ScalingConfig_InstanceSize_ExtraSmall Extra - * small instance size, maps to a scaling factor of 0.1. (Value: - * "EXTRA_SMALL") - * @arg @c kGTLRDataprocMetastore_ScalingConfig_InstanceSize_InstanceSizeUnspecified - * Unspecified instance size (Value: "INSTANCE_SIZE_UNSPECIFIED") - * @arg @c kGTLRDataprocMetastore_ScalingConfig_InstanceSize_Large Large - * instance size, maps to a scaling factor of 3.0. (Value: "LARGE") - * @arg @c kGTLRDataprocMetastore_ScalingConfig_InstanceSize_Medium Medium - * instance size, maps to a scaling factor of 1.0. (Value: "MEDIUM") - * @arg @c kGTLRDataprocMetastore_ScalingConfig_InstanceSize_Small Small - * instance size, maps to a scaling factor of 0.5. (Value: "SMALL") - */ -@property(nonatomic, copy, nullable) NSString *instanceSize; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2ScalingConfig : GTLRObject /** - * Scaling factor, increments of 0.1 for values less than 1.0, and increments - * of 1.0 for values greater than 1.0. + * Optional. Scaling factor from 1 to 5, increments of 1. * - * Uses NSNumber of floatValue. + * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *scalingFactor; @@ -2900,7 +1425,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor /** * This specifies the configuration of scheduled backup. */ -@interface GTLRDataprocMetastore_ScheduledBackup : GTLRObject +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2ScheduledBackup : GTLRObject /** * Optional. A Cloud Storage URI of a folder, in the format gs:///. A @@ -2924,7 +1449,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor @property(nonatomic, strong, nullable) NSNumber *enabled; /** Output only. The details of the latest scheduled backup. */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_LatestBackup *latestBackup; +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_GoogleCloudMetastoreV2LatestBackup *latestBackup; /** * Output only. The time when the next backups execution is scheduled to start. @@ -2943,94 +1468,39 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor @end -/** - * A securely stored value. - */ -@interface GTLRDataprocMetastore_Secret : GTLRObject - -/** - * The relative resource name of a Secret Manager secret version, in the - * following - * form:projects/{project_number}/secrets/{secret_id}/versions/{version_id}. - */ -@property(nonatomic, copy, nullable) NSString *cloudSecret; - -@end - - /** * A managed metastore service that serves metadata queries. */ -@interface GTLRDataprocMetastore_Service : GTLRObject - -/** - * Output only. A Cloud Storage URI (starting with gs://) that specifies where - * artifacts related to the metastore service are stored. - */ -@property(nonatomic, copy, nullable) NSString *artifactGcsUri; +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2Service : GTLRObject /** Output only. The time when the metastore service was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; -/** - * Immutable. The database type that the Metastore service stores its data. - * - * Likely values: - * @arg @c kGTLRDataprocMetastore_Service_DatabaseType_DatabaseTypeUnspecified - * The DATABASE_TYPE is not set. (Value: "DATABASE_TYPE_UNSPECIFIED") - * @arg @c kGTLRDataprocMetastore_Service_DatabaseType_Mysql MySQL is used to - * persist the metastore data. (Value: "MYSQL") - * @arg @c kGTLRDataprocMetastore_Service_DatabaseType_Spanner Spanner is - * used to persist the metastore data. (Value: "SPANNER") - */ -@property(nonatomic, copy, nullable) NSString *databaseType; - -/** - * Optional. Indicates if the dataproc metastore should be protected against - * accidental deletions. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *deletionProtection; - /** * Immutable. Information used to configure the Dataproc Metastore service to * encrypt customer data at rest. Cannot be updated. */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_EncryptionConfig *encryptionConfig; +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_GoogleCloudMetastoreV2EncryptionConfig *encryptionConfig; /** - * Output only. The URI of the endpoint used to access the metastore service. + * Output only. The list of endpoints used to access the metastore service. */ -@property(nonatomic, copy, nullable) NSString *endpointUri; +@property(nonatomic, strong, nullable) NSArray *endpoints; /** * Configuration information specific to running Hive metastore software as the * metastore service. */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_HiveMetastoreConfig *hiveMetastoreConfig; +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_GoogleCloudMetastoreV2HiveMetastoreConfig *hiveMetastoreConfig; /** User-defined labels for the metastore service. */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_Service_Labels *labels; - -/** - * The one hour maintenance window of the metastore service. This specifies - * when the service can be restarted for maintenance purposes in UTC time. - * Maintenance window is not needed for services with the SPANNER database - * type. - */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_MaintenanceWindow *maintenanceWindow; +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_GoogleCloudMetastoreV2Service_Labels *labels; /** * Optional. The setting that defines how metastore metadata should be * integrated with external services and systems. */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_MetadataIntegration *metadataIntegration; - -/** - * Output only. The metadata management activities of the metastore service. - */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_MetadataManagementActivity *metadataManagementActivity; +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_GoogleCloudMetastoreV2MetadataIntegration *metadataIntegration; /** * Immutable. The relative resource name of the metastore service, in the @@ -3039,80 +1509,42 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor */ @property(nonatomic, copy, nullable) NSString *name; -/** - * Immutable. The relative resource name of the VPC network on which the - * instance can be accessed. It is specified in the following - * form:projects/{project_number}/global/networks/{network_id}. - */ -@property(nonatomic, copy, nullable) NSString *network; - -/** - * The configuration specifying the network settings for the Dataproc Metastore - * service. - */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_NetworkConfig *networkConfig; - -/** - * The TCP port at which the metastore service is reached. Default: 9083. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *port; - -/** - * Immutable. The release channel of the service. If unspecified, defaults to - * STABLE. - * - * Likely values: - * @arg @c kGTLRDataprocMetastore_Service_ReleaseChannel_Canary The CANARY - * release channel contains the newest features, which may be unstable - * and subject to unresolved issues with no known workarounds. Services - * using the CANARY release channel are not subject to any SLAs. (Value: - * "CANARY") - * @arg @c kGTLRDataprocMetastore_Service_ReleaseChannel_ReleaseChannelUnspecified - * Release channel is not specified. (Value: - * "RELEASE_CHANNEL_UNSPECIFIED") - * @arg @c kGTLRDataprocMetastore_Service_ReleaseChannel_Stable The STABLE - * release channel contains features that are considered stable and have - * been validated for production use. (Value: "STABLE") - */ -@property(nonatomic, copy, nullable) NSString *releaseChannel; - -/** Scaling configuration of the metastore service. */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_ScalingConfig *scalingConfig; +/** Optional. Scaling configuration of the metastore service. */ +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_GoogleCloudMetastoreV2ScalingConfig *scalingConfig; /** * Optional. The configuration of scheduled backup for the metastore service. */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_ScheduledBackup *scheduledBackup; +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_GoogleCloudMetastoreV2ScheduledBackup *scheduledBackup; /** * Output only. The current state of the metastore service. * * Likely values: - * @arg @c kGTLRDataprocMetastore_Service_State_Active The metastore service - * is running and ready to serve queries. (Value: "ACTIVE") - * @arg @c kGTLRDataprocMetastore_Service_State_Autoscaling The Dataproc - * Metastore service 2 is being scaled up or down. (Value: "AUTOSCALING") - * @arg @c kGTLRDataprocMetastore_Service_State_Creating The metastore - * service is in the process of being created. (Value: "CREATING") - * @arg @c kGTLRDataprocMetastore_Service_State_Deleting The metastore - * service is undergoing deletion. It cannot be used. (Value: "DELETING") - * @arg @c kGTLRDataprocMetastore_Service_State_Error The metastore service - * has encountered an error and cannot be used. The metastore service - * should be deleted. (Value: "ERROR") - * @arg @c kGTLRDataprocMetastore_Service_State_Migrating The metastore - * service is processing a managed migration. (Value: "MIGRATING") - * @arg @c kGTLRDataprocMetastore_Service_State_StateUnspecified The state of - * the metastore service is unknown. (Value: "STATE_UNSPECIFIED") - * @arg @c kGTLRDataprocMetastore_Service_State_Suspended The metastore - * service is suspended and unable to serve queries. (Value: "SUSPENDED") - * @arg @c kGTLRDataprocMetastore_Service_State_Suspending The metastore - * service is entering suspension. Its query-serving availability may - * cease unexpectedly. (Value: "SUSPENDING") - * @arg @c kGTLRDataprocMetastore_Service_State_Updating The metastore - * service is being updated. It remains usable but cannot accept - * additional update requests or be deleted at this time. (Value: + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2Service_State_Active + * The metastore service is running and ready to serve queries. (Value: + * "ACTIVE") + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2Service_State_Creating + * The metastore service is in the process of being created. (Value: + * "CREATING") + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2Service_State_Deleting + * The metastore service is undergoing deletion. It cannot be used. + * (Value: "DELETING") + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2Service_State_Error + * The metastore service has encountered an error and cannot be used. The + * metastore service should be deleted. (Value: "ERROR") + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2Service_State_StateUnspecified + * The state of the metastore service is unknown. (Value: + * "STATE_UNSPECIFIED") + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2Service_State_Suspended + * The metastore service is suspended and unable to serve queries. + * (Value: "SUSPENDED") + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2Service_State_Suspending + * The metastore service is entering suspension. Its query-serving + * availability may cease unexpectedly. (Value: "SUSPENDING") + * @arg @c kGTLRDataprocMetastore_GoogleCloudMetastoreV2Service_State_Updating + * The metastore service is being updated. It remains usable but cannot + * accept additional update requests or be deleted at this time. (Value: * "UPDATING") */ @property(nonatomic, copy, nullable) NSString *state; @@ -3123,27 +1555,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor */ @property(nonatomic, copy, nullable) NSString *stateMessage; -/** - * The configuration specifying telemetry settings for the Dataproc Metastore - * service. If unspecified defaults to JSON. - */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_TelemetryConfig *telemetryConfig; - -/** - * The tier of the service. - * - * Likely values: - * @arg @c kGTLRDataprocMetastore_Service_Tier_Developer The developer tier - * provides limited scalability and no fault tolerance. Good for low-cost - * proof-of-concept. (Value: "DEVELOPER") - * @arg @c kGTLRDataprocMetastore_Service_Tier_Enterprise The enterprise tier - * provides multi-zone high availability, and sufficient scalability for - * enterprise-level Dataproc Metastore workloads. (Value: "ENTERPRISE") - * @arg @c kGTLRDataprocMetastore_Service_Tier_TierUnspecified The tier is - * not set. (Value: "TIER_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *tier; - /** * Output only. The globally unique resource identifier of the metastore * service. @@ -3153,6 +1564,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor /** Output only. The time when the metastore service was last updated. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +/** + * Required. A Cloud Storage URI (starting with gs://) that specifies the + * default warehouse directory of the Hive Metastore. + */ +@property(nonatomic, copy, nullable) NSString *warehouseGcsUri; + @end @@ -3164,55 +1581,86 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor * of properties and then fetch them; or @c -additionalProperties to * fetch them all at once. */ -@interface GTLRDataprocMetastore_Service_Labels : GTLRObject +@interface GTLRDataprocMetastore_GoogleCloudMetastoreV2Service_Labels : GTLRObject @end /** - * Request message for SetIamPolicy method. + * This resource represents a long-running operation that is the result of a + * network API call. */ -@interface GTLRDataprocMetastore_SetIamPolicyRequest : GTLRObject +@interface GTLRDataprocMetastore_GoogleLongrunningOperation : GTLRObject /** - * REQUIRED: The complete policy to be applied to the resource. The size of the - * policy is limited to a few 10s of KB. An empty policy is a valid policy but - * certain Google Cloud services (such as Projects) might reject them. + * 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) GTLRDataprocMetastore_Policy *policy; +@property(nonatomic, strong, nullable) NSNumber *done; + +/** The error result of the operation in case of failure or cancellation. */ +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_GoogleRpcStatus *error; /** - * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only - * the fields in the mask will be modified. If no mask is provided, the - * following default mask is used:paths: "bindings, etag" - * - * String format is a comma-separated list of fields. + * 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, copy, nullable) NSString *updateMask; +@property(nonatomic, strong, nullable) GTLRDataprocMetastore_GoogleLongrunningOperation_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) GTLRDataprocMetastore_GoogleLongrunningOperation_Response *response; @end /** - * Request message for DataprocMetastore.StartMigration. + * 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 GTLRDataprocMetastore_StartMigrationRequest : GTLRObject +@interface GTLRDataprocMetastore_GoogleLongrunningOperation_Metadata : GTLRObject +@end -/** Required. The configuration details for the migration. */ -@property(nonatomic, strong, nullable) GTLRDataprocMetastore_MigrationExecution *migrationExecution; /** - * Optional. A request ID. Specify a unique request ID to allow the server to - * ignore the request if it has completed. The server will ignore subsequent - * requests that provide a duplicate request ID for at least 60 minutes after - * the first request.For example, if an initial request times out, followed by - * another request with the same request ID, the server ignores the second - * request to prevent the creation of duplicate commitments.The request ID must - * be a valid UUID - * (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero - * UUID (00000000-0000-0000-0000-000000000000) is not supported. + * 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. */ -@property(nonatomic, copy, nullable) NSString *requestId; - +@interface GTLRDataprocMetastore_GoogleLongrunningOperation_Response : GTLRObject @end @@ -3224,7 +1672,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor * about this error model and how to work with it in the API Design Guide * (https://cloud.google.com/apis/design/errors). */ -@interface GTLRDataprocMetastore_Status : GTLRObject +@interface GTLRDataprocMetastore_GoogleRpcStatus : GTLRObject /** * The status code, which should be an enum value of google.rpc.Code. @@ -3237,7 +1685,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor * A list of messages that carry the error details. There is a common set of * message types for APIs to use. */ -@property(nonatomic, strong, nullable) NSArray *details; +@property(nonatomic, strong, nullable) NSArray *details; /** * A developer-facing error message, which should be in English. Any @@ -3250,63 +1698,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocMetastore_TelemetryConfig_LogFor /** - * GTLRDataprocMetastore_Status_Details_Item + * GTLRDataprocMetastore_GoogleRpcStatus_Details_Item * * @note This class is documented as having more properties of any valid JSON * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to * get the list of properties and then fetch them; or @c * -additionalProperties to fetch them all at once. */ -@interface GTLRDataprocMetastore_Status_Details_Item : GTLRObject -@end - - -/** - * Telemetry Configuration for the Dataproc Metastore service. - */ -@interface GTLRDataprocMetastore_TelemetryConfig : GTLRObject - -/** - * The output format of the Dataproc Metastore service's logs. - * - * Likely values: - * @arg @c kGTLRDataprocMetastore_TelemetryConfig_LogFormat_Json Logging - * output uses the jsonPayload format. (Value: "JSON") - * @arg @c kGTLRDataprocMetastore_TelemetryConfig_LogFormat_Legacy Logging - * output uses the legacy textPayload format. (Value: "LEGACY") - * @arg @c kGTLRDataprocMetastore_TelemetryConfig_LogFormat_LogFormatUnspecified - * The LOG_FORMAT is not set. (Value: "LOG_FORMAT_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *logFormat; - -@end - - -/** - * Request message for TestIamPermissions method. - */ -@interface GTLRDataprocMetastore_TestIamPermissionsRequest : GTLRObject - -/** - * The set of permissions to check for the resource. Permissions with wildcards - * (such as * or storage.*) are not allowed. For more information see IAM - * Overview (https://cloud.google.com/iam/docs/overview#permissions). - */ -@property(nonatomic, strong, nullable) NSArray *permissions; - -@end - - -/** - * Response message for TestIamPermissions method. - */ -@interface GTLRDataprocMetastore_TestIamPermissionsResponse : GTLRObject - -/** - * A subset of TestPermissionsRequest.permissions that the caller is allowed. - */ -@property(nonatomic, strong, nullable) NSArray *permissions; - +@interface GTLRDataprocMetastore_GoogleRpcStatus_Details_Item : GTLRObject @end NS_ASSUME_NONNULL_END diff --git a/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreQuery.h b/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreQuery.h index 0bc9ce7ea..e6689a572 100644 --- a/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreQuery.h +++ b/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreQuery.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Dataproc Metastore API (metastore/v1) +// Dataproc Metastore API (metastore/v2) // Description: // The Dataproc Metastore API is used to manage the lifecycle and // configuration of metastore services. @@ -35,1300 +35,108 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Creates a metastore federation in a project and location. - * - * Method: metastore.projects.locations.federations.create - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsCreate : GTLRDataprocMetastoreQuery - -/** - * Required. The ID of the metastore federation, which is used as the final - * component of the metastore federation's name.This value must be between 2 - * and 63 characters long inclusive, begin with a letter, end with a letter or - * number, and consist of alpha-numeric ASCII characters or hyphens. - */ -@property(nonatomic, copy, nullable) NSString *federationId; - -/** - * Required. The relative resource name of the location in which to create a - * federation service, in the following - * form:projects/{project_number}/locations/{location_id}. - */ -@property(nonatomic, copy, nullable) NSString *parent; - -/** - * Optional. A request ID. Specify a unique request ID to allow the server to - * ignore the request if it has completed. The server will ignore subsequent - * requests that provide a duplicate request ID for at least 60 minutes after - * the first request.For example, if an initial request times out, followed by - * another request with the same request ID, the server ignores the second - * request to prevent the creation of duplicate commitments.The request ID must - * be a valid UUID - * (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero - * UUID (00000000-0000-0000-0000-000000000000) is not supported. - */ -@property(nonatomic, copy, nullable) NSString *requestId; - -/** - * Fetches a @c GTLRDataprocMetastore_Operation. - * - * Creates a metastore federation in a project and location. - * - * @param object The @c GTLRDataprocMetastore_Federation to include in the - * query. - * @param parent Required. The relative resource name of the location in which - * to create a federation service, in the following - * form:projects/{project_number}/locations/{location_id}. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsCreate - */ -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_Federation *)object - parent:(NSString *)parent; - -@end - -/** - * Deletes a single federation. - * - * Method: metastore.projects.locations.federations.delete - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsDelete : GTLRDataprocMetastoreQuery - -/** - * Required. The relative resource name of the metastore federation to delete, - * in the following - * form:projects/{project_number}/locations/{location_id}/federations/{federation_id}. - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Optional. A request ID. Specify a unique request ID to allow the server to - * ignore the request if it has completed. The server will ignore subsequent - * requests that provide a duplicate request ID for at least 60 minutes after - * the first request.For example, if an initial request times out, followed by - * another request with the same request ID, the server ignores the second - * request to prevent the creation of duplicate commitments.The request ID must - * be a valid UUID - * (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero - * UUID (00000000-0000-0000-0000-000000000000) is not supported. - */ -@property(nonatomic, copy, nullable) NSString *requestId; - -/** - * Fetches a @c GTLRDataprocMetastore_Operation. - * - * Deletes a single federation. - * - * @param name Required. The relative resource name of the metastore federation - * to delete, in the following - * form:projects/{project_number}/locations/{location_id}/federations/{federation_id}. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsDelete - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - -/** - * Gets the details of a single federation. - * - * Method: metastore.projects.locations.federations.get - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsGet : GTLRDataprocMetastoreQuery - -/** - * Required. The relative resource name of the metastore federation to - * retrieve, in the following - * form:projects/{project_number}/locations/{location_id}/federations/{federation_id}. - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Fetches a @c GTLRDataprocMetastore_Federation. - * - * Gets the details of a single federation. - * - * @param name Required. The relative resource name of the metastore federation - * to retrieve, in the following - * form:projects/{project_number}/locations/{location_id}/federations/{federation_id}. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsGet - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - -/** - * Gets the access control policy for a resource. Returns an empty policy if - * the resource exists and does not have a policy set. - * - * Method: metastore.projects.locations.federations.getIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsGetIamPolicy : GTLRDataprocMetastoreQuery - -/** - * Optional. The maximum policy version that will be used to format the - * policy.Valid values are 0, 1, and 3. Requests specifying an invalid value - * will be rejected.Requests for policies with any conditional role bindings - * must specify version 3. Policies with no conditional role bindings may - * specify any valid value or leave the field unset.The policy in the response - * might use the policy version that you specified, or it might use a lower - * policy version. For example, if you specify version 3, but the policy has no - * conditional role bindings, the response uses version 1.To learn which - * resources support conditions in their IAM policies, see the IAM - * documentation - * (https://cloud.google.com/iam/help/conditions/resource-policies). - */ -@property(nonatomic, assign) NSInteger optionsRequestedPolicyVersion; - -/** - * REQUIRED: The resource for which the policy is being requested. See Resource - * names (https://cloud.google.com/apis/design/resource_names) for the - * appropriate value for this field. - */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * Fetches a @c GTLRDataprocMetastore_Policy. - * - * Gets the access control policy for a resource. Returns an empty policy if - * the resource exists and does not have a policy set. - * - * @param resource REQUIRED: The resource for which the policy is being - * requested. See Resource names - * (https://cloud.google.com/apis/design/resource_names) for the appropriate - * value for this field. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsGetIamPolicy - */ -+ (instancetype)queryWithResource:(NSString *)resource; - -@end - -/** - * Lists federations in a project and location. - * - * Method: metastore.projects.locations.federations.list - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsList : GTLRDataprocMetastoreQuery - -/** Optional. The filter to apply to list results. */ -@property(nonatomic, copy, nullable) NSString *filter; - -/** - * Optional. Specify the ordering of results as described in Sorting Order - * (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not - * specified, the results will be sorted in the default order. - */ -@property(nonatomic, copy, nullable) NSString *orderBy; - -/** - * Optional. The maximum number of federations to return. The response may - * contain less than the maximum number. If unspecified, no more than 500 - * services are returned. The maximum value is 1000; values above 1000 are - * changed to 1000. - */ -@property(nonatomic, assign) NSInteger pageSize; - -/** - * Optional. A page token, received from a previous ListFederationServices - * call. Provide this token to retrieve the subsequent page.To retrieve the - * first page, supply an empty page token.When paginating, other parameters - * provided to ListFederationServices must match the call that provided the - * page token. - */ -@property(nonatomic, copy, nullable) NSString *pageToken; - -/** - * Required. The relative resource name of the location of metastore - * federations to list, in the following form: - * projects/{project_number}/locations/{location_id}. - */ -@property(nonatomic, copy, nullable) NSString *parent; - -/** - * Fetches a @c GTLRDataprocMetastore_ListFederationsResponse. - * - * Lists federations in a project and location. - * - * @param parent Required. The relative resource name of the location of - * metastore federations to list, in the following form: - * projects/{project_number}/locations/{location_id}. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsList - * - * @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 fields of a federation. - * - * Method: metastore.projects.locations.federations.patch - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsPatch : GTLRDataprocMetastoreQuery - -/** - * Immutable. The relative resource name of the federation, of the form: - * projects/{project_number}/locations/{location_id}/federations/{federation_id}`. - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Optional. A request ID. Specify a unique request ID to allow the server to - * ignore the request if it has completed. The server will ignore subsequent - * requests that provide a duplicate request ID for at least 60 minutes after - * the first request.For example, if an initial request times out, followed by - * another request with the same request ID, the server ignores the second - * request to prevent the creation of duplicate commitments.The request ID must - * be a valid UUID - * (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero - * UUID (00000000-0000-0000-0000-000000000000) is not supported. - */ -@property(nonatomic, copy, nullable) NSString *requestId; - -/** - * Required. A field mask used to specify the fields to be overwritten in the - * metastore federation resource by the update. Fields specified in the - * update_mask are relative to the resource (not to the full request). A field - * is overwritten if it is in the mask. - * - * String format is a comma-separated list of fields. - */ -@property(nonatomic, copy, nullable) NSString *updateMask; - -/** - * Fetches a @c GTLRDataprocMetastore_Operation. - * - * Updates the fields of a federation. - * - * @param object The @c GTLRDataprocMetastore_Federation to include in the - * query. - * @param name Immutable. The relative resource name of the federation, of the - * form: - * projects/{project_number}/locations/{location_id}/federations/{federation_id}`. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsPatch - */ -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_Federation *)object - name:(NSString *)name; - -@end - -/** - * Sets the access control policy on the specified resource. Replaces any - * existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and - * PERMISSION_DENIED errors. - * - * Method: metastore.projects.locations.federations.setIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsSetIamPolicy : GTLRDataprocMetastoreQuery - -/** - * REQUIRED: The resource for which the policy is being specified. See Resource - * names (https://cloud.google.com/apis/design/resource_names) for the - * appropriate value for this field. - */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * Fetches a @c GTLRDataprocMetastore_Policy. - * - * Sets the access control policy on the specified resource. Replaces any - * existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and - * PERMISSION_DENIED errors. - * - * @param object The @c GTLRDataprocMetastore_SetIamPolicyRequest to include in - * the query. - * @param resource REQUIRED: The resource for which the policy is being - * specified. See Resource names - * (https://cloud.google.com/apis/design/resource_names) for the appropriate - * value for this field. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsSetIamPolicy - */ -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_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: metastore.projects.locations.federations.testIamPermissions - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsTestIamPermissions : GTLRDataprocMetastoreQuery - -/** - * 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 GTLRDataprocMetastore_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 GTLRDataprocMetastore_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 GTLRDataprocMetastoreQuery_ProjectsLocationsFederationsTestIamPermissions - */ -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_TestIamPermissionsRequest *)object - resource:(NSString *)resource; - -@end - -/** - * Gets information about a location. - * - * Method: metastore.projects.locations.get - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsGet : GTLRDataprocMetastoreQuery - -/** Resource name for the location. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Fetches a @c GTLRDataprocMetastore_Location. - * - * Gets information about a location. - * - * @param name Resource name for the location. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsGet - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - -/** - * Lists information about the supported locations for this service. - * - * Method: metastore.projects.locations.list - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsList : GTLRDataprocMetastoreQuery - -/** - * A filter to narrow down results to a preferred subset. The filtering - * language accepts strings like "displayName=tokyo", and is documented in more - * detail in AIP-160 (https://google.aip.dev/160). - */ -@property(nonatomic, copy, nullable) NSString *filter; - -/** The resource that owns the locations collection, if applicable. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * The maximum number of results to return. If not set, the service selects a - * default. - */ -@property(nonatomic, assign) NSInteger pageSize; - -/** - * A page token received from the next_page_token field in the response. Send - * that page token to receive the subsequent page. - */ -@property(nonatomic, copy, nullable) NSString *pageToken; - -/** - * Fetches a @c GTLRDataprocMetastore_ListLocationsResponse. - * - * Lists information about the supported locations for this service. - * - * @param name The resource that owns the locations collection, if applicable. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsList - * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - -/** - * Starts asynchronous cancellation on a long-running operation. The server - * makes a best effort to cancel the operation, but success is not guaranteed. - * If the server doesn't support this method, it returns - * google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or - * other methods to check whether the cancellation succeeded or whether the - * operation completed despite cancellation. On successful cancellation, the - * operation is not deleted; instead, it becomes an operation with an - * Operation.error value with a google.rpc.Status.code of 1, corresponding to - * Code.CANCELLED. - * - * Method: metastore.projects.locations.operations.cancel - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsOperationsCancel : GTLRDataprocMetastoreQuery - -/** The name of the operation resource to be cancelled. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Fetches a @c GTLRDataprocMetastore_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 GTLRDataprocMetastore_CancelOperationRequest to include - * in the query. - * @param name The name of the operation resource to be cancelled. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsOperationsCancel - */ -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_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: metastore.projects.locations.operations.delete - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsOperationsDelete : GTLRDataprocMetastoreQuery - -/** The name of the operation resource to be deleted. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Fetches a @c GTLRDataprocMetastore_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 GTLRDataprocMetastoreQuery_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: metastore.projects.locations.operations.get - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsOperationsGet : GTLRDataprocMetastoreQuery - -/** The name of the operation resource. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Fetches a @c GTLRDataprocMetastore_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 GTLRDataprocMetastoreQuery_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: metastore.projects.locations.operations.list - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsOperationsList : GTLRDataprocMetastoreQuery - -/** 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 GTLRDataprocMetastore_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 GTLRDataprocMetastoreQuery_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 - -/** - * Alter metadata resource location. The metadata resource can be a database, - * table, or partition. This functionality only updates the parent directory - * for the respective metadata resource and does not transfer any existing data - * to the new location. - * - * Method: metastore.projects.locations.services.alterLocation - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesAlterLocation : GTLRDataprocMetastoreQuery - -/** - * Required. The relative resource name of the metastore service to mutate - * metadata, in the following - * format:projects/{project_id}/locations/{location_id}/services/{service_id}. - */ -@property(nonatomic, copy, nullable) NSString *service; - -/** - * Fetches a @c GTLRDataprocMetastore_Operation. - * - * Alter metadata resource location. The metadata resource can be a database, - * table, or partition. This functionality only updates the parent directory - * for the respective metadata resource and does not transfer any existing data - * to the new location. - * - * @param object The @c - * GTLRDataprocMetastore_AlterMetadataResourceLocationRequest to include in - * the query. - * @param service Required. The relative resource name of the metastore service - * to mutate metadata, in the following - * format:projects/{project_id}/locations/{location_id}/services/{service_id}. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesAlterLocation - */ -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_AlterMetadataResourceLocationRequest *)object - service:(NSString *)service; - -@end - -/** - * Alter metadata table properties. - * - * Method: metastore.projects.locations.services.alterTableProperties - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesAlterTableProperties : GTLRDataprocMetastoreQuery - -/** - * Required. The relative resource name of the Dataproc Metastore service - * that's being used to mutate metadata table properties, in the following - * format:projects/{project_id}/locations/{location_id}/services/{service_id}. - */ -@property(nonatomic, copy, nullable) NSString *service; - -/** - * Fetches a @c GTLRDataprocMetastore_Operation. - * - * Alter metadata table properties. - * - * @param object The @c GTLRDataprocMetastore_AlterTablePropertiesRequest to - * include in the query. - * @param service Required. The relative resource name of the Dataproc - * Metastore service that's being used to mutate metadata table properties, - * in the following - * format:projects/{project_id}/locations/{location_id}/services/{service_id}. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesAlterTableProperties - */ -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_AlterTablePropertiesRequest *)object - service:(NSString *)service; - -@end - -/** - * Creates a new backup in a given project and location. - * - * Method: metastore.projects.locations.services.backups.create - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsCreate : GTLRDataprocMetastoreQuery - -/** - * Required. The ID of the backup, which is used as the final component of the - * backup's name.This value must be between 1 and 64 characters long, begin - * with a letter, end with a letter or number, and consist of alpha-numeric - * ASCII characters or hyphens. - */ -@property(nonatomic, copy, nullable) NSString *backupId; - -/** - * Required. The relative resource name of the service in which to create a - * backup of the following - * form:projects/{project_number}/locations/{location_id}/services/{service_id}. - */ -@property(nonatomic, copy, nullable) NSString *parent; - -/** - * Optional. A request ID. Specify a unique request ID to allow the server to - * ignore the request if it has completed. The server will ignore subsequent - * requests that provide a duplicate request ID for at least 60 minutes after - * the first request.For example, if an initial request times out, followed by - * another request with the same request ID, the server ignores the second - * request to prevent the creation of duplicate commitments.The request ID must - * be a valid UUID - * (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero - * UUID (00000000-0000-0000-0000-000000000000) is not supported. - */ -@property(nonatomic, copy, nullable) NSString *requestId; - -/** - * Fetches a @c GTLRDataprocMetastore_Operation. - * - * Creates a new backup in a given project and location. - * - * @param object The @c GTLRDataprocMetastore_Backup to include in the query. - * @param parent Required. The relative resource name of the service in which - * to create a backup of the following - * form:projects/{project_number}/locations/{location_id}/services/{service_id}. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsCreate - */ -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_Backup *)object - parent:(NSString *)parent; - -@end - -/** - * Deletes a single backup. - * - * Method: metastore.projects.locations.services.backups.delete - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsDelete : GTLRDataprocMetastoreQuery - -/** - * Required. The relative resource name of the backup to delete, in the - * following - * form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}. - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Optional. A request ID. Specify a unique request ID to allow the server to - * ignore the request if it has completed. The server will ignore subsequent - * requests that provide a duplicate request ID for at least 60 minutes after - * the first request.For example, if an initial request times out, followed by - * another request with the same request ID, the server ignores the second - * request to prevent the creation of duplicate commitments.The request ID must - * be a valid UUID - * (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero - * UUID (00000000-0000-0000-0000-000000000000) is not supported. - */ -@property(nonatomic, copy, nullable) NSString *requestId; - -/** - * Fetches a @c GTLRDataprocMetastore_Operation. - * - * Deletes a single backup. - * - * @param name Required. The relative resource name of the backup to delete, in - * the following - * form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsDelete - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - -/** - * Gets details of a single backup. - * - * Method: metastore.projects.locations.services.backups.get - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsGet : GTLRDataprocMetastoreQuery - -/** - * Required. The relative resource name of the backup to retrieve, in the - * following - * form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}. - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Fetches a @c GTLRDataprocMetastore_Backup. - * - * Gets details of a single backup. - * - * @param name Required. The relative resource name of the backup to retrieve, - * in the following - * form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsGet - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - -/** - * Gets the access control policy for a resource. Returns an empty policy if - * the resource exists and does not have a policy set. - * - * Method: metastore.projects.locations.services.backups.getIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsGetIamPolicy : GTLRDataprocMetastoreQuery - -/** - * Optional. The maximum policy version that will be used to format the - * policy.Valid values are 0, 1, and 3. Requests specifying an invalid value - * will be rejected.Requests for policies with any conditional role bindings - * must specify version 3. Policies with no conditional role bindings may - * specify any valid value or leave the field unset.The policy in the response - * might use the policy version that you specified, or it might use a lower - * policy version. For example, if you specify version 3, but the policy has no - * conditional role bindings, the response uses version 1.To learn which - * resources support conditions in their IAM policies, see the IAM - * documentation - * (https://cloud.google.com/iam/help/conditions/resource-policies). - */ -@property(nonatomic, assign) NSInteger optionsRequestedPolicyVersion; - -/** - * REQUIRED: The resource for which the policy is being requested. See Resource - * names (https://cloud.google.com/apis/design/resource_names) for the - * appropriate value for this field. - */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * Fetches a @c GTLRDataprocMetastore_Policy. - * - * Gets the access control policy for a resource. Returns an empty policy if - * the resource exists and does not have a policy set. - * - * @param resource REQUIRED: The resource for which the policy is being - * requested. See Resource names - * (https://cloud.google.com/apis/design/resource_names) for the appropriate - * value for this field. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsGetIamPolicy - */ -+ (instancetype)queryWithResource:(NSString *)resource; - -@end - -/** - * Lists backups in a service. - * - * Method: metastore.projects.locations.services.backups.list - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsList : GTLRDataprocMetastoreQuery - -/** Optional. The filter to apply to list results. */ -@property(nonatomic, copy, nullable) NSString *filter; - -/** - * Optional. Specify the ordering of results as described in Sorting Order - * (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not - * specified, the results will be sorted in the default order. - */ -@property(nonatomic, copy, nullable) NSString *orderBy; - -/** - * Optional. The maximum number of backups to return. The response may contain - * less than the maximum number. If unspecified, no more than 500 backups are - * returned. The maximum value is 1000; values above 1000 are changed to 1000. - */ -@property(nonatomic, assign) NSInteger pageSize; - -/** - * Optional. A page token, received from a previous - * DataprocMetastore.ListBackups call. Provide this token to retrieve the - * subsequent page.To retrieve the first page, supply an empty page token.When - * paginating, other parameters provided to DataprocMetastore.ListBackups must - * match the call that provided the page token. - */ -@property(nonatomic, copy, nullable) NSString *pageToken; - -/** - * Required. The relative resource name of the service whose backups to list, - * in the following - * form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups. - */ -@property(nonatomic, copy, nullable) NSString *parent; - -/** - * Fetches a @c GTLRDataprocMetastore_ListBackupsResponse. - * - * Lists backups in a service. - * - * @param parent Required. The relative resource name of the service whose - * backups to list, in the following - * form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsList - * - * @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 - -/** - * Sets the access control policy on the specified resource. Replaces any - * existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and - * PERMISSION_DENIED errors. - * - * Method: metastore.projects.locations.services.backups.setIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsSetIamPolicy : GTLRDataprocMetastoreQuery - -/** - * REQUIRED: The resource for which the policy is being specified. See Resource - * names (https://cloud.google.com/apis/design/resource_names) for the - * appropriate value for this field. - */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * Fetches a @c GTLRDataprocMetastore_Policy. - * - * Sets the access control policy on the specified resource. Replaces any - * existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and - * PERMISSION_DENIED errors. - * - * @param object The @c GTLRDataprocMetastore_SetIamPolicyRequest to include in - * the query. - * @param resource REQUIRED: The resource for which the policy is being - * specified. See Resource names - * (https://cloud.google.com/apis/design/resource_names) for the appropriate - * value for this field. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsSetIamPolicy - */ -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_SetIamPolicyRequest *)object - resource:(NSString *)resource; - -@end - -/** - * Cancels the ongoing Managed Migration process. - * - * Method: metastore.projects.locations.services.cancelMigration - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesCancelMigration : GTLRDataprocMetastoreQuery - -/** - * Required. The relative resource name of the metastore service to cancel the - * ongoing migration to, in the following - * format:projects/{project_id}/locations/{location_id}/services/{service_id}. - */ -@property(nonatomic, copy, nullable) NSString *service; - -/** - * Fetches a @c GTLRDataprocMetastore_Operation. - * - * Cancels the ongoing Managed Migration process. - * - * @param object The @c GTLRDataprocMetastore_CancelMigrationRequest to include - * in the query. - * @param service Required. The relative resource name of the metastore service - * to cancel the ongoing migration to, in the following - * format:projects/{project_id}/locations/{location_id}/services/{service_id}. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesCancelMigration - */ -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_CancelMigrationRequest *)object - service:(NSString *)service; - -@end - -/** - * Completes the managed migration process. The Dataproc Metastore service will - * switch to using its own backend database after successful migration. - * - * Method: metastore.projects.locations.services.completeMigration - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesCompleteMigration : GTLRDataprocMetastoreQuery - -/** - * Required. The relative resource name of the metastore service to complete - * the migration to, in the following - * format:projects/{project_id}/locations/{location_id}/services/{service_id}. - */ -@property(nonatomic, copy, nullable) NSString *service; - -/** - * Fetches a @c GTLRDataprocMetastore_Operation. - * - * Completes the managed migration process. The Dataproc Metastore service will - * switch to using its own backend database after successful migration. - * - * @param object The @c GTLRDataprocMetastore_CompleteMigrationRequest to - * include in the query. - * @param service Required. The relative resource name of the metastore service - * to complete the migration to, in the following - * format:projects/{project_id}/locations/{location_id}/services/{service_id}. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesCompleteMigration - */ -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_CompleteMigrationRequest *)object - service:(NSString *)service; - -@end - -/** - * Creates a metastore service in a project and location. - * - * Method: metastore.projects.locations.services.create - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesCreate : GTLRDataprocMetastoreQuery - -/** - * Required. The relative resource name of the location in which to create a - * metastore service, in the following - * form:projects/{project_number}/locations/{location_id}. - */ -@property(nonatomic, copy, nullable) NSString *parent; - -/** - * Optional. A request ID. Specify a unique request ID to allow the server to - * ignore the request if it has completed. The server will ignore subsequent - * requests that provide a duplicate request ID for at least 60 minutes after - * the first request.For example, if an initial request times out, followed by - * another request with the same request ID, the server ignores the second - * request to prevent the creation of duplicate commitments.The request ID must - * be a valid UUID - * (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero - * UUID (00000000-0000-0000-0000-000000000000) is not supported. - */ -@property(nonatomic, copy, nullable) NSString *requestId; - -/** - * Required. The ID of the metastore service, which is used as the final - * component of the metastore service's name.This value must be between 2 and - * 63 characters long inclusive, begin with a letter, end with a letter or - * number, and consist of alpha-numeric ASCII characters or hyphens. - */ -@property(nonatomic, copy, nullable) NSString *serviceId; - -/** - * Fetches a @c GTLRDataprocMetastore_Operation. - * - * Creates a metastore service in a project and location. - * - * @param object The @c GTLRDataprocMetastore_Service to include in the query. - * @param parent Required. The relative resource name of the location in which - * to create a metastore service, in the following - * form:projects/{project_number}/locations/{location_id}. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesCreate - */ -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_Service *)object - parent:(NSString *)parent; - -@end - -/** - * Gets the access control policy for a resource. Returns an empty policy if - * the resource exists and does not have a policy set. - * - * Method: metastore.projects.locations.services.databases.getIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesGetIamPolicy : GTLRDataprocMetastoreQuery - -/** - * Optional. The maximum policy version that will be used to format the - * policy.Valid values are 0, 1, and 3. Requests specifying an invalid value - * will be rejected.Requests for policies with any conditional role bindings - * must specify version 3. Policies with no conditional role bindings may - * specify any valid value or leave the field unset.The policy in the response - * might use the policy version that you specified, or it might use a lower - * policy version. For example, if you specify version 3, but the policy has no - * conditional role bindings, the response uses version 1.To learn which - * resources support conditions in their IAM policies, see the IAM - * documentation - * (https://cloud.google.com/iam/help/conditions/resource-policies). - */ -@property(nonatomic, assign) NSInteger optionsRequestedPolicyVersion; - -/** - * REQUIRED: The resource for which the policy is being requested. See Resource - * names (https://cloud.google.com/apis/design/resource_names) for the - * appropriate value for this field. - */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * Fetches a @c GTLRDataprocMetastore_Policy. - * - * Gets the access control policy for a resource. Returns an empty policy if - * the resource exists and does not have a policy set. - * - * @param resource REQUIRED: The resource for which the policy is being - * requested. See Resource names - * (https://cloud.google.com/apis/design/resource_names) for the appropriate - * value for this field. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesGetIamPolicy - */ -+ (instancetype)queryWithResource:(NSString *)resource; - -@end - -/** - * Sets the access control policy on the specified resource. Replaces any - * existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and - * PERMISSION_DENIED errors. + * Alter metadata resource location. The metadata resource can be a database, + * table, or partition. This functionality only updates the parent directory + * for the respective metadata resource and does not transfer any existing data + * to the new location. * - * Method: metastore.projects.locations.services.databases.setIamPolicy + * Method: metastore.projects.locations.services.alterLocation * * Authorization scope(s): * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesSetIamPolicy : GTLRDataprocMetastoreQuery +@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesAlterLocation : GTLRDataprocMetastoreQuery /** - * REQUIRED: The resource for which the policy is being specified. See Resource - * names (https://cloud.google.com/apis/design/resource_names) for the - * appropriate value for this field. + * Required. The relative resource name of the metastore service to mutate + * metadata, in the following + * format:projects/{project_id}/locations/{location_id}/services/{service_id}. */ -@property(nonatomic, copy, nullable) NSString *resource; +@property(nonatomic, copy, nullable) NSString *service; /** - * Fetches a @c GTLRDataprocMetastore_Policy. + * Fetches a @c GTLRDataprocMetastore_GoogleLongrunningOperation. * - * Sets the access control policy on the specified resource. Replaces any - * existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and - * PERMISSION_DENIED errors. + * Alter metadata resource location. The metadata resource can be a database, + * table, or partition. This functionality only updates the parent directory + * for the respective metadata resource and does not transfer any existing data + * to the new location. * - * @param object The @c GTLRDataprocMetastore_SetIamPolicyRequest to include in - * the query. - * @param resource REQUIRED: The resource for which the policy is being - * specified. See Resource names - * (https://cloud.google.com/apis/design/resource_names) for the appropriate - * value for this field. + * @param object The @c + * GTLRDataprocMetastore_GoogleCloudMetastoreV2AlterMetadataResourceLocationRequest + * to include in the query. + * @param service Required. The relative resource name of the metastore service + * to mutate metadata, in the following + * format:projects/{project_id}/locations/{location_id}/services/{service_id}. * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesSetIamPolicy + * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesAlterLocation */ -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_SetIamPolicyRequest *)object - resource:(NSString *)resource; ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_GoogleCloudMetastoreV2AlterMetadataResourceLocationRequest *)object + service:(NSString *)service; @end /** - * Gets the access control policy for a resource. Returns an empty policy if - * the resource exists and does not have a policy set. + * Alter metadata table properties. * - * Method: metastore.projects.locations.services.databases.tables.getIamPolicy + * Method: metastore.projects.locations.services.alterTableProperties * * Authorization scope(s): * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesTablesGetIamPolicy : GTLRDataprocMetastoreQuery - -/** - * Optional. The maximum policy version that will be used to format the - * policy.Valid values are 0, 1, and 3. Requests specifying an invalid value - * will be rejected.Requests for policies with any conditional role bindings - * must specify version 3. Policies with no conditional role bindings may - * specify any valid value or leave the field unset.The policy in the response - * might use the policy version that you specified, or it might use a lower - * policy version. For example, if you specify version 3, but the policy has no - * conditional role bindings, the response uses version 1.To learn which - * resources support conditions in their IAM policies, see the IAM - * documentation - * (https://cloud.google.com/iam/help/conditions/resource-policies). - */ -@property(nonatomic, assign) NSInteger optionsRequestedPolicyVersion; +@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesAlterTableProperties : GTLRDataprocMetastoreQuery /** - * 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. + * Required. The relative resource name of the Dataproc Metastore service + * that's being used to mutate metadata table properties, in the following + * format:projects/{project_id}/locations/{location_id}/services/{service_id}. */ -@property(nonatomic, copy, nullable) NSString *resource; +@property(nonatomic, copy, nullable) NSString *service; /** - * Fetches a @c GTLRDataprocMetastore_Policy. + * Fetches a @c GTLRDataprocMetastore_GoogleLongrunningOperation. * - * Gets the access control policy for a resource. Returns an empty policy if - * the resource exists and does not have a policy set. + * Alter metadata table properties. * - * @param resource REQUIRED: The resource for which the policy is being - * requested. See Resource names - * (https://cloud.google.com/apis/design/resource_names) for the appropriate - * value for this field. + * @param object The @c + * GTLRDataprocMetastore_GoogleCloudMetastoreV2AlterTablePropertiesRequest to + * include in the query. + * @param service Required. The relative resource name of the Dataproc + * Metastore service that's being used to mutate metadata table properties, + * in the following + * format:projects/{project_id}/locations/{location_id}/services/{service_id}. * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesTablesGetIamPolicy + * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesAlterTableProperties */ -+ (instancetype)queryWithResource:(NSString *)resource; ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_GoogleCloudMetastoreV2AlterTablePropertiesRequest *)object + service:(NSString *)service; @end /** - * Sets the access control policy on the specified resource. Replaces any - * existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and - * PERMISSION_DENIED errors. + * Creates a new backup in a given project and location. * - * Method: metastore.projects.locations.services.databases.tables.setIamPolicy + * Method: metastore.projects.locations.services.backups.create * * Authorization scope(s): * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesTablesSetIamPolicy : GTLRDataprocMetastoreQuery - -/** - * REQUIRED: The resource for which the policy is being specified. See Resource - * names (https://cloud.google.com/apis/design/resource_names) for the - * appropriate value for this field. - */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * Fetches a @c GTLRDataprocMetastore_Policy. - * - * Sets the access control policy on the specified resource. Replaces any - * existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and - * PERMISSION_DENIED errors. - * - * @param object The @c GTLRDataprocMetastore_SetIamPolicyRequest to include in - * the query. - * @param resource REQUIRED: The resource for which the policy is being - * specified. See Resource names - * (https://cloud.google.com/apis/design/resource_names) for the appropriate - * value for this field. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDatabasesTablesSetIamPolicy - */ -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_SetIamPolicyRequest *)object - resource:(NSString *)resource; - -@end +@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsCreate : GTLRDataprocMetastoreQuery /** - * Deletes a single service. - * - * Method: metastore.projects.locations.services.delete - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform + * Required. The ID of the backup, which is used as the final component of the + * backup's name.This value must be between 1 and 64 characters long, begin + * with a letter, end with a letter or number, and consist of alpha-numeric + * ASCII characters or hyphens. */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDelete : GTLRDataprocMetastoreQuery +@property(nonatomic, copy, nullable) NSString *backupId; /** - * Required. The relative resource name of the metastore service to delete, in - * the following + * Required. The relative resource name of the service in which to create a + * backup of the following * form:projects/{project_number}/locations/{location_id}/services/{service_id}. */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *parent; /** * Optional. A request ID. Specify a unique request ID to allow the server to @@ -1344,223 +152,39 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *requestId; /** - * Fetches a @c GTLRDataprocMetastore_Operation. - * - * Deletes a single service. - * - * @param name Required. The relative resource name of the metastore service to - * delete, in the following - * form:projects/{project_number}/locations/{location_id}/services/{service_id}. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDelete - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - -/** - * Exports metadata from a service. - * - * Method: metastore.projects.locations.services.exportMetadata - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesExportMetadata : GTLRDataprocMetastoreQuery - -/** - * Required. The relative resource name of the metastore service to run export, - * in the following - * form:projects/{project_id}/locations/{location_id}/services/{service_id}. - */ -@property(nonatomic, copy, nullable) NSString *service; - -/** - * Fetches a @c GTLRDataprocMetastore_Operation. - * - * Exports metadata from a service. - * - * @param object The @c GTLRDataprocMetastore_ExportMetadataRequest to include - * in the query. - * @param service Required. The relative resource name of the metastore service - * to run export, in the following - * form:projects/{project_id}/locations/{location_id}/services/{service_id}. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesExportMetadata - */ -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_ExportMetadataRequest *)object - service:(NSString *)service; - -@end - -/** - * Gets the details of a single service. - * - * Method: metastore.projects.locations.services.get - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesGet : GTLRDataprocMetastoreQuery - -/** - * Required. The relative resource name of the metastore service to retrieve, - * in the following - * form:projects/{project_number}/locations/{location_id}/services/{service_id}. - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Fetches a @c GTLRDataprocMetastore_Service. - * - * Gets the details of a single service. - * - * @param name Required. The relative resource name of the metastore service to - * retrieve, in the following - * form:projects/{project_number}/locations/{location_id}/services/{service_id}. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesGet - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - -/** - * Gets the access control policy for a resource. Returns an empty policy if - * the resource exists and does not have a policy set. - * - * Method: metastore.projects.locations.services.getIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesGetIamPolicy : GTLRDataprocMetastoreQuery - -/** - * Optional. The maximum policy version that will be used to format the - * policy.Valid values are 0, 1, and 3. Requests specifying an invalid value - * will be rejected.Requests for policies with any conditional role bindings - * must specify version 3. Policies with no conditional role bindings may - * specify any valid value or leave the field unset.The policy in the response - * might use the policy version that you specified, or it might use a lower - * policy version. For example, if you specify version 3, but the policy has no - * conditional role bindings, the response uses version 1.To learn which - * resources support conditions in their IAM policies, see the IAM - * documentation - * (https://cloud.google.com/iam/help/conditions/resource-policies). - */ -@property(nonatomic, assign) NSInteger optionsRequestedPolicyVersion; - -/** - * REQUIRED: The resource for which the policy is being requested. See Resource - * names (https://cloud.google.com/apis/design/resource_names) for the - * appropriate value for this field. - */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * Fetches a @c GTLRDataprocMetastore_Policy. - * - * Gets the access control policy for a resource. Returns an empty policy if - * the resource exists and does not have a policy set. - * - * @param resource REQUIRED: The resource for which the policy is being - * requested. See Resource names - * (https://cloud.google.com/apis/design/resource_names) for the appropriate - * value for this field. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesGetIamPolicy - */ -+ (instancetype)queryWithResource:(NSString *)resource; - -@end - -/** - * Lists services in a project and location. - * - * Method: metastore.projects.locations.services.list - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesList : GTLRDataprocMetastoreQuery - -/** Optional. The filter to apply to list results. */ -@property(nonatomic, copy, nullable) NSString *filter; - -/** - * Optional. Specify the ordering of results as described in Sorting Order - * (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not - * specified, the results will be sorted in the default order. - */ -@property(nonatomic, copy, nullable) NSString *orderBy; - -/** - * Optional. The maximum number of services to return. The response may contain - * less than the maximum number. If unspecified, no more than 500 services are - * returned. The maximum value is 1000; values above 1000 are changed to 1000. - */ -@property(nonatomic, assign) NSInteger pageSize; - -/** - * Optional. A page token, received from a previous - * DataprocMetastore.ListServices call. Provide this token to retrieve the - * subsequent page.To retrieve the first page, supply an empty page token.When - * paginating, other parameters provided to DataprocMetastore.ListServices must - * match the call that provided the page token. - */ -@property(nonatomic, copy, nullable) NSString *pageToken; - -/** - * Required. The relative resource name of the location of metastore services - * to list, in the following - * form:projects/{project_number}/locations/{location_id}. - */ -@property(nonatomic, copy, nullable) NSString *parent; - -/** - * Fetches a @c GTLRDataprocMetastore_ListServicesResponse. + * Fetches a @c GTLRDataprocMetastore_GoogleLongrunningOperation. * - * Lists services in a project and location. - * - * @param parent Required. The relative resource name of the location of - * metastore services to list, in the following - * form:projects/{project_number}/locations/{location_id}. + * Creates a new backup in a given project and location. * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesList + * @param object The @c GTLRDataprocMetastore_GoogleCloudMetastoreV2Backup to + * include in the query. + * @param parent Required. The relative resource name of the service in which + * to create a backup of the following + * form:projects/{project_number}/locations/{location_id}/services/{service_id}. * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. + * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsCreate */ -+ (instancetype)queryWithParent:(NSString *)parent; ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_GoogleCloudMetastoreV2Backup *)object + parent:(NSString *)parent; @end /** - * Creates a new MetadataImport in a given project and location. + * Deletes a single backup. * - * Method: metastore.projects.locations.services.metadataImports.create + * Method: metastore.projects.locations.services.backups.delete * * Authorization scope(s): * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMetadataImportsCreate : GTLRDataprocMetastoreQuery - -/** - * Required. The ID of the metadata import, which is used as the final - * component of the metadata import's name.This value must be between 1 and 64 - * characters long, begin with a letter, end with a letter or number, and - * consist of alpha-numeric ASCII characters or hyphens. - */ -@property(nonatomic, copy, nullable) NSString *metadataImportId; +@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsDelete : GTLRDataprocMetastoreQuery /** - * Required. The relative resource name of the service in which to create a - * metastore import, in the following - * form:projects/{project_number}/locations/{location_id}/services/{service_id}. + * Required. The relative resource name of the backup to delete, in the + * following + * form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}. */ -@property(nonatomic, copy, nullable) NSString *parent; +@property(nonatomic, copy, nullable) NSString *name; /** * Optional. A request ID. Specify a unique request ID to allow the server to @@ -1576,64 +200,61 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *requestId; /** - * Fetches a @c GTLRDataprocMetastore_Operation. + * Fetches a @c GTLRDataprocMetastore_GoogleLongrunningOperation. * - * Creates a new MetadataImport in a given project and location. + * Deletes a single backup. * - * @param object The @c GTLRDataprocMetastore_MetadataImport to include in the - * query. - * @param parent Required. The relative resource name of the service in which - * to create a metastore import, in the following - * form:projects/{project_number}/locations/{location_id}/services/{service_id}. + * @param name Required. The relative resource name of the backup to delete, in + * the following + * form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}. * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMetadataImportsCreate + * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsDelete */ -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_MetadataImport *)object - parent:(NSString *)parent; ++ (instancetype)queryWithName:(NSString *)name; @end /** - * Gets details of a single import. + * Gets details of a single backup. * - * Method: metastore.projects.locations.services.metadataImports.get + * Method: metastore.projects.locations.services.backups.get * * Authorization scope(s): * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMetadataImportsGet : GTLRDataprocMetastoreQuery +@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsGet : GTLRDataprocMetastoreQuery /** - * Required. The relative resource name of the metadata import to retrieve, in - * the following - * form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{import_id}. + * Required. The relative resource name of the backup to retrieve, in the + * following + * form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}. */ @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRDataprocMetastore_MetadataImport. + * Fetches a @c GTLRDataprocMetastore_GoogleCloudMetastoreV2Backup. * - * Gets details of a single import. + * Gets details of a single backup. * - * @param name Required. The relative resource name of the metadata import to - * retrieve, in the following - * form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{import_id}. + * @param name Required. The relative resource name of the backup to retrieve, + * in the following + * form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}. * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMetadataImportsGet + * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsGet */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Lists imports in a service. + * Lists backups in a service. * - * Method: metastore.projects.locations.services.metadataImports.list + * Method: metastore.projects.locations.services.backups.list * * Authorization scope(s): * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMetadataImportsList : GTLRDataprocMetastoreQuery +@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsList : GTLRDataprocMetastoreQuery /** Optional. The filter to apply to list results. */ @property(nonatomic, copy, nullable) NSString *filter; @@ -1646,38 +267,39 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *orderBy; /** - * Optional. The maximum number of imports to return. The response may contain - * less than the maximum number. If unspecified, no more than 500 imports are + * Optional. The maximum number of backups to return. The response may contain + * less than the maximum number. If unspecified, no more than 500 backups are * returned. The maximum value is 1000; values above 1000 are changed to 1000. */ @property(nonatomic, assign) NSInteger pageSize; /** * Optional. A page token, received from a previous - * DataprocMetastore.ListServices call. Provide this token to retrieve the + * DataprocMetastore.ListBackups call. Provide this token to retrieve the * subsequent page.To retrieve the first page, supply an empty page token.When - * paginating, other parameters provided to DataprocMetastore.ListServices must + * paginating, other parameters provided to DataprocMetastore.ListBackups must * match the call that provided the page token. */ @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The relative resource name of the service whose metadata imports - * to list, in the following - * form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports. + * Required. The relative resource name of the service whose backups to list, + * in the following + * form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups. */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRDataprocMetastore_ListMetadataImportsResponse. + * Fetches a @c + * GTLRDataprocMetastore_GoogleCloudMetastoreV2ListBackupsResponse. * - * Lists imports in a service. + * Lists backups in a service. * * @param parent Required. The relative resource name of the service whose - * metadata imports to list, in the following - * form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports. + * backups to list, in the following + * form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups. * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMetadataImportsList + * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesBackupsList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -1688,21 +310,21 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Updates a single import. Only the description field of MetadataImport is - * supported to be updated. + * Creates a metastore service in a project and location. * - * Method: metastore.projects.locations.services.metadataImports.patch + * Method: metastore.projects.locations.services.create * * Authorization scope(s): * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMetadataImportsPatch : GTLRDataprocMetastoreQuery +@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesCreate : GTLRDataprocMetastoreQuery /** - * Immutable. The relative resource name of the metadata import, of the - * form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}. + * Required. The relative resource name of the location in which to create a + * metastore service, in the following + * form:projects/{project_number}/locations/{location_id}. */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *parent; /** * Optional. A request ID. Specify a unique request ID to allow the server to @@ -1718,48 +340,45 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *requestId; /** - * Required. A field mask used to specify the fields to be overwritten in the - * metadata import resource by the update. Fields specified in the update_mask - * are relative to the resource (not to the full request). A field is - * overwritten if it is in the mask. - * - * String format is a comma-separated list of fields. + * Required. The ID of the metastore service, which is used as the final + * component of the metastore service's name.This value must be between 2 and + * 63 characters long inclusive, begin with a letter, end with a letter or + * number, and consist of alpha-numeric ASCII characters or hyphens. */ -@property(nonatomic, copy, nullable) NSString *updateMask; +@property(nonatomic, copy, nullable) NSString *serviceId; /** - * Fetches a @c GTLRDataprocMetastore_Operation. + * Fetches a @c GTLRDataprocMetastore_GoogleLongrunningOperation. * - * Updates a single import. Only the description field of MetadataImport is - * supported to be updated. + * Creates a metastore service in a project and location. * - * @param object The @c GTLRDataprocMetastore_MetadataImport to include in the - * query. - * @param name Immutable. The relative resource name of the metadata import, of - * the - * form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}. + * @param object The @c GTLRDataprocMetastore_GoogleCloudMetastoreV2Service to + * include in the query. + * @param parent Required. The relative resource name of the location in which + * to create a metastore service, in the following + * form:projects/{project_number}/locations/{location_id}. * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMetadataImportsPatch + * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesCreate */ -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_MetadataImport *)object - name:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_GoogleCloudMetastoreV2Service *)object + parent:(NSString *)parent; @end /** - * Deletes a single migration execution. + * Deletes a single service. * - * Method: metastore.projects.locations.services.migrationExecutions.delete + * Method: metastore.projects.locations.services.delete * * Authorization scope(s): * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMigrationExecutionsDelete : GTLRDataprocMetastoreQuery +@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDelete : GTLRDataprocMetastoreQuery /** - * Required. The relative resource name of the migrationExecution to delete, in + * Required. The relative resource name of the metastore service to delete, in * the following - * form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}. + * form:projects/{project_number}/locations/{location_id}/services/{service_id}. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1777,61 +396,133 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *requestId; /** - * Fetches a @c GTLRDataprocMetastore_Operation. + * Fetches a @c GTLRDataprocMetastore_GoogleLongrunningOperation. * - * Deletes a single migration execution. + * Deletes a single service. * - * @param name Required. The relative resource name of the migrationExecution - * to delete, in the following - * form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}. + * @param name Required. The relative resource name of the metastore service to + * delete, in the following + * form:projects/{project_number}/locations/{location_id}/services/{service_id}. * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMigrationExecutionsDelete + * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesDelete */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Gets details of a single migration execution. + * Exports metadata from a service. + * + * Method: metastore.projects.locations.services.exportMetadata + * + * Authorization scope(s): + * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform + */ +@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesExportMetadata : GTLRDataprocMetastoreQuery + +/** + * Required. The relative resource name of the metastore service to run export, + * in the following + * form:projects/{project_id}/locations/{location_id}/services/{service_id}. + */ +@property(nonatomic, copy, nullable) NSString *service; + +/** + * Fetches a @c GTLRDataprocMetastore_GoogleLongrunningOperation. + * + * Exports metadata from a service. + * + * @param object The @c + * GTLRDataprocMetastore_GoogleCloudMetastoreV2ExportMetadataRequest to + * include in the query. + * @param service Required. The relative resource name of the metastore service + * to run export, in the following + * form:projects/{project_id}/locations/{location_id}/services/{service_id}. + * + * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesExportMetadata + */ ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_GoogleCloudMetastoreV2ExportMetadataRequest *)object + service:(NSString *)service; + +@end + +/** + * Gets the details of a single service. * - * Method: metastore.projects.locations.services.migrationExecutions.get + * Method: metastore.projects.locations.services.get * * Authorization scope(s): * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMigrationExecutionsGet : GTLRDataprocMetastoreQuery +@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesGet : GTLRDataprocMetastoreQuery /** - * Required. The relative resource name of the migration execution to retrieve, + * Required. The relative resource name of the metastore service to retrieve, * in the following - * form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}. + * form:projects/{project_number}/locations/{location_id}/services/{service_id}. */ @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRDataprocMetastore_MigrationExecution. + * Fetches a @c GTLRDataprocMetastore_GoogleCloudMetastoreV2Service. * - * Gets details of a single migration execution. + * Gets the details of a single service. * - * @param name Required. The relative resource name of the migration execution - * to retrieve, in the following - * form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}. + * @param name Required. The relative resource name of the metastore service to + * retrieve, in the following + * form:projects/{project_number}/locations/{location_id}/services/{service_id}. * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMigrationExecutionsGet + * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesGet */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Lists migration executions on a service. + * Imports Metadata into a Dataproc Metastore service. + * + * Method: metastore.projects.locations.services.importMetadata + * + * Authorization scope(s): + * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform + */ +@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesImportMetadata : GTLRDataprocMetastoreQuery + +/** + * Immutable. The relative resource name of the metastore service to run + * import, in the following + * form:projects/{project_id}/locations/{location_id}/services/{service_id}. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDataprocMetastore_GoogleLongrunningOperation. + * + * Imports Metadata into a Dataproc Metastore service. + * + * @param object The @c + * GTLRDataprocMetastore_GoogleCloudMetastoreV2ImportMetadataRequest to + * include in the query. + * @param name Immutable. The relative resource name of the metastore service + * to run import, in the following + * form:projects/{project_id}/locations/{location_id}/services/{service_id}. + * + * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesImportMetadata + */ ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_GoogleCloudMetastoreV2ImportMetadataRequest *)object + name:(NSString *)name; + +@end + +/** + * Lists services in a project and location. * - * Method: metastore.projects.locations.services.migrationExecutions.list + * Method: metastore.projects.locations.services.list * * Authorization scope(s): * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMigrationExecutionsList : GTLRDataprocMetastoreQuery +@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesList : GTLRDataprocMetastoreQuery /** Optional. The filter to apply to list results. */ @property(nonatomic, copy, nullable) NSString *filter; @@ -1844,40 +535,39 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *orderBy; /** - * Optional. The maximum number of migration executions to return. The response - * may contain less than the maximum number. If unspecified, no more than 500 - * migration executions are returned. The maximum value is 1000; values above - * 1000 are changed to 1000. + * Optional. The maximum number of services to return. The response may contain + * less than the maximum number. If unspecified, no more than 500 services are + * returned. The maximum value is 1000; values above 1000 are changed to 1000. */ @property(nonatomic, assign) NSInteger pageSize; /** * Optional. A page token, received from a previous - * DataprocMetastore.ListMigrationExecutions call. Provide this token to - * retrieve the subsequent page.To retrieve the first page, supply an empty - * page token.When paginating, other parameters provided to - * DataprocMetastore.ListMigrationExecutions must match the call that provided - * the page token. + * DataprocMetastore.ListServices call. Provide this token to retrieve the + * subsequent page.To retrieve the first page, supply an empty page token.When + * paginating, other parameters provided to DataprocMetastore.ListServices must + * match the call that provided the page token. */ @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The relative resource name of the service whose migration - * executions to list, in the following - * form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions. + * Required. The relative resource name of the location of metastore services + * to list, in the following + * form:projects/{project_number}/locations/{location_id}. */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRDataprocMetastore_ListMigrationExecutionsResponse. + * Fetches a @c + * GTLRDataprocMetastore_GoogleCloudMetastoreV2ListServicesResponse. * - * Lists migration executions on a service. + * Lists services in a project and location. * - * @param parent Required. The relative resource name of the service whose - * migration executions to list, in the following - * form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions. + * @param parent Required. The relative resource name of the location of + * metastore services to list, in the following + * form:projects/{project_number}/locations/{location_id}. * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMigrationExecutionsList + * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -1905,11 +595,12 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *service; /** - * Fetches a @c GTLRDataprocMetastore_Operation. + * Fetches a @c GTLRDataprocMetastore_GoogleLongrunningOperation. * * Move a table to another database. * - * @param object The @c GTLRDataprocMetastore_MoveTableToDatabaseRequest to + * @param object The @c + * GTLRDataprocMetastore_GoogleCloudMetastoreV2MoveTableToDatabaseRequest to * include in the query. * @param service Required. The relative resource name of the metastore service * to mutate metadata, in the following @@ -1917,7 +608,7 @@ NS_ASSUME_NONNULL_BEGIN * * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesMoveTableToDatabase */ -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_MoveTableToDatabaseRequest *)object ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_GoogleCloudMetastoreV2MoveTableToDatabaseRequest *)object service:(NSString *)service; @end @@ -1963,18 +654,19 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *updateMask; /** - * Fetches a @c GTLRDataprocMetastore_Operation. + * Fetches a @c GTLRDataprocMetastore_GoogleLongrunningOperation. * * Updates the parameters of a single service. * - * @param object The @c GTLRDataprocMetastore_Service to include in the query. + * @param object The @c GTLRDataprocMetastore_GoogleCloudMetastoreV2Service to + * include in the query. * @param name Immutable. The relative resource name of the metastore service, * in the following * format:projects/{project_number}/locations/{location_id}/services/{service_id}. * * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesPatch */ -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_Service *)object ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_GoogleCloudMetastoreV2Service *)object name:(NSString *)name; @end @@ -1997,19 +689,20 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *service; /** - * Fetches a @c GTLRDataprocMetastore_Operation. + * Fetches a @c GTLRDataprocMetastore_GoogleLongrunningOperation. * * Query Dataproc Metastore metadata. * - * @param object The @c GTLRDataprocMetastore_QueryMetadataRequest to include - * in the query. + * @param object The @c + * GTLRDataprocMetastore_GoogleCloudMetastoreV2QueryMetadataRequest to + * include in the query. * @param service Required. The relative resource name of the metastore service * to query metadata, in the following * format:projects/{project_id}/locations/{location_id}/services/{service_id}. * * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesQueryMetadata */ -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_QueryMetadataRequest *)object ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_GoogleCloudMetastoreV2QueryMetadataRequest *)object service:(NSString *)service; @end @@ -2032,142 +725,24 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *service; /** - * Fetches a @c GTLRDataprocMetastore_Operation. + * Fetches a @c GTLRDataprocMetastore_GoogleLongrunningOperation. * * Restores a service from a backup. * - * @param object The @c GTLRDataprocMetastore_RestoreServiceRequest to include - * in the query. + * @param object The @c + * GTLRDataprocMetastore_GoogleCloudMetastoreV2RestoreServiceRequest to + * include in the query. * @param service Required. The relative resource name of the metastore service * to run restore, in the following * form:projects/{project_id}/locations/{location_id}/services/{service_id}. * * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesRestore */ -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_RestoreServiceRequest *)object - service:(NSString *)service; - -@end - -/** - * Sets the access control policy on the specified resource. Replaces any - * existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and - * PERMISSION_DENIED errors. - * - * Method: metastore.projects.locations.services.setIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesSetIamPolicy : GTLRDataprocMetastoreQuery - -/** - * REQUIRED: The resource for which the policy is being specified. See Resource - * names (https://cloud.google.com/apis/design/resource_names) for the - * appropriate value for this field. - */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * Fetches a @c GTLRDataprocMetastore_Policy. - * - * Sets the access control policy on the specified resource. Replaces any - * existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and - * PERMISSION_DENIED errors. - * - * @param object The @c GTLRDataprocMetastore_SetIamPolicyRequest to include in - * the query. - * @param resource REQUIRED: The resource for which the policy is being - * specified. See Resource names - * (https://cloud.google.com/apis/design/resource_names) for the appropriate - * value for this field. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesSetIamPolicy - */ -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_SetIamPolicyRequest *)object - resource:(NSString *)resource; - -@end - -/** - * Starts the Managed Migration process. - * - * Method: metastore.projects.locations.services.startMigration - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesStartMigration : GTLRDataprocMetastoreQuery - -/** - * Required. The relative resource name of the metastore service to start - * migrating to, in the following - * format:projects/{project_id}/locations/{location_id}/services/{service_id}. - */ -@property(nonatomic, copy, nullable) NSString *service; - -/** - * Fetches a @c GTLRDataprocMetastore_Operation. - * - * Starts the Managed Migration process. - * - * @param object The @c GTLRDataprocMetastore_StartMigrationRequest to include - * in the query. - * @param service Required. The relative resource name of the metastore service - * to start migrating to, in the following - * format:projects/{project_id}/locations/{location_id}/services/{service_id}. - * - * @return GTLRDataprocMetastoreQuery_ProjectsLocationsServicesStartMigration - */ -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_StartMigrationRequest *)object ++ (instancetype)queryWithObject:(GTLRDataprocMetastore_GoogleCloudMetastoreV2RestoreServiceRequest *)object service:(NSString *)service; @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: metastore.projects.locations.services.testIamPermissions - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocMetastoreCloudPlatform - */ -@interface GTLRDataprocMetastoreQuery_ProjectsLocationsServicesTestIamPermissions : GTLRDataprocMetastoreQuery - -/** - * 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 GTLRDataprocMetastore_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 GTLRDataprocMetastore_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 GTLRDataprocMetastoreQuery_ProjectsLocationsServicesTestIamPermissions - */ -+ (instancetype)queryWithObject:(GTLRDataprocMetastore_TestIamPermissionsRequest *)object - resource:(NSString *)resource; - -@end - NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreService.h b/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreService.h index 02d5b6208..ed9d8a775 100644 --- a/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreService.h +++ b/Sources/GeneratedServices/DataprocMetastore/Public/GoogleAPIClientForREST/GTLRDataprocMetastoreService.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Dataproc Metastore API (metastore/v1) +// Dataproc Metastore API (metastore/v2) // Description: // The Dataproc Metastore API is used to manage the lifecycle and // configuration of metastore services. diff --git a/Sources/GeneratedServices/Datastore/Public/GoogleAPIClientForREST/GTLRDatastoreQuery.h b/Sources/GeneratedServices/Datastore/Public/GoogleAPIClientForREST/GTLRDatastoreQuery.h index b7c71bc85..93341f7f6 100644 --- a/Sources/GeneratedServices/Datastore/Public/GoogleAPIClientForREST/GTLRDatastoreQuery.h +++ b/Sources/GeneratedServices/Datastore/Public/GoogleAPIClientForREST/GTLRDatastoreQuery.h @@ -418,7 +418,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: datastore.projects.operations.cancel @@ -442,7 +442,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * 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. diff --git a/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m b/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m index 7514ab9d5..12303e358 100644 --- a/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m +++ b/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m @@ -1160,7 +1160,7 @@ @implementation GTLRDatastream_SourceObjectIdentifier // @implementation GTLRDatastream_SpecificStartPosition -@dynamic mysqlLogPosition, oracleScnPosition; +@dynamic mysqlLogPosition, oracleScnPosition, sqlServerLsnPosition; @end @@ -1184,6 +1184,16 @@ @implementation GTLRDatastream_SqlServerColumn @end +// ---------------------------------------------------------------------------- +// +// GTLRDatastream_SqlServerLsnPosition +// + +@implementation GTLRDatastream_SqlServerLsnPosition +@dynamic lsn; +@end + + // ---------------------------------------------------------------------------- // // GTLRDatastream_SqlServerObjectIdentifier diff --git a/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h b/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h index e73f1fc31..58cd5c784 100644 --- a/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h +++ b/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h @@ -86,6 +86,7 @@ @class GTLRDatastream_SpecificStartPosition; @class GTLRDatastream_SqlServerChangeTables; @class GTLRDatastream_SqlServerColumn; +@class GTLRDatastream_SqlServerLsnPosition; @class GTLRDatastream_SqlServerObjectIdentifier; @class GTLRDatastream_SqlServerProfile; @class GTLRDatastream_SqlServerRdbms; @@ -606,7 +607,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni /** MySQL ConnectionProfile configuration. */ @property(nonatomic, strong, nullable) GTLRDatastream_MysqlProfile *mysqlProfile; -/** Output only. The resource's name. */ +/** Output only. Identifier. The resource's name. */ @property(nonatomic, copy, nullable) NSString *name; /** Oracle ConnectionProfile configuration. */ @@ -1599,8 +1600,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni /** * Output only. Identifies whether the user has requested cancellation of the * operation. Operations that have successfully been cancelled have - * Operation.error value with a google.rpc.Status.code of 1, corresponding to - * `Code.CANCELLED`. + * google.longrunning.Operation.error value with a google.rpc.Status.code of 1, + * corresponding to `Code.CANCELLED`. * * Uses NSNumber of boolValue. */ @@ -1624,7 +1625,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni /** - * Configuration for Oracle Automatic Storage Management (ASM) connection. + * Configuration for Oracle Automatic Storage Management (ASM) connection. . */ @interface GTLRDatastream_OracleAsmConfig : GTLRObject @@ -1640,7 +1641,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni /** Optional. SSL configuration for the Oracle connection. */ @property(nonatomic, strong, nullable) GTLRDatastream_OracleSslConfig *oracleSslConfig; -/** Required. Password for the Oracle ASM connection. */ +/** Optional. Password for the Oracle ASM connection. */ @property(nonatomic, copy, nullable) NSString *password; /** @@ -2123,7 +2124,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni /** Labels. */ @property(nonatomic, strong, nullable) GTLRDatastream_PrivateConnection_Labels *labels; -/** Output only. The resource's name. */ +/** Output only. Identifier. The resource's name. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -2208,7 +2209,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni /** Labels. */ @property(nonatomic, strong, nullable) GTLRDatastream_Route_Labels *labels; -/** Output only. The resource's name. */ +/** Output only. Identifier. The resource's name. */ @property(nonatomic, copy, nullable) NSString *name; /** Output only. The update time of the resource. */ @@ -2333,6 +2334,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni /** Oracle SCN to start replicating from. */ @property(nonatomic, strong, nullable) GTLRDatastream_OracleScnPosition *oracleScnPosition; +/** SqlServer LSN to start replicating from. */ +@property(nonatomic, strong, nullable) GTLRDatastream_SqlServerLsnPosition *sqlServerLsnPosition; + @end @@ -2399,6 +2403,17 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni @end +/** + * SQL Server LSN position + */ +@interface GTLRDatastream_SqlServerLsnPosition : GTLRObject + +/** Required. Log sequence number (LSN) from where Logs will be read */ +@property(nonatomic, copy, nullable) NSString *lsn; + +@end + + /** * SQLServer data source object identifier. */ @@ -2660,7 +2675,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni */ @property(nonatomic, strong, nullable) GTLRDateTime *lastRecoveryTime; -/** Output only. The stream's name. */ +/** Output only. Identifier. The stream's name. */ @property(nonatomic, copy, nullable) NSString *name; /** Required. Source connection profile configuration. */ @@ -2735,7 +2750,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni /** Output only. Active errors on the object. */ @property(nonatomic, strong, nullable) NSArray *errors; -/** Output only. The object resource's name. */ +/** Output only. Identifier. The object resource's name. */ @property(nonatomic, copy, nullable) NSString *name; /** The object identifier in the data source. */ diff --git a/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamQuery.h b/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamQuery.h index 2ff63e8f2..f737e97f5 100644 --- a/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamQuery.h +++ b/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamQuery.h @@ -261,7 +261,7 @@ NS_ASSUME_NONNULL_BEGIN /** Optional. Update the connection profile without validating it. */ @property(nonatomic, assign) BOOL force; -/** Output only. The resource's name. */ +/** Output only. Identifier. The resource's name. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -303,7 +303,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRDatastream_ConnectionProfile to include in the * query. - * @param name Output only. The resource's name. + * @param name Output only. Identifier. The resource's name. * * @return GTLRDatastreamQuery_ProjectsLocationsConnectionProfilesPatch */ @@ -436,7 +436,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: datastream.projects.locations.operations.cancel @@ -459,7 +459,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRDatastream_CancelOperationRequest to include in the @@ -1279,7 +1279,7 @@ NS_ASSUME_NONNULL_BEGIN /** Optional. Update the stream without validating it. */ @property(nonatomic, assign) BOOL force; -/** Output only. The stream's name. */ +/** Output only. Identifier. The stream's name. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -1320,7 +1320,7 @@ NS_ASSUME_NONNULL_BEGIN * Use this method to update the configuration of a stream. * * @param object The @c GTLRDatastream_Stream to include in the query. - * @param name Output only. The stream's name. + * @param name Output only. Identifier. The stream's name. * * @return GTLRDatastreamQuery_ProjectsLocationsStreamsPatch */ diff --git a/Sources/GeneratedServices/DeploymentManager/GTLRDeploymentManagerObjects.m b/Sources/GeneratedServices/DeploymentManager/GTLRDeploymentManagerObjects.m index 0d650d86e..1e3613787 100644 --- a/Sources/GeneratedServices/DeploymentManager/GTLRDeploymentManagerObjects.m +++ b/Sources/GeneratedServices/DeploymentManager/GTLRDeploymentManagerObjects.m @@ -395,16 +395,16 @@ @implementation GTLRDeploymentManager_DeploymentUpdateLabelEntry // @implementation GTLRDeploymentManager_ErrorInfo -@dynamic domain, metadata, reason; +@dynamic domain, metadatas, reason; @end // ---------------------------------------------------------------------------- // -// GTLRDeploymentManager_ErrorInfo_Metadata +// GTLRDeploymentManager_ErrorInfo_Metadatas // -@implementation GTLRDeploymentManager_ErrorInfo_Metadata +@implementation GTLRDeploymentManager_ErrorInfo_Metadatas + (Class)classForAdditionalProperties { return [NSString class]; diff --git a/Sources/GeneratedServices/DeploymentManager/Public/GoogleAPIClientForREST/GTLRDeploymentManagerObjects.h b/Sources/GeneratedServices/DeploymentManager/Public/GoogleAPIClientForREST/GTLRDeploymentManagerObjects.h index 2c5c69e02..f2be5665c 100644 --- a/Sources/GeneratedServices/DeploymentManager/Public/GoogleAPIClientForREST/GTLRDeploymentManagerObjects.h +++ b/Sources/GeneratedServices/DeploymentManager/Public/GoogleAPIClientForREST/GTLRDeploymentManagerObjects.h @@ -27,7 +27,7 @@ @class GTLRDeploymentManager_DeploymentUpdate; @class GTLRDeploymentManager_DeploymentUpdateLabelEntry; @class GTLRDeploymentManager_ErrorInfo; -@class GTLRDeploymentManager_ErrorInfo_Metadata; +@class GTLRDeploymentManager_ErrorInfo_Metadatas; @class GTLRDeploymentManager_Expr; @class GTLRDeploymentManager_Help; @class GTLRDeploymentManager_HelpLink; @@ -1478,15 +1478,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDeploymentManager_SetCommonInstanceMetad @property(nonatomic, copy, nullable) NSString *domain; /** - * Additional structured details about this error. Keys must match /a-z+/ but - * should ideally be lowerCamelCase. Also they must be limited to 64 characters - * in length. When identifying the current value of an exceeded limit, the - * units should be contained in the key, not the value. For example, rather - * than {"instanceLimit": "100/request"}, should be returned as, - * {"instanceLimitPerRequest": "100"}, if the client exceeds the number of - * instances that can be created in a single (batch) request. + * Additional structured details about this error. Keys must match a regular + * expression of `a-z+` but should ideally be lowerCamelCase. Also, they must + * be limited to 64 characters in length. When identifying the current value of + * an exceeded limit, the units should be contained in the key, not the value. + * For example, rather than `{"instanceLimit": "100/request"}`, should be + * returned as, `{"instanceLimitPerRequest": "100"}`, if the client exceeds the + * number of instances that can be created in a single (batch) request. */ -@property(nonatomic, strong, nullable) GTLRDeploymentManager_ErrorInfo_Metadata *metadata; +@property(nonatomic, strong, nullable) GTLRDeploymentManager_ErrorInfo_Metadatas *metadatas; /** * The reason of the error. This is a constant value that identifies the @@ -1500,20 +1500,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDeploymentManager_SetCommonInstanceMetad /** - * Additional structured details about this error. Keys must match /a-z+/ but - * should ideally be lowerCamelCase. Also they must be limited to 64 characters - * in length. When identifying the current value of an exceeded limit, the - * units should be contained in the key, not the value. For example, rather - * than {"instanceLimit": "100/request"}, should be returned as, - * {"instanceLimitPerRequest": "100"}, if the client exceeds the number of - * instances that can be created in a single (batch) request. + * Additional structured details about this error. Keys must match a regular + * expression of `a-z+` but should ideally be lowerCamelCase. Also, they must + * be limited to 64 characters in length. When identifying the current value of + * an exceeded limit, the units should be contained in the key, not the value. + * For example, rather than `{"instanceLimit": "100/request"}`, should be + * returned as, `{"instanceLimitPerRequest": "100"}`, if the client exceeds the + * number of instances that can be created in a single (batch) request. * * @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 GTLRDeploymentManager_ErrorInfo_Metadata : GTLRObject +@interface GTLRDeploymentManager_ErrorInfo_Metadatas : GTLRObject @end diff --git a/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectObjects.h b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectObjects.h index ca72b765c..1369e37e4 100644 --- a/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectObjects.h +++ b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectObjects.h @@ -184,10 +184,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_InstallationState_Stage */ @property(nonatomic, strong, nullable) NSNumber *reconciling; -/** - * Output only. A system-assigned unique identifier for a the - * GitRepositoryLink. - */ +/** Output only. A system-assigned unique identifier for the Connection. */ @property(nonatomic, copy, nullable) NSString *uid; /** Output only. [Output only] Update timestamp */ @@ -583,8 +580,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_InstallationState_Stage @property(nonatomic, strong, nullable) NSNumber *reconciling; /** - * Output only. A system-assigned unique identifier for a the - * GitRepositoryLink. + * Output only. A system-assigned unique identifier for the GitRepositoryLink. */ @property(nonatomic, copy, nullable) NSString *uid; diff --git a/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectQuery.h b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectQuery.h index 555caf9a4..4dc8620d9 100644 --- a/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectQuery.h +++ b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectQuery.h @@ -872,7 +872,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnectRefTypeTag; * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: developerconnect.projects.locations.operations.cancel @@ -895,7 +895,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnectRefTypeTag; * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRDeveloperConnect_CancelOperationRequest to include diff --git a/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m b/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m index 29a7faebf..db15cb2c6 100644 --- a/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m +++ b/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m @@ -430,6 +430,7 @@ NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1ConversationEvent_Type_ConversationStarted = @"CONVERSATION_STARTED"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1ConversationEvent_Type_HumanInterventionNeeded = @"HUMAN_INTERVENTION_NEEDED"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1ConversationEvent_Type_NewMessage = @"NEW_MESSAGE"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1ConversationEvent_Type_NewRecognitionResult = @"NEW_RECOGNITION_RESULT"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1ConversationEvent_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1ConversationEvent_Type_UnrecoverableError = @"UNRECOVERABLE_ERROR"; @@ -561,6 +562,32 @@ NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata_SuggestionFeatureType_SmartReply = @"SMART_REPLY"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata_SuggestionFeatureType_TypeUnspecified = @"TYPE_UNSPECIFIED"; +// GTLRDialogflow_GoogleCloudDialogflowV2beta1StreamingRecognitionResult.messageType +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1StreamingRecognitionResult_MessageType_DtmfDigits = @"DTMF_DIGITS"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1StreamingRecognitionResult_MessageType_EndOfSingleUtterance = @"END_OF_SINGLE_UTTERANCE"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1StreamingRecognitionResult_MessageType_MessageTypeUnspecified = @"MESSAGE_TYPE_UNSPECIFIED"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1StreamingRecognitionResult_MessageType_PartialDtmfDigits = @"PARTIAL_DTMF_DIGITS"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1StreamingRecognitionResult_MessageType_Transcript = @"TRANSCRIPT"; + +// GTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents.dtmfEvents +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfA = @"DTMF_A"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfB = @"DTMF_B"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfC = @"DTMF_C"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfD = @"DTMF_D"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfEight = @"DTMF_EIGHT"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfFive = @"DTMF_FIVE"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfFour = @"DTMF_FOUR"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfNine = @"DTMF_NINE"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfOne = @"DTMF_ONE"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfPound = @"DTMF_POUND"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfSeven = @"DTMF_SEVEN"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfSix = @"DTMF_SIX"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfStar = @"DTMF_STAR"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfThree = @"DTMF_THREE"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfTwo = @"DTMF_TWO"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfZero = @"DTMF_ZERO"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_TelephonyDtmfUnspecified = @"TELEPHONY_DTMF_UNSPECIFIED"; + // GTLRDialogflow_GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata.participantRole NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata_ParticipantRole_AutomatedAgent = @"AUTOMATED_AGENT"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata_ParticipantRole_EndUser = @"END_USER"; @@ -580,6 +607,7 @@ NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2ConversationEvent_Type_ConversationStarted = @"CONVERSATION_STARTED"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2ConversationEvent_Type_HumanInterventionNeeded = @"HUMAN_INTERVENTION_NEEDED"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2ConversationEvent_Type_NewMessage = @"NEW_MESSAGE"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2ConversationEvent_Type_NewRecognitionResult = @"NEW_RECOGNITION_RESULT"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2ConversationEvent_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2ConversationEvent_Type_UnrecoverableError = @"UNRECOVERABLE_ERROR"; @@ -713,6 +741,11 @@ NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2SmartReplyModelMetadata_TrainingModelType_SmartReplyBertModel = @"SMART_REPLY_BERT_MODEL"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2SmartReplyModelMetadata_TrainingModelType_SmartReplyDualEncoderModel = @"SMART_REPLY_DUAL_ENCODER_MODEL"; +// GTLRDialogflow_GoogleCloudDialogflowV2StreamingRecognitionResult.messageType +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2StreamingRecognitionResult_MessageType_EndOfSingleUtterance = @"END_OF_SINGLE_UTTERANCE"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2StreamingRecognitionResult_MessageType_MessageTypeUnspecified = @"MESSAGE_TYPE_UNSPECIFIED"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2StreamingRecognitionResult_MessageType_Transcript = @"TRANSCRIPT"; + // GTLRDialogflow_GoogleCloudDialogflowV3alpha1TurnSignals.failureReasons NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1TurnSignals_FailureReasons_FailedIntent = @"FAILED_INTENT"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1TurnSignals_FailureReasons_FailedWebhook = @"FAILED_WEBHOOK"; @@ -6194,7 +6227,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDialogflow_GoogleCloudDialogflowV2beta1ConversationEvent -@dynamic conversation, errorStatus, newMessagePayload, type; +@dynamic conversation, errorStatus, newMessagePayload, + newRecognitionResultPayload, type; @end @@ -7507,6 +7541,35 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowV2beta1SmartReplyAnswer @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowV2beta1SpeechWordInfo +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowV2beta1SpeechWordInfo +@dynamic confidence, endOffset, startOffset, word; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowV2beta1StreamingRecognitionResult +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowV2beta1StreamingRecognitionResult +@dynamic confidence, dtmfDigits, isFinal, languageCode, messageType, + speechEndOffset, speechWordInfo, stability, transcript; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"speechWordInfo" : [GTLRDialogflow_GoogleCloudDialogflowV2beta1SpeechWordInfo class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowV2beta1SuggestArticlesResponse @@ -7601,6 +7664,24 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowV2beta1SuggestSmartRepliesRe @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents +@dynamic dtmfEvents; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dtmfEvents" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowV2beta1WebhookRequest @@ -7697,7 +7778,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDialogflow_GoogleCloudDialogflowV2ConversationEvent -@dynamic conversation, errorStatus, newMessagePayload, type; +@dynamic conversation, errorStatus, newMessagePayload, + newRecognitionResultPayload, type; @end @@ -8792,6 +8874,35 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowV2SmartReplyModelMetadata @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowV2SpeechWordInfo +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowV2SpeechWordInfo +@dynamic confidence, endOffset, startOffset, word; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowV2StreamingRecognitionResult +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowV2StreamingRecognitionResult +@dynamic confidence, isFinal, languageCode, messageType, speechEndOffset, + speechWordInfo, transcript; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"speechWordInfo" : [GTLRDialogflow_GoogleCloudDialogflowV2SpeechWordInfo class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowV2SuggestArticlesResponse diff --git a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h index 3685f9ba3..ed8473a59 100644 --- a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h +++ b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h @@ -388,12 +388,15 @@ @class GTLRDialogflow_GoogleCloudDialogflowV2beta1SentimentAnalysisResult; @class GTLRDialogflow_GoogleCloudDialogflowV2beta1SessionEntityType; @class GTLRDialogflow_GoogleCloudDialogflowV2beta1SmartReplyAnswer; +@class GTLRDialogflow_GoogleCloudDialogflowV2beta1SpeechWordInfo; +@class GTLRDialogflow_GoogleCloudDialogflowV2beta1StreamingRecognitionResult; @class GTLRDialogflow_GoogleCloudDialogflowV2beta1SuggestArticlesResponse; @class GTLRDialogflow_GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse; @class GTLRDialogflow_GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse; @class GTLRDialogflow_GoogleCloudDialogflowV2beta1SuggestionResult; @class GTLRDialogflow_GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse; @class GTLRDialogflow_GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse; +@class GTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents; @class GTLRDialogflow_GoogleCloudDialogflowV2beta1WebhookResponse_Payload; @class GTLRDialogflow_GoogleCloudDialogflowV2Context; @class GTLRDialogflow_GoogleCloudDialogflowV2Context_Parameters; @@ -462,6 +465,8 @@ @class GTLRDialogflow_GoogleCloudDialogflowV2SessionEntityType; @class GTLRDialogflow_GoogleCloudDialogflowV2SmartReplyAnswer; @class GTLRDialogflow_GoogleCloudDialogflowV2SmartReplyModelMetadata; +@class GTLRDialogflow_GoogleCloudDialogflowV2SpeechWordInfo; +@class GTLRDialogflow_GoogleCloudDialogflowV2StreamingRecognitionResult; @class GTLRDialogflow_GoogleCloudDialogflowV2SuggestArticlesResponse; @class GTLRDialogflow_GoogleCloudDialogflowV2SuggestFaqAnswersResponse; @class GTLRDialogflow_GoogleCloudDialogflowV2SuggestionResult; @@ -2596,6 +2601,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1C * Value: "NEW_MESSAGE" */ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1ConversationEvent_Type_NewMessage; +/** + * An existing conversation has received a new speech recognition result. This + * is mainly for delivering intermediate transcripts. The notification is + * configured in ConversationProfile.new_recognition_event_notification_config. + * + * Value: "NEW_RECOGNITION_RESULT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1ConversationEvent_Type_NewRecognitionResult; /** * Type not set. * @@ -3249,6 +3262,154 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1S */ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata_SuggestionFeatureType_TypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDialogflow_GoogleCloudDialogflowV2beta1StreamingRecognitionResult.messageType + +/** + * Message contains DTMF digits. + * + * Value: "DTMF_DIGITS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1StreamingRecognitionResult_MessageType_DtmfDigits; +/** + * This event indicates that the server has detected the end of the user's + * speech utterance and expects no additional speech. Therefore, the server + * will not process additional audio (although it may subsequently return + * additional results). The client should stop sending additional audio data, + * half-close the gRPC connection, and wait for any additional results until + * the server closes the gRPC connection. This message is only sent if + * `single_utterance` was set to `true`, and is not used otherwise. + * + * Value: "END_OF_SINGLE_UTTERANCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1StreamingRecognitionResult_MessageType_EndOfSingleUtterance; +/** + * Not specified. Should never be used. + * + * Value: "MESSAGE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1StreamingRecognitionResult_MessageType_MessageTypeUnspecified; +/** + * Message contains DTMF digits. Before a message with DTMF_DIGITS is sent, a + * message with PARTIAL_DTMF_DIGITS may be sent with DTMF digits collected up + * to the time of sending, which represents an intermediate result. + * + * Value: "PARTIAL_DTMF_DIGITS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1StreamingRecognitionResult_MessageType_PartialDtmfDigits; +/** + * Message contains a (possibly partial) transcript. + * + * Value: "TRANSCRIPT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1StreamingRecognitionResult_MessageType_Transcript; + +// ---------------------------------------------------------------------------- +// GTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents.dtmfEvents + +/** + * Letter: 'A'. + * + * Value: "DTMF_A" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfA; +/** + * Letter: 'B'. + * + * Value: "DTMF_B" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfB; +/** + * Letter: 'C'. + * + * Value: "DTMF_C" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfC; +/** + * Letter: 'D'. + * + * Value: "DTMF_D" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfD; +/** + * Number: '8'. + * + * Value: "DTMF_EIGHT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfEight; +/** + * Number: '5'. + * + * Value: "DTMF_FIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfFive; +/** + * Number: '4'. + * + * Value: "DTMF_FOUR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfFour; +/** + * Number: '9'. + * + * Value: "DTMF_NINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfNine; +/** + * Number: '1'. + * + * Value: "DTMF_ONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfOne; +/** + * Pound/diamond/hash/square/gate/octothorpe: '#'. + * + * Value: "DTMF_POUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfPound; +/** + * Number: '7'. + * + * Value: "DTMF_SEVEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfSeven; +/** + * Number: '6'. + * + * Value: "DTMF_SIX" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfSix; +/** + * Asterisk/star: '*'. + * + * Value: "DTMF_STAR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfStar; +/** + * Number: '3'. + * + * Value: "DTMF_THREE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfThree; +/** + * Number: '2'. + * + * Value: "DTMF_TWO" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfTwo; +/** + * Number: '0'. + * + * Value: "DTMF_ZERO" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_DtmfZero; +/** + * Not specified. This value may be used to indicate an absent digit. + * + * Value: "TELEPHONY_DTMF_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents_DtmfEvents_TelephonyDtmfUnspecified; + // ---------------------------------------------------------------------------- // GTLRDialogflow_GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata.participantRole @@ -3350,6 +3511,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2Conver * Value: "NEW_MESSAGE" */ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2ConversationEvent_Type_NewMessage; +/** + * An existing conversation has received a new speech recognition result. This + * is mainly for delivering intermediate transcripts. The notification is + * configured in ConversationProfile.new_recognition_event_notification_config. + * + * Value: "NEW_RECOGNITION_RESULT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2ConversationEvent_Type_NewRecognitionResult; /** * Type not set. * @@ -4023,6 +4192,34 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2SmartR */ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2SmartReplyModelMetadata_TrainingModelType_SmartReplyDualEncoderModel; +// ---------------------------------------------------------------------------- +// GTLRDialogflow_GoogleCloudDialogflowV2StreamingRecognitionResult.messageType + +/** + * This event indicates that the server has detected the end of the user's + * speech utterance and expects no additional inputs. Therefore, the server + * will not process additional audio (although it may subsequently return + * additional results). The client should stop sending additional audio data, + * half-close the gRPC connection, and wait for any additional results until + * the server closes the gRPC connection. This message is only sent if + * `single_utterance` was set to `true`, and is not used otherwise. + * + * Value: "END_OF_SINGLE_UTTERANCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2StreamingRecognitionResult_MessageType_EndOfSingleUtterance; +/** + * Not specified. Should never be used. + * + * Value: "MESSAGE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2StreamingRecognitionResult_MessageType_MessageTypeUnspecified; +/** + * Message contains a (possibly partial) transcript. + * + * Value: "TRANSCRIPT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2StreamingRecognitionResult_MessageType_Transcript; + // ---------------------------------------------------------------------------- // GTLRDialogflow_GoogleCloudDialogflowV3alpha1TurnSignals.failureReasons @@ -15376,6 +15573,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 /** Payload of NEW_MESSAGE event. */ @property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowV2beta1Message *newMessagePayload NS_RETURNS_NOT_RETAINED; +/** Payload of NEW_RECOGNITION_RESULT event. */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowV2beta1StreamingRecognitionResult *newRecognitionResultPayload NS_RETURNS_NOT_RETAINED; + /** * Required. The type of the event that this notification refers to. * @@ -15397,6 +15597,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 * or telephony. It is configured in * ConversationProfile.new_message_event_notification_config (Value: * "NEW_MESSAGE") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowV2beta1ConversationEvent_Type_NewRecognitionResult + * An existing conversation has received a new speech recognition result. + * This is mainly for delivering intermediate transcripts. The + * notification is configured in + * ConversationProfile.new_recognition_event_notification_config. (Value: + * "NEW_RECOGNITION_RESULT") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowV2beta1ConversationEvent_Type_TypeUnspecified * Type not set. (Value: "TYPE_UNSPECIFIED") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowV2beta1ConversationEvent_Type_UnrecoverableError @@ -18030,6 +18236,161 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * Information for a word recognized by the speech recognizer. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowV2beta1SpeechWordInfo : GTLRObject + +/** + * The Speech confidence between 0.0 and 1.0 for this word. A higher number + * indicates an estimated greater likelihood that the recognized word is + * correct. The default of 0.0 is a sentinel value indicating that confidence + * was not set. This field is not guaranteed to be fully stable over time for + * the same audio input. Users should also not rely on it to always be + * provided. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *confidence; + +/** + * Time offset relative to the beginning of the audio that corresponds to the + * end of the spoken word. This is an experimental feature and the accuracy of + * the time offset can vary. + */ +@property(nonatomic, strong, nullable) GTLRDuration *endOffset; + +/** + * Time offset relative to the beginning of the audio that corresponds to the + * start of the spoken word. This is an experimental feature and the accuracy + * of the time offset can vary. + */ +@property(nonatomic, strong, nullable) GTLRDuration *startOffset; + +/** The word this info is for. */ +@property(nonatomic, copy, nullable) NSString *word; + +@end + + +/** + * Contains a speech recognition result corresponding to a portion of the audio + * that is currently being processed or an indication that this is the end of + * the single requested utterance. While end-user audio is being processed, + * Dialogflow sends a series of results. Each result may contain a `transcript` + * value. A transcript represents a portion of the utterance. While the + * recognizer is processing audio, transcript values may be interim values or + * finalized values. Once a transcript is finalized, the `is_final` value is + * set to true and processing continues for the next transcript. If + * `StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was + * true, and the recognizer has completed processing audio, the `message_type` + * value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result + * contains the last finalized transcript. The complete end-user utterance is + * determined by concatenating the finalized transcript values received for the + * series of results. In the following example, single utterance is enabled. In + * the case where single utterance is not enabled, result 7 would not occur. + * ``` Num | transcript | message_type | is_final --- | ----------------------- + * | ----------------------- | -------- 1 | "tube" | TRANSCRIPT | false 2 | "to + * be a" | TRANSCRIPT | false 3 | "to be" | TRANSCRIPT | false 4 | "to be or + * not to be" | TRANSCRIPT | true 5 | "that's" | TRANSCRIPT | false 6 | "that + * is | TRANSCRIPT | false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | " + * that is the question" | TRANSCRIPT | true ``` Concatenating the finalized + * transcripts with `is_final` set to true, the complete utterance becomes "to + * be or not to be that is the question". + */ +@interface GTLRDialogflow_GoogleCloudDialogflowV2beta1StreamingRecognitionResult : GTLRObject + +/** + * The Speech confidence between 0.0 and 1.0 for the current portion of audio. + * A higher number indicates an estimated greater likelihood that the + * recognized words are correct. The default of 0.0 is a sentinel value + * indicating that confidence was not set. This field is typically only + * provided if `is_final` is true and you should not rely on it being accurate + * or even set. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *confidence; + +/** DTMF digits. Populated if and only if `message_type` = `DTMF_DIGITS`. */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents *dtmfDigits; + +/** + * If `false`, the `StreamingRecognitionResult` represents an interim result + * that may change. If `true`, the recognizer will not return any further + * hypotheses about this piece of the audio. May only be populated for + * `message_type` = `TRANSCRIPT`. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isFinal; + +/** Detected language code for the transcript. */ +@property(nonatomic, copy, nullable) NSString *languageCode; + +/** + * Type of the result message. + * + * Likely values: + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowV2beta1StreamingRecognitionResult_MessageType_DtmfDigits + * Message contains DTMF digits. (Value: "DTMF_DIGITS") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowV2beta1StreamingRecognitionResult_MessageType_EndOfSingleUtterance + * This event indicates that the server has detected the end of the + * user's speech utterance and expects no additional speech. Therefore, + * the server will not process additional audio (although it may + * subsequently return additional results). The client should stop + * sending additional audio data, half-close the gRPC connection, and + * wait for any additional results until the server closes the gRPC + * connection. This message is only sent if `single_utterance` was set to + * `true`, and is not used otherwise. (Value: "END_OF_SINGLE_UTTERANCE") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowV2beta1StreamingRecognitionResult_MessageType_MessageTypeUnspecified + * Not specified. Should never be used. (Value: + * "MESSAGE_TYPE_UNSPECIFIED") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowV2beta1StreamingRecognitionResult_MessageType_PartialDtmfDigits + * Message contains DTMF digits. Before a message with DTMF_DIGITS is + * sent, a message with PARTIAL_DTMF_DIGITS may be sent with DTMF digits + * collected up to the time of sending, which represents an intermediate + * result. (Value: "PARTIAL_DTMF_DIGITS") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowV2beta1StreamingRecognitionResult_MessageType_Transcript + * Message contains a (possibly partial) transcript. (Value: + * "TRANSCRIPT") + */ +@property(nonatomic, copy, nullable) NSString *messageType; + +/** + * Time offset of the end of this Speech recognition result relative to the + * beginning of the audio. Only populated for `message_type` = `TRANSCRIPT`. + */ +@property(nonatomic, strong, nullable) GTLRDuration *speechEndOffset; + +/** + * Word-specific information for the words recognized by Speech in transcript. + * Populated if and only if `message_type` = `TRANSCRIPT` and + * [InputAudioConfig.enable_word_info] is set. + */ +@property(nonatomic, strong, nullable) NSArray *speechWordInfo; + +/** + * An estimate of the likelihood that the speech recognizer will not change its + * guess about this interim recognition result: * If the value is unspecified + * or 0.0, Dialogflow didn't compute the stability. In particular, Dialogflow + * will only provide stability for `TRANSCRIPT` results with `is_final = + * false`. * Otherwise, the value is in (0.0, 1.0] where 0.0 means completely + * unstable and 1.0 means completely stable. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *stability; + +/** + * Transcript text representing the words that the user spoke. Populated if and + * only if `message_type` = `TRANSCRIPT`. + */ +@property(nonatomic, copy, nullable) NSString *transcript; + +@end + + /** * The response message for Participants.SuggestArticles. */ @@ -18201,6 +18562,17 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * A wrapper of repeated TelephonyDtmf digits. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowV2beta1TelephonyDtmfEvents : GTLRObject + +/** A sequence of TelephonyDtmf digits. */ +@property(nonatomic, strong, nullable) NSArray *dtmfEvents; + +@end + + /** * The request message for a webhook call. */ @@ -18507,6 +18879,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 /** Payload of NEW_MESSAGE event. */ @property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowV2Message *newMessagePayload NS_RETURNS_NOT_RETAINED; +/** Payload of NEW_RECOGNITION_RESULT event. */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowV2StreamingRecognitionResult *newRecognitionResultPayload NS_RETURNS_NOT_RETAINED; + /** * The type of the event that this notification refers to. * @@ -18528,6 +18903,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 * or telephony. It is configured in * ConversationProfile.new_message_event_notification_config (Value: * "NEW_MESSAGE") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowV2ConversationEvent_Type_NewRecognitionResult + * An existing conversation has received a new speech recognition result. + * This is mainly for delivering intermediate transcripts. The + * notification is configured in + * ConversationProfile.new_recognition_event_notification_config. (Value: + * "NEW_RECOGNITION_RESULT") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowV2ConversationEvent_Type_TypeUnspecified * Type not set. (Value: "TYPE_UNSPECIFIED") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowV2ConversationEvent_Type_UnrecoverableError @@ -20825,6 +21206,139 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * Information for a word recognized by the speech recognizer. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowV2SpeechWordInfo : GTLRObject + +/** + * The Speech confidence between 0.0 and 1.0 for this word. A higher number + * indicates an estimated greater likelihood that the recognized word is + * correct. The default of 0.0 is a sentinel value indicating that confidence + * was not set. This field is not guaranteed to be fully stable over time for + * the same audio input. Users should also not rely on it to always be + * provided. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *confidence; + +/** + * Time offset relative to the beginning of the audio that corresponds to the + * end of the spoken word. This is an experimental feature and the accuracy of + * the time offset can vary. + */ +@property(nonatomic, strong, nullable) GTLRDuration *endOffset; + +/** + * Time offset relative to the beginning of the audio that corresponds to the + * start of the spoken word. This is an experimental feature and the accuracy + * of the time offset can vary. + */ +@property(nonatomic, strong, nullable) GTLRDuration *startOffset; + +/** The word this info is for. */ +@property(nonatomic, copy, nullable) NSString *word; + +@end + + +/** + * Contains a speech recognition result corresponding to a portion of the audio + * that is currently being processed or an indication that this is the end of + * the single requested utterance. While end-user audio is being processed, + * Dialogflow sends a series of results. Each result may contain a `transcript` + * value. A transcript represents a portion of the utterance. While the + * recognizer is processing audio, transcript values may be interim values or + * finalized values. Once a transcript is finalized, the `is_final` value is + * set to true and processing continues for the next transcript. If + * `StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was + * true, and the recognizer has completed processing audio, the `message_type` + * value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result + * contains the last finalized transcript. The complete end-user utterance is + * determined by concatenating the finalized transcript values received for the + * series of results. In the following example, single utterance is enabled. In + * the case where single utterance is not enabled, result 7 would not occur. + * ``` Num | transcript | message_type | is_final --- | ----------------------- + * | ----------------------- | -------- 1 | "tube" | TRANSCRIPT | false 2 | "to + * be a" | TRANSCRIPT | false 3 | "to be" | TRANSCRIPT | false 4 | "to be or + * not to be" | TRANSCRIPT | true 5 | "that's" | TRANSCRIPT | false 6 | "that + * is | TRANSCRIPT | false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | " + * that is the question" | TRANSCRIPT | true ``` Concatenating the finalized + * transcripts with `is_final` set to true, the complete utterance becomes "to + * be or not to be that is the question". + */ +@interface GTLRDialogflow_GoogleCloudDialogflowV2StreamingRecognitionResult : GTLRObject + +/** + * The Speech confidence between 0.0 and 1.0 for the current portion of audio. + * A higher number indicates an estimated greater likelihood that the + * recognized words are correct. The default of 0.0 is a sentinel value + * indicating that confidence was not set. This field is typically only + * provided if `is_final` is true and you should not rely on it being accurate + * or even set. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *confidence; + +/** + * If `false`, the `StreamingRecognitionResult` represents an interim result + * that may change. If `true`, the recognizer will not return any further + * hypotheses about this piece of the audio. May only be populated for + * `message_type` = `TRANSCRIPT`. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isFinal; + +/** Detected language code for the transcript. */ +@property(nonatomic, copy, nullable) NSString *languageCode; + +/** + * Type of the result message. + * + * Likely values: + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowV2StreamingRecognitionResult_MessageType_EndOfSingleUtterance + * This event indicates that the server has detected the end of the + * user's speech utterance and expects no additional inputs. Therefore, + * the server will not process additional audio (although it may + * subsequently return additional results). The client should stop + * sending additional audio data, half-close the gRPC connection, and + * wait for any additional results until the server closes the gRPC + * connection. This message is only sent if `single_utterance` was set to + * `true`, and is not used otherwise. (Value: "END_OF_SINGLE_UTTERANCE") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowV2StreamingRecognitionResult_MessageType_MessageTypeUnspecified + * Not specified. Should never be used. (Value: + * "MESSAGE_TYPE_UNSPECIFIED") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowV2StreamingRecognitionResult_MessageType_Transcript + * Message contains a (possibly partial) transcript. (Value: + * "TRANSCRIPT") + */ +@property(nonatomic, copy, nullable) NSString *messageType; + +/** + * Time offset of the end of this Speech recognition result relative to the + * beginning of the audio. Only populated for `message_type` = `TRANSCRIPT`. + */ +@property(nonatomic, strong, nullable) GTLRDuration *speechEndOffset; + +/** + * Word-specific information for the words recognized by Speech in transcript. + * Populated if and only if `message_type` = `TRANSCRIPT` and + * [InputAudioConfig.enable_word_info] is set. + */ +@property(nonatomic, strong, nullable) NSArray *speechWordInfo; + +/** + * Transcript text representing the words that the user spoke. Populated if and + * only if `message_type` = `TRANSCRIPT`. + */ +@property(nonatomic, copy, nullable) NSString *transcript; + +@end + + /** * The response message for Participants.SuggestArticles. */ diff --git a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowQuery.h b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowQuery.h index 57428a297..7ab0fdaae 100644 --- a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowQuery.h +++ b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowQuery.h @@ -5465,7 +5465,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflowViewTestCaseViewUnspecified; * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: dialogflow.projects.locations.operations.cancel @@ -5489,7 +5489,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflowViewTestCaseViewUnspecified; * 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 + * 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. @@ -5772,7 +5772,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflowViewTestCaseViewUnspecified; * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: dialogflow.projects.operations.cancel @@ -5796,7 +5796,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflowViewTestCaseViewUnspecified; * 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 + * 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. diff --git a/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m b/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m index 2b9b080ec..6cdea5e9f 100644 --- a/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m +++ b/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m @@ -1637,8 +1637,8 @@ @implementation GTLRDirectory_Role_RolePrivileges_Item // @implementation GTLRDirectory_RoleAssignment -@dynamic assignedTo, assigneeType, ETag, kind, orgUnitId, roleAssignmentId, - roleId, scopeType; +@dynamic assignedTo, assigneeType, condition, ETag, kind, orgUnitId, + roleAssignmentId, roleId, scopeType; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; diff --git a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h index f431d2ebc..88bf692a6 100644 --- a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h +++ b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h @@ -4360,6 +4360,38 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us */ @property(nonatomic, copy, nullable) NSString *assigneeType; +/** + * Optional. The condition associated with this role assignment. Note: Feature + * is available to Enterprise Standard, Enterprise Plus, Google Workspace for + * Education Plus and Cloud Identity Premium customers. A `RoleAssignment` with + * the `condition` field set will only take effect when the resource being + * accessed meets the condition. If `condition` is empty, the role (`role_id`) + * is applied to the actor (`assigned_to`) at the scope (`scope_type`) + * unconditionally. Currently, the following conditions are supported: - To + * make the `RoleAssignment` only applicable to [Security + * Groups](https://cloud.google.com/identity/docs/groups#group_types): + * `api.getAttribute('cloudidentity.googleapis.com/groups.labels', + * []).hasAny(['groups.security']) && resource.type == + * 'cloudidentity.googleapis.com/Group'` - To make the `RoleAssignment` not + * applicable to [Security + * Groups](https://cloud.google.com/identity/docs/groups#group_types): + * `!api.getAttribute('cloudidentity.googleapis.com/groups.labels', + * []).hasAny(['groups.security']) && resource.type == + * 'cloudidentity.googleapis.com/Group'` Currently, the condition strings have + * to be verbatim and they only work with the following [pre-built + * administrator roles](https://support.google.com/a/answer/2405986): - Groups + * Editor - Groups Reader The condition follows [Cloud IAM condition + * syntax](https://cloud.google.com/iam/docs/conditions-overview). Additional + * conditions related to Locked Groups are available under Open Beta. - To make + * the `RoleAssignment` not applicable to [Locked + * Groups](https://cloud.google.com/identity/docs/groups#group_types): + * `!api.getAttribute('cloudidentity.googleapis.com/groups.labels', + * []).hasAny(['groups.locked']) && resource.type == + * 'cloudidentity.googleapis.com/Group'` This condition can also be used in + * conjunction with a Security-related condition. + */ +@property(nonatomic, copy, nullable) NSString *condition; + /** ETag of the resource. */ @property(nonatomic, copy, nullable) NSString *ETag; diff --git a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m index 8837cf163..8c9fc3293 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m +++ b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m @@ -29,6 +29,7 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer_State_Failed = @"FAILED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer_State_InProgress = @"IN_PROGRESS"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer_State_Streaming = @"STREAMING"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer_State_Succeeded = @"SUCCEEDED"; // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo.type @@ -53,6 +54,38 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_Unusable = @"UNUSABLE"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun.state +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_State_Cancelled = @"CANCELLED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_State_Failed = @"FAILED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_State_Overrun = @"OVERRUN"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_State_Pending = @"PENDING"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_State_Running = @"RUNNING"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_State_Succeeded = @"SUCCEEDED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_State_Warning = @"WARNING"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun.trigger +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_Trigger_Initialization = @"INITIALIZATION"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_Trigger_Manual = @"MANUAL"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_Trigger_Resume = @"RESUME"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_Trigger_Scheduler = @"SCHEDULER"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_Trigger_TriggerUnspecified = @"TRIGGER_UNSPECIFIED"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun.state +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_Cancelled = @"CANCELLED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_Failed = @"FAILED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_Overrun = @"OVERRUN"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_Pending = @"PENDING"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_Running = @"RUNNING"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_Succeeded = @"SUCCEEDED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_Warning = @"WARNING"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun.syncType +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_SyncType_Full = @"FULL"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_SyncType_Incremental = @"INCREMENTAL"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_SyncType_SyncTypeUnspecified = @"SYNC_TYPE_UNSPECIFIED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl.solutionType NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeChat = @"SOLUTION_TYPE_CHAT"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeGenerativeChat = @"SOLUTION_TYPE_GENERATIVE_CHAT"; @@ -65,15 +98,21 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_UseCases_SearchUseCaseSearch = @"SEARCH_USE_CASE_SEARCH"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_UseCases_SearchUseCaseUnspecified = @"SEARCH_USE_CASE_UNSPECIFIED"; -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel.modelState -NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_InputValidationFailed = @"INPUT_VALIDATION_FAILED"; -NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_ModelStateUnspecified = @"MODEL_STATE_UNSPECIFIED"; -NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_NoImprovement = @"NO_IMPROVEMENT"; -NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_ReadyForServing = @"READY_FOR_SERVING"; -NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_Training = @"TRAINING"; -NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_TrainingComplete = @"TRAINING_COMPLETE"; -NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_TrainingFailed = @"TRAINING_FAILED"; -NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_TrainingPaused = @"TRAINING_PAUSED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector.blockingReasons +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_BlockingReasons_AllowlistInServiceAttachment = @"ALLOWLIST_IN_SERVICE_ATTACHMENT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_BlockingReasons_AllowlistStaticIp = @"ALLOWLIST_STATIC_IP"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_BlockingReasons_BlockingReasonUnspecified = @"BLOCKING_REASON_UNSPECIFIED"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector.state +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_Active = @"ACTIVE"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_Creating = @"CREATING"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_Failed = @"FAILED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_Running = @"RUNNING"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_Warning = @"WARNING"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector.syncMode +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_SyncMode_Periodic = @"PERIODIC"; // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore.contentConfig NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_ContentConfig_ContentConfigUnspecified = @"CONTENT_CONFIG_UNSPECIFIED"; @@ -213,6 +252,33 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason_CorpusType_Desktop = @"DESKTOP"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason_CorpusType_Mobile = @"MOBILE"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse.state +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse_State_Failed = @"FAILED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse_State_Succeeded = @"SUCCEEDED"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating.category +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Category_HarmCategoryCivicIntegrity = @"HARM_CATEGORY_CIVIC_INTEGRITY"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Category_HarmCategoryDangerousContent = @"HARM_CATEGORY_DANGEROUS_CONTENT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Category_HarmCategoryHarassment = @"HARM_CATEGORY_HARASSMENT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Category_HarmCategoryHateSpeech = @"HARM_CATEGORY_HATE_SPEECH"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Category_HarmCategorySexuallyExplicit = @"HARM_CATEGORY_SEXUALLY_EXPLICIT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Category_HarmCategoryUnspecified = @"HARM_CATEGORY_UNSPECIFIED"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating.probability +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Probability_HarmProbabilityUnspecified = @"HARM_PROBABILITY_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Probability_High = @"HIGH"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Probability_Low = @"LOW"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Probability_Medium = @"MEDIUM"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Probability_Negligible = @"NEGLIGIBLE"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating.severity +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Severity_HarmSeverityHigh = @"HARM_SEVERITY_HIGH"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Severity_HarmSeverityLow = @"HARM_SEVERITY_LOW"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Severity_HarmSeverityMedium = @"HARM_SEVERITY_MEDIUM"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Severity_HarmSeverityNegligible = @"HARM_SEVERITY_NEGLIGIBLE"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Severity_HarmSeverityUnspecified = @"HARM_SEVERITY_UNSPECIFIED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest.relevanceThreshold NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RelevanceThreshold_High = @"HIGH"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RelevanceThreshold_Low = @"LOW"; @@ -263,6 +329,11 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSession_State_InProgress = @"IN_PROGRESS"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSession_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse.state +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse_State_Failed = @"FAILED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse_State_Succeeded = @"SUCCEEDED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo.siteVerificationState NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo_SiteVerificationState_Exempted = @"EXEMPTED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo_SiteVerificationState_SiteVerificationStateUnspecified = @"SITE_VERIFICATION_STATE_UNSPECIFIED"; @@ -307,6 +378,7 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_Failed = @"FAILED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_InProgress = @"IN_PROGRESS"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_Streaming = @"STREAMING"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_Succeeded = @"SUCCEEDED"; // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec.filteringLevel @@ -321,6 +393,27 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec_Types_NonAnswerSeekingQueryV2 = @"NON_ANSWER_SEEKING_QUERY_V2"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec_Types_TypeUnspecified = @"TYPE_UNSPECIFIED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec.modelType +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec_ModelType_Large = @"LARGE"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec_ModelType_ModelTypeUnspecified = @"MODEL_TYPE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec_ModelType_Small = @"SMALL"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting.category +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Category_HarmCategoryCivicIntegrity = @"HARM_CATEGORY_CIVIC_INTEGRITY"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Category_HarmCategoryDangerousContent = @"HARM_CATEGORY_DANGEROUS_CONTENT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Category_HarmCategoryHarassment = @"HARM_CATEGORY_HARASSMENT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Category_HarmCategoryHateSpeech = @"HARM_CATEGORY_HATE_SPEECH"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Category_HarmCategorySexuallyExplicit = @"HARM_CATEGORY_SEXUALLY_EXPLICIT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Category_HarmCategoryUnspecified = @"HARM_CATEGORY_UNSPECIFIED"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting.threshold +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Threshold_BlockLowAndAbove = @"BLOCK_LOW_AND_ABOVE"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Threshold_BlockMediumAndAbove = @"BLOCK_MEDIUM_AND_ABOVE"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Threshold_BlockNone = @"BLOCK_NONE"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Threshold_BlockOnlyHigh = @"BLOCK_ONLY_HIGH"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Threshold_HarmBlockThresholdUnspecified = @"HARM_BLOCK_THRESHOLD_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Threshold_Off = @"OFF"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams.searchResultMode NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams_SearchResultMode_Chunks = @"CHUNKS"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams_SearchResultMode_Documents = @"DOCUMENTS"; @@ -366,16 +459,6 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_UseCases_SearchUseCaseSearch = @"SEARCH_USE_CASE_SEARCH"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_UseCases_SearchUseCaseUnspecified = @"SEARCH_USE_CASE_UNSPECIFIED"; -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel.modelState -NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_InputValidationFailed = @"INPUT_VALIDATION_FAILED"; -NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_ModelStateUnspecified = @"MODEL_STATE_UNSPECIFIED"; -NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_NoImprovement = @"NO_IMPROVEMENT"; -NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_ReadyForServing = @"READY_FOR_SERVING"; -NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_Training = @"TRAINING"; -NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_TrainingComplete = @"TRAINING_COMPLETE"; -NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_TrainingFailed = @"TRAINING_FAILED"; -NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_TrainingPaused = @"TRAINING_PAUSED"; - // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore.contentConfig NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore_ContentConfig_ContentConfigUnspecified = @"CONTENT_CONFIG_UNSPECIFIED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore_ContentConfig_ContentRequired = @"CONTENT_REQUIRED"; @@ -618,6 +701,21 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EngineSearchEngineConfig_SearchTier_SearchTierStandard = @"SEARCH_TIER_STANDARD"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EngineSearchEngineConfig_SearchTier_SearchTierUnspecified = @"SEARCH_TIER_UNSPECIFIED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor.version +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor_Version_V1Independent = @"V1_INDEPENDENT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor_Version_VersionUnspecified = @"VERSION_UNSPECIFIED"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata.version +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata_Version_V1Independent = @"V1_INDEPENDENT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata_Version_VersionUnspecified = @"VERSION_UNSPECIFIED"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata.source +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata_Source_GoogleMaps = @"GOOGLE_MAPS"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata_Source_GoogleSearch = @"GOOGLE_SEARCH"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata_Source_InlineContent = @"INLINE_CONTENT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata_Source_SourceUnspecified = @"SOURCE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata_Source_VertexAiSearch = @"VERTEX_AI_SEARCH"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ImportDocumentsRequest.reconciliationMode NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ImportDocumentsRequest_ReconciliationMode_Full = @"FULL"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ImportDocumentsRequest_ReconciliationMode_Incremental = @"INCREMENTAL"; @@ -629,6 +727,28 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms_State_TermsDeclined = @"TERMS_DECLINED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms_State_TermsPending = @"TERMS_PENDING"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating.category +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Category_HarmCategoryCivicIntegrity = @"HARM_CATEGORY_CIVIC_INTEGRITY"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Category_HarmCategoryDangerousContent = @"HARM_CATEGORY_DANGEROUS_CONTENT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Category_HarmCategoryHarassment = @"HARM_CATEGORY_HARASSMENT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Category_HarmCategoryHateSpeech = @"HARM_CATEGORY_HATE_SPEECH"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Category_HarmCategorySexuallyExplicit = @"HARM_CATEGORY_SEXUALLY_EXPLICIT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Category_HarmCategoryUnspecified = @"HARM_CATEGORY_UNSPECIFIED"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating.probability +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Probability_HarmProbabilityUnspecified = @"HARM_PROBABILITY_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Probability_High = @"HIGH"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Probability_Low = @"LOW"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Probability_Medium = @"MEDIUM"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Probability_Negligible = @"NEGLIGIBLE"; + +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating.severity +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Severity_HarmSeverityHigh = @"HARM_SEVERITY_HIGH"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Severity_HarmSeverityLow = @"HARM_SEVERITY_LOW"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Severity_HarmSeverityMedium = @"HARM_SEVERITY_MEDIUM"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Severity_HarmSeverityNegligible = @"HARM_SEVERITY_NEGLIGIBLE"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Severity_HarmSeverityUnspecified = @"HARM_SEVERITY_UNSPECIFIED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec.attributeType NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec_AttributeType_AttributeTypeUnspecified = @"ATTRIBUTE_TYPE_UNSPECIFIED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec_AttributeType_Freshness = @"FRESHNESS"; @@ -670,6 +790,13 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSummary_SummarySkippedReasons_PotentialPolicyViolation = @"POTENTIAL_POLICY_VIOLATION"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSummary_SummarySkippedReasons_SummarySkippedReasonUnspecified = @"SUMMARY_SKIPPED_REASON_UNSPECIFIED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig.solutionType +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig_SolutionType_SolutionTypeChat = @"SOLUTION_TYPE_CHAT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig_SolutionType_SolutionTypeGenerativeChat = @"SOLUTION_TYPE_GENERATIVE_CHAT"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig_SolutionType_SolutionTypeRecommendation = @"SOLUTION_TYPE_RECOMMENDATION"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig_SolutionType_SolutionTypeSearch = @"SOLUTION_TYPE_SEARCH"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig_SolutionType_SolutionTypeUnspecified = @"SOLUTION_TYPE_UNSPECIFIED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session.state NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session_State_InProgress = @"IN_PROGRESS"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session_State_StateUnspecified = @"STATE_UNSPECIFIED"; @@ -1045,6 +1172,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingSourceLocat // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig +@dynamic disableAutomaticRefresh, disableInitialIndex; @end @@ -1068,6 +1196,30 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAclConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaActionConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaActionConfig +@dynamic actionParams, isActionConfigured; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaActionConfig_ActionParams +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaActionConfig_ActionParams + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig @@ -1085,15 +1237,17 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAdvancedSit @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer @dynamic answerSkippedReasons, answerText, citations, completeTime, createTime, - name, queryUnderstandingInfo, references, relatedQuestions, state, - steps; + groundingScore, groundingSupports, name, queryUnderstandingInfo, + references, relatedQuestions, safetyRatings, state, steps; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"answerSkippedReasons" : [NSString class], @"citations" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerCitation class], + @"groundingSupports" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport class], @"references" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReference class], @"relatedQuestions" : [NSString class], + @"safetyRatings" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating class], @"steps" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStep class] }; return map; @@ -1130,6 +1284,24 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerCitat @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport +@dynamic endIndex, groundingCheckRequired, groundingScore, sources, startIndex; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"sources" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerCitationSource class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo @@ -1416,7 +1588,25 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBatchCreate @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig @dynamic isDefault, kmsKey, kmsKeyVersion, lastRotationTimestampMicros, name, - state; + singleRegionKeys, state; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"singleRegionKeys" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSingleRegionKey class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCollection +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCollection +@dynamic createTime, dataConnector, displayName, name; @end @@ -1459,6 +1649,50 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConditionTi @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun +@dynamic endTime, entityRuns, errors, latestPauseTime, name, startTime, state, + stateUpdateTime, trigger; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"entityRuns" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun class], + @"errors" : [GTLRDiscoveryEngine_GoogleRpcStatus class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun +@dynamic entityNameProperty, errorRecordCount, errors, extractedRecordCount, + indexedRecordCount, sourceApiRequestCount, state, stateUpdateTime, + statsUpdateTime, syncType; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"entityNameProperty" : @"entityName" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"errors" : [GTLRDiscoveryEngine_GoogleRpcStatus class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl @@ -1487,7 +1721,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostAction -@dynamic boost, dataStore, filter; +@dynamic boost, dataStore, filter, fixedBoost; @end @@ -1620,24 +1854,83 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomFineT // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel -@dynamic createTime, displayName, errorMessage, metrics, modelState, - modelVersion, name, trainingStartTime; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector +@dynamic actionConfig, autoRunDisabled, blockingReasons, createTime, dataSource, + destinationConfigs, entities, errors, identityRefreshInterval, + identityScheduleConfig, kmsKeyName, lastSyncTime, latestPauseTime, + name, nextSyncTime, params, privateConnectivityProjectId, + refreshInterval, state, staticIpAddresses, staticIpEnabled, syncMode, + updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"blockingReasons" : [NSString class], + @"destinationConfigs" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDestinationConfig class], + @"entities" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity class], + @"errors" : [GTLRDiscoveryEngine_GoogleRpcStatus class], + @"staticIpAddresses" : [NSString class] + }; + return map; +} + @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_Metrics +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_Params // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_Metrics +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_Params + (Class)classForAdditionalProperties { - return [NSNumber class]; + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity +@dynamic dataStore, entityNameProperty, keyPropertyMappings, params; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"entityNameProperty" : @"entityName" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity_KeyPropertyMappings +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity_KeyPropertyMappings + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity_Params +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity_Params + ++ (Class)classForAdditionalProperties { + return [NSObject class]; } @end @@ -1651,9 +1944,10 @@ + (Class)classForAdditionalProperties { @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore @dynamic aclEnabled, advancedSiteSearchConfig, billingEstimation, cmekConfig, contentConfig, createTime, defaultSchemaId, displayName, - documentProcessingConfig, idpConfig, industryVertical, kmsKeyName, - languageInfo, name, naturalLanguageQueryUnderstandingConfig, - servingConfigDataStore, solutionTypes, startingSchema, workspaceConfig; + documentProcessingConfig, idpConfig, industryVertical, + isInfobotFaqDataStore, kmsKeyName, languageInfo, name, + naturalLanguageQueryUnderstandingConfig, servingConfigDataStore, + solutionTypes, startingSchema, workspaceConfig; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1696,6 +1990,16 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDedicatedCr @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata +@dynamic createTime, updateTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata @@ -1716,6 +2020,16 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteEngin @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteIdentityMappingStoreMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteIdentityMappingStoreMetadata +@dynamic createTime, updateTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata @@ -1726,6 +2040,16 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteSchem @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest +@dynamic name; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteSitemapMetadata @@ -1746,6 +2070,48 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteTarge @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDestinationConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDestinationConfig +@dynamic destinations, key, params; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"destinations" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDestinationConfig_Params +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDestinationConfig_Params + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination +@dynamic host, port; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata @@ -2102,6 +2468,16 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaGetSessionRequest +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaGetSessionRequest +@dynamic includeAnswerDetails, name; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse @@ -2140,6 +2516,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig +@dynamic nextSyncTime, refreshInterval; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdpConfig @@ -2332,19 +2718,33 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaLanguageInf // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaListSessionsRequest // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse -@dynamic models; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaListSessionsRequest +@dynamic filter, orderBy, pageSize, pageToken, parent; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaListSessionsResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaListSessionsResponse +@dynamic nextPageToken, sessions; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"models" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel class] + @"sessions" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSession class] }; return map; } ++ (NSString *)collectionItemsKey { + return @"sessions"; +} + @end @@ -2629,6 +3029,37 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUris @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateMetadata +@dynamic createTime, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse +@dynamic error, state; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating +@dynamic blocked, category, probability, probabilityScore, severity, + severityScore; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSchema @@ -2867,7 +3298,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchReque // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec -@dynamic dataStore, filter; +@dynamic boostSpec, dataStore, filter; @end @@ -3031,7 +3462,8 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchReque // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSession -@dynamic endTime, name, startTime, state, turns, userPseudoId; +@dynamic displayName, endTime, isPinned, name, startTime, state, turns, + userPseudoId; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -3055,30 +3487,69 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSessionTurn // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateMetadata // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateMetadata @dynamic createTime, updateTime; @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse +@dynamic error, state; @end // ---------------------------------------------------------------------------- // -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSitemap +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorMetadata // -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSitemap -@dynamic createTime, name, uri; +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorMetadata +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata +@dynamic createTime, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSingleRegionKey +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSingleRegionKey +@dynamic kmsKey; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSitemap +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSitemap +@dynamic createTime, name, uri; @end @@ -3195,6 +3666,16 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateCmekC @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateCollectionMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateCollectionMetadata +@dynamic createTime, updateTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata @@ -3205,6 +3686,16 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateSchem @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest +@dynamic session, updateMask; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata @@ -3243,15 +3734,17 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceCo @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer @dynamic answerSkippedReasons, answerText, citations, completeTime, createTime, - name, queryUnderstandingInfo, references, relatedQuestions, state, - steps; + groundingScore, groundingSupports, name, queryUnderstandingInfo, + references, relatedQuestions, safetyRatings, state, steps; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"answerSkippedReasons" : [NSString class], @"citations" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerCitation class], + @"groundingSupports" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerGroundingSupport class], @"references" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReference class], @"relatedQuestions" : [NSString class], + @"safetyRatings" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating class], @"steps" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep class] }; return map; @@ -3288,6 +3781,24 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerCitationSo @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerGroundingSupport +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerGroundingSupport +@dynamic endIndex, groundingCheckRequired, groundingScore, sources, startIndex; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"sources" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerCitationSource class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest @@ -3390,7 +3901,17 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryReque // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec -@dynamic disable, maxRephraseSteps; +@dynamic disable, maxRephraseSteps, modelSpec; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec +@dynamic modelType; @end @@ -3410,7 +3931,25 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryReque // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpec -@dynamic enable; +@dynamic enable, safetySettings; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"safetySettings" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting +@dynamic category, threshold; @end @@ -3902,6 +4441,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchVerifyTarge // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig +@dynamic disableAutomaticRefresh, disableInitialIndex; @end @@ -3940,7 +4480,15 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaBatchCreateT @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCmekConfig @dynamic isDefault, kmsKey, kmsKeyVersion, lastRotationTimestampMicros, name, - state; + singleRegionKeys, state; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"singleRegionKeys" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSingleRegionKey class] + }; + return map; +} + @end @@ -4011,7 +4559,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlBoostAction -@dynamic boost, dataStore, filter; +@dynamic boost, dataStore, filter, fixedBoost; @end @@ -4122,31 +4670,6 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCreateTarget @end -// ---------------------------------------------------------------------------- -// -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel -// - -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel -@dynamic createTime, displayName, errorMessage, metrics, modelState, - modelVersion, name, trainingStartTime; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_Metrics -// - -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_Metrics - -+ (Class)classForAdditionalProperties { - return [NSNumber class]; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore @@ -4155,8 +4678,8 @@ + (Class)classForAdditionalProperties { @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore @dynamic advancedSiteSearchConfig, billingEstimation, cmekConfig, contentConfig, createTime, defaultSchemaId, displayName, documentProcessingConfig, - industryVertical, kmsKeyName, languageInfo, name, - naturalLanguageQueryUnderstandingConfig, servingConfigDataStore, + industryVertical, isInfobotFaqDataStore, kmsKeyName, languageInfo, + name, naturalLanguageQueryUnderstandingConfig, servingConfigDataStore, solutionTypes, startingSchema, workspaceConfig; + (NSDictionary *)arrayPropertyToClassMap { @@ -4210,6 +4733,16 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteEngine @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteIdentityMappingStoreMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteIdentityMappingStoreMetadata +@dynamic createTime, updateTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteSchemaMetadata @@ -4683,24 +5216,6 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaLanguageInfo @end -// ---------------------------------------------------------------------------- -// -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaListCustomModelsResponse -// - -@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaListCustomModelsResponse -@dynamic models; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"models" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel class] - }; - return map; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig @@ -5064,7 +5579,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchReques // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec -@dynamic dataStore, filter; +@dynamic boostSpec, dataStore, filter; @end @@ -5222,6 +5737,16 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchReques @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSingleRegionKey +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSingleRegionKey +@dynamic kmsKey; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSitemap @@ -5639,7 +6164,15 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CloudSqlSource @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CmekConfig @dynamic isDefault, kmsKey, kmsKeyVersion, lastRotationTimestampMicros, name, - state; + singleRegionKeys, state; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"singleRegionKeys" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SingleRegionKey class] + }; + return map; +} + @end @@ -5775,7 +6308,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Control // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ControlBoostAction -@dynamic boost, dataStore, filter; +@dynamic boost, dataStore, filter, fixedBoost; @end @@ -6018,8 +6551,8 @@ + (Class)classForAdditionalProperties { @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DataStore @dynamic advancedSiteSearchConfig, billingEstimation, cmekConfig, contentConfig, createTime, defaultSchemaId, displayName, documentProcessingConfig, - industryVertical, kmsKeyName, name, servingConfigDataStore, - solutionTypes, startingSchema, workspaceConfig; + industryVertical, isInfobotFaqDataStore, kmsKeyName, name, + servingConfigDataStore, solutionTypes, startingSchema, workspaceConfig; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -6072,6 +6605,16 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DeleteEngineMeta @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DeleteIdentityMappingStoreMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DeleteIdentityMappingStoreMetadata +@dynamic createTime, updateTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DeleteSchemaMetadata @@ -6180,7 +6723,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DocumentContent // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DocumentIndexStatus -@dynamic errorSamples, indexTime; +@dynamic errorSamples, indexTime, pendingMessage; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -6462,7 +7005,8 @@ + (NSString *)collectionItemsKey { // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1FhirStoreSource -@dynamic fhirStore, gcsStagingDir, resourceTypes; +@dynamic fhirStore, gcsStagingDir, resourceTypes, + updateFromLatestPredefinedSchema; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -6502,6 +7046,285 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GcsSource @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest +@dynamic contents, generationSpec, groundingSpec, systemInstruction, userLabels; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"contents" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundedGenerationContent class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest_UserLabels +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest_UserLabels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfiguration +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfiguration +@dynamic predictor; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor +@dynamic threshold, version; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGenerationSpec +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGenerationSpec +@dynamic frequencyPenalty, languageCode, maxOutputTokens, modelId, + presencePenalty, seed, temperature, topK, topP; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSource +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSource +@dynamic googleSearchSource, inlineSource, searchSource; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceGoogleSearchSource +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceGoogleSearchSource +@dynamic dynamicRetrievalConfig; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceInlineSource +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceInlineSource +@dynamic attributes, groundingFacts; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"groundingFacts" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundingFact class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceInlineSource_Attributes +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceInlineSource_Attributes + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceSearchSource +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceSearchSource +@dynamic filter, maxResultCount, safeSearch, servingConfig; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSpec +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSpec +@dynamic groundingSources; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"groundingSources" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSource class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponse +@dynamic candidates; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"candidates" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidate class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidate +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidate +@dynamic content, groundingMetadata, groundingScore, index; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadata +@dynamic groundingSupport, retrievalMetadata, searchEntryPoint, supportChunks, + webSearchQueries; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"groundingSupport" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport class], + @"retrievalMetadata" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata class], + @"supportChunks" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1FactChunk class], + @"webSearchQueries" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata +@dynamic predictorMetadata; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata +@dynamic prediction, version; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport +@dynamic claimText, supportChunkIndices, supportScore; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"supportChunkIndices" : [NSNumber class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata +@dynamic dynamicRetrievalMetadata, source; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint +@dynamic renderedContent, sdkBlob; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundedGenerationContent +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundedGenerationContent +@dynamic parts, role; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"parts" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundedGenerationContentPart class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundedGenerationContentPart +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundedGenerationContentPart +@dynamic text; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundingFact @@ -7402,6 +8225,17 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Reply @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating +@dynamic blocked, category, probability, probabilityScore, severity, + severityScore; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Schema @@ -7639,7 +8473,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestCon // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec -@dynamic dataStore, filter; +@dynamic boostSpec, dataStore, filter; @end @@ -7948,13 +8782,66 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSu @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig +@dynamic boostControlIds, createTime, displayName, dissociateControlIds, + diversityLevel, filterControlIds, genericConfig, ignoreControlIds, + mediaConfig, modelId, name, onewaySynonymsControlIds, + promoteControlIds, rankingExpression, redirectControlIds, + replacementControlIds, solutionType, synonymsControlIds, updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"boostControlIds" : [NSString class], + @"dissociateControlIds" : [NSString class], + @"filterControlIds" : [NSString class], + @"ignoreControlIds" : [NSString class], + @"onewaySynonymsControlIds" : [NSString class], + @"promoteControlIds" : [NSString class], + @"redirectControlIds" : [NSString class], + @"replacementControlIds" : [NSString class], + @"synonymsControlIds" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfigGenericConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfigGenericConfig +@dynamic contentSearchSpec; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfigMediaConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfigMediaConfig +@dynamic contentFreshnessCutoffDays, contentWatchedPercentageThreshold, + contentWatchedSecondsThreshold, demoteContentWatchedPastDays, + demotionEventType; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session -@dynamic endTime, name, startTime, state, turns, userPseudoId; +@dynamic displayName, endTime, isPinned, name, startTime, state, turns, + userPseudoId; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -7976,6 +8863,16 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SessionTurn @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SingleRegionKey +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SingleRegionKey +@dynamic kmsKey; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SiteSearchEngine @@ -8390,3 +9287,28 @@ + (Class)classForAdditionalProperties { @implementation GTLRDiscoveryEngine_GoogleTypeDate @dynamic day, month, year; @end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleTypeDateTime +// + +@implementation GTLRDiscoveryEngine_GoogleTypeDateTime +@dynamic day, hours, minutes, month, nanos, seconds, timeZone, utcOffset, year; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleTypeTimeZone +// + +@implementation GTLRDiscoveryEngine_GoogleTypeTimeZone +@dynamic identifier, version; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end diff --git a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m index 2b81d2868..2c30d43a8 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m +++ b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m @@ -1043,6 +1043,33 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresServingConfigsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig *)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_ProjectsLocationsCollectionsDataStoresServingConfigsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig class]; + query.loggingName = @"discoveryengine.projects.locations.collections.dataStores.servingConfigs.patch"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresServingConfigsRecommend @dynamic servingConfig; @@ -1124,6 +1151,33 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswer + +@dynamic servingConfig; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest *)object + servingConfig:(NSString *)servingConfig { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"servingConfig" ]; + NSString *pathURITemplate = @"v1/{+servingConfig}:streamAnswer"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswer *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.servingConfig = servingConfig; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryResponse class]; + query.loggingName = @"discoveryengine.projects.locations.collections.dataStores.servingConfigs.streamAnswer"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsAnswersGet @dynamic name; @@ -1191,7 +1245,7 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsGet -@dynamic name; +@dynamic includeAnswerDetails, name; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; @@ -2201,6 +2255,33 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesServingConfigsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig *)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_ProjectsLocationsCollectionsEnginesServingConfigsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.servingConfigs.patch"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesServingConfigsRecommend @dynamic servingConfig; @@ -2282,6 +2363,33 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswer + +@dynamic servingConfig; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest *)object + servingConfig:(NSString *)servingConfig { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"servingConfig" ]; + NSString *pathURITemplate = @"v1/{+servingConfig}:streamAnswer"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswer *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.servingConfig = servingConfig; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryResponse class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.servingConfigs.streamAnswer"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsAnswersGet @dynamic name; @@ -2349,7 +2457,7 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsGet -@dynamic name; +@dynamic includeAnswerDetails, name; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; @@ -3382,6 +3490,33 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresServingConfigsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig *)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_ProjectsLocationsDataStoresServingConfigsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig class]; + query.loggingName = @"discoveryengine.projects.locations.dataStores.servingConfigs.patch"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresServingConfigsRecommend @dynamic servingConfig; @@ -3463,6 +3598,33 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresServingConfigsStreamAnswer + +@dynamic servingConfig; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest *)object + servingConfig:(NSString *)servingConfig { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"servingConfig" ]; + NSString *pathURITemplate = @"v1/{+servingConfig}:streamAnswer"; + GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresServingConfigsStreamAnswer *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.servingConfig = servingConfig; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryResponse class]; + query.loggingName = @"discoveryengine.projects.locations.dataStores.servingConfigs.streamAnswer"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsAnswersGet @dynamic name; @@ -3530,7 +3692,7 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsGet -@dynamic name; +@dynamic includeAnswerDetails, name; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; @@ -3966,6 +4128,33 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsGenerateGroundedContent + +@dynamic location; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest *)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}:generateGroundedContent"; + GTLRDiscoveryEngineQuery_ProjectsLocationsGenerateGroundedContent *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.location = location; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponse class]; + query.loggingName = @"discoveryengine.projects.locations.generateGroundedContent"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsGroundingConfigsCheck @dynamic groundingConfig; diff --git a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h index 947007b3e..90775bca2 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h @@ -39,10 +39,13 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingSourceLocation; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AlloyDbSource; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaActionConfig; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaActionConfig_ActionParams; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerCitation; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerCitationSource; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReference; @@ -66,6 +69,7 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCondition; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConditionQueryTerm; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConditionTimeRange; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostAction; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlFilterAction; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlPromoteAction; @@ -73,11 +77,17 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlSynonymsAction; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec; -@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel; -@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_Metrics; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_Params; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity_KeyPropertyMappings; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity_Params; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDestinationConfig; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDestinationConfig_Params; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig_ParsingConfigOverrides; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig; @@ -101,6 +111,7 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse_DocumentDataMap; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse_DocumentDataMap_DocumentDataMap; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdpConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportErrorConfig; @@ -115,6 +126,7 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaQuery; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSchema; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSchema_StructSchema; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion; @@ -144,7 +156,9 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSession; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSessionTurn; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSingleRegionKey; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSitemap; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite; @@ -156,6 +170,7 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerCitation; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerCitationSource; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerGroundingSupport; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest_UserLabels; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec; @@ -164,8 +179,10 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestRelatedQuestionsSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultList; @@ -207,8 +224,6 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlPromoteAction; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlRedirectAction; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlSynonymsAction; -@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel; -@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_Metrics; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig; @@ -264,6 +279,7 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSingleRegionKey; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSitemap; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSiteVerificationInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite; @@ -338,6 +354,25 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1FhirStoreSource; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1FirestoreSource; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GcsSource; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest_UserLabels; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfiguration; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGenerationSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSource; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceGoogleSearchSource; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceInlineSource; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceInlineSource_Attributes; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceSearchSource; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidate; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadata; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundedGenerationContent; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundedGenerationContentPart; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundingFact; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundingFact_Attributes; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsRequestInlineSource; @@ -361,6 +396,7 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RecommendResponseRecommendationResult; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RecommendResponseRecommendationResult_Metadata; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Reply; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Schema; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Schema_StructSchema; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchInfo; @@ -399,8 +435,11 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSummaryReferenceChunkContent; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSummarySafetyAttributes; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSummarySummaryWithMetadata; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfigGenericConfig; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfigMediaConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SessionTurn; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SingleRegionKey; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SiteVerificationInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SpannerSource; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SuggestionDenyListEntry; @@ -425,6 +464,8 @@ @class GTLRDiscoveryEngine_GoogleRpcStatus; @class GTLRDiscoveryEngine_GoogleRpcStatus_Details_Item; @class GTLRDiscoveryEngine_GoogleTypeDate; +@class GTLRDiscoveryEngine_GoogleTypeDateTime; +@class GTLRDiscoveryEngine_GoogleTypeTimeZone; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -531,6 +572,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * Value: "STATE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer_State_StateUnspecified; +/** + * Answer generation is currently in progress. + * + * Value: "STREAMING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer_State_Streaming; /** * Answer generation has succeeded. * @@ -646,6 +693,168 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_Unusable; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun.state + +/** + * Data sync was scheduled but has been cancelled. + * + * Value: "CANCELLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_State_Cancelled; +/** + * The data sync is failed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_State_Failed; +/** + * Data sync has been running longer than expected and is still running at the + * time the next run is supposed to start. + * + * Value: "OVERRUN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_State_Overrun; +/** + * Data sync is about to start. + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_State_Pending; +/** + * The data sync is ongoing. + * + * Value: "RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_State_Running; +/** + * Default value. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_State_StateUnspecified; +/** + * The data sync is finished. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_State_Succeeded; +/** + * The data sync completed with non-fatal errors. + * + * Value: "WARNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_State_Warning; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun.trigger + +/** + * ConnectorRun auto triggered by connector initialization. + * + * Value: "INITIALIZATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_Trigger_Initialization; +/** + * ConnectorRun triggered by user manually. + * + * Value: "MANUAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_Trigger_Manual; +/** + * ConnectorRun auto triggered by resuming connector. + * + * Value: "RESUME" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_Trigger_Resume; +/** + * ConnectorRun triggered by scheduler if connector has PERIODIC sync mode. + * + * Value: "SCHEDULER" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_Trigger_Scheduler; +/** + * Default value. + * + * Value: "TRIGGER_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_Trigger_TriggerUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun.state + +/** + * Data sync was scheduled but has been cancelled. + * + * Value: "CANCELLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_Cancelled; +/** + * The data sync is failed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_Failed; +/** + * Data sync has been running longer than expected and is still running at the + * time the next run is supposed to start. + * + * Value: "OVERRUN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_Overrun; +/** + * Data sync is about to start. + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_Pending; +/** + * The data sync is ongoing. + * + * Value: "RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_Running; +/** + * Default value. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_StateUnspecified; +/** + * The data sync is finished. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_Succeeded; +/** + * The data sync completed with non-fatal errors. + * + * Value: "WARNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_Warning; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun.syncType + +/** + * Sync triggers full sync of all documents. + * + * Value: "FULL" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_SyncType_Full; +/** + * Incremental sync of updated documents. + * + * Value: "INCREMENTAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_SyncType_Incremental; +/** + * Sync type unspecified. + * + * Value: "SYNC_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_SyncType_SyncTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl.solutionType @@ -705,56 +914,81 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_UseCases_SearchUseCaseUnspecified; // ---------------------------------------------------------------------------- -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel.modelState +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector.blockingReasons /** - * Input data validation failed. Model training didn't start. + * Connector requires customer to allowlist our project in their service + * attachment. * - * Value: "INPUT_VALIDATION_FAILED" + * Value: "ALLOWLIST_IN_SERVICE_ATTACHMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_BlockingReasons_AllowlistInServiceAttachment; +/** + * Connector requires customer to allowlist static IPs. + * + * Value: "ALLOWLIST_STATIC_IP" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_InputValidationFailed; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_BlockingReasons_AllowlistStaticIp; /** * Default value. * - * Value: "MODEL_STATE_UNSPECIFIED" + * Value: "BLOCKING_REASON_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_ModelStateUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_BlockingReasons_BlockingReasonUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector.state + /** - * The model training finished successfully but metrics did not improve. + * The connector is successfully set up and awaiting next sync run. * - * Value: "NO_IMPROVEMENT" + * Value: "ACTIVE" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_NoImprovement; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_Active; /** - * The model is ready for serving. + * The connector is being set up. * - * Value: "READY_FOR_SERVING" + * Value: "CREATING" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_ReadyForServing; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_Creating; /** - * The model is currently training. + * The connector is in error. The error details can be found in + * DataConnector.errors. If the error is unfixable, the DataConnector can be + * deleted by [CollectionService.DeleteCollection] API. * - * Value: "TRAINING" + * Value: "FAILED" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_Training; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_Failed; /** - * The model has successfully completed training. + * The connector is actively syncing records from the data source. * - * Value: "TRAINING_COMPLETE" + * Value: "RUNNING" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_TrainingComplete; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_Running; /** - * The model training failed. + * Default value. * - * Value: "TRAINING_FAILED" + * Value: "STATE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_TrainingFailed; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_StateUnspecified; /** - * The model is in a paused training state. + * The connector has completed a sync run, but encountered non-fatal errors. * - * Value: "TRAINING_PAUSED" + * Value: "WARNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_Warning; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector.syncMode + +/** + * The connector will sync data periodically based on the refresh_interval. Use + * it with auto_run_disabled to pause the periodic sync, or indicate a one-time + * sync. + * + * Value: "PERIODIC" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_TrainingPaused; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_SyncMode_Periodic; // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore.contentConfig @@ -1411,6 +1645,136 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason_CorpusType_Mobile; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse.state + +/** + * The state is failed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse_State_Failed; +/** + * The state is unspecified. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse_State_StateUnspecified; +/** + * The state is successful. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse_State_Succeeded; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating.category + +/** + * The harm category is civic integrity. + * + * Value: "HARM_CATEGORY_CIVIC_INTEGRITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Category_HarmCategoryCivicIntegrity; +/** + * The harm category is dangerous content. + * + * Value: "HARM_CATEGORY_DANGEROUS_CONTENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Category_HarmCategoryDangerousContent; +/** + * The harm category is harassment. + * + * Value: "HARM_CATEGORY_HARASSMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Category_HarmCategoryHarassment; +/** + * The harm category is hate speech. + * + * Value: "HARM_CATEGORY_HATE_SPEECH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Category_HarmCategoryHateSpeech; +/** + * The harm category is sexually explicit content. + * + * Value: "HARM_CATEGORY_SEXUALLY_EXPLICIT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Category_HarmCategorySexuallyExplicit; +/** + * The harm category is unspecified. + * + * Value: "HARM_CATEGORY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Category_HarmCategoryUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating.probability + +/** + * Harm probability unspecified. + * + * Value: "HARM_PROBABILITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Probability_HarmProbabilityUnspecified; +/** + * High level of harm. + * + * Value: "HIGH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Probability_High; +/** + * Low level of harm. + * + * Value: "LOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Probability_Low; +/** + * Medium level of harm. + * + * Value: "MEDIUM" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Probability_Medium; +/** + * Negligible level of harm. + * + * Value: "NEGLIGIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Probability_Negligible; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating.severity + +/** + * High level of harm severity. + * + * Value: "HARM_SEVERITY_HIGH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Severity_HarmSeverityHigh; +/** + * Low level of harm severity. + * + * Value: "HARM_SEVERITY_LOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Severity_HarmSeverityLow; +/** + * Medium level of harm severity. + * + * Value: "HARM_SEVERITY_MEDIUM" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Severity_HarmSeverityMedium; +/** + * Negligible level of harm severity. + * + * Value: "HARM_SEVERITY_NEGLIGIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Severity_HarmSeverityNegligible; +/** + * Harm severity unspecified. + * + * Value: "HARM_SEVERITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Severity_HarmSeverityUnspecified; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest.relevanceThreshold @@ -1518,7 +1882,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec.filterExtractionCondition /** - * Server behavior defaults to Condition.DISABLED. + * Server behavior defaults to `DISABLED`. * * Value: "CONDITION_UNSPECIFIED" */ @@ -1646,6 +2010,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSession_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse.state + +/** + * The state is failed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse_State_Failed; +/** + * The state is unspecified. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse_State_StateUnspecified; +/** + * The state is successful. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse_State_Succeeded; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo.siteVerificationState @@ -1882,6 +2268,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * Value: "STATE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_StateUnspecified; +/** + * Answer generation is currently in progress. + * + * Value: "STREAMING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_Streaming; /** * Answer generation has succeeded. * @@ -1946,45 +2338,147 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec_Types_TypeUnspecified; // ---------------------------------------------------------------------------- -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams.searchResultMode +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec.modelType /** - * Returns chunks in the search result. Only available if the - * DocumentProcessingConfig.chunking_config is specified. + * Large query rephraser model. Gemini 1.0 Pro model. * - * Value: "CHUNKS" + * Value: "LARGE" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams_SearchResultMode_Chunks; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec_ModelType_Large; /** - * Returns documents in the search result. + * Unspecified model type. * - * Value: "DOCUMENTS" + * Value: "MODEL_TYPE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams_SearchResultMode_Documents; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec_ModelType_ModelTypeUnspecified; /** - * Default value. + * Small query rephraser model. Gemini 1.0 XS model. * - * Value: "SEARCH_RESULT_MODE_UNSPECIFIED" + * Value: "SMALL" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams_SearchResultMode_SearchResultModeUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec_ModelType_Small; // ---------------------------------------------------------------------------- -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo.type +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting.category /** - * Adversarial query classification type. + * The harm category is civic integrity. * - * Value: "ADVERSARIAL_QUERY" + * Value: "HARM_CATEGORY_CIVIC_INTEGRITY" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_AdversarialQuery; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Category_HarmCategoryCivicIntegrity; /** - * Jail-breaking query classification type. + * The harm category is dangerous content. * - * Value: "JAIL_BREAKING_QUERY" + * Value: "HARM_CATEGORY_DANGEROUS_CONTENT" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_JailBreakingQuery; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Category_HarmCategoryDangerousContent; /** - * Non-answer-seeking query classification type, for chit chat. + * The harm category is harassment. + * + * Value: "HARM_CATEGORY_HARASSMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Category_HarmCategoryHarassment; +/** + * The harm category is hate speech. + * + * Value: "HARM_CATEGORY_HATE_SPEECH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Category_HarmCategoryHateSpeech; +/** + * The harm category is sexually explicit content. + * + * Value: "HARM_CATEGORY_SEXUALLY_EXPLICIT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Category_HarmCategorySexuallyExplicit; +/** + * The harm category is unspecified. + * + * Value: "HARM_CATEGORY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Category_HarmCategoryUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting.threshold + +/** + * Block low threshold and above (i.e. block more). + * + * Value: "BLOCK_LOW_AND_ABOVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Threshold_BlockLowAndAbove; +/** + * Block medium threshold and above. + * + * Value: "BLOCK_MEDIUM_AND_ABOVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Threshold_BlockMediumAndAbove; +/** + * Block none. + * + * Value: "BLOCK_NONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Threshold_BlockNone; +/** + * Block only high threshold (i.e. block less). + * + * Value: "BLOCK_ONLY_HIGH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Threshold_BlockOnlyHigh; +/** + * Unspecified harm block threshold. + * + * Value: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Threshold_HarmBlockThresholdUnspecified; +/** + * Turn off the safety filter. + * + * Value: "OFF" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Threshold_Off; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams.searchResultMode + +/** + * Returns chunks in the search result. Only available if the + * DocumentProcessingConfig.chunking_config is specified. + * + * Value: "CHUNKS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams_SearchResultMode_Chunks; +/** + * Returns documents in the search result. + * + * Value: "DOCUMENTS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams_SearchResultMode_Documents; +/** + * Default value. + * + * Value: "SEARCH_RESULT_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams_SearchResultMode_SearchResultModeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo.type + +/** + * Adversarial query classification type. + * + * Value: "ADVERSARIAL_QUERY" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_AdversarialQuery; +/** + * Jail-breaking query classification type. + * + * Value: "JAIL_BREAKING_QUERY" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_JailBreakingQuery; +/** + * Non-answer-seeking query classification type, for chit chat. * * Value: "NON_ANSWER_SEEKING_QUERY" */ @@ -2162,58 +2656,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControl_UseCases_SearchUseCaseUnspecified; -// ---------------------------------------------------------------------------- -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel.modelState - -/** - * Input data validation failed. Model training didn't start. - * - * Value: "INPUT_VALIDATION_FAILED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_InputValidationFailed; -/** - * Default value. - * - * Value: "MODEL_STATE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_ModelStateUnspecified; -/** - * The model training finished successfully but metrics did not improve. - * - * Value: "NO_IMPROVEMENT" - */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_NoImprovement; -/** - * The model is ready for serving. - * - * Value: "READY_FOR_SERVING" - */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_ReadyForServing; -/** - * The model is currently training. - * - * Value: "TRAINING" - */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_Training; -/** - * The model has successfully completed training. - * - * Value: "TRAINING_COMPLETE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_TrainingComplete; -/** - * The model training failed. - * - * Value: "TRAINING_FAILED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_TrainingFailed; -/** - * The model is in a paused training state. - * - * Value: "TRAINING_PAUSED" - */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_TrainingPaused; - // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStore.contentConfig @@ -2608,7 +3050,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec.filterExtractionCondition /** - * Server behavior defaults to Condition.DISABLED. + * Server behavior defaults to `DISABLED`. * * Value: "CONDITION_UNSPECIFIED" */ @@ -3390,6 +3832,72 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EngineSearchEngineConfig_SearchTier_SearchTierUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor.version + +/** + * The V1 model which is evaluating each source independently. + * + * Value: "V1_INDEPENDENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor_Version_V1Independent; +/** + * Automatically choose the best version of the retrieval predictor. + * + * Value: "VERSION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor_Version_VersionUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata.version + +/** + * The V1 model which is evaluating each source independently. + * + * Value: "V1_INDEPENDENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata_Version_V1Independent; +/** + * Unspecified version, should never be used. + * + * Value: "VERSION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata_Version_VersionUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata.source + +/** + * Google Maps. + * + * Value: "GOOGLE_MAPS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata_Source_GoogleMaps; +/** + * Google Search. + * + * Value: "GOOGLE_SEARCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata_Source_GoogleSearch; +/** + * User inline provided content. + * + * Value: "INLINE_CONTENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata_Source_InlineContent; +/** + * Unspecified source. + * + * Value: "SOURCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata_Source_SourceUnspecified; +/** + * Vertex AI search. + * + * Value: "VERTEX_AI_SEARCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata_Source_VertexAiSearch; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ImportDocumentsRequest.reconciliationMode @@ -3441,6 +3949,114 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms_State_TermsPending; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating.category + +/** + * The harm category is civic integrity. + * + * Value: "HARM_CATEGORY_CIVIC_INTEGRITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Category_HarmCategoryCivicIntegrity; +/** + * The harm category is dangerous content. + * + * Value: "HARM_CATEGORY_DANGEROUS_CONTENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Category_HarmCategoryDangerousContent; +/** + * The harm category is harassment. + * + * Value: "HARM_CATEGORY_HARASSMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Category_HarmCategoryHarassment; +/** + * The harm category is hate speech. + * + * Value: "HARM_CATEGORY_HATE_SPEECH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Category_HarmCategoryHateSpeech; +/** + * The harm category is sexually explicit content. + * + * Value: "HARM_CATEGORY_SEXUALLY_EXPLICIT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Category_HarmCategorySexuallyExplicit; +/** + * The harm category is unspecified. + * + * Value: "HARM_CATEGORY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Category_HarmCategoryUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating.probability + +/** + * Harm probability unspecified. + * + * Value: "HARM_PROBABILITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Probability_HarmProbabilityUnspecified; +/** + * High level of harm. + * + * Value: "HIGH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Probability_High; +/** + * Low level of harm. + * + * Value: "LOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Probability_Low; +/** + * Medium level of harm. + * + * Value: "MEDIUM" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Probability_Medium; +/** + * Negligible level of harm. + * + * Value: "NEGLIGIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Probability_Negligible; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating.severity + +/** + * High level of harm severity. + * + * Value: "HARM_SEVERITY_HIGH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Severity_HarmSeverityHigh; +/** + * Low level of harm severity. + * + * Value: "HARM_SEVERITY_LOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Severity_HarmSeverityLow; +/** + * Medium level of harm severity. + * + * Value: "HARM_SEVERITY_MEDIUM" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Severity_HarmSeverityMedium; +/** + * Negligible level of harm severity. + * + * Value: "HARM_SEVERITY_NEGLIGIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Severity_HarmSeverityNegligible; +/** + * Harm severity unspecified. + * + * Value: "HARM_SEVERITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Severity_HarmSeverityUnspecified; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec.attributeType @@ -3661,6 +4277,42 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSummary_SummarySkippedReasons_SummarySkippedReasonUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig.solutionType + +/** + * Used for use cases related to the Generative AI agent. + * + * Value: "SOLUTION_TYPE_CHAT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig_SolutionType_SolutionTypeChat; +/** + * Used for use cases related to the Generative Chat agent. It's used for + * Generative chat engine only, the associated data stores must enrolled with + * `SOLUTION_TYPE_CHAT` solution. + * + * Value: "SOLUTION_TYPE_GENERATIVE_CHAT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig_SolutionType_SolutionTypeGenerativeChat; +/** + * Used for Recommendations AI. + * + * Value: "SOLUTION_TYPE_RECOMMENDATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig_SolutionType_SolutionTypeRecommendation; +/** + * Used for Discovery Search. + * + * Value: "SOLUTION_TYPE_SEARCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig_SolutionType_SolutionTypeSearch; +/** + * Default value. + * + * Value: "SOLUTION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig_SolutionType_SolutionTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session.state @@ -4547,17 +5199,32 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * Configuration data for advance site search. */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig : GTLRObject -@end - /** - * AlloyDB source import data from. + * If set true, automatic refresh is disabled for the DataStore. + * + * Uses NSNumber of boolValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AlloyDbSource : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *disableAutomaticRefresh; /** - * Required. The AlloyDB cluster to copy the data from with a length limit of - * 256 characters. + * If set true, initial indexing is disabled for the DataStore. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disableInitialIndex; + +@end + + +/** + * AlloyDB source import data from. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AlloyDbSource : GTLRObject + +/** + * Required. The AlloyDB cluster to copy the data from with a length limit of + * 256 characters. */ @property(nonatomic, copy, nullable) NSString *clusterId; @@ -4616,6 +5283,49 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Informations to support actions on the connector. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaActionConfig : GTLRObject + +/** + * Required. Params needed to support actions in the format of (Key, Value) + * pairs. Required parameters for sources that support OAUTH, i.e. `gmail`, + * `google_calendar`, `jira`, `workday`, `salesforce`, `confluence`: * Key: + * `client_id` * Value: type STRING. The client id for the service provider to + * identify your application. * Key: `client_secret` * Value:type STRING. The + * client secret generated by the application's authorization server. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaActionConfig_ActionParams *actionParams; + +/** + * Output only. The connector contains the necessary parameters and is + * configured to support actions. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isActionConfigured; + +@end + + +/** + * Required. Params needed to support actions in the format of (Key, Value) + * pairs. Required parameters for sources that support OAUTH, i.e. `gmail`, + * `google_calendar`, `jira`, `workday`, `salesforce`, `confluence`: * Key: + * `client_id` * Value: type STRING. The client id for the service provider to + * identify your application. * Key: `client_secret` * Value:type STRING. The + * client secret generated by the application's authorization server. + * + * @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_GoogleCloudDiscoveryengineV1alphaActionConfig_ActionParams : GTLRObject +@end + + /** * Configuration data for advance site search. */ @@ -4661,6 +5371,17 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** Output only. Answer creation timestamp. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * A score in the range of [0, 1] describing how grounded the answer is by the + * reference chunks. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *groundingScore; + +/** Optional. Grounding supports. */ +@property(nonatomic, strong, nullable) NSArray *groundingSupports; + /** * Immutable. Fully qualified name * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/ @@ -4677,6 +5398,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** Suggested related questions. */ @property(nonatomic, strong, nullable) NSArray *relatedQuestions; +/** Optional. Safety ratings. */ +@property(nonatomic, strong, nullable) NSArray *safetyRatings; + /** * The state of the answer generation. * @@ -4687,6 +5411,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * Answer generation is currently in progress. (Value: "IN_PROGRESS") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer_State_StateUnspecified * Unknown. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer_State_Streaming + * Answer generation is currently in progress. (Value: "STREAMING") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer_State_Succeeded * Answer generation has succeeded. (Value: "SUCCEEDED") */ @@ -4734,6 +5460,51 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Grounding support for a claim in `answer_text`. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport : GTLRObject + +/** + * Required. End of the claim, exclusive. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *endIndex; + +/** + * Indicates that this claim required grounding check. When the system decided + * this claim didn't require attribution/grounding check, this field is set to + * false. In that case, no grounding check was done for the claim and therefore + * `grounding_score`, `sources` is not returned. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *groundingCheckRequired; + +/** + * A score in the range of [0, 1] describing how grounded is a specific claim + * by the references. Higher value means that the claim is better supported by + * the reference chunks. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *groundingScore; + +/** Optional. Citation sources for the claim. */ +@property(nonatomic, strong, nullable) NSArray *sources; + +/** + * Required. Index indicates the start of the claim, measured in bytes (UTF-8 + * unicode). + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *startIndex; + +@end + + /** * Query understanding information. */ @@ -5183,6 +5954,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Optional. Single-regional CMEKs that are required for some VAIS features. + */ +@property(nonatomic, strong, nullable) NSArray *singleRegionKeys; + /** * Output only. State of the CmekConfig. * @@ -5209,6 +5985,45 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Collection is a container for configuring resources and access to a set of + * DataStores. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCollection : GTLRObject + +/** Output only. Timestamp the Collection was created at. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. The data connector, if present, manages the connection for data + * stores in the Collection. To set up the connector, use + * DataConnectorService.SetUpDataConnector method, which creates a new + * Collection while setting up the DataConnector singleton resource. Setting up + * connector on an existing Collection is not supported. This output only field + * contains a subset of the DataConnector fields, including `name`, + * `data_source`, `entities.entity_name` and `entities.data_store`. To get more + * details about a data connector, use the + * DataConnectorService.GetDataConnector method. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector *dataConnector; + +/** + * Required. The Collection display name. This field must be a UTF-8 encoded + * string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT + * error is returned. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Immutable. The full resource name of the Collection. Format: + * `projects/{project}/locations/{location}/collections/{collection_id}`. This + * field must be a UTF-8 encoded string with a length limit of 1024 characters. + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * Defines circumstances to be checked before allowing a behavior */ @@ -5272,6 +6087,189 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * A data sync run of DataConnector. After DataConnector is successfully + * initialized, data syncs are scheduled at DataConnector.refresh_interval. A + * ConnectorRun represents a data sync either in the past or onging that the + * moment. // + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun : GTLRObject + +/** Output only. The time when the connector run ended. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** + * Output only. The details of the entities synced at the ConnectorRun. Each + * ConnectorRun consists of syncing one or more entities. + */ +@property(nonatomic, strong, nullable) NSArray *entityRuns; + +/** + * Contains info about errors incurred during the sync. Only exist if running + * into an error state. Contains error code and error message. Use with the + * `state` field. + */ +@property(nonatomic, strong, nullable) NSArray *errors; + +/** Output only. The time when the connector run was most recently paused. */ +@property(nonatomic, strong, nullable) GTLRDateTime *latestPauseTime; + +/** + * Output only. The full resource name of the Connector Run. Format: `projects/ + * * /locations/ * /collections/ * /dataConnector/connectorRuns/ *`. The + * `connector_run_id` is system-generated. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. The time when the connector run started. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +/** + * Output only. The state of the sync run. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_State_Cancelled + * Data sync was scheduled but has been cancelled. (Value: "CANCELLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_State_Failed + * The data sync is failed. (Value: "FAILED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_State_Overrun + * Data sync has been running longer than expected and is still running + * at the time the next run is supposed to start. (Value: "OVERRUN") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_State_Pending + * Data sync is about to start. (Value: "PENDING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_State_Running + * The data sync is ongoing. (Value: "RUNNING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_State_StateUnspecified + * Default value. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_State_Succeeded + * The data sync is finished. (Value: "SUCCEEDED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_State_Warning + * The data sync completed with non-fatal errors. (Value: "WARNING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Timestamp at which the connector run sync state was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *stateUpdateTime; + +/** + * Output only. The trigger for this ConnectorRun. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_Trigger_Initialization + * ConnectorRun auto triggered by connector initialization. (Value: + * "INITIALIZATION") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_Trigger_Manual + * ConnectorRun triggered by user manually. (Value: "MANUAL") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_Trigger_Resume + * ConnectorRun auto triggered by resuming connector. (Value: "RESUME") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_Trigger_Scheduler + * ConnectorRun triggered by scheduler if connector has PERIODIC sync + * mode. (Value: "SCHEDULER") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun_Trigger_TriggerUnspecified + * Default value. (Value: "TRIGGER_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *trigger; + +@end + + +/** + * Represents an entity that was synced in this ConnectorRun. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun : GTLRObject + +/** + * The name of the source entity. + * + * Remapped to 'entityNameProperty' to avoid NSObject's 'entityName'. + */ +@property(nonatomic, copy, nullable) NSString *entityNameProperty; + +/** + * The total number of documents failed at sync at any stage (extraction, + * indexing, etc). + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *errorRecordCount; + +/** + * The errors from the entity's sync run. Only exist if running into an error + * state. Contains error code and error message. + */ +@property(nonatomic, strong, nullable) NSArray *errors; + +/** + * The number of documents extracted from connector source, ready to be + * ingested to UCS. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *extractedRecordCount; + +/** + * The number of documents indexed. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *indexedRecordCount; + +/** + * The number of requests sent to 3p API. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *sourceApiRequestCount; + +/** + * The state of the entity's sync run. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_Cancelled + * Data sync was scheduled but has been cancelled. (Value: "CANCELLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_Failed + * The data sync is failed. (Value: "FAILED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_Overrun + * Data sync has been running longer than expected and is still running + * at the time the next run is supposed to start. (Value: "OVERRUN") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_Pending + * Data sync is about to start. (Value: "PENDING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_Running + * The data sync is ongoing. (Value: "RUNNING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_StateUnspecified + * Default value. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_Succeeded + * The data sync is finished. (Value: "SUCCEEDED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_Warning + * The data sync completed with non-fatal errors. (Value: "WARNING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Timestamp at which the entity sync state was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *stateUpdateTime; + +/** + * The timestamp for either extracted_documents_count, indexed_documents_count + * and error_documents_count was last updated. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *statsUpdateTime; + +/** + * Sync type of this run. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_SyncType_Full + * Sync triggers full sync of all documents. (Value: "FULL") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_SyncType_Incremental + * Incremental sync of updated documents. (Value: "INCREMENTAL") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_SyncType_SyncTypeUnspecified + * Sync type unspecified. (Value: "SYNC_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *syncType; + +@end + + /** * Defines a conditioned behavior to employ during serving. Must be attached to * a ServingConfig to be considered at serving time. Permitted actions @@ -5363,12 +6361,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostAction : GTLRObject /** - * Required. Strength of the boost, which should be in [-1, 1]. Negative boost - * means demotion. Default is 0.0 (No-op). + * Strength of the boost, which should be in [-1, 1]. Negative boost means + * demotion. Default is 0.0 (No-op). * * Uses NSNumber of floatValue. */ -@property(nonatomic, strong, nullable) NSNumber *boost; +@property(nonatomic, strong, nullable) NSNumber *boost GTLR_DEPRECATED; /** * Required. Specifies which data store's documents can be boosted by this @@ -5385,6 +6383,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, copy, nullable) NSString *filter; +/** + * Optional. Strength of the boost, which should be in [-1, 1]. Negative boost + * means demotion. Default is 0.0 (No-op). + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *fixedBoost; + @end @@ -5586,94 +6592,317 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** - * Metadata that describes a custom tuned model. + * Manages the connection to external data sources for all data stores grouped + * under a Collection. It's a singleton resource of Collection. The + * initialization is only supported through + * DataConnectorService.SetUpDataConnector method, which will create a new + * Collection and initialize its DataConnector. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector : GTLRObject -/** Deprecated: Timestamp the Model was created at. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime GTLR_DEPRECATED; +/** Optional. Action configurations to make the connector support actions. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaActionConfig *actionConfig; -/** The display name of the model. */ -@property(nonatomic, copy, nullable) NSString *displayName; +/** + * Indicates whether the connector is disabled for auto run. It can be used to + * pause periodical and real time sync. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *autoRunDisabled; /** - * Currently this is only populated if the model state is - * `INPUT_VALIDATION_FAILED`. + * Output only. User actions that must be completed before the connector can + * start syncing data. */ -@property(nonatomic, copy, nullable) NSString *errorMessage; +@property(nonatomic, strong, nullable) NSArray *blockingReasons; -/** The metrics of the trained model. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_Metrics *metrics; +/** Output only. Timestamp the DataConnector was created at. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`). - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_InputValidationFailed - * Input data validation failed. Model training didn't start. (Value: - * "INPUT_VALIDATION_FAILED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_ModelStateUnspecified - * Default value. (Value: "MODEL_STATE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_NoImprovement - * The model training finished successfully but metrics did not improve. - * (Value: "NO_IMPROVEMENT") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_ReadyForServing - * The model is ready for serving. (Value: "READY_FOR_SERVING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_Training - * The model is currently training. (Value: "TRAINING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_TrainingComplete - * The model has successfully completed training. (Value: - * "TRAINING_COMPLETE") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_TrainingFailed - * The model training failed. (Value: "TRAINING_FAILED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_ModelState_TrainingPaused - * The model is in a paused training state. (Value: "TRAINING_PAUSED") + * Required. The name of the data source. Supported values: `salesforce`, + * `jira`, `confluence`, `bigquery`. */ -@property(nonatomic, copy, nullable) NSString *modelState; +@property(nonatomic, copy, nullable) NSString *dataSource; /** - * The version of the model. - * - * Uses NSNumber of longLongValue. + * Optional. Any target destinations used to connect to third-party services. */ -@property(nonatomic, strong, nullable) NSNumber *modelVersion; +@property(nonatomic, strong, nullable) NSArray *destinationConfigs; + +/** List of entities from the connected data source to ingest. */ +@property(nonatomic, strong, nullable) NSArray *entities; /** - * Required. The fully qualified resource name of the model. Format: - * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`. - * Model must be an alpha-numerical string with limit of 40 characters. + * Output only. The errors from initialization or from the latest connector + * run. */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, strong, nullable) NSArray *errors; -/** Timestamp the model training was initiated. */ -@property(nonatomic, strong, nullable) GTLRDateTime *trainingStartTime; +/** + * The refresh interval to sync the Access Control List information for the + * documents ingested by this connector. If not set, the access control list + * will be refreshed at the default interval of 30 minutes. The identity + * refresh interval can be at least 30 minutes and at most 7 days. + */ +@property(nonatomic, strong, nullable) GTLRDuration *identityRefreshInterval GTLR_DEPRECATED; -@end +/** + * The configuration for the identity data synchronization runs. This contains + * the refresh interval to sync the Access Control List information for the + * documents ingested by this connector. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig *identityScheduleConfig; +/** + * Input only. The KMS key to be used to protect the DataStores managed by this + * connector. Must be set for requests that need to comply with CMEK Org Policy + * protections. If this field is set and processed successfully, the DataStores + * created by this connector will be protected by the KMS key. + */ +@property(nonatomic, copy, nullable) NSString *kmsKeyName; /** - * The metrics of the trained model. - * - * @note This class is documented as having more properties of NSNumber (Uses - * NSNumber of doubleValue.). Use @c -additionalJSONKeys and @c - * -additionalPropertyForName: to get the list of properties and then - * fetch them; or @c -additionalProperties to fetch them all at once. + * Output only. For periodic connectors only, the last time a data sync was + * completed. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomTuningModel_Metrics : GTLRObject -@end +@property(nonatomic, strong, nullable) GTLRDateTime *lastSyncTime; +/** + * Output only. The most recent timestamp when this DataConnector was paused, + * affecting all functionalities such as data synchronization. Pausing a + * connector has the following effects: - All functionalities, including data + * synchronization, are halted. - Any ongoing data synchronization job will be + * canceled. - No future data synchronization runs will be scheduled nor can be + * triggered. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *latestPauseTime; /** - * DataStore captures global settings and configs at the DataStore level. + * Output only. The full resource name of the Data Connector. Format: + * `projects/ * /locations/ * /collections/ * /dataConnector`. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore : GTLRObject +@property(nonatomic, copy, nullable) NSString *name; /** - * Immutable. Whether data in the DataStore has ACL information. If set to - * `true`, the source data must have ACL. ACL will be ingested when data is - * ingested by DocumentService.ImportDocuments methods. When ACL is enabled for - * the DataStore, Document can't be accessed by calling - * DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL + * The UTC time when the next data sync is expected to start for the Data + * Connector. Customers are only able to specify the hour and minute to + * schedule the data sync. This is utilized when the data connector has a + * refresh interval greater than 1 day. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleTypeDateTime *nextSyncTime; + +/** + * Required. Params needed to access the source in the format of (Key, Value) + * pairs. Required parameters for all data sources: * Key: `instance_uri` * + * Value: type STRING. The uri to access the data source. Required parameters + * for sources that support OAUTH, i.e. `salesforce`: * Key: `client_id` * + * Value: type STRING. The client id for the third party service provider to + * identify your application. * Key: `client_secret` * Value:type STRING. The + * client secret generated by the third party authorization server. * Key: + * `access_token` * Value: type STRING. OAuth token for UCS to access to the + * protected resource. * Key: `refresh_token` * Value: type STRING. OAuth + * refresh token for UCS to obtain a new access token without user interaction. + * Required parameters for sources that support basic API token auth, i.e. + * `jira`, `confluence`: * Key: `user_account` * Value: type STRING. The + * username or email with the source. * Key: `api_token` * Value: type STRING. + * The API token generated for the source account, that is used for + * authenticating anywhere where you would have used a password. Example: + * ```json { "instance_uri": "https://xxx.atlassian.net", "user_account": + * "xxxx.xxx\@xxx.com", "api_token": "test-token" } ``` Optional parameter to + * specify the authorization type to use for multiple authorization types + * support: * Key: `auth_type` * Value: type STRING. The authorization type for + * the data source. Supported values: `BASIC_AUTH`, `OAUTH`, + * `OAUTH_ACCESS_TOKEN`, `OAUTH_TWO_LEGGED`, `OAUTH_JWT_BEARER`, + * `OAUTH_PASSWORD_GRANT`, `JWT`, `API_TOKEN`, `FEDERATED_CREDENTIAL`. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_Params *params; + +/** + * Output only. The tenant project ID associated with private connectivity + * connectors. This project must be allowlisted by in order for the connector + * to function. + */ +@property(nonatomic, copy, nullable) NSString *privateConnectivityProjectId; + +/** + * Required. The refresh interval for data sync. If duration is set to 0, the + * data will be synced in real time. The streaming feature is not supported + * yet. The minimum is 30 minutes and maximum is 7 days. + */ +@property(nonatomic, strong, nullable) GTLRDuration *refreshInterval; + +/** + * Output only. State of the connector. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_Active + * The connector is successfully set up and awaiting next sync run. + * (Value: "ACTIVE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_Creating + * The connector is being set up. (Value: "CREATING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_Failed + * The connector is in error. The error details can be found in + * DataConnector.errors. If the error is unfixable, the DataConnector can + * be deleted by [CollectionService.DeleteCollection] API. (Value: + * "FAILED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_Running + * The connector is actively syncing records from the data source. + * (Value: "RUNNING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_StateUnspecified + * Default value. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_Warning + * The connector has completed a sync run, but encountered non-fatal + * errors. (Value: "WARNING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. The static IP addresses used by this connector. */ +@property(nonatomic, strong, nullable) NSArray *staticIpAddresses; + +/** + * Optional. Whether customer has enabled static IP addresses for this + * connector. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *staticIpEnabled; + +/** + * The data synchronization mode supported by the data connector. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_SyncMode_Periodic + * The connector will sync data periodically based on the + * refresh_interval. Use it with auto_run_disabled to pause the periodic + * sync, or indicate a one-time sync. (Value: "PERIODIC") + */ +@property(nonatomic, copy, nullable) NSString *syncMode; + +/** Output only. Timestamp the DataConnector was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Required. Params needed to access the source in the format of (Key, Value) + * pairs. Required parameters for all data sources: * Key: `instance_uri` * + * Value: type STRING. The uri to access the data source. Required parameters + * for sources that support OAUTH, i.e. `salesforce`: * Key: `client_id` * + * Value: type STRING. The client id for the third party service provider to + * identify your application. * Key: `client_secret` * Value:type STRING. The + * client secret generated by the third party authorization server. * Key: + * `access_token` * Value: type STRING. OAuth token for UCS to access to the + * protected resource. * Key: `refresh_token` * Value: type STRING. OAuth + * refresh token for UCS to obtain a new access token without user interaction. + * Required parameters for sources that support basic API token auth, i.e. + * `jira`, `confluence`: * Key: `user_account` * Value: type STRING. The + * username or email with the source. * Key: `api_token` * Value: type STRING. + * The API token generated for the source account, that is used for + * authenticating anywhere where you would have used a password. Example: + * ```json { "instance_uri": "https://xxx.atlassian.net", "user_account": + * "xxxx.xxx\@xxx.com", "api_token": "test-token" } ``` Optional parameter to + * specify the authorization type to use for multiple authorization types + * support: * Key: `auth_type` * Value: type STRING. The authorization type for + * the data source. Supported values: `BASIC_AUTH`, `OAUTH`, + * `OAUTH_ACCESS_TOKEN`, `OAUTH_TWO_LEGGED`, `OAUTH_JWT_BEARER`, + * `OAUTH_PASSWORD_GRANT`, `JWT`, `API_TOKEN`, `FEDERATED_CREDENTIAL`. + * + * @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_GoogleCloudDiscoveryengineV1alphaDataConnector_Params : GTLRObject +@end + + +/** + * Represents an entity in the data source. For example, the `Account` object + * in Salesforce. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity : GTLRObject + +/** + * Output only. The full resource name of the associated data store for the + * source entity. Format: `projects/ * /locations/ * /collections/ * + * /dataStores/ *`. When the connector is initialized by the + * DataConnectorService.SetUpDataConnector method, a DataStore is automatically + * created for each source entity. + */ +@property(nonatomic, copy, nullable) NSString *dataStore; + +/** + * The name of the entity. Supported values by data source: * Salesforce: + * `Lead`, `Opportunity`, `Contact`, `Account`, `Case`, `Contract`, `Campaign` + * * Jira: `Issue` * Confluence: `Content`, `Space` + * + * Remapped to 'entityNameProperty' to avoid NSObject's 'entityName'. + */ +@property(nonatomic, copy, nullable) NSString *entityNameProperty; + +/** + * Attributes for indexing. Key: Field name. Value: The key property to map a + * field to, such as `title`, and `description`. Supported key properties: * + * `title`: The title for data record. This would be displayed on search + * results. * `description`: The description for data record. This would be + * displayed on search results. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity_KeyPropertyMappings *keyPropertyMappings; + +/** + * The parameters for the entity to facilitate data ingestion. E.g. for BQ + * connectors: * Key: `document_id_column` * Value: type STRING. The value of + * the column id. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity_Params *params; + +@end + + +/** + * Attributes for indexing. Key: Field name. Value: The key property to map a + * field to, such as `title`, and `description`. Supported key properties: * + * `title`: The title for data record. This would be displayed on search + * results. * `description`: The description for data record. This would be + * displayed on search results. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity_KeyPropertyMappings : GTLRObject +@end + + +/** + * The parameters for the entity to facilitate data ingestion. E.g. for BQ + * connectors: * Key: `document_id_column` * Value: type STRING. The value of + * the column id. + * + * @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_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity_Params : GTLRObject +@end + + +/** + * DataStore captures global settings and configs at the DataStore level. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore : GTLRObject + +/** + * Immutable. Whether data in the DataStore has ACL information. If set to + * `true`, the source data must have ACL. ACL will be ingested when data is + * ingested by DocumentService.ImportDocuments methods. When ACL is enabled for + * the DataStore, Document can't be accessed by calling + * DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL * is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` * content config. * @@ -5750,6 +6979,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, copy, nullable) NSString *industryVertical; +/** + * Optional. If set, this DataStore is an Infobot FAQ DataStore. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isInfobotFaqDataStore; + /** * Input only. The KMS key to be used to protect this DataStore at creation * time. Must be set for requests that need to comply with CMEK Org Policy @@ -5884,6 +7120,25 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Metadata related to the progress of the CollectionService.UpdateCollection + * operation. This will be returned by the + * google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * Metadata related to the progress of the DataStoreService.DeleteDataStore * operation. This will be returned by the @@ -5922,6 +7177,25 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Metadata related to the progress of the + * IdentityMappingStoreService.DeleteIdentityMappingStore operation. This will + * be returned by the google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteIdentityMappingStoreMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * Metadata for DeleteSchema LRO. */ @@ -5939,6 +7213,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Request for DeleteSession method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest : GTLRObject + +/** + * Required. The resource name of the Session to delete. Format: + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * Metadata related to the progress of the * SiteSearchEngineService.DeleteSitemap operation. This will be returned by @@ -5977,6 +7265,55 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Defines target endpoints used to connect to third-party sources. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDestinationConfig : GTLRObject + +/** Optional. The destinations for the corresponding key. */ +@property(nonatomic, strong, nullable) NSArray *destinations; + +/** + * Optional. Unique destination identifier that is supported by the connector. + */ +@property(nonatomic, copy, nullable) NSString *key; + +/** Optional. Additional parameters for this destination config. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDestinationConfig_Params *params; + +@end + + +/** + * Optional. Additional parameters for this destination config. + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDestinationConfig_Params : GTLRObject +@end + + +/** + * Defines a target endpoint + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination : GTLRObject + +/** Publicly routable host. */ +@property(nonatomic, copy, nullable) NSString *host; + +/** + * Optional. Target port number accepted by the destination. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *port; + +@end + + /** * Metadata related to the progress of the * SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be @@ -6234,9 +7571,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** * The industry vertical that the engine registers. The restriction of the - * Engine industry vertical is based on DataStore: If unspecified, default to - * `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked - * to the engine. + * Engine industry vertical is based on DataStore: Vertical on Engine has to + * match vertical of the DataStore linked to the engine. * * Likely values: * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_IndustryVertical_Generic @@ -6953,6 +8289,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Request for GetSession method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaGetSessionRequest : GTLRObject + +/** + * Optional. If set to true, the full session including all answer details will + * be returned. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *includeAnswerDetails; + +/** + * Required. The resource name of the Session to get. Format: + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * Response message for SiteSearchEngineService.GetUriPatternDocumentData * method. @@ -6996,6 +8354,30 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * The configuration for the identity data synchronization runs. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig : GTLRObject + +/** + * Optional. The UTC time when the next data sync is expected to start for the + * Data Connector. Customers are only able to specify the hour and minute to + * schedule the data sync. This is utilized when the data connector has a + * refresh interval greater than 1 day. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleTypeDateTime *nextSyncTime; + +/** + * Optional. The refresh interval to sync the Access Control List information + * for the documents ingested by this connector. If not set, the access control + * list will be refreshed at the default interval of 30 minutes. The identity + * refresh interval can be at least 30 minutes and at most 7 days. + */ +@property(nonatomic, strong, nullable) GTLRDuration *refreshInterval; + +@end + + /** * Identity Provider Config. */ @@ -7385,12 +8767,68 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** - * Response message for SearchTuningService.ListCustomModels method. + * Request for ListSessions method. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaListSessionsRequest : GTLRObject -/** List of custom tuning models. */ -@property(nonatomic, strong, nullable) NSArray *models; +/** + * A filter to apply on the list results. The supported features are: + * user_pseudo_id, state. Example: "user_pseudo_id = some_id" + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * A comma-separated list of fields to order by, sorted in ascending order. Use + * "desc" after a field name for descending. Supported fields: * `update_time` + * * `create_time` * `session_name` * `is_pinned` Example: * "update_time desc" + * * "create_time" * "is_pinned desc,update_time desc": list sessions by + * is_pinned first, then by update_time. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Maximum number of results to return. If unspecified, defaults to 50. Max + * allowed value is 1000. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *pageSize; + +/** + * A page token, received from a previous `ListSessions` call. Provide this to + * retrieve the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The data store resource name. Format: + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +@end + + +/** + * Response for ListSessions method. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "sessions" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaListSessionsResponse : GTLRCollectionObject + +/** Pagination token, if not returned indicates the last page. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * All the Sessions for a given data store. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *sessions; @end @@ -8008,12 +9446,143 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** - * Defines the structure and layout of a type of document data. + * Metadata related to the progress of the + * CrawlRateManagementService.RemoveDedicatedCrawlRate operation. This will be + * returned by the google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSchema : GTLRObject - -/** Output only. Configurations for fields of the schema. */ -@property(nonatomic, strong, nullable) NSArray *fieldConfigs; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Response message for CrawlRateManagementService.RemoveDedicatedCrawlRate + * method. It simply returns the state of the response, and an error message if + * the state is FAILED. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse : GTLRObject + +/** Errors from service when handling the request. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleRpcStatus *error; + +/** + * Output only. The state of the response. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse_State_Failed + * The state is failed. (Value: "FAILED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse_State_StateUnspecified + * The state is unspecified. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse_State_Succeeded + * The state is successful. (Value: "SUCCEEDED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + +/** + * Safety rating corresponding to the generated content. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating : GTLRObject + +/** + * Output only. Indicates whether the content was filtered out because of this + * rating. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *blocked; + +/** + * Output only. Harm category. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Category_HarmCategoryCivicIntegrity + * The harm category is civic integrity. (Value: + * "HARM_CATEGORY_CIVIC_INTEGRITY") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Category_HarmCategoryDangerousContent + * The harm category is dangerous content. (Value: + * "HARM_CATEGORY_DANGEROUS_CONTENT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Category_HarmCategoryHarassment + * The harm category is harassment. (Value: "HARM_CATEGORY_HARASSMENT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Category_HarmCategoryHateSpeech + * The harm category is hate speech. (Value: "HARM_CATEGORY_HATE_SPEECH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Category_HarmCategorySexuallyExplicit + * The harm category is sexually explicit content. (Value: + * "HARM_CATEGORY_SEXUALLY_EXPLICIT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Category_HarmCategoryUnspecified + * The harm category is unspecified. (Value: "HARM_CATEGORY_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *category; + +/** + * Output only. Harm probability levels in the content. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Probability_HarmProbabilityUnspecified + * Harm probability unspecified. (Value: "HARM_PROBABILITY_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Probability_High + * High level of harm. (Value: "HIGH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Probability_Low + * Low level of harm. (Value: "LOW") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Probability_Medium + * Medium level of harm. (Value: "MEDIUM") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Probability_Negligible + * Negligible level of harm. (Value: "NEGLIGIBLE") + */ +@property(nonatomic, copy, nullable) NSString *probability; + +/** + * Output only. Harm probability score. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *probabilityScore; + +/** + * Output only. Harm severity levels in the content. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Severity_HarmSeverityHigh + * High level of harm severity. (Value: "HARM_SEVERITY_HIGH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Severity_HarmSeverityLow + * Low level of harm severity. (Value: "HARM_SEVERITY_LOW") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Severity_HarmSeverityMedium + * Medium level of harm severity. (Value: "HARM_SEVERITY_MEDIUM") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Severity_HarmSeverityNegligible + * Negligible level of harm severity. (Value: "HARM_SEVERITY_NEGLIGIBLE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating_Severity_HarmSeverityUnspecified + * Harm severity unspecified. (Value: "HARM_SEVERITY_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *severity; + +/** + * Output only. Harm severity score. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *severityScore; + +@end + + +/** + * Defines the structure and layout of a type of document data. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSchema : GTLRObject + +/** Output only. Configurations for fields of the schema. */ +@property(nonatomic, strong, nullable) NSArray *fieldConfigs; /** The JSON representation of the schema. */ @property(nonatomic, copy, nullable) NSString *jsonSchema; @@ -8909,6 +10478,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec : GTLRObject +/** + * Optional. Boost specification to boost certain documents. For more + * information on boosting, see + * [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec *boostSpec; + /** * Required. Full resource name of DataStore, such as * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. @@ -9109,12 +10685,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec : GTLRObject /** - * The condition under which filter extraction should occur. Default to - * Condition.DISABLED. + * The condition under which filter extraction should occur. Server behavior + * defaults to `DISABLED`. * * Likely values: * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec_FilterExtractionCondition_ConditionUnspecified - * Server behavior defaults to Condition.DISABLED. (Value: + * Server behavior defaults to `DISABLED`. (Value: * "CONDITION_UNSPECIFIED") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec_FilterExtractionCondition_Disabled * Disables NL filter extraction. (Value: "DISABLED") @@ -9283,9 +10859,24 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSession : GTLRObject +/** + * Optional. The display name of the session. This field is used to identify + * the session in the UI. By default, the display name is the first turn query + * text in the session. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + /** Output only. The time the session finished. */ @property(nonatomic, strong, nullable) GTLRDateTime *endTime; +/** + * Optional. Whether the session is pinned, pinned session will be displayed on + * the top of the session list. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isPinned; + /** * Immutable. Fully qualified name * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/ @@ -9341,6 +10932,58 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Metadata related to the progress of the + * CrawlRateManagementService.SetDedicatedCrawlRate operation. This will be + * returned by the google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Response message for CrawlRateManagementService.SetDedicatedCrawlRate + * method. It simply returns the state of the response, and an error message if + * the state is FAILED. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse : GTLRObject + +/** Errors from service when handling the request. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleRpcStatus *error; + +/** + * Output only. The state of the response. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse_State_Failed + * The state is failed. (Value: "FAILED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse_State_StateUnspecified + * The state is unspecified. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse_State_Succeeded + * The state is successful. (Value: "SUCCEEDED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + +/** + * Metadata for DataConnectorService.SetUpDataConnector method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorMetadata : GTLRObject +@end + + /** * Metadata related to the progress of the * SiteSearchEngineService.SetUriPatternDocumentData operation. This will be @@ -9368,6 +11011,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Metadata for single-regional CMEKs. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSingleRegionKey : GTLRObject + +/** + * Required. Single-regional kms key resource name which will be used to + * encrypt resources + * `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. + */ +@property(nonatomic, copy, nullable) NSString *kmsKey; + +@end + + /** * A sitemap for the SiteSearchEngine. */ @@ -9423,7 +11081,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite : GTLRObject /** - * Input only. If set to false, a uri_pattern is generated to include all pages + * Immutable. If set to false, a uri_pattern is generated to include all pages * whose address contains the provided_uri_pattern. If set to true, an * uri_pattern is generated to try to be an exact match of the * provided_uri_pattern or just the specific page if the provided_uri_pattern @@ -9631,6 +11289,25 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Metadata related to the progress of the CollectionService.UpdateCollection + * operation. This will be returned by the + * google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateCollectionMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * Metadata for UpdateSchema LRO. */ @@ -9648,6 +11325,26 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Request for UpdateSession method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest : GTLRObject + +/** Required. The Session to update. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSession *session; + +/** + * Indicates which fields in the provided Session to update. The following are + * NOT supported: * Session.name If not set or empty, all supported fields are + * updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +@end + + /** * Metadata related to the progress of the * SiteSearchEngineService.UpdateTargetSite operation. This will be returned by @@ -9767,6 +11464,17 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** Output only. Answer creation timestamp. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * A score in the range of [0, 1] describing how grounded the answer is by the + * reference chunks. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *groundingScore; + +/** Optional. Grounding supports. */ +@property(nonatomic, strong, nullable) NSArray *groundingSupports; + /** * Immutable. Fully qualified name * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/ @@ -9783,6 +11491,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** Suggested related questions. */ @property(nonatomic, strong, nullable) NSArray *relatedQuestions; +/** Optional. Safety ratings. */ +@property(nonatomic, strong, nullable) NSArray *safetyRatings; + /** * The state of the answer generation. * @@ -9793,6 +11504,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * Answer generation is currently in progress. (Value: "IN_PROGRESS") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_StateUnspecified * Unknown. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_Streaming + * Answer generation is currently in progress. (Value: "STREAMING") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_Succeeded * Answer generation has succeeded. (Value: "SUCCEEDED") */ @@ -9840,6 +11553,51 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Grounding support for a claim in `answer_text`. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerGroundingSupport : GTLRObject + +/** + * Required. End of the claim, exclusive. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *endIndex; + +/** + * Indicates that this claim required grounding check. When the system decided + * this claim didn't require attribution/grounding check, this field is set to + * false. In that case, no grounding check was done for the claim and therefore + * `grounding_score`, `sources` is not returned. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *groundingCheckRequired; + +/** + * A score in the range of [0, 1] describing how grounded is a specific claim + * by the references. Higher value means that the claim is better supported by + * the reference chunks. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *groundingScore; + +/** Optional. Citation sources for the claim. */ +@property(nonatomic, strong, nullable) NSArray *sources; + +/** + * Required. Index indicates the start of the claim, measured in bytes (UTF-8 + * unicode). + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *startIndex; + +@end + + /** * Request message for ConversationalSearchService.AnswerQuery method. */ @@ -10122,6 +11880,31 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, strong, nullable) NSNumber *maxRephraseSteps; +/** Optional. Query Rephraser Model specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec *modelSpec; + +@end + + +/** + * Query Rephraser Model specification. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec : GTLRObject + +/** + * Optional. Enabled query rephraser model type. If not set, it will use LARGE + * by default. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec_ModelType_Large + * Large query rephraser model. Gemini 1.0 Pro model. (Value: "LARGE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec_ModelType_ModelTypeUnspecified + * Unspecified model type. (Value: "MODEL_TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec_ModelType_Small + * Small query rephraser model. Gemini 1.0 XS model. (Value: "SMALL") + */ +@property(nonatomic, copy, nullable) NSString *modelType; + @end @@ -10141,7 +11924,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** - * Safety specification. + * Safety specification. There are two use cases: 1. when only + * safety_spec.enable is set, the BLOCK_LOW_AND_ABOVE threshold will be applied + * for all categories. 2. when safety_spec.enable is set and some + * safety_settings are set, only specified safety_settings are applied. */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpec : GTLRObject @@ -10152,6 +11938,64 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, strong, nullable) NSNumber *enable; +/** + * Optional. Safety settings. This settings are effective only when the + * safety_spec.enable is true. + */ +@property(nonatomic, strong, nullable) NSArray *safetySettings; + +@end + + +/** + * Safety settings. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting : GTLRObject + +/** + * Required. Harm category. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Category_HarmCategoryCivicIntegrity + * The harm category is civic integrity. (Value: + * "HARM_CATEGORY_CIVIC_INTEGRITY") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Category_HarmCategoryDangerousContent + * The harm category is dangerous content. (Value: + * "HARM_CATEGORY_DANGEROUS_CONTENT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Category_HarmCategoryHarassment + * The harm category is harassment. (Value: "HARM_CATEGORY_HARASSMENT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Category_HarmCategoryHateSpeech + * The harm category is hate speech. (Value: "HARM_CATEGORY_HATE_SPEECH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Category_HarmCategorySexuallyExplicit + * The harm category is sexually explicit content. (Value: + * "HARM_CATEGORY_SEXUALLY_EXPLICIT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Category_HarmCategoryUnspecified + * The harm category is unspecified. (Value: "HARM_CATEGORY_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *category; + +/** + * Required. The harm block threshold. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Threshold_BlockLowAndAbove + * Block low threshold and above (i.e. block more). (Value: + * "BLOCK_LOW_AND_ABOVE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Threshold_BlockMediumAndAbove + * Block medium threshold and above. (Value: "BLOCK_MEDIUM_AND_ABOVE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Threshold_BlockNone + * Block none. (Value: "BLOCK_NONE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Threshold_BlockOnlyHigh + * Block only high threshold (i.e. block less). (Value: + * "BLOCK_ONLY_HIGH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Threshold_HarmBlockThresholdUnspecified + * Unspecified harm block threshold. (Value: + * "HARM_BLOCK_THRESHOLD_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting_Threshold_Off + * Turn off the safety filter. (Value: "OFF") + */ +@property(nonatomic, copy, nullable) NSString *threshold; + @end @@ -10903,6 +12747,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * Configuration data for advance site search. */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig : GTLRObject + +/** + * If set true, automatic refresh is disabled for the DataStore. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disableAutomaticRefresh; + +/** + * If set true, initial indexing is disabled for the DataStore. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disableInitialIndex; + @end @@ -10974,6 +12833,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Optional. Single-regional CMEKs that are required for some VAIS features. + */ +@property(nonatomic, strong, nullable) NSArray *singleRegionKeys; + /** * Output only. State of the CmekConfig. * @@ -11154,12 +13018,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlBoostAction : GTLRObject /** - * Required. Strength of the boost, which should be in [-1, 1]. Negative boost - * means demotion. Default is 0.0 (No-op). + * Strength of the boost, which should be in [-1, 1]. Negative boost means + * demotion. Default is 0.0 (No-op). * * Uses NSNumber of floatValue. */ -@property(nonatomic, strong, nullable) NSNumber *boost; +@property(nonatomic, strong, nullable) NSNumber *boost GTLR_DEPRECATED; /** * Required. Specifies which data store's documents can be boosted by this @@ -11176,6 +13040,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, copy, nullable) NSString *filter; +/** + * Optional. Strength of the boost, which should be in [-1, 1]. Negative boost + * means demotion. Default is 0.0 (No-op). + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *fixedBoost; + @end @@ -11350,84 +13222,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end -/** - * Metadata that describes a custom tuned model. - */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel : GTLRObject - -/** Deprecated: Timestamp the Model was created at. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime GTLR_DEPRECATED; - -/** The display name of the model. */ -@property(nonatomic, copy, nullable) NSString *displayName; - -/** - * Currently this is only populated if the model state is - * `INPUT_VALIDATION_FAILED`. - */ -@property(nonatomic, copy, nullable) NSString *errorMessage; - -/** The metrics of the trained model. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_Metrics *metrics; - -/** - * The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`). - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_InputValidationFailed - * Input data validation failed. Model training didn't start. (Value: - * "INPUT_VALIDATION_FAILED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_ModelStateUnspecified - * Default value. (Value: "MODEL_STATE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_NoImprovement - * The model training finished successfully but metrics did not improve. - * (Value: "NO_IMPROVEMENT") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_ReadyForServing - * The model is ready for serving. (Value: "READY_FOR_SERVING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_Training - * The model is currently training. (Value: "TRAINING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_TrainingComplete - * The model has successfully completed training. (Value: - * "TRAINING_COMPLETE") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_TrainingFailed - * The model training failed. (Value: "TRAINING_FAILED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_ModelState_TrainingPaused - * The model is in a paused training state. (Value: "TRAINING_PAUSED") - */ -@property(nonatomic, copy, nullable) NSString *modelState; - -/** - * The version of the model. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *modelVersion; - -/** - * Required. The fully qualified resource name of the model. Format: - * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`. - * Model must be an alpha-numerical string with limit of 40 characters. - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** Timestamp the model training was initiated. */ -@property(nonatomic, strong, nullable) GTLRDateTime *trainingStartTime; - -@end - - -/** - * The metrics of the trained model. - * - * @note This class is documented as having more properties of NSNumber (Uses - * NSNumber of doubleValue.). Use @c -additionalJSONKeys and @c - * -additionalPropertyForName: to get the list of properties and then - * fetch them; or @c -additionalProperties to fetch them all at once. - */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCustomTuningModel_Metrics : GTLRObject -@end - - /** * DataStore captures global settings and configs at the DataStore level. */ @@ -11499,6 +13293,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, copy, nullable) NSString *industryVertical; +/** + * Optional. If set, this DataStore is an Infobot FAQ DataStore. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isInfobotFaqDataStore; + /** * Input only. The KMS key to be used to protect this DataStore at creation * time. Must be set for requests that need to comply with CMEK Org Policy @@ -11646,6 +13447,25 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Metadata related to the progress of the + * IdentityMappingStoreService.DeleteIdentityMappingStore operation. This will + * be returned by the google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDeleteIdentityMappingStoreMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * Metadata for DeleteSchema LRO. */ @@ -11958,9 +13778,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** * The industry vertical that the engine registers. The restriction of the - * Engine industry vertical is based on DataStore: If unspecified, default to - * `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked - * to the engine. + * Engine industry vertical is based on DataStore: Vertical on Engine has to + * match vertical of the DataStore linked to the engine. * * Likely values: * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_IndustryVertical_Generic @@ -12612,17 +14431,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end -/** - * Response message for SearchTuningService.ListCustomModels method. - */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaListCustomModelsResponse : GTLRObject - -/** List of custom tuning models. */ -@property(nonatomic, strong, nullable) NSArray *models; - -@end - - /** * Configuration for Natural Language Query Understanding. */ @@ -13837,6 +15645,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec : GTLRObject +/** + * Optional. Boost specification to boost certain documents. For more + * information on boosting, see + * [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec *boostSpec; + /** * Required. Full resource name of DataStore, such as * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. @@ -14037,12 +15852,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec : GTLRObject /** - * The condition under which filter extraction should occur. Default to - * Condition.DISABLED. + * The condition under which filter extraction should occur. Server behavior + * defaults to `DISABLED`. * * Likely values: * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec_FilterExtractionCondition_ConditionUnspecified - * Server behavior defaults to Condition.DISABLED. (Value: + * Server behavior defaults to `DISABLED`. (Value: * "CONDITION_UNSPECIFIED") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec_FilterExtractionCondition_Disabled * Disables NL filter extraction. (Value: "DISABLED") @@ -14206,6 +16021,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Metadata for single-regional CMEKs. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSingleRegionKey : GTLRObject + +/** + * Required. Single-regional kms key resource name which will be used to + * encrypt resources + * `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. + */ +@property(nonatomic, copy, nullable) NSString *kmsKey; + +@end + + /** * A sitemap for the SiteSearchEngine. */ @@ -14261,7 +16091,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite : GTLRObject /** - * Input only. If set to false, a uri_pattern is generated to include all pages + * Immutable. If set to false, a uri_pattern is generated to include all pages * whose address contains the provided_uri_pattern. If set to true, an * uri_pattern is generated to try to be an exact match of the * provided_uri_pattern or just the specific page if the provided_uri_pattern @@ -15211,6 +17041,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Optional. Single-regional CMEKs that are required for some VAIS features. + */ +@property(nonatomic, strong, nullable) NSArray *singleRegionKeys; + /** * Output only. State of the CmekConfig. * @@ -15499,12 +17334,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ControlBoostAction : GTLRObject /** - * Required. Strength of the boost, which should be in [-1, 1]. Negative boost - * means demotion. Default is 0.0 (No-op). + * Strength of the boost, which should be in [-1, 1]. Negative boost means + * demotion. Default is 0.0 (No-op). * * Uses NSNumber of floatValue. */ -@property(nonatomic, strong, nullable) NSNumber *boost; +@property(nonatomic, strong, nullable) NSNumber *boost GTLR_DEPRECATED; /** * Required. Specifies which data store's documents can be boosted by this @@ -15521,6 +17356,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, copy, nullable) NSString *filter; +/** + * Optional. Strength of the boost, which should be in [-1, 1]. Negative boost + * means demotion. Default is 0.0 (No-op). + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *fixedBoost; + @end @@ -16056,6 +17899,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, copy, nullable) NSString *industryVertical; +/** + * Optional. If set, this DataStore is an Infobot FAQ DataStore. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isInfobotFaqDataStore; + /** * Input only. The KMS key to be used to protect this DataStore at creation * time. Must be set for requests that need to comply with CMEK Org Policy @@ -16197,6 +18047,25 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Metadata related to the progress of the + * IdentityMappingStoreService.DeleteIdentityMappingStore operation. This will + * be returned by the google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DeleteIdentityMappingStoreMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * Metadata for DeleteSchema LRO. */ @@ -16289,7 +18158,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** * Immutable. The identifier of the document. Id should conform to * [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit - * of 63 characters. + * of 128 characters. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @@ -16299,7 +18168,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * Output only. The index status of the document. * If document is indexed * successfully, the index_time field is populated. * Otherwise, if document is * not indexed due to errors, the error_samples field is populated. * - * Otherwise, index_status is unset. + * Otherwise, if document's index is in progress, the pending_message field is + * populated. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DocumentIndexStatus *indexStatus; @@ -16427,6 +18297,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, strong, nullable) GTLRDateTime *indexTime; +/** + * Immutable. The message indicates the document index is in progress. If this + * field is populated, the document index is pending. + */ +@property(nonatomic, copy, nullable) NSString *pendingMessage; + @end @@ -16724,9 +18600,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** * The industry vertical that the engine registers. The restriction of the - * Engine industry vertical is based on DataStore: If unspecified, default to - * `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked - * to the engine. + * Engine industry vertical is based on DataStore: Vertical on Engine has to + * match vertical of the DataStore linked to the engine. * * Likely values: * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_IndustryVertical_Generic @@ -17009,6 +18884,18 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, strong, nullable) NSArray *resourceTypes; +/** + * Optional. Whether to update the DataStore schema to the latest predefined + * schema. If true, the DataStore schema will be updated to include any FHIR + * fields or resource types that have been added since the last import and + * corresponding FHIR resources will be imported from the FHIR store. Note this + * field cannot be used in conjunction with `resource_types`. It should be used + * after initial import. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *updateFromLatestPredefinedSchema; + @end @@ -17070,14 +18957,522 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @property(nonatomic, copy, nullable) NSString *dataSchema; /** - * Required. Cloud Storage URIs to input files. Each URI can be up to 2000 - * characters long. URIs can match the full object path (for example, - * `gs://bucket/directory/object.json`) or a pattern matching one or more - * files, such as `gs://bucket/directory/ *.json`. A request can contain at - * most 100 files (or 100,000 files if `data_schema` is `content`). Each file - * can be up to 2 GB (or 100 MB if `data_schema` is `content`). + * Required. Cloud Storage URIs to input files. Each URI can be up to 2000 + * characters long. URIs can match the full object path (for example, + * `gs://bucket/directory/object.json`) or a pattern matching one or more + * files, such as `gs://bucket/directory/ *.json`. A request can contain at + * most 100 files (or 100,000 files if `data_schema` is `content`). Each file + * can be up to 2 GB (or 100 MB if `data_schema` is `content`). + */ +@property(nonatomic, strong, nullable) NSArray *inputUris; + +@end + + +/** + * Top-level message sent by the client for the `GenerateGroundedContent` + * method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest : GTLRObject + +/** + * Content of the current conversation with the model. For single-turn queries, + * this is a single instance. For multi-turn queries, this is a repeated field + * that contains conversation history + latest request. + */ +@property(nonatomic, strong, nullable) NSArray *contents; + +/** Content generation specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGenerationSpec *generationSpec; + +/** Grounding specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSpec *groundingSpec; + +/** + * Content of the system instruction for the current API. These instructions + * will take priority over any other prompt instructions if the selected model + * is supporting them. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundedGenerationContent *systemInstruction; + +/** + * The user labels applied to a resource must meet the following requirements: + * * Each resource can have multiple labels, up to a maximum of 64. * Each + * label must be a key-value pair. * Keys have a minimum length of 1 character + * and a maximum length of 63 characters and cannot be empty. Values can be + * empty and have a maximum length of 63 characters. * Keys and values can + * contain only lowercase letters, numeric characters, underscores, and dashes. + * All characters must use UTF-8 encoding, and international characters are + * allowed. * The key portion of a label must be unique. However, you can use + * the same key with multiple resources. * Keys must start with a lowercase + * letter or international character. See [Google Cloud + * Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) + * for more details. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest_UserLabels *userLabels; + +@end + + +/** + * The user labels applied to a resource must meet the following requirements: + * * Each resource can have multiple labels, up to a maximum of 64. * Each + * label must be a key-value pair. * Keys have a minimum length of 1 character + * and a maximum length of 63 characters and cannot be empty. Values can be + * empty and have a maximum length of 63 characters. * Keys and values can + * contain only lowercase letters, numeric characters, underscores, and dashes. + * All characters must use UTF-8 encoding, and international characters are + * allowed. * The key portion of a label must be unique. However, you can use + * the same key with multiple resources. * Keys must start with a lowercase + * letter or international character. See [Google Cloud + * Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) + * for more details. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest_UserLabels : GTLRObject +@end + + +/** + * Describes the options to customize dynamic retrieval. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfiguration : GTLRObject + +/** Specification for the predictor for dynamic retrieval. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor *predictor; + +@end + + +/** + * Describes the predictor settings for dynamic retrieval. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor : GTLRObject + +/** + * The value of the threshold. If the predictor will predict a value smaller + * than this, it would suppress grounding in the source. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *threshold; + +/** + * The version of the predictor to be used in dynamic retrieval. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor_Version_V1Independent + * The V1 model which is evaluating each source independently. (Value: + * "V1_INDEPENDENT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor_Version_VersionUnspecified + * Automatically choose the best version of the retrieval predictor. + * (Value: "VERSION_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *version; + +@end + + +/** + * Content generation specification. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGenerationSpec : GTLRObject + +/** + * If specified, custom value for frequency penalty will be used. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *frequencyPenalty; + +/** + * Language code for content. Use language tags defined by + * [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). + */ +@property(nonatomic, copy, nullable) NSString *languageCode; + +/** + * If specified, custom value for max output tokens will be used. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxOutputTokens; + +/** Specifies which Vertex model id to use for generation. */ +@property(nonatomic, copy, nullable) NSString *modelId; + +/** + * If specified, custom value for presence penalty will be used. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *presencePenalty; + +/** + * If specified, custom value for the seed will be used. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *seed; + +/** + * If specified, custom value for the temperature will be used. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *temperature; + +/** + * If specified, custom value for top-k sampling will be used. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *topK; + +/** + * If specified, custom value for nucleus sampling will be used. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *topP; + +@end + + +/** + * Grounding source. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSource : GTLRObject + +/** If set, grounding is performed with Google Search. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceGoogleSearchSource *googleSearchSource; + +/** If set, grounding is performed with inline content. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceInlineSource *inlineSource; + +/** If set, grounding is performed with Vertex AI Search. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceSearchSource *searchSource; + +@end + + +/** + * Google Search config parameters. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceGoogleSearchSource : GTLRObject + +/** + * Optional. Specifies the dynamic retrieval configuration for the given + * source. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfiguration *dynamicRetrievalConfig; + +@end + + +/** + * Message to be used for grounding based on inline content. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceInlineSource : GTLRObject + +/** + * Attributes associated with the content. Common attributes include `source` + * (indicating where the content was sourced from) and `author` (indicating the + * author of the content). + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceInlineSource_Attributes *attributes; + +/** List of facts to be used for grounding. */ +@property(nonatomic, strong, nullable) NSArray *groundingFacts; + +@end + + +/** + * Attributes associated with the content. Common attributes include `source` + * (indicating where the content was sourced from) and `author` (indicating the + * author of the content). + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceInlineSource_Attributes : GTLRObject +@end + + +/** + * Message to be used for grounding with Vertex AI Search. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceSearchSource : GTLRObject + +/** + * Filter expression to be applied to the search. The syntax is the same as + * SearchRequest.filter. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Number of search results to return. The default value is 10. The maximumm + * allowed value is 10. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxResultCount; + +/** + * If set, safe search is enabled in Vertex AI Search requests. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *safeSearch; + +/** + * The resource name of the Engine to use. Format: + * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}` + */ +@property(nonatomic, copy, nullable) NSString *servingConfig; + +@end + + +/** + * Grounding specification. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSpec : GTLRObject + +/** Grounding sources. */ +@property(nonatomic, strong, nullable) NSArray *groundingSources; + +@end + + +/** + * Response for the `GenerateGroundedContent` method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponse : GTLRObject + +/** Generated candidates. */ +@property(nonatomic, strong, nullable) NSArray *candidates; + +@end + + +/** + * A response candidate generated from the model. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidate : GTLRObject + +/** Content of the candidate. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundedGenerationContent *content; + +/** Grounding metadata for the generated content. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadata *groundingMetadata; + +/** + * The overall grounding score for the candidate, in the range of [0, 1]. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *groundingScore; + +/** + * Index of the candidate. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *index; + +@end + + +/** + * Citation for the generated content. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadata : GTLRObject + +/** + * GroundingSupport across all claims in the answer candidate. An support to a + * fact indicates that the claim is supported by the fact. + */ +@property(nonatomic, strong, nullable) NSArray *groundingSupport; + +/** + * Retrieval metadata to provide an understanding in the retrieval steps + * performed by the model. There can be multiple such messages which can + * correspond to different parts of the retrieval. This is a mechanism used to + * ensure transparency to our users. + */ +@property(nonatomic, strong, nullable) NSArray *retrievalMetadata; + +/** Google search entry for the following-up web searches. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint *searchEntryPoint; + +/** + * List of chunks to be attributed across all claims in the candidate. These + * are derived from the grounding sources supplied in the request. + */ +@property(nonatomic, strong, nullable) NSArray *supportChunks; + +/** Web search queries for the following-up web search. */ +@property(nonatomic, strong, nullable) NSArray *webSearchQueries; + +@end + + +/** + * Describes the metadata about dynamic retrieval. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata : GTLRObject + +/** Metadata for the dynamic retrieval predictor. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata *predictorMetadata; + +@end + + +/** + * Describes the metadata about the dynamic retrieval predictor. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata : GTLRObject + +/** + * The value of the predictor. This should be between [0, 1] where a value of 0 + * means that the query would not benefit from grounding, while a value of 1.0 + * means that the query would benefit the most. In between values allow to + * differentiate between different usefulness scores for grounding. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *prediction; + +/** + * The version of the predictor which was used in dynamic retrieval. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata_Version_V1Independent + * The V1 model which is evaluating each source independently. (Value: + * "V1_INDEPENDENT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata_Version_VersionUnspecified + * Unspecified version, should never be used. (Value: + * "VERSION_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *version; + +@end + + +/** + * Grounding info for a claim in the candidate and its support. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport : GTLRObject + +/** + * Text for the claim in the candidate. Always provided when a support is + * found. + */ +@property(nonatomic, copy, nullable) NSString *claimText; + +/** + * A list of indices (into 'support_chunks') specifying the citations + * associated with the claim. For instance [1,3,4] means that + * support_chunks[1], support_chunks[3], support_chunks[4] are the chunks + * attributed to the claim. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSArray *supportChunkIndices; + +/** + * A score in the range of [0, 1] describing how grounded is a specific claim + * in the support chunks indicated. Higher value means that the claim is better + * supported by the chunks. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *supportScore; + +@end + + +/** + * Describes the metadata associated with a retrieval step. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata : GTLRObject + +/** Metadata for dynamic retrieval. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata *dynamicRetrievalMetadata; + +/** + * Describes the source to which the metadata is referring to. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata_Source_GoogleMaps + * Google Maps. (Value: "GOOGLE_MAPS") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata_Source_GoogleSearch + * Google Search. (Value: "GOOGLE_SEARCH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata_Source_InlineContent + * User inline provided content. (Value: "INLINE_CONTENT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata_Source_SourceUnspecified + * Unspecified source. (Value: "SOURCE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata_Source_VertexAiSearch + * Vertex AI search. (Value: "VERTEX_AI_SEARCH") + */ +@property(nonatomic, copy, nullable) NSString *source; + +@end + + +/** + * Google search entry point. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint : GTLRObject + +/** + * Web content snippet that can be embedded in a web page or an app webview. + */ +@property(nonatomic, copy, nullable) NSString *renderedContent; + +/** + * Base64 encoded JSON representing array of tuple. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *sdkBlob; + +@end + + +/** + * Base structured datatype containing multi-part content of a message. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundedGenerationContent : GTLRObject + +/** Ordered `Parts` that constitute a single message. */ +@property(nonatomic, strong, nullable) NSArray *parts; + +/** + * Producer of the content. Must be either `user` or `model`. Intended to be + * used for multi-turn conversations. Otherwise, it can be left unset. + */ +@property(nonatomic, copy, nullable) NSString *role; + +@end + + +/** + * Single part of content. */ -@property(nonatomic, strong, nullable) NSArray *inputUris; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GroundedGenerationContentPart : GTLRObject + +/** Inline text. */ +@property(nonatomic, copy, nullable) NSString *text; @end @@ -18674,7 +21069,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1RecrawlUrisRequest : GTLRObject /** - * Optional. Full resource name of the SiteCredential, such as `projects/ * + * Optional. Full resource name of the `SiteCredential`, such as `projects/ * * /locations/ * /collections/ * /dataStores/ * * /siteSearchEngine/siteCredentials/ *`. Only set to crawl private URIs. */ @@ -18701,6 +21096,92 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Safety rating corresponding to the generated content. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating : GTLRObject + +/** + * Output only. Indicates whether the content was filtered out because of this + * rating. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *blocked; + +/** + * Output only. Harm category. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Category_HarmCategoryCivicIntegrity + * The harm category is civic integrity. (Value: + * "HARM_CATEGORY_CIVIC_INTEGRITY") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Category_HarmCategoryDangerousContent + * The harm category is dangerous content. (Value: + * "HARM_CATEGORY_DANGEROUS_CONTENT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Category_HarmCategoryHarassment + * The harm category is harassment. (Value: "HARM_CATEGORY_HARASSMENT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Category_HarmCategoryHateSpeech + * The harm category is hate speech. (Value: "HARM_CATEGORY_HATE_SPEECH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Category_HarmCategorySexuallyExplicit + * The harm category is sexually explicit content. (Value: + * "HARM_CATEGORY_SEXUALLY_EXPLICIT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Category_HarmCategoryUnspecified + * The harm category is unspecified. (Value: "HARM_CATEGORY_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *category; + +/** + * Output only. Harm probability levels in the content. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Probability_HarmProbabilityUnspecified + * Harm probability unspecified. (Value: "HARM_PROBABILITY_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Probability_High + * High level of harm. (Value: "HIGH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Probability_Low + * Low level of harm. (Value: "LOW") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Probability_Medium + * Medium level of harm. (Value: "MEDIUM") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Probability_Negligible + * Negligible level of harm. (Value: "NEGLIGIBLE") + */ +@property(nonatomic, copy, nullable) NSString *probability; + +/** + * Output only. Harm probability score. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *probabilityScore; + +/** + * Output only. Harm severity levels in the content. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Severity_HarmSeverityHigh + * High level of harm severity. (Value: "HARM_SEVERITY_HIGH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Severity_HarmSeverityLow + * Low level of harm severity. (Value: "HARM_SEVERITY_LOW") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Severity_HarmSeverityMedium + * Medium level of harm severity. (Value: "HARM_SEVERITY_MEDIUM") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Severity_HarmSeverityNegligible + * Negligible level of harm severity. (Value: "HARM_SEVERITY_NEGLIGIBLE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Severity_HarmSeverityUnspecified + * Harm severity unspecified. (Value: "HARM_SEVERITY_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *severity; + +/** + * Output only. Harm severity score. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *severityScore; + +@end + + /** * Defines the structure and layout of a type of document data. */ @@ -19555,6 +22036,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec : GTLRObject +/** + * Optional. Boost specification to boost certain documents. For more + * information on boosting, see + * [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpec *boostSpec; + /** * Required. Full resource name of DataStore, such as * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. @@ -20185,14 +22673,261 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Configures metadata that is used to generate serving time results (e.g. + * search results or recommendation predictions). The ServingConfig is passed + * in the search and predict request and generates results. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig : GTLRObject + +/** + * Boost controls to use in serving path. All triggered boost controls will be + * applied. Boost controls must be in the same data store as the serving + * config. Maximum of 20 boost controls. + */ +@property(nonatomic, strong, nullable) NSArray *boostControlIds; + +/** Output only. ServingConfig created timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Required. The human readable serving config display name. Used in Discovery + * UI. This field must be a UTF-8 encoded string with a length limit of 128 + * characters. Otherwise, an INVALID_ARGUMENT error is returned. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Condition do not associate specifications. If multiple do not associate + * conditions match, all matching do not associate controls in the list will + * execute. Order does not matter. Maximum number of specifications is 100. Can + * only be set if SolutionType is SOLUTION_TYPE_SEARCH. + */ +@property(nonatomic, strong, nullable) NSArray *dissociateControlIds; + +/** + * How much diversity to use in recommendation model results e.g. + * `medium-diversity` or `high-diversity`. Currently supported values: * + * `no-diversity` * `low-diversity` * `medium-diversity` * `high-diversity` * + * `auto-diversity` If not specified, we choose default based on recommendation + * model type. Default value: `no-diversity`. Can only be set if SolutionType + * is SOLUTION_TYPE_RECOMMENDATION. + */ +@property(nonatomic, copy, nullable) NSString *diversityLevel; + +/** + * Filter controls to use in serving path. All triggered filter controls will + * be applied. Filter controls must be in the same data store as the serving + * config. Maximum of 20 filter controls. + */ +@property(nonatomic, strong, nullable) NSArray *filterControlIds; + +/** The GenericConfig of the serving configuration. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfigGenericConfig *genericConfig; + +/** + * Condition ignore specifications. If multiple ignore conditions match, all + * matching ignore controls in the list will execute. Order does not matter. + * Maximum number of specifications is 100. + */ +@property(nonatomic, strong, nullable) NSArray *ignoreControlIds; + +/** The MediaConfig of the serving configuration. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfigMediaConfig *mediaConfig; + +/** + * The id of the model to use at serving time. Currently only + * RecommendationModels are supported. Can be changed but only to a compatible + * model (e.g. others-you-may-like CTR to others-you-may-like CVR). Required + * when SolutionType is SOLUTION_TYPE_RECOMMENDATION. + */ +@property(nonatomic, copy, nullable) NSString *modelId; + +/** + * Immutable. Fully qualified name + * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Condition oneway synonyms specifications. If multiple oneway synonyms + * conditions match, all matching oneway synonyms controls in the list will + * execute. Maximum number of specifications is 100. Can only be set if + * SolutionType is SOLUTION_TYPE_SEARCH. + */ +@property(nonatomic, strong, nullable) NSArray *onewaySynonymsControlIds; + +/** + * Condition promote specifications. Maximum number of specifications is 100. + */ +@property(nonatomic, strong, nullable) NSArray *promoteControlIds; + +/** + * The ranking expression controls the customized ranking on retrieval + * documents. To leverage this, document embedding is required. The ranking + * expression setting in ServingConfig applies to all search requests served by + * the serving config. However, if `SearchRequest.ranking_expression` is + * specified, it overrides the ServingConfig ranking expression. The ranking + * expression is a single function or multiple functions that are joined by + * "+". * ranking_expression = function, { " + ", function }; Supported + * functions: * double * relevance_score * double * + * dotProduct(embedding_field_path) Function variables: * `relevance_score`: + * pre-defined keywords, used for measure relevance between query and document. + * * `embedding_field_path`: the document embedding field used with query + * embedding vector. * `dotProduct`: embedding function between + * embedding_field_path and query embedding vector. Example ranking expression: + * If document has an embedding field doc_embedding, the ranking expression + * could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. + */ +@property(nonatomic, copy, nullable) NSString *rankingExpression; + +/** + * IDs of the redirect controls. Only the first triggered redirect action is + * applied, even if multiple apply. Maximum number of specifications is 100. + * Can only be set if SolutionType is SOLUTION_TYPE_SEARCH. + */ +@property(nonatomic, strong, nullable) NSArray *redirectControlIds; + +/** + * Condition replacement specifications. Applied according to the order in the + * list. A previously replaced term can not be re-replaced. Maximum number of + * specifications is 100. Can only be set if SolutionType is + * SOLUTION_TYPE_SEARCH. + */ +@property(nonatomic, strong, nullable) NSArray *replacementControlIds; + +/** + * Required. Immutable. Specifies the solution type that a serving config can + * be associated with. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig_SolutionType_SolutionTypeChat + * Used for use cases related to the Generative AI agent. (Value: + * "SOLUTION_TYPE_CHAT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig_SolutionType_SolutionTypeGenerativeChat + * Used for use cases related to the Generative Chat agent. It's used for + * Generative chat engine only, the associated data stores must enrolled + * with `SOLUTION_TYPE_CHAT` solution. (Value: + * "SOLUTION_TYPE_GENERATIVE_CHAT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig_SolutionType_SolutionTypeRecommendation + * Used for Recommendations AI. (Value: "SOLUTION_TYPE_RECOMMENDATION") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig_SolutionType_SolutionTypeSearch + * Used for Discovery Search. (Value: "SOLUTION_TYPE_SEARCH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig_SolutionType_SolutionTypeUnspecified + * Default value. (Value: "SOLUTION_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *solutionType; + +/** + * Condition synonyms specifications. If multiple synonyms conditions match, + * all matching synonyms controls in the list will execute. Maximum number of + * specifications is 100. Can only be set if SolutionType is + * SOLUTION_TYPE_SEARCH. + */ +@property(nonatomic, strong, nullable) NSArray *synonymsControlIds; + +/** Output only. ServingConfig updated timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Specifies the configurations needed for Generic Discovery.Currently we + * support: * `content_search_spec`: configuration for generic content search. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfigGenericConfig : GTLRObject + +/** + * Specifies the expected behavior of content search. Only valid for + * content-search enabled data store. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec *contentSearchSpec; + +@end + + +/** + * Specifies the configurations needed for Media Discovery. Currently we + * support: * `demote_content_watched`: Threshold for watched content demotion. + * Customers can specify if using watched content demotion or use viewed detail + * page. Using the content watched demotion, customers need to specify the + * watched minutes or percentage exceeds the threshold, the content will be + * demoted in the recommendation result. * `promote_fresh_content`: cutoff days + * for fresh content promotion. Customers can specify if using content + * freshness promotion. If the content was published within the cutoff days, + * the content will be promoted in the recommendation result. Can only be set + * if SolutionType is SOLUTION_TYPE_RECOMMENDATION. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfigMediaConfig : GTLRObject + +/** + * Specifies the content freshness used for recommendation result. Contents + * will be demoted if contents were published for more than content freshness + * cutoff days. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *contentFreshnessCutoffDays; + +/** + * Specifies the content watched percentage threshold for demotion. Threshold + * value must be between [0, 1.0] inclusive. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *contentWatchedPercentageThreshold; + +/** + * Specifies the content watched minutes threshold for demotion. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *contentWatchedSecondsThreshold; + +/** + * Optional. Specifies the number of days to look back for demoting watched + * content. If set to zero or unset, defaults to the maximum of 365 days. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *demoteContentWatchedPastDays; + +/** + * Specifies the event type used for demoting recommendation result. Currently + * supported values: * `view-item`: Item viewed. * `media-play`: Start/resume + * watching a video, playing a song, etc. * `media-complete`: Finished or + * stopped midway through a video, song, etc. If unset, watch history demotion + * will not be applied. Content freshness demotion will still be applied. + */ +@property(nonatomic, copy, nullable) NSString *demotionEventType; + +@end + + /** * External session proto definition. */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session : GTLRObject +/** + * Optional. The display name of the session. This field is used to identify + * the session in the UI. By default, the display name is the first turn query + * text in the session. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + /** Output only. The time the session finished. */ @property(nonatomic, strong, nullable) GTLRDateTime *endTime; +/** + * Optional. Whether the session is pinned, pinned session will be displayed on + * the top of the session list. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isPinned; + /** * Immutable. Fully qualified name * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/ @@ -20248,6 +22983,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Metadata for single-regional CMEKs. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SingleRegionKey : GTLRObject + +/** + * Required. Single-regional kms key resource name which will be used to + * encrypt resources + * `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. + */ +@property(nonatomic, copy, nullable) NSString *kmsKey; + +@end + + /** * SiteSearchEngine captures DataStore level site search persisting * configurations. It is a singleton value per data store. @@ -20364,7 +23114,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1TargetSite : GTLRObject /** - * Input only. If set to false, a uri_pattern is generated to include all pages + * Immutable. If set to false, a uri_pattern is generated to include all pages * whose address contains the provided_uri_pattern. If set to true, an * uri_pattern is generated to try to be an exact match of the * provided_uri_pattern or just the specific page if the provided_uri_pattern @@ -21432,6 +24182,111 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end + +/** + * Represents civil time (or occasionally physical time). This type can + * represent a civil time in one of a few possible ways: * When utc_offset is + * set and time_zone is unset: a civil time on a calendar day with a particular + * offset from UTC. * When time_zone is set and utc_offset is unset: a civil + * time on a calendar day in a particular time zone. * When neither time_zone + * nor utc_offset is set: a civil time on a calendar day in local time. The + * date is relative to the Proleptic Gregorian Calendar. If year, month, or day + * are 0, the DateTime is considered not to have a specific year, month, or day + * respectively. This type may also be used to represent a physical time if all + * the date and time fields are set and either case of the `time_offset` oneof + * is set. Consider using `Timestamp` message for physical time instead. If + * your use case also would like to store the user's timezone, that can be done + * in another field. This type is more flexible than some applications may + * want. Make sure to document and validate your application's limitations. + */ +@interface GTLRDiscoveryEngine_GoogleTypeDateTime : GTLRObject + +/** + * Optional. Day of month. Must be from 1 to 31 and valid for the year and + * month, or 0 if specifying a datetime without a day. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *day; + +/** + * Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults + * to 0 (midnight). An API may choose to allow the value "24:00:00" for + * scenarios like business closing time. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hours; + +/** + * Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minutes; + +/** + * Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime + * without a month. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *month; + +/** + * Optional. Fractions of seconds in nanoseconds. Must be from 0 to + * 999,999,999, defaults to 0. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *nanos; + +/** + * Optional. Seconds of minutes of the time. Must normally be from 0 to 59, + * defaults to 0. An API may allow the value 60 if it allows leap-seconds. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *seconds; + +/** Time zone. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleTypeTimeZone *timeZone; + +/** + * UTC offset. Must be whole seconds, between -18 hours and +18 hours. For + * example, a UTC offset of -4:00 would be represented as { seconds: -14400 }. + */ +@property(nonatomic, strong, nullable) GTLRDuration *utcOffset; + +/** + * Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a + * datetime without a year. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *year; + +@end + + +/** + * Represents a time zone from the [IANA Time Zone + * Database](https://www.iana.org/time-zones). + */ +@interface GTLRDiscoveryEngine_GoogleTypeTimeZone : GTLRObject + +/** + * IANA Time Zone Database time zone. For example "America/New_York". + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** Optional. IANA Time Zone Database version number. For example "2019a". */ +@property(nonatomic, copy, nullable) NSString *version; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h index 045274b65..4f02a88c2 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h @@ -163,8 +163,8 @@ NS_ASSUME_NONNULL_BEGIN * error is returned. This field must be unique among all Documents with the * same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field * must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard - * with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error - * is returned. + * with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` + * error is returned. */ @property(nonatomic, copy, nullable) NSString *documentId; @@ -1969,6 +1969,51 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does + * not exist. + * + * Method: discoveryengine.projects.locations.collections.dataStores.servingConfigs.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresServingConfigsPatch : GTLRDiscoveryEngineQuery + +/** + * Immutable. Fully qualified name + * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Indicates which fields in the provided ServingConfig to update. The + * following are NOT supported: * ServingConfig.name If not set, all supported + * fields are updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig. + * + * Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does + * not exist. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig to include + * in the query. + * @param name Immutable. Fully qualified name + * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresServingConfigsPatch + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig *)object + name:(NSString *)name; + +@end + /** * Makes a recommendation, which requires a contextual user event. * @@ -2120,6 +2165,52 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Answer query method (streaming). It takes one AnswerQueryRequest and returns + * multiple AnswerQueryResponse messages in a stream. + * + * Method: discoveryengine.projects.locations.collections.dataStores.servingConfigs.streamAnswer + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswer : GTLRDiscoveryEngineQuery + +/** + * Required. The resource name of the Search serving config, such as `projects/ + * * /locations/global/collections/default_collection/engines/ * + * /servingConfigs/default_serving_config`, or `projects/ * + * /locations/global/collections/default_collection/dataStores/ * + * /servingConfigs/default_serving_config`. This field is used to identify the + * serving configuration name, set of models used to make the search. + */ +@property(nonatomic, copy, nullable) NSString *servingConfig; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryResponse. + * + * Answer query method (streaming). It takes one AnswerQueryRequest and returns + * multiple AnswerQueryResponse messages in a stream. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest to + * include in the query. + * @param servingConfig Required. The resource name of the Search serving + * config, such as `projects/ * + * /locations/global/collections/default_collection/engines/ * + * /servingConfigs/default_serving_config`, or `projects/ * + * /locations/global/collections/default_collection/dataStores/ * + * /servingConfigs/default_serving_config`. This field is used to identify + * the serving configuration name, set of models used to make the search. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswer + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest *)object + servingConfig:(NSString *)servingConfig; + +@end + /** * Gets a Answer. * @@ -2227,6 +2318,12 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsGet : GTLRDiscoveryEngineQuery +/** + * Optional. If set to true, the full session including all answer details will + * be returned. + */ +@property(nonatomic, assign) BOOL includeAnswerDetails; + /** * Required. The resource name of the Session to get. Format: * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` @@ -2266,7 +2363,9 @@ NS_ASSUME_NONNULL_BEGIN /** * A comma-separated list of fields to order by, sorted in ascending order. Use * "desc" after a field name for descending. Supported fields: * `update_time` - * * `create_time` * `session_name` Example: "update_time desc" "create_time" + * * `create_time` * `session_name` * `is_pinned` Example: * "update_time desc" + * * "create_time" * "is_pinned desc,update_time desc": list sessions by + * is_pinned first, then by update_time. */ @property(nonatomic, copy, nullable) NSString *orderBy; @@ -3065,8 +3164,12 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, assign) long long ets; /** - * Required. The parent DataStore resource name, such as + * Required. The parent resource name. If the collect user event action is + * applied in DataStore level, the format is: * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. + * If the collect user event action is applied in Location level, for example, + * the event with Document across multiple DataStore, the format is: + * `projects/{project}/locations/{location}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -3091,8 +3194,12 @@ NS_ASSUME_NONNULL_BEGIN * used only by the Discovery Engine API JavaScript pixel and Google Tag * Manager. Users should not call this method directly. * - * @param parent Required. The parent DataStore resource name, such as + * @param parent Required. The parent resource name. If the collect user event + * action is applied in DataStore level, the format is: * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. + * If the collect user event action is applied in Location level, for + * example, the event with Document across multiple DataStore, the format is: + * `projects/{project}/locations/{location}`. * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresUserEventsCollect */ @@ -4015,6 +4122,51 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does + * not exist. + * + * Method: discoveryengine.projects.locations.collections.engines.servingConfigs.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesServingConfigsPatch : GTLRDiscoveryEngineQuery + +/** + * Immutable. Fully qualified name + * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Indicates which fields in the provided ServingConfig to update. The + * following are NOT supported: * ServingConfig.name If not set, all supported + * fields are updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig. + * + * Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does + * not exist. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig to include + * in the query. + * @param name Immutable. Fully qualified name + * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesServingConfigsPatch + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig *)object + name:(NSString *)name; + +@end + /** * Makes a recommendation, which requires a contextual user event. * @@ -4166,6 +4318,52 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Answer query method (streaming). It takes one AnswerQueryRequest and returns + * multiple AnswerQueryResponse messages in a stream. + * + * Method: discoveryengine.projects.locations.collections.engines.servingConfigs.streamAnswer + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswer : GTLRDiscoveryEngineQuery + +/** + * Required. The resource name of the Search serving config, such as `projects/ + * * /locations/global/collections/default_collection/engines/ * + * /servingConfigs/default_serving_config`, or `projects/ * + * /locations/global/collections/default_collection/dataStores/ * + * /servingConfigs/default_serving_config`. This field is used to identify the + * serving configuration name, set of models used to make the search. + */ +@property(nonatomic, copy, nullable) NSString *servingConfig; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryResponse. + * + * Answer query method (streaming). It takes one AnswerQueryRequest and returns + * multiple AnswerQueryResponse messages in a stream. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest to + * include in the query. + * @param servingConfig Required. The resource name of the Search serving + * config, such as `projects/ * + * /locations/global/collections/default_collection/engines/ * + * /servingConfigs/default_serving_config`, or `projects/ * + * /locations/global/collections/default_collection/dataStores/ * + * /servingConfigs/default_serving_config`. This field is used to identify + * the serving configuration name, set of models used to make the search. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswer + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest *)object + servingConfig:(NSString *)servingConfig; + +@end + /** * Gets a Answer. * @@ -4273,6 +4471,12 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsGet : GTLRDiscoveryEngineQuery +/** + * Optional. If set to true, the full session including all answer details will + * be returned. + */ +@property(nonatomic, assign) BOOL includeAnswerDetails; + /** * Required. The resource name of the Session to get. Format: * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` @@ -4312,7 +4516,9 @@ NS_ASSUME_NONNULL_BEGIN /** * A comma-separated list of fields to order by, sorted in ascending order. Use * "desc" after a field name for descending. Supported fields: * `update_time` - * * `create_time` * `session_name` Example: "update_time desc" "create_time" + * * `create_time` * `session_name` * `is_pinned` Example: * "update_time desc" + * * "create_time" * "is_pinned desc,update_time desc": list sessions by + * is_pinned first, then by update_time. */ @property(nonatomic, copy, nullable) NSString *orderBy; @@ -4529,8 +4735,8 @@ NS_ASSUME_NONNULL_BEGIN * error is returned. This field must be unique among all Documents with the * same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field * must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard - * with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error - * is returned. + * with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` + * error is returned. */ @property(nonatomic, copy, nullable) NSString *documentId; @@ -6228,6 +6434,51 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does + * not exist. + * + * Method: discoveryengine.projects.locations.dataStores.servingConfigs.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresServingConfigsPatch : GTLRDiscoveryEngineQuery + +/** + * Immutable. Fully qualified name + * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Indicates which fields in the provided ServingConfig to update. The + * following are NOT supported: * ServingConfig.name If not set, all supported + * fields are updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig. + * + * Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does + * not exist. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig to include + * in the query. + * @param name Immutable. Fully qualified name + * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresServingConfigsPatch + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfig *)object + name:(NSString *)name; + +@end + /** * Makes a recommendation, which requires a contextual user event. * @@ -6379,6 +6630,52 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Answer query method (streaming). It takes one AnswerQueryRequest and returns + * multiple AnswerQueryResponse messages in a stream. + * + * Method: discoveryengine.projects.locations.dataStores.servingConfigs.streamAnswer + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresServingConfigsStreamAnswer : GTLRDiscoveryEngineQuery + +/** + * Required. The resource name of the Search serving config, such as `projects/ + * * /locations/global/collections/default_collection/engines/ * + * /servingConfigs/default_serving_config`, or `projects/ * + * /locations/global/collections/default_collection/dataStores/ * + * /servingConfigs/default_serving_config`. This field is used to identify the + * serving configuration name, set of models used to make the search. + */ +@property(nonatomic, copy, nullable) NSString *servingConfig; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryResponse. + * + * Answer query method (streaming). It takes one AnswerQueryRequest and returns + * multiple AnswerQueryResponse messages in a stream. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest to + * include in the query. + * @param servingConfig Required. The resource name of the Search serving + * config, such as `projects/ * + * /locations/global/collections/default_collection/engines/ * + * /servingConfigs/default_serving_config`, or `projects/ * + * /locations/global/collections/default_collection/dataStores/ * + * /servingConfigs/default_serving_config`. This field is used to identify + * the serving configuration name, set of models used to make the search. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresServingConfigsStreamAnswer + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest *)object + servingConfig:(NSString *)servingConfig; + +@end + /** * Gets a Answer. * @@ -6486,6 +6783,12 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsGet : GTLRDiscoveryEngineQuery +/** + * Optional. If set to true, the full session including all answer details will + * be returned. + */ +@property(nonatomic, assign) BOOL includeAnswerDetails; + /** * Required. The resource name of the Session to get. Format: * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` @@ -6525,7 +6828,9 @@ NS_ASSUME_NONNULL_BEGIN /** * A comma-separated list of fields to order by, sorted in ascending order. Use * "desc" after a field name for descending. Supported fields: * `update_time` - * * `create_time` * `session_name` Example: "update_time desc" "create_time" + * * `create_time` * `session_name` * `is_pinned` Example: * "update_time desc" + * * "create_time" * "is_pinned desc,update_time desc": list sessions by + * is_pinned first, then by update_time. */ @property(nonatomic, copy, nullable) NSString *orderBy; @@ -7051,8 +7356,12 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, assign) long long ets; /** - * Required. The parent DataStore resource name, such as + * Required. The parent resource name. If the collect user event action is + * applied in DataStore level, the format is: * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. + * If the collect user event action is applied in Location level, for example, + * the event with Document across multiple DataStore, the format is: + * `projects/{project}/locations/{location}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -7077,8 +7386,12 @@ NS_ASSUME_NONNULL_BEGIN * used only by the Discovery Engine API JavaScript pixel and Google Tag * Manager. Users should not call this method directly. * - * @param parent Required. The parent DataStore resource name, such as + * @param parent Required. The parent resource name. If the collect user event + * action is applied in DataStore level, the format is: * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. + * If the collect user event action is applied in Location level, for + * example, the event with Document across multiple DataStore, the format is: + * `projects/{project}/locations/{location}`. * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresUserEventsCollect */ @@ -7218,6 +7531,41 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Generates grounded content. + * + * Method: discoveryengine.projects.locations.generateGroundedContent + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsGenerateGroundedContent : GTLRDiscoveryEngineQuery + +/** + * Required. Location resource. Format: + * `projects/{project}/locations/{location}`. + */ +@property(nonatomic, copy, nullable) NSString *location; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentResponse. + * + * Generates grounded content. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest + * to include in the query. + * @param location Required. Location resource. Format: + * `projects/{project}/locations/{location}`. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsGenerateGroundedContent + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest *)object + location:(NSString *)location; + +@end + /** * Performs a grounding check. * @@ -7452,8 +7800,12 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, assign) long long ets; /** - * Required. The parent DataStore resource name, such as + * Required. The parent resource name. If the collect user event action is + * applied in DataStore level, the format is: * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. + * If the collect user event action is applied in Location level, for example, + * the event with Document across multiple DataStore, the format is: + * `projects/{project}/locations/{location}`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -7478,8 +7830,12 @@ NS_ASSUME_NONNULL_BEGIN * used only by the Discovery Engine API JavaScript pixel and Google Tag * Manager. Users should not call this method directly. * - * @param parent Required. The parent DataStore resource name, such as + * @param parent Required. The parent resource name. If the collect user event + * action is applied in DataStore level, the format is: * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. + * If the collect user event action is applied in Location level, for + * example, the event with Document across multiple DataStore, the format is: + * `projects/{project}/locations/{location}`. * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsUserEventsCollect */ diff --git a/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m b/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m index 1310f3123..c9059a7a9 100644 --- a/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m +++ b/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m @@ -288,6 +288,7 @@ NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ExchangeValue_ExchangeCadreon = @"EXCHANGE_CADREON"; NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ExchangeValue_ExchangeChartboostGbid = @"EXCHANGE_CHARTBOOST_GBID"; NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ExchangeValue_ExchangeConnatix = @"EXCHANGE_CONNATIX"; +NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ExchangeValue_ExchangeCore = @"EXCHANGE_CORE"; NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ExchangeValue_ExchangeDailymotion = @"EXCHANGE_DAILYMOTION"; NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ExchangeValue_ExchangeDax = @"EXCHANGE_DAX"; NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ExchangeValue_ExchangeDrax = @"EXCHANGE_DRAX"; @@ -407,13 +408,16 @@ NSString * const kGTLRDisplayVideo_AppAssignedTargetingOptionDetails_AppPlatform_AppPlatformXbox = @"APP_PLATFORM_XBOX"; // GTLRDisplayVideo_AssetAssociation.role +NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleAccentColor = @"ASSET_ROLE_ACCENT_COLOR"; NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleAdvertiserName = @"ASSET_ROLE_ADVERTISER_NAME"; NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleAndroidAppId = @"ASSET_ROLE_ANDROID_APP_ID"; +NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleBackgroundColor = @"ASSET_ROLE_BACKGROUND_COLOR"; NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleBackup = @"ASSET_ROLE_BACKUP"; NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleBody = @"ASSET_ROLE_BODY"; NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleCallToAction = @"ASSET_ROLE_CALL_TO_ACTION"; NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleCaptionUrl = @"ASSET_ROLE_CAPTION_URL"; NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleCoverImage = @"ASSET_ROLE_COVER_IMAGE"; +NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleEnableAssetEnhancements = @"ASSET_ROLE_ENABLE_ASSET_ENHANCEMENTS"; NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleHeadline = @"ASSET_ROLE_HEADLINE"; NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleIcon = @"ASSET_ROLE_ICON"; NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleIosAppId = @"ASSET_ROLE_IOS_APP_ID"; @@ -423,6 +427,8 @@ NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRolePoliteLoad = @"ASSET_ROLE_POLITE_LOAD"; NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRolePrice = @"ASSET_ROLE_PRICE"; NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleRating = @"ASSET_ROLE_RATING"; +NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleRequireImage = @"ASSET_ROLE_REQUIRE_IMAGE"; +NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleRequireLogo = @"ASSET_ROLE_REQUIRE_LOGO"; NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleUnspecified = @"ASSET_ROLE_UNSPECIFIED"; // GTLRDisplayVideo_AssignedTargetingOption.inheritance @@ -743,6 +749,7 @@ NSString * const kGTLRDisplayVideo_Creative_CreativeAttributes_CreativeAttributeVpaidNonLinear = @"CREATIVE_ATTRIBUTE_VPAID_NON_LINEAR"; // GTLRDisplayVideo_Creative.creativeType +NSString * const kGTLRDisplayVideo_Creative_CreativeType_CreativeTypeAssetBasedCreative = @"CREATIVE_TYPE_ASSET_BASED_CREATIVE"; NSString * const kGTLRDisplayVideo_Creative_CreativeType_CreativeTypeAudio = @"CREATIVE_TYPE_AUDIO"; NSString * const kGTLRDisplayVideo_Creative_CreativeType_CreativeTypeExpandable = @"CREATIVE_TYPE_EXPANDABLE"; NSString * const kGTLRDisplayVideo_Creative_CreativeType_CreativeTypeLightbox = @"CREATIVE_TYPE_LIGHTBOX"; @@ -790,6 +797,7 @@ NSString * const kGTLRDisplayVideo_Creative_HostingSource_HostingSourceUnspecified = @"HOSTING_SOURCE_UNSPECIFIED"; // GTLRDisplayVideo_CreativeConfig.creativeType +NSString * const kGTLRDisplayVideo_CreativeConfig_CreativeType_CreativeTypeAssetBasedCreative = @"CREATIVE_TYPE_ASSET_BASED_CREATIVE"; NSString * const kGTLRDisplayVideo_CreativeConfig_CreativeType_CreativeTypeAudio = @"CREATIVE_TYPE_AUDIO"; NSString * const kGTLRDisplayVideo_CreativeConfig_CreativeType_CreativeTypeExpandable = @"CREATIVE_TYPE_EXPANDABLE"; NSString * const kGTLRDisplayVideo_CreativeConfig_CreativeType_CreativeTypeLightbox = @"CREATIVE_TYPE_LIGHTBOX"; @@ -1113,6 +1121,7 @@ NSString * const kGTLRDisplayVideo_ExchangeAssignedTargetingOptionDetails_Exchange_ExchangeCadreon = @"EXCHANGE_CADREON"; NSString * const kGTLRDisplayVideo_ExchangeAssignedTargetingOptionDetails_Exchange_ExchangeChartboostGbid = @"EXCHANGE_CHARTBOOST_GBID"; NSString * const kGTLRDisplayVideo_ExchangeAssignedTargetingOptionDetails_Exchange_ExchangeConnatix = @"EXCHANGE_CONNATIX"; +NSString * const kGTLRDisplayVideo_ExchangeAssignedTargetingOptionDetails_Exchange_ExchangeCore = @"EXCHANGE_CORE"; NSString * const kGTLRDisplayVideo_ExchangeAssignedTargetingOptionDetails_Exchange_ExchangeDailymotion = @"EXCHANGE_DAILYMOTION"; NSString * const kGTLRDisplayVideo_ExchangeAssignedTargetingOptionDetails_Exchange_ExchangeDax = @"EXCHANGE_DAX"; NSString * const kGTLRDisplayVideo_ExchangeAssignedTargetingOptionDetails_Exchange_ExchangeDrax = @"EXCHANGE_DRAX"; @@ -1199,6 +1208,7 @@ NSString * const kGTLRDisplayVideo_ExchangeConfigEnabledExchange_Exchange_ExchangeCadreon = @"EXCHANGE_CADREON"; NSString * const kGTLRDisplayVideo_ExchangeConfigEnabledExchange_Exchange_ExchangeChartboostGbid = @"EXCHANGE_CHARTBOOST_GBID"; NSString * const kGTLRDisplayVideo_ExchangeConfigEnabledExchange_Exchange_ExchangeConnatix = @"EXCHANGE_CONNATIX"; +NSString * const kGTLRDisplayVideo_ExchangeConfigEnabledExchange_Exchange_ExchangeCore = @"EXCHANGE_CORE"; NSString * const kGTLRDisplayVideo_ExchangeConfigEnabledExchange_Exchange_ExchangeDailymotion = @"EXCHANGE_DAILYMOTION"; NSString * const kGTLRDisplayVideo_ExchangeConfigEnabledExchange_Exchange_ExchangeDax = @"EXCHANGE_DAX"; NSString * const kGTLRDisplayVideo_ExchangeConfigEnabledExchange_Exchange_ExchangeDrax = @"EXCHANGE_DRAX"; @@ -1285,6 +1295,7 @@ NSString * const kGTLRDisplayVideo_ExchangeReviewStatus_Exchange_ExchangeCadreon = @"EXCHANGE_CADREON"; NSString * const kGTLRDisplayVideo_ExchangeReviewStatus_Exchange_ExchangeChartboostGbid = @"EXCHANGE_CHARTBOOST_GBID"; NSString * const kGTLRDisplayVideo_ExchangeReviewStatus_Exchange_ExchangeConnatix = @"EXCHANGE_CONNATIX"; +NSString * const kGTLRDisplayVideo_ExchangeReviewStatus_Exchange_ExchangeCore = @"EXCHANGE_CORE"; NSString * const kGTLRDisplayVideo_ExchangeReviewStatus_Exchange_ExchangeDailymotion = @"EXCHANGE_DAILYMOTION"; NSString * const kGTLRDisplayVideo_ExchangeReviewStatus_Exchange_ExchangeDax = @"EXCHANGE_DAX"; NSString * const kGTLRDisplayVideo_ExchangeReviewStatus_Exchange_ExchangeDrax = @"EXCHANGE_DRAX"; @@ -1377,6 +1388,7 @@ NSString * const kGTLRDisplayVideo_ExchangeTargetingOptionDetails_Exchange_ExchangeCadreon = @"EXCHANGE_CADREON"; NSString * const kGTLRDisplayVideo_ExchangeTargetingOptionDetails_Exchange_ExchangeChartboostGbid = @"EXCHANGE_CHARTBOOST_GBID"; NSString * const kGTLRDisplayVideo_ExchangeTargetingOptionDetails_Exchange_ExchangeConnatix = @"EXCHANGE_CONNATIX"; +NSString * const kGTLRDisplayVideo_ExchangeTargetingOptionDetails_Exchange_ExchangeCore = @"EXCHANGE_CORE"; NSString * const kGTLRDisplayVideo_ExchangeTargetingOptionDetails_Exchange_ExchangeDailymotion = @"EXCHANGE_DAILYMOTION"; NSString * const kGTLRDisplayVideo_ExchangeTargetingOptionDetails_Exchange_ExchangeDax = @"EXCHANGE_DAX"; NSString * const kGTLRDisplayVideo_ExchangeTargetingOptionDetails_Exchange_ExchangeDrax = @"EXCHANGE_DRAX"; @@ -1652,6 +1664,7 @@ NSString * const kGTLRDisplayVideo_GuaranteedOrder_Exchange_ExchangeCadreon = @"EXCHANGE_CADREON"; NSString * const kGTLRDisplayVideo_GuaranteedOrder_Exchange_ExchangeChartboostGbid = @"EXCHANGE_CHARTBOOST_GBID"; NSString * const kGTLRDisplayVideo_GuaranteedOrder_Exchange_ExchangeConnatix = @"EXCHANGE_CONNATIX"; +NSString * const kGTLRDisplayVideo_GuaranteedOrder_Exchange_ExchangeCore = @"EXCHANGE_CORE"; NSString * const kGTLRDisplayVideo_GuaranteedOrder_Exchange_ExchangeDailymotion = @"EXCHANGE_DAILYMOTION"; NSString * const kGTLRDisplayVideo_GuaranteedOrder_Exchange_ExchangeDax = @"EXCHANGE_DAX"; NSString * const kGTLRDisplayVideo_GuaranteedOrder_Exchange_ExchangeDrax = @"EXCHANGE_DRAX"; @@ -1890,6 +1903,7 @@ NSString * const kGTLRDisplayVideo_InventorySource_Exchange_ExchangeCadreon = @"EXCHANGE_CADREON"; NSString * const kGTLRDisplayVideo_InventorySource_Exchange_ExchangeChartboostGbid = @"EXCHANGE_CHARTBOOST_GBID"; NSString * const kGTLRDisplayVideo_InventorySource_Exchange_ExchangeConnatix = @"EXCHANGE_CONNATIX"; +NSString * const kGTLRDisplayVideo_InventorySource_Exchange_ExchangeCore = @"EXCHANGE_CORE"; NSString * const kGTLRDisplayVideo_InventorySource_Exchange_ExchangeDailymotion = @"EXCHANGE_DAILYMOTION"; NSString * const kGTLRDisplayVideo_InventorySource_Exchange_ExchangeDax = @"EXCHANGE_DAX"; NSString * const kGTLRDisplayVideo_InventorySource_Exchange_ExchangeDrax = @"EXCHANGE_DRAX"; diff --git a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h index 8520ef88e..b2171dbad 100644 --- a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h +++ b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h @@ -1744,6 +1744,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonVal * Value: "EXCHANGE_CONNATIX" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ExchangeValue_ExchangeConnatix; +/** + * Core. + * + * Value: "EXCHANGE_CORE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ExchangeValue_ExchangeCore; /** * Dailymotion. * @@ -2314,25 +2320,25 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesSignalCompari */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesSignalComparison_ComparisonOperator_Equal; /** - * First value is greater than the comparison value. + * Signal value is greater than the comparison value. * * Value: "GREATER_THAN" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesSignalComparison_ComparisonOperator_GreaterThan; /** - * First value is greater than or equal to the second. + * Signal value is greater than or equal to the second. * * Value: "GREATER_THAN_OR_EQUAL_TO" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesSignalComparison_ComparisonOperator_GreaterThanOrEqualTo; /** - * First value is less than the second. + * Signal value is less than the second. * * Value: "LESS_THAN" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AlgorithmRulesSignalComparison_ComparisonOperator_LessThan; /** - * First value is less or equals to the comparison value. + * Signal value is less or equals to the comparison value. * * Value: "LESS_THAN_OR_EQUAL_TO" */ @@ -2425,6 +2431,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AppAssignedTargetingOptionD // ---------------------------------------------------------------------------- // GTLRDisplayVideo_AssetAssociation.role +/** + * The accent color to use in a creative. This role is only supported and + * required in following creative_type: * `CREATIVE_TYPE_ASSET_BASED_CREATIVE` + * + * Value: "ASSET_ROLE_ACCENT_COLOR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleAccentColor; /** * The text that identifies the advertiser or brand name. The content must be * UTF-8 encoded with a length of no more than 25 characters. This role is only @@ -2443,6 +2456,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AssetAssociation_Role_Asset * Value: "ASSET_ROLE_ANDROID_APP_ID" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleAndroidAppId; +/** + * The main color to use in a creative. This role is only supported and + * required in following creative_type: * `CREATIVE_TYPE_ASSET_BASED_CREATIVE` + * + * Value: "ASSET_ROLE_BACKGROUND_COLOR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleBackgroundColor; /** * The asset is a backup asset of the creative. * @@ -2489,6 +2509,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AssetAssociation_Role_Asset * Value: "ASSET_ROLE_COVER_IMAGE" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleCoverImage; +/** + * Whether asset enhancements can be applied to the creative. This role is only + * supported and required in following creative_type: * + * `CREATIVE_TYPE_ASSET_BASED_CREATIVE` + * + * Value: "ASSET_ROLE_ENABLE_ASSET_ENHANCEMENTS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleEnableAssetEnhancements; /** * Headline of a native creative. The content must be UTF-8 encoded with a * length of no more than 25 characters. This role is only supported in @@ -2564,6 +2592,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AssetAssociation_Role_Asset * Value: "ASSET_ROLE_RATING" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleRating; +/** + * Whether the creative must use an image asset. This role is only supported + * and required in following creative_type: * + * `CREATIVE_TYPE_ASSET_BASED_CREATIVE` + * + * Value: "ASSET_ROLE_REQUIRE_IMAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleRequireImage; +/** + * Whether the creative must use a logo asset. This role is only supported and + * required in following creative_type: * `CREATIVE_TYPE_ASSET_BASED_CREATIVE` + * + * Value: "ASSET_ROLE_REQUIRE_LOGO" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleRequireLogo; /** * Asset role is not specified or is unknown in this version. * @@ -4354,6 +4397,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_Creative_CreativeAttributes // ---------------------------------------------------------------------------- // GTLRDisplayVideo_Creative.creativeType +/** + * Asset based creative. Create and update methods are supported for this + * creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`. + * + * Value: "CREATIVE_TYPE_ASSET_BASED_CREATIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_Creative_CreativeType_CreativeTypeAssetBasedCreative; /** * Audio creative. Create and update methods are supported for this creative * type if the hosting_source is `HOSTING_SOURCE_HOSTED` @@ -4631,6 +4681,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_Creative_HostingSource_Host // ---------------------------------------------------------------------------- // GTLRDisplayVideo_CreativeConfig.creativeType +/** + * Asset based creative. Create and update methods are supported for this + * creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`. + * + * Value: "CREATIVE_TYPE_ASSET_BASED_CREATIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CreativeConfig_CreativeType_CreativeTypeAssetBasedCreative; /** * Audio creative. Create and update methods are supported for this creative * type if the hosting_source is `HOSTING_SOURCE_HOSTED` @@ -6417,6 +6474,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_ExchangeAssignedTargetingOp * Value: "EXCHANGE_CONNATIX" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_ExchangeAssignedTargetingOptionDetails_Exchange_ExchangeConnatix; +/** + * Core. + * + * Value: "EXCHANGE_CORE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_ExchangeAssignedTargetingOptionDetails_Exchange_ExchangeCore; /** * Dailymotion. * @@ -6925,6 +6988,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_ExchangeConfigEnabledExchan * Value: "EXCHANGE_CONNATIX" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_ExchangeConfigEnabledExchange_Exchange_ExchangeConnatix; +/** + * Core. + * + * Value: "EXCHANGE_CORE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_ExchangeConfigEnabledExchange_Exchange_ExchangeCore; /** * Dailymotion. * @@ -7433,6 +7502,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_ExchangeReviewStatus_Exchan * Value: "EXCHANGE_CONNATIX" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_ExchangeReviewStatus_Exchange_ExchangeConnatix; +/** + * Core. + * + * Value: "EXCHANGE_CORE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_ExchangeReviewStatus_Exchange_ExchangeCore; /** * Dailymotion. * @@ -7969,6 +8044,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_ExchangeTargetingOptionDeta * Value: "EXCHANGE_CONNATIX" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_ExchangeTargetingOptionDetails_Exchange_ExchangeConnatix; +/** + * Core. + * + * Value: "EXCHANGE_CORE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_ExchangeTargetingOptionDetails_Exchange_ExchangeCore; /** * Dailymotion. * @@ -9533,6 +9614,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_GuaranteedOrder_Exchange_Ex * Value: "EXCHANGE_CONNATIX" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_GuaranteedOrder_Exchange_ExchangeConnatix; +/** + * Core. + * + * Value: "EXCHANGE_CORE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_GuaranteedOrder_Exchange_ExchangeCore; /** * Dailymotion. * @@ -10781,6 +10868,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_InventorySource_Exchange_Ex * Value: "EXCHANGE_CONNATIX" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_InventorySource_Exchange_ExchangeConnatix; +/** + * Core. + * + * Value: "EXCHANGE_CORE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_InventorySource_Exchange_ExchangeCore; /** * Dailymotion. * @@ -16270,6 +16363,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * Chartboost Mediation. (Value: "EXCHANGE_CHARTBOOST_GBID") * @arg @c kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ExchangeValue_ExchangeConnatix * Connatix. (Value: "EXCHANGE_CONNATIX") + * @arg @c kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ExchangeValue_ExchangeCore + * Core. (Value: "EXCHANGE_CORE") * @arg @c kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ExchangeValue_ExchangeDailymotion * Dailymotion. (Value: "EXCHANGE_DAILYMOTION") * @arg @c kGTLRDisplayVideo_AlgorithmRulesComparisonValue_ExchangeValue_ExchangeDax @@ -16587,15 +16682,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * @arg @c kGTLRDisplayVideo_AlgorithmRulesSignalComparison_ComparisonOperator_Equal * Values are equal. (Value: "EQUAL") * @arg @c kGTLRDisplayVideo_AlgorithmRulesSignalComparison_ComparisonOperator_GreaterThan - * First value is greater than the comparison value. (Value: + * Signal value is greater than the comparison value. (Value: * "GREATER_THAN") * @arg @c kGTLRDisplayVideo_AlgorithmRulesSignalComparison_ComparisonOperator_GreaterThanOrEqualTo - * First value is greater than or equal to the second. (Value: + * Signal value is greater than or equal to the second. (Value: * "GREATER_THAN_OR_EQUAL_TO") * @arg @c kGTLRDisplayVideo_AlgorithmRulesSignalComparison_ComparisonOperator_LessThan - * First value is less than the second. (Value: "LESS_THAN") + * Signal value is less than the second. (Value: "LESS_THAN") * @arg @c kGTLRDisplayVideo_AlgorithmRulesSignalComparison_ComparisonOperator_LessThanOrEqualTo - * First value is less or equals to the comparison value. (Value: + * Signal value is less or equals to the comparison value. (Value: * "LESS_THAN_OR_EQUAL_TO") */ @property(nonatomic, copy, nullable) NSString *comparisonOperator; @@ -16767,6 +16862,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * The role of this asset for the creative. * * Likely values: + * @arg @c kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleAccentColor The + * accent color to use in a creative. This role is only supported and + * required in following creative_type: * + * `CREATIVE_TYPE_ASSET_BASED_CREATIVE` (Value: + * "ASSET_ROLE_ACCENT_COLOR") * @arg @c kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleAdvertiserName * The text that identifies the advertiser or brand name. The content * must be UTF-8 encoded with a length of no more than 25 characters. @@ -16779,6 +16879,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * https://play.google.com/store/apps/details?id=com.company.appname the * identifier is com.company.appname. Assets of this role are read-only. * (Value: "ASSET_ROLE_ANDROID_APP_ID") + * @arg @c kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleBackgroundColor + * The main color to use in a creative. This role is only supported and + * required in following creative_type: * + * `CREATIVE_TYPE_ASSET_BASED_CREATIVE` (Value: + * "ASSET_ROLE_BACKGROUND_COLOR") * @arg @c kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleBackup The asset * is a backup asset of the creative. (Value: "ASSET_ROLE_BACKUP") * @arg @c kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleBody Body text of @@ -16808,6 +16913,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * cover image of a native video creative. This role is only supported * and required in following creative_type: * `CREATIVE_TYPE_VIDEO` * (Value: "ASSET_ROLE_COVER_IMAGE") + * @arg @c kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleEnableAssetEnhancements + * Whether asset enhancements can be applied to the creative. This role + * is only supported and required in following creative_type: * + * `CREATIVE_TYPE_ASSET_BASED_CREATIVE` (Value: + * "ASSET_ROLE_ENABLE_ASSET_ENHANCEMENTS") * @arg @c kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleHeadline Headline * of a native creative. The content must be UTF-8 encoded with a length * of no more than 25 characters. This role is only supported in @@ -16854,6 +16964,16 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * value is not automatically synced with the actual rating in the store. * It will always be the one provided when save the creative. Assets of * this role are read-only. (Value: "ASSET_ROLE_RATING") + * @arg @c kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleRequireImage + * Whether the creative must use an image asset. This role is only + * supported and required in following creative_type: * + * `CREATIVE_TYPE_ASSET_BASED_CREATIVE` (Value: + * "ASSET_ROLE_REQUIRE_IMAGE") + * @arg @c kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleRequireLogo + * Whether the creative must use a logo asset. This role is only + * supported and required in following creative_type: * + * `CREATIVE_TYPE_ASSET_BASED_CREATIVE` (Value: + * "ASSET_ROLE_REQUIRE_LOGO") * @arg @c kGTLRDisplayVideo_AssetAssociation_Role_AssetRoleUnspecified Asset * role is not specified or is unknown in this version. (Value: * "ASSET_ROLE_UNSPECIFIED") @@ -20267,6 +20387,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * Required. Immutable. The type of the creative. * * Likely values: + * @arg @c kGTLRDisplayVideo_Creative_CreativeType_CreativeTypeAssetBasedCreative + * Asset based creative. Create and update methods are supported for this + * creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`. + * (Value: "CREATIVE_TYPE_ASSET_BASED_CREATIVE") * @arg @c kGTLRDisplayVideo_Creative_CreativeType_CreativeTypeAudio Audio * creative. Create and update methods are supported for this creative * type if the hosting_source is `HOSTING_SOURCE_HOSTED` (Value: @@ -20726,6 +20850,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * `CREATIVE_TYPE_VIDEO` * * Likely values: + * @arg @c kGTLRDisplayVideo_CreativeConfig_CreativeType_CreativeTypeAssetBasedCreative + * Asset based creative. Create and update methods are supported for this + * creative type if the hosting_source is `HOSTING_SOURCE_HOSTED`. + * (Value: "CREATIVE_TYPE_ASSET_BASED_CREATIVE") * @arg @c kGTLRDisplayVideo_CreativeConfig_CreativeType_CreativeTypeAudio * Audio creative. Create and update methods are supported for this * creative type if the hosting_source is `HOSTING_SOURCE_HOSTED` (Value: @@ -22448,6 +22576,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * Chartboost Mediation. (Value: "EXCHANGE_CHARTBOOST_GBID") * @arg @c kGTLRDisplayVideo_ExchangeAssignedTargetingOptionDetails_Exchange_ExchangeConnatix * Connatix. (Value: "EXCHANGE_CONNATIX") + * @arg @c kGTLRDisplayVideo_ExchangeAssignedTargetingOptionDetails_Exchange_ExchangeCore + * Core. (Value: "EXCHANGE_CORE") * @arg @c kGTLRDisplayVideo_ExchangeAssignedTargetingOptionDetails_Exchange_ExchangeDailymotion * Dailymotion. (Value: "EXCHANGE_DAILYMOTION") * @arg @c kGTLRDisplayVideo_ExchangeAssignedTargetingOptionDetails_Exchange_ExchangeDax @@ -22649,6 +22779,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * Chartboost Mediation. (Value: "EXCHANGE_CHARTBOOST_GBID") * @arg @c kGTLRDisplayVideo_ExchangeConfigEnabledExchange_Exchange_ExchangeConnatix * Connatix. (Value: "EXCHANGE_CONNATIX") + * @arg @c kGTLRDisplayVideo_ExchangeConfigEnabledExchange_Exchange_ExchangeCore + * Core. (Value: "EXCHANGE_CORE") * @arg @c kGTLRDisplayVideo_ExchangeConfigEnabledExchange_Exchange_ExchangeDailymotion * Dailymotion. (Value: "EXCHANGE_DAILYMOTION") * @arg @c kGTLRDisplayVideo_ExchangeConfigEnabledExchange_Exchange_ExchangeDax @@ -22851,6 +22983,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * Chartboost Mediation. (Value: "EXCHANGE_CHARTBOOST_GBID") * @arg @c kGTLRDisplayVideo_ExchangeReviewStatus_Exchange_ExchangeConnatix * Connatix. (Value: "EXCHANGE_CONNATIX") + * @arg @c kGTLRDisplayVideo_ExchangeReviewStatus_Exchange_ExchangeCore Core. + * (Value: "EXCHANGE_CORE") * @arg @c kGTLRDisplayVideo_ExchangeReviewStatus_Exchange_ExchangeDailymotion * Dailymotion. (Value: "EXCHANGE_DAILYMOTION") * @arg @c kGTLRDisplayVideo_ExchangeReviewStatus_Exchange_ExchangeDax DAX. @@ -23056,6 +23190,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * Chartboost Mediation. (Value: "EXCHANGE_CHARTBOOST_GBID") * @arg @c kGTLRDisplayVideo_ExchangeTargetingOptionDetails_Exchange_ExchangeConnatix * Connatix. (Value: "EXCHANGE_CONNATIX") + * @arg @c kGTLRDisplayVideo_ExchangeTargetingOptionDetails_Exchange_ExchangeCore + * Core. (Value: "EXCHANGE_CORE") * @arg @c kGTLRDisplayVideo_ExchangeTargetingOptionDetails_Exchange_ExchangeDailymotion * Dailymotion. (Value: "EXCHANGE_DAILYMOTION") * @arg @c kGTLRDisplayVideo_ExchangeTargetingOptionDetails_Exchange_ExchangeDax @@ -24381,6 +24517,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * Chartboost Mediation. (Value: "EXCHANGE_CHARTBOOST_GBID") * @arg @c kGTLRDisplayVideo_GuaranteedOrder_Exchange_ExchangeConnatix * Connatix. (Value: "EXCHANGE_CONNATIX") + * @arg @c kGTLRDisplayVideo_GuaranteedOrder_Exchange_ExchangeCore Core. + * (Value: "EXCHANGE_CORE") * @arg @c kGTLRDisplayVideo_GuaranteedOrder_Exchange_ExchangeDailymotion * Dailymotion. (Value: "EXCHANGE_DAILYMOTION") * @arg @c kGTLRDisplayVideo_GuaranteedOrder_Exchange_ExchangeDax DAX. @@ -25476,6 +25614,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * Chartboost Mediation. (Value: "EXCHANGE_CHARTBOOST_GBID") * @arg @c kGTLRDisplayVideo_InventorySource_Exchange_ExchangeConnatix * Connatix. (Value: "EXCHANGE_CONNATIX") + * @arg @c kGTLRDisplayVideo_InventorySource_Exchange_ExchangeCore Core. + * (Value: "EXCHANGE_CORE") * @arg @c kGTLRDisplayVideo_InventorySource_Exchange_ExchangeDailymotion * Dailymotion. (Value: "EXCHANGE_DAILYMOTION") * @arg @c kGTLRDisplayVideo_InventorySource_Exchange_ExchangeDax DAX. diff --git a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoQuery.h b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoQuery.h index 76101a017..b045d1409 100644 --- a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoQuery.h +++ b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoQuery.h @@ -11289,9 +11289,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo @property(nonatomic, copy, nullable) NSString *orderBy; /** - * Requested page size. Must be between `1` and `200`. If unspecified will - * default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value - * is specified. + * Requested page size. Must be between `1` and `5000`. If unspecified, this + * value defaults to `100`. Returns error code `INVALID_ARGUMENT` if an invalid + * value is specified. */ @property(nonatomic, assign) NSInteger pageSize; diff --git a/Sources/GeneratedServices/Dns/GTLRDnsObjects.m b/Sources/GeneratedServices/Dns/GTLRDnsObjects.m index 5bc0ddd9c..1b251da65 100644 --- a/Sources/GeneratedServices/Dns/GTLRDnsObjects.m +++ b/Sources/GeneratedServices/Dns/GTLRDnsObjects.m @@ -681,7 +681,7 @@ @implementation GTLRDns_PoliciesUpdateResponse // @implementation GTLRDns_Policy -@dynamic alternativeNameServerConfig, descriptionProperty, +@dynamic alternativeNameServerConfig, descriptionProperty, dns64Config, enableInboundForwarding, enableLogging, identifier, kind, name, networks; @@ -731,6 +731,26 @@ @implementation GTLRDns_PolicyAlternativeNameServerConfigTargetNameServer @end +// ---------------------------------------------------------------------------- +// +// GTLRDns_PolicyDns64Config +// + +@implementation GTLRDns_PolicyDns64Config +@dynamic kind, scope; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDns_PolicyDns64ConfigScope +// + +@implementation GTLRDns_PolicyDns64ConfigScope +@dynamic allQueries, kind; +@end + + // ---------------------------------------------------------------------------- // // GTLRDns_PolicyNetwork diff --git a/Sources/GeneratedServices/Dns/GTLRDnsService.m b/Sources/GeneratedServices/Dns/GTLRDnsService.m index 3b0f1196c..ca5e179c0 100644 --- a/Sources/GeneratedServices/Dns/GTLRDnsService.m +++ b/Sources/GeneratedServices/Dns/GTLRDnsService.m @@ -60,6 +60,8 @@ - (instancetype)init { @"dns#policy" : [GTLRDns_Policy class], @"dns#policyAlternativeNameServerConfig" : [GTLRDns_PolicyAlternativeNameServerConfig class], @"dns#policyAlternativeNameServerConfigTargetNameServer" : [GTLRDns_PolicyAlternativeNameServerConfigTargetNameServer class], + @"dns#policyDns64Config" : [GTLRDns_PolicyDns64Config class], + @"dns#policyDns64ConfigScope" : [GTLRDns_PolicyDns64ConfigScope class], @"dns#policyNetwork" : [GTLRDns_PolicyNetwork class], @"dns#project" : [GTLRDns_Project class], @"dns#quota" : [GTLRDns_Quota class], diff --git a/Sources/GeneratedServices/Dns/Public/GoogleAPIClientForREST/GTLRDnsObjects.h b/Sources/GeneratedServices/Dns/Public/GoogleAPIClientForREST/GTLRDnsObjects.h index d5be42023..008c1a130 100644 --- a/Sources/GeneratedServices/Dns/Public/GoogleAPIClientForREST/GTLRDnsObjects.h +++ b/Sources/GeneratedServices/Dns/Public/GoogleAPIClientForREST/GTLRDnsObjects.h @@ -42,6 +42,8 @@ @class GTLRDns_Policy; @class GTLRDns_PolicyAlternativeNameServerConfig; @class GTLRDns_PolicyAlternativeNameServerConfigTargetNameServer; +@class GTLRDns_PolicyDns64Config; +@class GTLRDns_PolicyDns64ConfigScope; @class GTLRDns_PolicyNetwork; @class GTLRDns_Quota; @class GTLRDns_ResourceRecordSet; @@ -1615,6 +1617,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDns_RRSetRoutingPolicyLoadBalancerTarget */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; +/** Configurations related to DNS64 for this Policy. */ +@property(nonatomic, strong, nullable) GTLRDns_PolicyDns64Config *dns64Config; + /** * Allows networks bound to this policy to receive DNS queries sent by VMs or * applications over VPN connections. When enabled, a virtual IP address is @@ -1709,6 +1714,36 @@ FOUNDATION_EXTERN NSString * const kGTLRDns_RRSetRoutingPolicyLoadBalancerTarget @end +/** + * DNS64 policies + */ +@interface GTLRDns_PolicyDns64Config : GTLRObject + +@property(nonatomic, copy, nullable) NSString *kind; + +/** The scope to which DNS64 config will be applied to. */ +@property(nonatomic, strong, nullable) GTLRDns_PolicyDns64ConfigScope *scope; + +@end + + +/** + * GTLRDns_PolicyDns64ConfigScope + */ +@interface GTLRDns_PolicyDns64ConfigScope : GTLRObject + +/** + * Controls whether DNS64 is enabled globally at the network level. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allQueries; + +@property(nonatomic, copy, nullable) NSString *kind; + +@end + + /** * GTLRDns_PolicyNetwork */ diff --git a/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h b/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h index ad8cf9bc4..c32985e73 100644 --- a/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h +++ b/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h @@ -7063,16 +7063,16 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro /** - * Represents a postal address, e.g. for postal delivery or payments addresses. - * Given a postal address, a postal service can deliver items to a premise, - * P.O. Box or similar. It is not intended to model geographical locations - * (roads, towns, mountains). In typical usage an address would be created via - * user input or from importing existing data, depending on the type of - * process. Advice on address input / editing: - Use an + * Represents a postal address. For example for postal delivery or payments + * addresses. Given a postal address, a postal service can deliver items to a + * premise, P.O. Box or similar. It is not intended to model geographical + * locations (roads, towns, mountains). In typical usage an address would be + * created by user input or from importing existing data, depending on the type + * of process. Advice on address input / editing: - Use an * internationalization-ready address widget such as * https://github.com/google/libaddressinput) - Users should not be presented * with UI elements for input or editing of fields outside countries where that - * field is used. For more guidance on how to use this schema, please see: + * field is used. For more guidance on how to use this schema, see: * https://support.google.com/business/answer/6397478 */ @interface GTLRDocument_GoogleTypePostalAddress : GTLRObject @@ -7080,13 +7080,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro /** * Unstructured address lines describing the lower levels of an address. * Because values in address_lines do not have type information and may - * sometimes contain multiple values in a single field (e.g. "Austin, TX"), it - * is important that the line order is clear. The order of address lines should - * be "envelope order" for the country/region of the address. In places where - * this can vary (e.g. Japan), address_language is used to make it explicit - * (e.g. "ja" for large-to-small ordering and "ja-Latn" or "en" for - * small-to-large). This way, the most specific line of an address can be - * selected based on the language. The minimum permitted structural + * sometimes contain multiple values in a single field (For example "Austin, + * TX"), it is important that the line order is clear. The order of address + * lines should be "envelope order" for the country/region of the address. In + * places where this can vary (For example Japan), address_language is used to + * make it explicit (For example "ja" for large-to-small ordering and "ja-Latn" + * or "en" for small-to-large). This way, the most specific line of an address + * can be selected based on the language. The minimum permitted structural * representation of an address consists of a region_code with all remaining * information placed in the address_lines. It would be possible to format such * an address very approximately without geocoding, but no semantic reasoning @@ -7102,9 +7102,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro * Optional. Highest administrative subdivision which is used for postal * addresses of a country or region. For example, this can be a state, a * province, an oblast, or a prefecture. Specifically, for Spain this is the - * province and not the autonomous community (e.g. "Barcelona" and not + * province and not the autonomous community (For example "Barcelona" and not * "Catalonia"). Many countries don't use an administrative area in postal - * addresses. E.g. in Switzerland this should be left unpopulated. + * addresses. For example in Switzerland this should be left unpopulated. */ @property(nonatomic, copy, nullable) NSString *administrativeArea; @@ -7134,7 +7134,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro /** * Optional. Postal code of the address. Not all countries use or require * postal codes to be present, but where they are used, they may trigger - * additional validation with other parts of the address (e.g. state/zip + * additional validation with other parts of the address (For example state/zip * validation in the U.S.A.). */ @property(nonatomic, copy, nullable) NSString *postalCode; @@ -7167,9 +7167,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro /** * Optional. Additional, country-specific, sorting code. This is not used in * most regions. Where it is used, the value is either a string like "CEDEX", - * optionally followed by a number (e.g. "CEDEX 7"), or just a number alone, - * representing the "sector code" (Jamaica), "delivery area indicator" (Malawi) - * or "post office indicator" (e.g. Côte d'Ivoire). + * optionally followed by a number (For example "CEDEX 7"), or just a number + * alone, representing the "sector code" (Jamaica), "delivery area indicator" + * (Malawi) or "post office indicator" (For example Côte d'Ivoire). */ @property(nonatomic, copy, nullable) NSString *sortingCode; @@ -7189,13 +7189,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro @interface GTLRDocument_GoogleTypeTimeZone : GTLRObject /** - * IANA Time Zone Database time zone, e.g. "America/New_York". + * IANA Time Zone Database time zone. For example "America/New_York". * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @property(nonatomic, copy, nullable) NSString *identifier; -/** Optional. IANA Time Zone Database version number, e.g. "2019a". */ +/** Optional. IANA Time Zone Database version number. For example "2019a". */ @property(nonatomic, copy, nullable) NSString *version; @end diff --git a/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentQuery.h b/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentQuery.h index e6d2274f4..00d64de20 100644 --- a/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentQuery.h +++ b/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentQuery.h @@ -183,7 +183,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: documentai.projects.locations.operations.cancel @@ -206,7 +206,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * 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. diff --git a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h index 6b068270b..dacd72b4e 100644 --- a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h +++ b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h @@ -2808,9 +2808,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio /** * A permission for a file. A permission grants a user, group, domain, or the - * world access to a file or a folder hierarchy. Some resource methods (such as - * `permissions.update`) require a `permissionId`. Use the `permissions.list` - * method to retrieve the ID for a file, folder, or shared drive. + * world access to a file or a folder hierarchy. By default, permissions + * requests only return a subset of fields. Permission kind, ID, type, and role + * are always returned. To retrieve specific fields, see + * https://developers.google.com/drive/api/guides/fields-parameter. Some + * resource methods (such as `permissions.update`) require a `permissionId`. + * Use the `permissions.list` method to retrieve the ID for a file, folder, or + * shared drive. */ @interface GTLRDrive_Permission : GTLRObject diff --git a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h index 3e29028b3..cafaf76f6 100644 --- a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h +++ b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h @@ -58,6 +58,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Gets information about the user, the user's Drive, and system capabilities. + * For more information, see [Return user + * info](https://developers.google.com/drive/api/guides/user-info). Required: + * The `fields` parameter must be set. To return the exact fields you need, see + * [Return specific + * fields](https://developers.google.com/drive/api/guides/fields-parameter). * * Method: drive.about.get * @@ -76,6 +81,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * Fetches a @c GTLRDrive_About. * * Gets information about the user, the user's Drive, and system capabilities. + * For more information, see [Return user + * info](https://developers.google.com/drive/api/guides/user-info). Required: + * The `fields` parameter must be set. To return the exact fields you need, see + * [Return specific + * fields](https://developers.google.com/drive/api/guides/fields-parameter). * * @return GTLRDriveQuery_AboutGet */ @@ -197,7 +207,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Gets a specific app. + * Gets a specific app. For more information, see [Return user + * info](https://developers.google.com/drive/api/guides/user-info). * * Method: drive.apps.get * @@ -218,7 +229,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches a @c GTLRDrive_App. * - * Gets a specific app. + * Gets a specific app. For more information, see [Return user + * info](https://developers.google.com/drive/api/guides/user-info). * * @param appId The ID of the app. * @@ -229,7 +241,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Lists a user's installed apps. + * Lists a user's installed apps. For more information, see [Return user + * info](https://developers.google.com/drive/api/guides/user-info). * * Method: drive.apps.list * @@ -263,7 +276,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches a @c GTLRDrive_AppList. * - * Lists a user's installed apps. + * Lists a user's installed apps. For more information, see [Return user + * info](https://developers.google.com/drive/api/guides/user-info). * * @return GTLRDriveQuery_AppsList */ @@ -272,7 +286,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Gets the starting pageToken for listing future changes. + * Gets the starting pageToken for listing future changes. For more + * information, see [Retrieve + * changes](https://developers.google.com/drive/api/guides/manage-changes). * * Method: drive.changes.getStartPageToken * @@ -315,7 +331,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches a @c GTLRDrive_StartPageToken. * - * Gets the starting pageToken for listing future changes. + * Gets the starting pageToken for listing future changes. For more + * information, see [Retrieve + * changes](https://developers.google.com/drive/api/guides/manage-changes). * * @return GTLRDriveQuery_ChangesGetStartPageToken */ @@ -324,7 +342,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Lists the changes for a user or shared drive. + * Lists the changes for a user or shared drive. For more information, see + * [Retrieve + * changes](https://developers.google.com/drive/api/guides/manage-changes). * * Method: drive.changes.list * @@ -444,7 +464,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches a @c GTLRDrive_ChangeList. * - * Lists the changes for a user or shared drive. + * Lists the changes for a user or shared drive. For more information, see + * [Retrieve + * changes](https://developers.google.com/drive/api/guides/manage-changes). * * @param pageToken The token for continuing a previous list request on the * next page. This should be set to the value of 'nextPageToken' from the @@ -461,7 +483,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Subscribes to changes for a user. + * Subscribes to changes for a user. For more information, see [Notifications + * for resource changes](https://developers.google.com/drive/api/guides/push). * * Method: drive.changes.watch * @@ -581,7 +604,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches a @c GTLRDrive_Channel. * - * Subscribes to changes for a user. + * Subscribes to changes for a user. For more information, see [Notifications + * for resource changes](https://developers.google.com/drive/api/guides/push). * * @param object The @c GTLRDrive_Channel to include in the query. * @param pageToken The token for continuing a previous list request on the @@ -596,7 +620,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Stops watching resources through this channel. + * Stops watching resources through this channel. For more information, see + * [Notifications for resource + * changes](https://developers.google.com/drive/api/guides/push). * * Method: drive.channels.stop * @@ -616,7 +642,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. * - * Stops watching resources through this channel. + * Stops watching resources through this channel. For more information, see + * [Notifications for resource + * changes](https://developers.google.com/drive/api/guides/push). * * @param object The @c GTLRDrive_Channel to include in the query. * @@ -627,7 +655,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Creates a comment on a file. + * Creates a comment on a file. For more information, see [Manage comments and + * replies](https://developers.google.com/drive/api/guides/manage-comments). + * Required: The `fields` parameter must be set. To return the exact fields you + * need, see [Return specific + * fields](https://developers.google.com/drive/api/guides/fields-parameter). * * Method: drive.comments.create * @@ -643,7 +675,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches a @c GTLRDrive_Comment. * - * Creates a comment on a file. + * Creates a comment on a file. For more information, see [Manage comments and + * replies](https://developers.google.com/drive/api/guides/manage-comments). + * Required: The `fields` parameter must be set. To return the exact fields you + * need, see [Return specific + * fields](https://developers.google.com/drive/api/guides/fields-parameter). * * @param object The @c GTLRDrive_Comment to include in the query. * @param fileId The ID of the file. @@ -656,7 +692,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Deletes a comment. + * Deletes a comment. For more information, see [Manage comments and + * replies](https://developers.google.com/drive/api/guides/manage-comments). + * Required: The `fields` parameter must be set. To return the exact fields you + * need, see [Return specific + * fields](https://developers.google.com/drive/api/guides/fields-parameter). * * Method: drive.comments.delete * @@ -676,7 +716,11 @@ 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. * - * Deletes a comment. + * Deletes a comment. For more information, see [Manage comments and + * replies](https://developers.google.com/drive/api/guides/manage-comments). + * Required: The `fields` parameter must be set. To return the exact fields you + * need, see [Return specific + * fields](https://developers.google.com/drive/api/guides/fields-parameter). * * @param fileId The ID of the file. * @param commentId The ID of the comment. @@ -689,7 +733,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Gets a comment by ID. + * Gets a comment by ID. For more information, see [Manage comments and + * replies](https://developers.google.com/drive/api/guides/manage-comments). + * Required: The `fields` parameter must be set. To return the exact fields you + * need, see [Return specific + * fields](https://developers.google.com/drive/api/guides/fields-parameter). * * Method: drive.comments.get * @@ -718,7 +766,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches a @c GTLRDrive_Comment. * - * Gets a comment by ID. + * Gets a comment by ID. For more information, see [Manage comments and + * replies](https://developers.google.com/drive/api/guides/manage-comments). + * Required: The `fields` parameter must be set. To return the exact fields you + * need, see [Return specific + * fields](https://developers.google.com/drive/api/guides/fields-parameter). * * @param fileId The ID of the file. * @param commentId The ID of the comment. @@ -731,7 +783,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Lists a file's comments. + * Lists a file's comments. For more information, see [Manage comments and + * replies](https://developers.google.com/drive/api/guides/manage-comments). + * Required: The `fields` parameter must be set. To return the exact fields you + * need, see [Return specific + * fields](https://developers.google.com/drive/api/guides/fields-parameter). * * Method: drive.comments.list * @@ -777,7 +833,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches a @c GTLRDrive_CommentList. * - * Lists a file's comments. + * Lists a file's comments. For more information, see [Manage comments and + * replies](https://developers.google.com/drive/api/guides/manage-comments). + * Required: The `fields` parameter must be set. To return the exact fields you + * need, see [Return specific + * fields](https://developers.google.com/drive/api/guides/fields-parameter). * * @param fileId The ID of the file. * @@ -792,7 +852,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end /** - * Updates a comment with patch semantics. + * Updates a comment with patch semantics. For more information, see [Manage + * comments and + * replies](https://developers.google.com/drive/api/guides/manage-comments). + * Required: The `fields` parameter must be set. To return the exact fields you + * need, see [Return specific + * fields](https://developers.google.com/drive/api/guides/fields-parameter). * * Method: drive.comments.update * @@ -811,7 +876,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Fetches a @c GTLRDrive_Comment. * - * Updates a comment with patch semantics. + * Updates a comment with patch semantics. For more information, see [Manage + * comments and + * replies](https://developers.google.com/drive/api/guides/manage-comments). + * Required: The `fields` parameter must be set. To return the exact fields you + * need, see [Return specific + * fields](https://developers.google.com/drive/api/guides/fields-parameter). * * @param object The @c GTLRDrive_Comment to include in the query. * @param fileId The ID of the file. diff --git a/Sources/GeneratedServices/Eventarc/GTLREventarcObjects.m b/Sources/GeneratedServices/Eventarc/GTLREventarcObjects.m index c0b87f321..64064debd 100644 --- a/Sources/GeneratedServices/Eventarc/GTLREventarcObjects.m +++ b/Sources/GeneratedServices/Eventarc/GTLREventarcObjects.m @@ -116,18 +116,46 @@ @implementation GTLREventarc_Binding // @implementation GTLREventarc_Channel -@dynamic activationToken, createTime, cryptoKeyName, name, provider, +@dynamic activationToken, createTime, cryptoKeyName, labels, name, provider, pubsubTopic, satisfiesPzs, state, uid, updateTime; @end +// ---------------------------------------------------------------------------- +// +// GTLREventarc_Channel_Labels +// + +@implementation GTLREventarc_Channel_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLREventarc_ChannelConnection // @implementation GTLREventarc_ChannelConnection -@dynamic activationToken, channel, createTime, name, uid, updateTime; +@dynamic activationToken, channel, createTime, labels, name, uid, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLREventarc_ChannelConnection_Labels +// + +@implementation GTLREventarc_ChannelConnection_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + @end diff --git a/Sources/GeneratedServices/Eventarc/GTLREventarcQuery.m b/Sources/GeneratedServices/Eventarc/GTLREventarcQuery.m index e38c59b42..cc168662c 100644 --- a/Sources/GeneratedServices/Eventarc/GTLREventarcQuery.m +++ b/Sources/GeneratedServices/Eventarc/GTLREventarcQuery.m @@ -787,6 +787,83 @@ + (instancetype)queryWithObject:(GTLREventarc_TestIamPermissionsRequest *)object @end +@implementation GTLREventarcQuery_ProjectsLocationsKafkaSourcesGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLREventarcQuery_ProjectsLocationsKafkaSourcesGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLREventarc_Policy class]; + query.loggingName = @"eventarc.projects.locations.kafkaSources.getIamPolicy"; + return query; +} + +@end + +@implementation GTLREventarcQuery_ProjectsLocationsKafkaSourcesSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLREventarc_SetIamPolicyRequest *)object + resource:(NSString *)resource { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:setIamPolicy"; + GTLREventarcQuery_ProjectsLocationsKafkaSourcesSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLREventarc_Policy class]; + query.loggingName = @"eventarc.projects.locations.kafkaSources.setIamPolicy"; + return query; +} + +@end + +@implementation GTLREventarcQuery_ProjectsLocationsKafkaSourcesTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLREventarc_TestIamPermissionsRequest *)object + resource:(NSString *)resource { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:testIamPermissions"; + GTLREventarcQuery_ProjectsLocationsKafkaSourcesTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLREventarc_TestIamPermissionsResponse class]; + query.loggingName = @"eventarc.projects.locations.kafkaSources.testIamPermissions"; + return query; +} + +@end + @implementation GTLREventarcQuery_ProjectsLocationsList @dynamic filter, name, pageSize, pageToken; diff --git a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h index 4b2ede65d..8d2d02cfd 100644 --- a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h +++ b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h @@ -18,7 +18,9 @@ @class GTLREventarc_AuditLogConfig; @class GTLREventarc_Binding; @class GTLREventarc_Channel; +@class GTLREventarc_Channel_Labels; @class GTLREventarc_ChannelConnection; +@class GTLREventarc_ChannelConnection_Labels; @class GTLREventarc_CloudRun; @class GTLREventarc_Destination; @class GTLREventarc_Enrollment; @@ -553,6 +555,9 @@ FOUNDATION_EXTERN NSString * const kGTLREventarc_StateCondition_Code_Unknown; */ @property(nonatomic, copy, nullable) NSString *cryptoKeyName; +/** Optional. Resource labels. */ +@property(nonatomic, strong, nullable) GTLREventarc_Channel_Labels *labels; + /** * Required. The resource name of the channel. Must be unique within the * location on the project and must be in @@ -621,6 +626,18 @@ FOUNDATION_EXTERN NSString * const kGTLREventarc_StateCondition_Code_Unknown; @end +/** + * Optional. Resource labels. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLREventarc_Channel_Labels : GTLRObject +@end + + /** * A representation of the ChannelConnection resource. A ChannelConnection is a * resource which event providers create during the activation process to @@ -645,6 +662,9 @@ FOUNDATION_EXTERN NSString * const kGTLREventarc_StateCondition_Code_Unknown; /** Output only. The creation time. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** Optional. Resource labels. */ +@property(nonatomic, strong, nullable) GTLREventarc_ChannelConnection_Labels *labels; + /** Required. The name of the connection. */ @property(nonatomic, copy, nullable) NSString *name; @@ -660,6 +680,18 @@ FOUNDATION_EXTERN NSString * const kGTLREventarc_StateCondition_Code_Unknown; @end +/** + * Optional. Resource labels. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLREventarc_ChannelConnection_Labels : GTLRObject +@end + + /** * Represents a Cloud Run destination. */ @@ -1283,8 +1315,9 @@ FOUNDATION_EXTERN NSString * const kGTLREventarc_StateCondition_Code_Unknown; * Optional. The CEL expression used to modify how the destination-bound HTTP * request is constructed. If a binding expression is not specified here, the * message is treated as a CloudEvent and is mapped to the HTTP request - * according to the CloudEvent HTTP Protocol Binding Binary Content Mode. In - * this representation, all fields except the `data` and `datacontenttype` + * according to the CloudEvent HTTP Protocol Binding Binary Content Mode + * (https://github.com/cloudevents/spec/blob/main/cloudevents/bindings/http-protocol-binding.md#31-binary-content-mode). + * In this representation, all fields except the `data` and `datacontenttype` * field on the message are mapped to HTTP request headers with a prefix of * `ce-`. To construct the HTTP request payload and the value of the * content-type HTTP header, the payload format is defined as follows: 1) Use @@ -1337,48 +1370,49 @@ FOUNDATION_EXTERN NSString * const kGTLREventarc_StateCondition_Code_Unknown; * CloudEvent HTTP Binding Binary Content Mode representation of the final * message and by overwriting the body of the request: ``` { "headers": * headers.merge({"new-header-key": "new-header-value"}), "body": "new-body" } - * ``` Additionally, the following CEL extension functions are provided for use - * in this CEL expression: - toBase64Url: map.toBase64Url() -> string - - * Converts a CelValue to a base64url encoded string - toJsonString: - * map.toJsonString() -> string - Converts a CelValue to a JSON string - merge: - * map1.merge(map2) -> map3 - Merges the passed CEL map with the existing CEL - * map the function is applied to. - If the same key exists in both maps, if - * the key's value is type map both maps are merged else the value from the - * passed map is used. - denormalize: map.denormalize() -> map - Denormalizes a - * CEL map such that every value of type map or key in the map is expanded to - * return a single level map. - The resulting keys are "." separated indices of - * the map keys. - For example: { "a": 1, "b": { "c": 2, "d": 3 } "e": [4, 5] } - * .denormalize() -> { "a": 1, "b.c": 2, "b.d": 3, "e.0": 4, "e.1": 5 } - - * setField: map.setField(key, value) -> message - Sets the field of the - * message with the given key to the given value. - If the field is not present - * it will be added. - If the field is present it will be overwritten. - The - * key can be a dot separated path to set a field in a nested message. - Key - * must be of type string. - Value may be any valid type. - removeFields: + * ``` - The default binding for the message payload can be accessed using the + * `body` variable. It conatins a string representation of the message payload + * in the format specified by the `output_payload_format` field. If the + * `input_payload_format` field is not set, the `body` variable contains the + * same message payload bytes that were published. Additionally, the following + * CEL extension functions are provided for use in this CEL expression: - + * toBase64Url: map.toBase64Url() -> string - Converts a CelValue to a + * base64url encoded string - toJsonString: map.toJsonString() -> string - + * Converts a CelValue to a JSON string - merge: map1.merge(map2) -> map3 - + * Merges the passed CEL map with the existing CEL map the function is applied + * to. - If the same key exists in both maps, if the key's value is type map + * both maps are merged else the value from the passed map is used. - + * denormalize: map.denormalize() -> map - Denormalizes a CEL map such that + * every value of type map or key in the map is expanded to return a single + * level map. - The resulting keys are "." separated indices of the map keys. - + * For example: { "a": 1, "b": { "c": 2, "d": 3 } "e": [4, 5] } .denormalize() + * -> { "a": 1, "b.c": 2, "b.d": 3, "e.0": 4, "e.1": 5 } - setField: + * map.setField(key, value) -> message - Sets the field of the message with the + * given key to the given value. - If the field is not present it will be + * added. - If the field is present it will be overwritten. - The key can be a + * dot separated path to set a field in a nested message. - Key must be of type + * string. - Value may be any valid type. - removeFields: * map.removeFields([key1, key2, ...]) -> message - Removes the fields of the * map with the given keys. - The keys can be a dot separated path to remove a * field in a nested message. - If a key is not found it will be ignored. - * Keys must be of type string. - toMap: [map1, map2, ...].toMap() -> map - * Converts a CEL list of CEL maps to a single CEL map - - * toDestinationPayloadFormat(): message.data.toDestinationPayloadFormat() -> - * string or bytes - Converts the message data to the destination payload - * format specified in Pipeline.Destination.output_payload_format - This - * function is meant to be applied to the message.data field. - If the - * destination payload format is not set, the function will return the message - * data unchanged. - toCloudEventJsonWithPayloadFormat: + * toCloudEventJsonWithPayloadFormat: * message.toCloudEventJsonWithPayloadFormat() -> map - Converts a message to - * the corresponding structure of JSON format for CloudEvents - This function - * applies toDestinationPayloadFormat() to the message data. It also sets the - * corresponding datacontenttype of the CloudEvent, as indicated by - * Pipeline.Destination.output_payload_format. If no output_payload_format is - * set it will use the existing datacontenttype on the CloudEvent if present, - * else leave datacontenttype absent. - This function expects that the content - * of the message will adhere to the standard CloudEvent format. If it doesn't - * then this function will fail. - The result is a CEL map that corresponds to - * the JSON representation of the CloudEvent. To convert that data to a JSON - * string it can be chained with the toJsonString function. The Pipeline - * expects that the message it receives adheres to the standard CloudEvent - * format. If it doesn't then the outgoing message request may fail with a - * persistent error. + * the corresponding structure of JSON format for CloudEvents. - It converts + * `data` to destination payload format specified in `output_payload_format`. + * If `output_payload_format` is not set, the data will remain unchanged. - It + * also sets the corresponding datacontenttype of the CloudEvent, as indicated + * by `output_payload_format`. If no `output_payload_format` is set it will use + * the value of the "datacontenttype" attribute on the CloudEvent if present, + * else remove "datacontenttype" attribute. - This function expects that the + * content of the message will adhere to the standard CloudEvent format. If it + * doesn't then this function will fail. - The result is a CEL map that + * corresponds to the JSON representation of the CloudEvent. To convert that + * data to a JSON string it can be chained with the toJsonString function. The + * Pipeline expects that the message it receives adheres to the standard + * CloudEvent format. If it doesn't then the outgoing message request may fail + * with a persistent error. */ @property(nonatomic, copy, nullable) NSString *messageBindingTemplate; @@ -2069,7 +2103,7 @@ FOUNDATION_EXTERN NSString * const kGTLREventarc_StateCondition_Code_Unknown; /** - * The configuration for Platform Telemetry logging for Eventarc Avdvanced + * The configuration for Platform Telemetry logging for Eventarc Advanced * resources. */ @interface GTLREventarc_LoggingConfig : GTLRObject diff --git a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcQuery.h b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcQuery.h index 9178ebb4d..1b1164984 100644 --- a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcQuery.h +++ b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcQuery.h @@ -640,7 +640,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The user-provided ID to be assigned to the Enrollment. It should - * match the format (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$). + * match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. */ @property(nonatomic, copy, nullable) NSString *enrollmentId; @@ -1047,7 +1047,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The user-provided ID to be assigned to the GoogleApiSource. It - * should match the format (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$). + * should match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. */ @property(nonatomic, copy, nullable) NSString *googleApiSourceId; @@ -1391,6 +1391,139 @@ 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: eventarc.projects.locations.kafkaSources.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeEventarcCloudPlatform + */ +@interface GTLREventarcQuery_ProjectsLocationsKafkaSourcesGetIamPolicy : GTLREventarcQuery + +/** + * 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 GTLREventarc_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 GTLREventarcQuery_ProjectsLocationsKafkaSourcesGetIamPolicy + */ ++ (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: eventarc.projects.locations.kafkaSources.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeEventarcCloudPlatform + */ +@interface GTLREventarcQuery_ProjectsLocationsKafkaSourcesSetIamPolicy : GTLREventarcQuery + +/** + * 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 GTLREventarc_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 GTLREventarc_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 GTLREventarcQuery_ProjectsLocationsKafkaSourcesSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLREventarc_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: eventarc.projects.locations.kafkaSources.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeEventarcCloudPlatform + */ +@interface GTLREventarcQuery_ProjectsLocationsKafkaSourcesTestIamPermissions : GTLREventarcQuery + +/** + * 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 GTLREventarc_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 GTLREventarc_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 GTLREventarcQuery_ProjectsLocationsKafkaSourcesTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLREventarc_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + /** * Lists information about the supported locations for this service. * @@ -1452,7 +1585,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The user-provided ID to be assigned to the MessageBus. It should - * match the format (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) + * match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. */ @property(nonatomic, copy, nullable) NSString *messageBusId; @@ -1638,7 +1771,7 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *pageToken; -/** Required. The parent collection to list triggers on. */ +/** Required. The parent collection to list message buses on. */ @property(nonatomic, copy, nullable) NSString *parent; /** @@ -1646,7 +1779,7 @@ NS_ASSUME_NONNULL_BEGIN * * List message buses. * - * @param parent Required. The parent collection to list triggers on. + * @param parent Required. The parent collection to list message buses on. * * @return GTLREventarcQuery_ProjectsLocationsMessageBusesList * @@ -1843,7 +1976,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: eventarc.projects.locations.operations.cancel @@ -1866,7 +1999,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLREventarc_GoogleLongrunningCancelOperationRequest to @@ -1996,7 +2129,10 @@ NS_ASSUME_NONNULL_BEGIN /** Required. The parent collection in which to add this pipeline. */ @property(nonatomic, copy, nullable) NSString *parent; -/** Required. The user-provided ID to be assigned to the Pipeline. */ +/** + * Required. The user-provided ID to be assigned to the Pipeline. It should + * match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. + */ @property(nonatomic, copy, nullable) NSString *pipelineId; /** diff --git a/Sources/GeneratedServices/FirebaseDataConnect/Public/GoogleAPIClientForREST/GTLRFirebaseDataConnectQuery.h b/Sources/GeneratedServices/FirebaseDataConnect/Public/GoogleAPIClientForREST/GTLRFirebaseDataConnectQuery.h index 5a0efb801..2f2bb6b67 100644 --- a/Sources/GeneratedServices/FirebaseDataConnect/Public/GoogleAPIClientForREST/GTLRFirebaseDataConnectQuery.h +++ b/Sources/GeneratedServices/FirebaseDataConnect/Public/GoogleAPIClientForREST/GTLRFirebaseDataConnectQuery.h @@ -120,7 +120,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: firebasedataconnect.projects.locations.operations.cancel @@ -143,7 +143,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRFirebaseDataConnect_CancelOperationRequest to diff --git a/Sources/GeneratedServices/FirebaseHosting/Public/GoogleAPIClientForREST/GTLRFirebaseHostingQuery.h b/Sources/GeneratedServices/FirebaseHosting/Public/GoogleAPIClientForREST/GTLRFirebaseHostingQuery.h index e5fde86dd..d4ab6e927 100644 --- a/Sources/GeneratedServices/FirebaseHosting/Public/GoogleAPIClientForREST/GTLRFirebaseHostingQuery.h +++ b/Sources/GeneratedServices/FirebaseHosting/Public/GoogleAPIClientForREST/GTLRFirebaseHostingQuery.h @@ -44,7 +44,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: firebasehosting.operations.cancel @@ -64,7 +64,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRFirebaseHosting_CancelOperationRequest to include diff --git a/Sources/GeneratedServices/FirebaseManagement/Public/GoogleAPIClientForREST/GTLRFirebaseManagementObjects.h b/Sources/GeneratedServices/FirebaseManagement/Public/GoogleAPIClientForREST/GTLRFirebaseManagementObjects.h index 225322f9a..77b021631 100644 --- a/Sources/GeneratedServices/FirebaseManagement/Public/GoogleAPIClientForREST/GTLRFirebaseManagementObjects.h +++ b/Sources/GeneratedServices/FirebaseManagement/Public/GoogleAPIClientForREST/GTLRFirebaseManagementObjects.h @@ -1671,10 +1671,17 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *code; -/** Detail message */ +/** + * Detail message copybara:strip_begin(b/383363683) + * copybara:strip_end_and_replace optional string message = 3; + */ @property(nonatomic, copy, nullable) NSString *message; -/** message_set associates an arbitrary proto message with the status. */ +/** + * message_set associates an arbitrary proto message with the status. + * copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional + * proto2.bridge.MessageSet message_set = 5; + */ @property(nonatomic, strong, nullable) GTLRFirebaseManagement_MessageSet *messageSet; /** diff --git a/Sources/GeneratedServices/FirebaseRealtimeDatabase/GTLRFirebaseRealtimeDatabaseObjects.m b/Sources/GeneratedServices/FirebaseRealtimeDatabase/GTLRFirebaseRealtimeDatabaseObjects.m index 70a0624eb..309c8635b 100644 --- a/Sources/GeneratedServices/FirebaseRealtimeDatabase/GTLRFirebaseRealtimeDatabaseObjects.m +++ b/Sources/GeneratedServices/FirebaseRealtimeDatabase/GTLRFirebaseRealtimeDatabaseObjects.m @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Firebase Realtime Database API (firebasedatabase/v1beta) +// Firebase Realtime Database Management API (firebasedatabase/v1beta) // Description: // The Firebase Realtime Database API enables programmatic provisioning and // management of Realtime Database instances. diff --git a/Sources/GeneratedServices/FirebaseRealtimeDatabase/GTLRFirebaseRealtimeDatabaseQuery.m b/Sources/GeneratedServices/FirebaseRealtimeDatabase/GTLRFirebaseRealtimeDatabaseQuery.m index 16f61f61d..7645442ea 100644 --- a/Sources/GeneratedServices/FirebaseRealtimeDatabase/GTLRFirebaseRealtimeDatabaseQuery.m +++ b/Sources/GeneratedServices/FirebaseRealtimeDatabase/GTLRFirebaseRealtimeDatabaseQuery.m @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Firebase Realtime Database API (firebasedatabase/v1beta) +// Firebase Realtime Database Management API (firebasedatabase/v1beta) // Description: // The Firebase Realtime Database API enables programmatic provisioning and // management of Realtime Database instances. diff --git a/Sources/GeneratedServices/FirebaseRealtimeDatabase/GTLRFirebaseRealtimeDatabaseService.m b/Sources/GeneratedServices/FirebaseRealtimeDatabase/GTLRFirebaseRealtimeDatabaseService.m index f2b35b1ca..ee3995dda 100644 --- a/Sources/GeneratedServices/FirebaseRealtimeDatabase/GTLRFirebaseRealtimeDatabaseService.m +++ b/Sources/GeneratedServices/FirebaseRealtimeDatabase/GTLRFirebaseRealtimeDatabaseService.m @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Firebase Realtime Database API (firebasedatabase/v1beta) +// Firebase Realtime Database Management API (firebasedatabase/v1beta) // Description: // The Firebase Realtime Database API enables programmatic provisioning and // management of Realtime Database instances. diff --git a/Sources/GeneratedServices/FirebaseRealtimeDatabase/Public/GoogleAPIClientForREST/GTLRFirebaseRealtimeDatabase.h b/Sources/GeneratedServices/FirebaseRealtimeDatabase/Public/GoogleAPIClientForREST/GTLRFirebaseRealtimeDatabase.h index 1471016cc..ab8363504 100644 --- a/Sources/GeneratedServices/FirebaseRealtimeDatabase/Public/GoogleAPIClientForREST/GTLRFirebaseRealtimeDatabase.h +++ b/Sources/GeneratedServices/FirebaseRealtimeDatabase/Public/GoogleAPIClientForREST/GTLRFirebaseRealtimeDatabase.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Firebase Realtime Database API (firebasedatabase/v1beta) +// Firebase Realtime Database Management API (firebasedatabase/v1beta) // Description: // The Firebase Realtime Database API enables programmatic provisioning and // management of Realtime Database instances. diff --git a/Sources/GeneratedServices/FirebaseRealtimeDatabase/Public/GoogleAPIClientForREST/GTLRFirebaseRealtimeDatabaseObjects.h b/Sources/GeneratedServices/FirebaseRealtimeDatabase/Public/GoogleAPIClientForREST/GTLRFirebaseRealtimeDatabaseObjects.h index be6241416..7ce41fb53 100644 --- a/Sources/GeneratedServices/FirebaseRealtimeDatabase/Public/GoogleAPIClientForREST/GTLRFirebaseRealtimeDatabaseObjects.h +++ b/Sources/GeneratedServices/FirebaseRealtimeDatabase/Public/GoogleAPIClientForREST/GTLRFirebaseRealtimeDatabaseObjects.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Firebase Realtime Database API (firebasedatabase/v1beta) +// Firebase Realtime Database Management API (firebasedatabase/v1beta) // Description: // The Firebase Realtime Database API enables programmatic provisioning and // management of Realtime Database instances. diff --git a/Sources/GeneratedServices/FirebaseRealtimeDatabase/Public/GoogleAPIClientForREST/GTLRFirebaseRealtimeDatabaseQuery.h b/Sources/GeneratedServices/FirebaseRealtimeDatabase/Public/GoogleAPIClientForREST/GTLRFirebaseRealtimeDatabaseQuery.h index 6dc08651f..e24cc629e 100644 --- a/Sources/GeneratedServices/FirebaseRealtimeDatabase/Public/GoogleAPIClientForREST/GTLRFirebaseRealtimeDatabaseQuery.h +++ b/Sources/GeneratedServices/FirebaseRealtimeDatabase/Public/GoogleAPIClientForREST/GTLRFirebaseRealtimeDatabaseQuery.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Firebase Realtime Database API (firebasedatabase/v1beta) +// Firebase Realtime Database Management API (firebasedatabase/v1beta) // Description: // The Firebase Realtime Database API enables programmatic provisioning and // management of Realtime Database instances. diff --git a/Sources/GeneratedServices/FirebaseRealtimeDatabase/Public/GoogleAPIClientForREST/GTLRFirebaseRealtimeDatabaseService.h b/Sources/GeneratedServices/FirebaseRealtimeDatabase/Public/GoogleAPIClientForREST/GTLRFirebaseRealtimeDatabaseService.h index f6f67a6af..a6cdd57cc 100644 --- a/Sources/GeneratedServices/FirebaseRealtimeDatabase/Public/GoogleAPIClientForREST/GTLRFirebaseRealtimeDatabaseService.h +++ b/Sources/GeneratedServices/FirebaseRealtimeDatabase/Public/GoogleAPIClientForREST/GTLRFirebaseRealtimeDatabaseService.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Firebase Realtime Database API (firebasedatabase/v1beta) +// Firebase Realtime Database Management API (firebasedatabase/v1beta) // Description: // The Firebase Realtime Database API enables programmatic provisioning and // management of Realtime Database instances. @@ -57,7 +57,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeFirebaseRealtimeDatabaseFirebas // /** - * Service for executing Firebase Realtime Database API queries. + * Service for executing Firebase Realtime Database Management API queries. * * The Firebase Realtime Database API enables programmatic provisioning and * management of Realtime Database instances. diff --git a/Sources/GeneratedServices/FirebaseRules/Public/GoogleAPIClientForREST/GTLRFirebaseRulesObjects.h b/Sources/GeneratedServices/FirebaseRules/Public/GoogleAPIClientForREST/GTLRFirebaseRulesObjects.h index 90c4733ca..2abb219c4 100644 --- a/Sources/GeneratedServices/FirebaseRules/Public/GoogleAPIClientForREST/GTLRFirebaseRulesObjects.h +++ b/Sources/GeneratedServices/FirebaseRules/Public/GoogleAPIClientForREST/GTLRFirebaseRulesObjects.h @@ -772,15 +772,15 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseRules_TestResult_State_Success; @interface GTLRFirebaseRules_TestRulesetRequest : GTLRObject /** - * Optional `Source` to be checked for correctness. This field must not be set - * when the resource name refers to a `Ruleset`. + * Optional. Optional `Source` to be checked for correctness. This field must + * not be set when the resource name refers to a `Ruleset`. */ @property(nonatomic, strong, nullable) GTLRFirebaseRules_Source *source; /** - * The tests to execute against the `Source`. When `Source` is provided inline, - * the test cases will only be run if the `Source` is syntactically and - * semantically valid. Inline `TestSuite` to run. + * Required. The tests to execute against the `Source`. When `Source` is + * provided inline, the test cases will only be run if the `Source` is + * syntactically and semantically valid. Inline `TestSuite` to run. */ @property(nonatomic, strong, nullable) GTLRFirebaseRules_TestSuite *testSuite; @@ -834,7 +834,7 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseRules_TestResult_State_Success; @property(nonatomic, strong, nullable) GTLRFirebaseRules_Release *releaseProperty; /** - * Specifies which fields to update. + * Optional. Specifies which fields to update. * * String format is a comma-separated list of fields. */ diff --git a/Sources/GeneratedServices/FirebaseRules/Public/GoogleAPIClientForREST/GTLRFirebaseRulesQuery.h b/Sources/GeneratedServices/FirebaseRules/Public/GoogleAPIClientForREST/GTLRFirebaseRulesQuery.h index 98c241179..84f940a5a 100644 --- a/Sources/GeneratedServices/FirebaseRules/Public/GoogleAPIClientForREST/GTLRFirebaseRulesQuery.h +++ b/Sources/GeneratedServices/FirebaseRules/Public/GoogleAPIClientForREST/GTLRFirebaseRulesQuery.h @@ -199,7 +199,7 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseRulesExecutableVersionReleaseExe @interface GTLRFirebaseRulesQuery_ProjectsReleasesGetExecutable : GTLRFirebaseRulesQuery /** - * The requested runtime executable version. Defaults to + * Optional. The requested runtime executable version. Defaults to * FIREBASE_RULES_EXECUTABLE_V1. * * Likely values: @@ -251,16 +251,16 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseRulesExecutableVersionReleaseExe @interface GTLRFirebaseRulesQuery_ProjectsReleasesList : GTLRFirebaseRulesQuery /** - * `Release` filter. The list method supports filters with restrictions on the - * `Release.name`, and `Release.ruleset_name`. Example 1: A filter of - * 'name=prod*' might return `Release`s with names within 'projects/foo' - * prefixed with 'prod': Name -> Ruleset Name: * projects/foo/releases/prod -> - * projects/foo/rulesets/uuid1234 * projects/foo/releases/prod/v1 -> - * projects/foo/rulesets/uuid1234 * projects/foo/releases/prod/v2 -> - * projects/foo/rulesets/uuid8888 Example 2: A filter of `name=prod* - * ruleset_name=uuid1234` would return only `Release` instances for - * 'projects/foo' with names prefixed with 'prod' referring to the same - * `Ruleset` name of 'uuid1234': Name -> Ruleset Name: * + * Optional. `Release` filter. The list method supports filters with + * restrictions on the `Release.name`, and `Release.ruleset_name`. Example 1: A + * filter of 'name=prod*' might return `Release`s with names within + * 'projects/foo' prefixed with 'prod': Name -> Ruleset Name: * + * projects/foo/releases/prod -> projects/foo/rulesets/uuid1234 * + * projects/foo/releases/prod/v1 -> projects/foo/rulesets/uuid1234 * + * projects/foo/releases/prod/v2 -> projects/foo/rulesets/uuid8888 Example 2: A + * filter of `name=prod* ruleset_name=uuid1234` would return only `Release` + * instances for 'projects/foo' with names prefixed with 'prod' referring to + * the same `Ruleset` name of 'uuid1234': Name -> Ruleset Name: * * projects/foo/releases/prod -> projects/foo/rulesets/1234 * * projects/foo/releases/prod/v1 -> projects/foo/rulesets/1234 In the examples, * the filter parameters refer to the search filters are relative to the @@ -274,14 +274,15 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseRulesExecutableVersionReleaseExe @property(nonatomic, copy, nullable) NSString *name; /** - * Page size to load. Maximum of 100. Defaults to 10. Note: `page_size` is just - * a hint and the service may choose to load fewer than `page_size` results due - * to the size of the output. To traverse all of the releases, the caller - * should iterate until the `page_token` on the response is empty. + * Optional. Page size to load. Maximum of 100. Defaults to 10. Note: + * `page_size` is just a hint and the service may choose to load fewer than + * `page_size` results due to the size of the output. To traverse all of the + * releases, the caller should iterate until the `page_token` on the response + * is empty. */ @property(nonatomic, assign) NSInteger pageSize; -/** Next page token for the next batch of `Release` instances. */ +/** Optional. Next page token for the next batch of `Release` instances. */ @property(nonatomic, copy, nullable) NSString *pageToken; /** @@ -461,11 +462,11 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseRulesExecutableVersionReleaseExe @interface GTLRFirebaseRulesQuery_ProjectsRulesetsList : GTLRFirebaseRulesQuery /** - * `Ruleset` filter. The list method supports filters with restrictions on - * `Ruleset.name`. Filters on `Ruleset.create_time` should use the `date` - * function which parses strings that conform to the RFC 3339 date/time - * specifications. Example: `create_time > date("2017-01-01T00:00:00Z") AND - * name=UUID-*` + * Optional. `Ruleset` filter. The list method supports filters with + * restrictions on `Ruleset.name`. Filters on `Ruleset.create_time` should use + * the `date` function which parses strings that conform to the RFC 3339 + * date/time specifications. Example: `create_time > + * date("2017-01-01T00:00:00Z") AND name=UUID-*` */ @property(nonatomic, copy, nullable) NSString *filter; @@ -475,14 +476,16 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseRulesExecutableVersionReleaseExe @property(nonatomic, copy, nullable) NSString *name; /** - * Page size to load. Maximum of 100. Defaults to 10. Note: `page_size` is just - * a hint and the service may choose to load less than `page_size` due to the - * size of the output. To traverse all of the releases, caller should iterate - * until the `page_token` is empty. + * Optional. Page size to load. Maximum of 100. Defaults to 10. Note: + * `page_size` is just a hint and the service may choose to load less than + * `page_size` due to the size of the output. To traverse all of the releases, + * caller should iterate until the `page_token` is empty. */ @property(nonatomic, assign) NSInteger pageSize; -/** Next page token for loading the next batch of `Ruleset` instances. */ +/** + * Optional. Next page token for loading the next batch of `Ruleset` instances. + */ @property(nonatomic, copy, nullable) NSString *pageToken; /** diff --git a/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreQuery.h b/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreQuery.h index 5448aeb8e..0872e86ea 100644 --- a/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreQuery.h +++ b/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreQuery.h @@ -1662,7 +1662,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: firestore.projects.databases.operations.cancel @@ -1686,7 +1686,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRFirestore_GoogleLongrunningCancelOperationRequest diff --git a/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m b/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m index 948df2c75..6dc15261b 100644 --- a/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m +++ b/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m @@ -825,16 +825,6 @@ @implementation GTLRGKEHub_Empty @end -// ---------------------------------------------------------------------------- -// -// GTLRGKEHub_FeatureConfigRef -// - -@implementation GTLRGKEHub_FeatureConfigRef -@dynamic config, configUpdateTime, uuid; -@end - - // ---------------------------------------------------------------------------- // // GTLRGKEHub_FeatureSpec @@ -1197,8 +1187,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRGKEHub_MembershipFeature -@dynamic createTime, deleteTime, featureConfigRef, labels, lifecycleState, name, - spec, state, updateTime; +@dynamic createTime, deleteTime, labels, lifecycleState, name, spec, state, + updateTime; @end diff --git a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h index ba85f446f..8e7a855b4 100644 --- a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h +++ b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h @@ -48,7 +48,6 @@ @class GTLRGKEHub_ConfigManagementState; @class GTLRGKEHub_ConfigManagementSyncError; @class GTLRGKEHub_ConfigManagementSyncState; -@class GTLRGKEHub_FeatureConfigRef; @class GTLRGKEHub_FeatureSpec; @class GTLRGKEHub_FeatureState; @class GTLRGKEHub_GoogleRpcStatus; @@ -3258,29 +3257,6 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_WorkloadCertificateSpec_Certifica @end -/** - * Information of the FeatureConfig applied on the MembershipFeature. - */ -@interface GTLRGKEHub_FeatureConfigRef : GTLRObject - -/** - * Input only. Resource name of FeatureConfig, in the format: - * `projects/{project}/locations/global/featureConfigs/{feature_config}`. - */ -@property(nonatomic, copy, nullable) NSString *config; - -/** - * Output only. When the FeatureConfig was last applied and copied to - * FeatureSpec. - */ -@property(nonatomic, strong, nullable) GTLRDateTime *configUpdateTime; - -/** Output only. An id that uniquely identify a FeatureConfig object. */ -@property(nonatomic, copy, nullable) NSString *uuid; - -@end - - /** * FeatureSpec contains user input per-feature spec information. */ @@ -4061,11 +4037,6 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_WorkloadCertificateSpec_Certifica /** Output only. When the MembershipFeature resource was deleted. */ @property(nonatomic, strong, nullable) GTLRDateTime *deleteTime; -/** - * Reference information for a FeatureConfig applied on the MembershipFeature. - */ -@property(nonatomic, strong, nullable) GTLRGKEHub_FeatureConfigRef *featureConfigRef; - /** GCP labels for this MembershipFeature. */ @property(nonatomic, strong, nullable) GTLRGKEHub_MembershipFeature_Labels *labels; @@ -4080,7 +4051,7 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_WorkloadCertificateSpec_Certifica */ @property(nonatomic, copy, nullable) NSString *name; -/** Spec of this membershipFeature. */ +/** Optional. Spec of this membershipFeature. */ @property(nonatomic, strong, nullable) GTLRGKEHub_FeatureSpec *spec; /** Output only. State of the this membershipFeature. */ diff --git a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubQuery.h b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubQuery.h index f5bbd1685..ab71552cc 100644 --- a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubQuery.h +++ b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubQuery.h @@ -336,7 +336,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: gkehub.projects.locations.operations.cancel @@ -359,7 +359,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRGKEHub_CancelOperationRequest to include in the diff --git a/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremQuery.h b/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremQuery.h index 9e0e2d918..a1afee4c6 100644 --- a/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremQuery.h +++ b/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremQuery.h @@ -1930,7 +1930,7 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEOnPremViewNodePoolViewUnspecified; * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: gkeonprem.projects.locations.operations.cancel @@ -1953,7 +1953,7 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEOnPremViewNodePoolViewUnspecified; * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRGKEOnPrem_CancelOperationRequest to include in the diff --git a/Sources/GeneratedServices/Games/GTLRGamesObjects.m b/Sources/GeneratedServices/Games/GTLRGamesObjects.m index 27571a963..4ea2fac1c 100644 --- a/Sources/GeneratedServices/Games/GTLRGamesObjects.m +++ b/Sources/GeneratedServices/Games/GTLRGamesObjects.m @@ -4,7 +4,7 @@ // API: // Google Play Game Services (games/v1) // Description: -// The Google Play games service allows developers to enhance games with +// The Google Play Games Service allows developers to enhance games with // social leaderboards, achievements, game state, sign-in with Google, and // more. // Documentation: diff --git a/Sources/GeneratedServices/Games/GTLRGamesQuery.m b/Sources/GeneratedServices/Games/GTLRGamesQuery.m index 3a8ac5e7e..286196e07 100644 --- a/Sources/GeneratedServices/Games/GTLRGamesQuery.m +++ b/Sources/GeneratedServices/Games/GTLRGamesQuery.m @@ -4,7 +4,7 @@ // API: // Google Play Game Services (games/v1) // Description: -// The Google Play games service allows developers to enhance games with +// The Google Play Games Service allows developers to enhance games with // social leaderboards, achievements, game state, sign-in with Google, and // more. // Documentation: diff --git a/Sources/GeneratedServices/Games/GTLRGamesService.m b/Sources/GeneratedServices/Games/GTLRGamesService.m index e047c14af..e0d17befd 100644 --- a/Sources/GeneratedServices/Games/GTLRGamesService.m +++ b/Sources/GeneratedServices/Games/GTLRGamesService.m @@ -4,7 +4,7 @@ // API: // Google Play Game Services (games/v1) // Description: -// The Google Play games service allows developers to enhance games with +// The Google Play Games Service allows developers to enhance games with // social leaderboards, achievements, game state, sign-in with Google, and // more. // Documentation: diff --git a/Sources/GeneratedServices/Games/Public/GoogleAPIClientForREST/GTLRGames.h b/Sources/GeneratedServices/Games/Public/GoogleAPIClientForREST/GTLRGames.h index a800a63d1..5aa84acdc 100644 --- a/Sources/GeneratedServices/Games/Public/GoogleAPIClientForREST/GTLRGames.h +++ b/Sources/GeneratedServices/Games/Public/GoogleAPIClientForREST/GTLRGames.h @@ -4,7 +4,7 @@ // API: // Google Play Game Services (games/v1) // Description: -// The Google Play games service allows developers to enhance games with +// The Google Play Games Service allows developers to enhance games with // social leaderboards, achievements, game state, sign-in with Google, and // more. // Documentation: diff --git a/Sources/GeneratedServices/Games/Public/GoogleAPIClientForREST/GTLRGamesObjects.h b/Sources/GeneratedServices/Games/Public/GoogleAPIClientForREST/GTLRGamesObjects.h index 3487c7645..3dfee0c6f 100644 --- a/Sources/GeneratedServices/Games/Public/GoogleAPIClientForREST/GTLRGamesObjects.h +++ b/Sources/GeneratedServices/Games/Public/GoogleAPIClientForREST/GTLRGamesObjects.h @@ -4,7 +4,7 @@ // API: // Google Play Game Services (games/v1) // Description: -// The Google Play games service allows developers to enhance games with +// The Google Play Games Service allows developers to enhance games with // social leaderboards, achievements, game state, sign-in with Google, and // more. // Documentation: diff --git a/Sources/GeneratedServices/Games/Public/GoogleAPIClientForREST/GTLRGamesQuery.h b/Sources/GeneratedServices/Games/Public/GoogleAPIClientForREST/GTLRGamesQuery.h index 0b9b3562c..019dbc7f7 100644 --- a/Sources/GeneratedServices/Games/Public/GoogleAPIClientForREST/GTLRGamesQuery.h +++ b/Sources/GeneratedServices/Games/Public/GoogleAPIClientForREST/GTLRGamesQuery.h @@ -4,7 +4,7 @@ // API: // Google Play Game Services (games/v1) // Description: -// The Google Play games service allows developers to enhance games with +// The Google Play Games Service allows developers to enhance games with // social leaderboards, achievements, game state, sign-in with Google, and // more. // Documentation: diff --git a/Sources/GeneratedServices/Games/Public/GoogleAPIClientForREST/GTLRGamesService.h b/Sources/GeneratedServices/Games/Public/GoogleAPIClientForREST/GTLRGamesService.h index 497fc74f9..9e5ecc619 100644 --- a/Sources/GeneratedServices/Games/Public/GoogleAPIClientForREST/GTLRGamesService.h +++ b/Sources/GeneratedServices/Games/Public/GoogleAPIClientForREST/GTLRGamesService.h @@ -4,7 +4,7 @@ // API: // Google Play Game Services (games/v1) // Description: -// The Google Play games service allows developers to enhance games with +// The Google Play Games Service allows developers to enhance games with // social leaderboards, achievements, game state, sign-in with Google, and // more. // Documentation: @@ -54,7 +54,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeGamesDriveAppdata; /** * Service for executing Google Play Game Services queries. * - * The Google Play games service allows developers to enhance games with social + * The Google Play Games Service allows developers to enhance games with social * leaderboards, achievements, game state, sign-in with Google, and more. */ @interface GTLRGamesService : GTLRService diff --git a/Sources/GeneratedServices/GamesManagement/GTLRGamesManagementObjects.m b/Sources/GeneratedServices/GamesManagement/GTLRGamesManagementObjects.m index d5a85bd3f..f244fbc3b 100644 --- a/Sources/GeneratedServices/GamesManagement/GTLRGamesManagementObjects.m +++ b/Sources/GeneratedServices/GamesManagement/GTLRGamesManagementObjects.m @@ -4,7 +4,7 @@ // API: // Google Play Game Management (gamesManagement/v1management) // Description: -// The Google Play Game Management API allows developers to manage resources +// The Google Play Games Management API allows developers to manage resources // from the Google Play Game service. // Documentation: // https://developers.google.com/games/ diff --git a/Sources/GeneratedServices/GamesManagement/GTLRGamesManagementQuery.m b/Sources/GeneratedServices/GamesManagement/GTLRGamesManagementQuery.m index 1b9280a96..6aa166f7e 100644 --- a/Sources/GeneratedServices/GamesManagement/GTLRGamesManagementQuery.m +++ b/Sources/GeneratedServices/GamesManagement/GTLRGamesManagementQuery.m @@ -4,7 +4,7 @@ // API: // Google Play Game Management (gamesManagement/v1management) // Description: -// The Google Play Game Management API allows developers to manage resources +// The Google Play Games Management API allows developers to manage resources // from the Google Play Game service. // Documentation: // https://developers.google.com/games/ diff --git a/Sources/GeneratedServices/GamesManagement/GTLRGamesManagementService.m b/Sources/GeneratedServices/GamesManagement/GTLRGamesManagementService.m index 91b1382be..5e4f6607f 100644 --- a/Sources/GeneratedServices/GamesManagement/GTLRGamesManagementService.m +++ b/Sources/GeneratedServices/GamesManagement/GTLRGamesManagementService.m @@ -4,7 +4,7 @@ // API: // Google Play Game Management (gamesManagement/v1management) // Description: -// The Google Play Game Management API allows developers to manage resources +// The Google Play Games Management API allows developers to manage resources // from the Google Play Game service. // Documentation: // https://developers.google.com/games/ diff --git a/Sources/GeneratedServices/GamesManagement/Public/GoogleAPIClientForREST/GTLRGamesManagement.h b/Sources/GeneratedServices/GamesManagement/Public/GoogleAPIClientForREST/GTLRGamesManagement.h index 03e923a48..8100d37b8 100644 --- a/Sources/GeneratedServices/GamesManagement/Public/GoogleAPIClientForREST/GTLRGamesManagement.h +++ b/Sources/GeneratedServices/GamesManagement/Public/GoogleAPIClientForREST/GTLRGamesManagement.h @@ -4,7 +4,7 @@ // API: // Google Play Game Management (gamesManagement/v1management) // Description: -// The Google Play Game Management API allows developers to manage resources +// The Google Play Games Management API allows developers to manage resources // from the Google Play Game service. // Documentation: // https://developers.google.com/games/ diff --git a/Sources/GeneratedServices/GamesManagement/Public/GoogleAPIClientForREST/GTLRGamesManagementObjects.h b/Sources/GeneratedServices/GamesManagement/Public/GoogleAPIClientForREST/GTLRGamesManagementObjects.h index ab42a3c72..e721f9502 100644 --- a/Sources/GeneratedServices/GamesManagement/Public/GoogleAPIClientForREST/GTLRGamesManagementObjects.h +++ b/Sources/GeneratedServices/GamesManagement/Public/GoogleAPIClientForREST/GTLRGamesManagementObjects.h @@ -4,7 +4,7 @@ // API: // Google Play Game Management (gamesManagement/v1management) // Description: -// The Google Play Game Management API allows developers to manage resources +// The Google Play Games Management API allows developers to manage resources // from the Google Play Game service. // Documentation: // https://developers.google.com/games/ diff --git a/Sources/GeneratedServices/GamesManagement/Public/GoogleAPIClientForREST/GTLRGamesManagementQuery.h b/Sources/GeneratedServices/GamesManagement/Public/GoogleAPIClientForREST/GTLRGamesManagementQuery.h index 902ec77f0..d20b7ac4a 100644 --- a/Sources/GeneratedServices/GamesManagement/Public/GoogleAPIClientForREST/GTLRGamesManagementQuery.h +++ b/Sources/GeneratedServices/GamesManagement/Public/GoogleAPIClientForREST/GTLRGamesManagementQuery.h @@ -4,7 +4,7 @@ // API: // Google Play Game Management (gamesManagement/v1management) // Description: -// The Google Play Game Management API allows developers to manage resources +// The Google Play Games Management API allows developers to manage resources // from the Google Play Game service. // Documentation: // https://developers.google.com/games/ diff --git a/Sources/GeneratedServices/GamesManagement/Public/GoogleAPIClientForREST/GTLRGamesManagementService.h b/Sources/GeneratedServices/GamesManagement/Public/GoogleAPIClientForREST/GTLRGamesManagementService.h index 6b441e84c..91baf3805 100644 --- a/Sources/GeneratedServices/GamesManagement/Public/GoogleAPIClientForREST/GTLRGamesManagementService.h +++ b/Sources/GeneratedServices/GamesManagement/Public/GoogleAPIClientForREST/GTLRGamesManagementService.h @@ -4,7 +4,7 @@ // API: // Google Play Game Management (gamesManagement/v1management) // Description: -// The Google Play Game Management API allows developers to manage resources +// The Google Play Games Management API allows developers to manage resources // from the Google Play Game service. // Documentation: // https://developers.google.com/games/ @@ -40,7 +40,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeGamesManagementGames; /** * Service for executing Google Play Game Management queries. * - * The Google Play Game Management API allows developers to manage resources + * The Google Play Games Management API allows developers to manage resources * from the Google Play Game service. */ @interface GTLRGamesManagementService : GTLRService diff --git a/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminObjects.h b/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminObjects.h index d09df1042..de0d08a55 100644 --- a/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminObjects.h +++ b/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminObjects.h @@ -412,7 +412,7 @@ FOUNDATION_EXTERN NSString * const kGTLRGoogleAnalyticsAdmin_V1betaCustomMetric_ /** * The data retention time duration is 50 months. Available to 360 properties - * only. + * only. Available for event data only. * * Value: "FIFTY_MONTHS" */ @@ -431,14 +431,14 @@ FOUNDATION_EXTERN NSString * const kGTLRGoogleAnalyticsAdmin_V1betaDataRetention FOUNDATION_EXTERN NSString * const kGTLRGoogleAnalyticsAdmin_V1betaDataRetentionSettings_EventDataRetention_RetentionDurationUnspecified; /** * The data retention time duration is 38 months. Available to 360 properties - * only. + * only. Available for event data only. * * Value: "THIRTY_EIGHT_MONTHS" */ FOUNDATION_EXTERN NSString * const kGTLRGoogleAnalyticsAdmin_V1betaDataRetentionSettings_EventDataRetention_ThirtyEightMonths; /** * The data retention time duration is 26 months. Available to 360 properties - * only. + * only. Available for event data only. * * Value: "TWENTY_SIX_MONTHS" */ @@ -1785,12 +1785,13 @@ FOUNDATION_EXTERN NSString * const kGTLRGoogleAnalyticsAdmin_V1betaSearchChangeH @interface GTLRGoogleAnalyticsAdmin_V1betaDataRetentionSettings : GTLRObject /** - * The length of time that event-level data is retained. + * Required. The length of time that event-level data is retained. * * Likely values: * @arg @c kGTLRGoogleAnalyticsAdmin_V1betaDataRetentionSettings_EventDataRetention_FiftyMonths * The data retention time duration is 50 months. Available to 360 - * properties only. (Value: "FIFTY_MONTHS") + * properties only. Available for event data only. (Value: + * "FIFTY_MONTHS") * @arg @c kGTLRGoogleAnalyticsAdmin_V1betaDataRetentionSettings_EventDataRetention_FourteenMonths * The data retention time duration is 14 months. (Value: * "FOURTEEN_MONTHS") @@ -1799,10 +1800,12 @@ FOUNDATION_EXTERN NSString * const kGTLRGoogleAnalyticsAdmin_V1betaSearchChangeH * "RETENTION_DURATION_UNSPECIFIED") * @arg @c kGTLRGoogleAnalyticsAdmin_V1betaDataRetentionSettings_EventDataRetention_ThirtyEightMonths * The data retention time duration is 38 months. Available to 360 - * properties only. (Value: "THIRTY_EIGHT_MONTHS") + * properties only. Available for event data only. (Value: + * "THIRTY_EIGHT_MONTHS") * @arg @c kGTLRGoogleAnalyticsAdmin_V1betaDataRetentionSettings_EventDataRetention_TwentySixMonths * The data retention time duration is 26 months. Available to 360 - * properties only. (Value: "TWENTY_SIX_MONTHS") + * properties only. Available for event data only. (Value: + * "TWENTY_SIX_MONTHS") * @arg @c kGTLRGoogleAnalyticsAdmin_V1betaDataRetentionSettings_EventDataRetention_TwoMonths * The data retention time duration is 2 months. (Value: "TWO_MONTHS") */ @@ -2919,10 +2922,13 @@ FOUNDATION_EXTERN NSString * const kGTLRGoogleAnalyticsAdmin_V1betaSearchChangeH @property(nonatomic, strong, nullable) GTLRDateTime *latestChangeTime; /** - * Optional. The maximum number of ChangeHistoryEvent items to return. The - * service may return fewer than this value, even if there are additional - * pages. If unspecified, at most 50 items will be returned. The maximum value - * is 200 (higher values will be coerced to the maximum). + * Optional. The maximum number of ChangeHistoryEvent items to return. If + * unspecified, at most 50 items will be returned. The maximum value is 200 + * (higher values will be coerced to the maximum). Note that the service may + * return a page with fewer items than this value specifies (potentially even + * zero), and that there still may be additional pages. If you want a + * particular number of items, you'll need to continue requesting additional + * pages using `page_token` until you get the needed number. * * Uses NSNumber of intValue. */ diff --git a/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminQuery.h b/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminQuery.h index c1a5dd0ce..1da11fb9b 100644 --- a/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminQuery.h +++ b/Sources/GeneratedServices/GoogleAnalyticsAdmin/Public/GoogleAPIClientForREST/GTLRGoogleAnalyticsAdminQuery.h @@ -343,7 +343,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Searches through all changes to an account or its children given the - * specified set of filters. + * specified set of filters. Only returns the subset of changes supported by + * the API. The UI may return additional changes. * * Method: analyticsadmin.accounts.searchChangeHistoryEvents * @@ -363,7 +364,8 @@ NS_ASSUME_NONNULL_BEGIN * GTLRGoogleAnalyticsAdmin_V1betaSearchChangeHistoryEventsResponse. * * Searches through all changes to an account or its children given the - * specified set of filters. + * specified set of filters. Only returns the subset of changes supported by + * the API. The UI may return additional changes. * * @param object The @c * GTLRGoogleAnalyticsAdmin_V1betaSearchChangeHistoryEventsRequest to include diff --git a/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m b/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m index 16c5b9e0e..92775efb7 100644 --- a/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m +++ b/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m @@ -217,6 +217,14 @@ NSString * const kGTLRHangoutsChat_GoogleAppsCardV1TextInput_Type_MultipleLine = @"MULTIPLE_LINE"; NSString * const kGTLRHangoutsChat_GoogleAppsCardV1TextInput_Type_SingleLine = @"SINGLE_LINE"; +// GTLRHangoutsChat_GoogleAppsCardV1Validation.inputType +NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Validation_InputType_Email = @"EMAIL"; +NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Validation_InputType_EmojiPicker = @"EMOJI_PICKER"; +NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Validation_InputType_Float = @"FLOAT"; +NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Validation_InputType_InputTypeUnspecified = @"INPUT_TYPE_UNSPECIFIED"; +NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Validation_InputType_Integer = @"INTEGER"; +NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Validation_InputType_Text = @"TEXT"; + // GTLRHangoutsChat_GoogleAppsCardV1Widget.horizontalAlignment NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Widget_HorizontalAlignment_Center = @"CENTER"; NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Widget_HorizontalAlignment_End = @"END"; @@ -739,11 +747,13 @@ @implementation GTLRHangoutsChat_FormAction // @implementation GTLRHangoutsChat_GoogleAppsCardV1Action -@dynamic function, interaction, loadIndicator, parameters, persistValues; +@dynamic allWidgetsAreRequired, function, interaction, loadIndicator, + parameters, persistValues, requiredWidgets; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"parameters" : [GTLRHangoutsChat_GoogleAppsCardV1ActionParameter class] + @"parameters" : [GTLRHangoutsChat_GoogleAppsCardV1ActionParameter class], + @"requiredWidgets" : [NSString class] }; return map; } @@ -849,6 +859,43 @@ @implementation GTLRHangoutsChat_GoogleAppsCardV1CardHeader @end +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_GoogleAppsCardV1Carousel +// + +@implementation GTLRHangoutsChat_GoogleAppsCardV1Carousel +@dynamic carouselCards; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"carouselCards" : [GTLRHangoutsChat_GoogleAppsCardV1CarouselCard class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_GoogleAppsCardV1CarouselCard +// + +@implementation GTLRHangoutsChat_GoogleAppsCardV1CarouselCard +@dynamic footerWidgets, widgets; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"footerWidgets" : [GTLRHangoutsChat_GoogleAppsCardV1NestedWidget class], + @"widgets" : [GTLRHangoutsChat_GoogleAppsCardV1NestedWidget class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRHangoutsChat_GoogleAppsCardV1Chip @@ -1036,6 +1083,16 @@ @implementation GTLRHangoutsChat_GoogleAppsCardV1MaterialIcon @end +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_GoogleAppsCardV1NestedWidget +// + +@implementation GTLRHangoutsChat_GoogleAppsCardV1NestedWidget +@dynamic buttonList, image, textParagraph; +@end + + // ---------------------------------------------------------------------------- // // GTLRHangoutsChat_GoogleAppsCardV1OnClick @@ -1188,7 +1245,7 @@ @implementation GTLRHangoutsChat_GoogleAppsCardV1SwitchControl @implementation GTLRHangoutsChat_GoogleAppsCardV1TextInput @dynamic autoCompleteAction, hintText, initialSuggestions, label, name, - onChangeAction, placeholderText, type, value; + onChangeAction, placeholderText, type, validation, value; @end @@ -1202,14 +1259,24 @@ @implementation GTLRHangoutsChat_GoogleAppsCardV1TextParagraph @end +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_GoogleAppsCardV1Validation +// + +@implementation GTLRHangoutsChat_GoogleAppsCardV1Validation +@dynamic characterLimit, inputType; +@end + + // ---------------------------------------------------------------------------- // // GTLRHangoutsChat_GoogleAppsCardV1Widget // @implementation GTLRHangoutsChat_GoogleAppsCardV1Widget -@dynamic buttonList, chipList, columns, dateTimePicker, decoratedText, divider, - grid, horizontalAlignment, image, selectionInput, textInput, +@dynamic buttonList, carousel, chipList, columns, dateTimePicker, decoratedText, + divider, grid, horizontalAlignment, image, selectionInput, textInput, textParagraph; @end @@ -1863,10 +1930,11 @@ @implementation GTLRHangoutsChat_SlashCommandMetadata @implementation GTLRHangoutsChat_Space @dynamic accessSettings, adminInstalled, createTime, displayName, - externalUserAllowed, importMode, lastActiveTime, membershipCount, name, - permissionSettings, predefinedPermissionSettings, singleUserBotDm, - spaceDetails, spaceHistoryState, spaceThreadingState, spaceType, - spaceUri, threaded, type; + externalUserAllowed, importMode, importModeExpireTime, lastActiveTime, + membershipCount, name, permissionSettings, + predefinedPermissionSettings, singleUserBotDm, spaceDetails, + spaceHistoryState, spaceThreadingState, spaceType, spaceUri, threaded, + type; @end diff --git a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h index f94ec499f..563159687 100644 --- a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h +++ b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h @@ -56,6 +56,8 @@ @class GTLRHangoutsChat_GoogleAppsCardV1CardAction; @class GTLRHangoutsChat_GoogleAppsCardV1CardFixedFooter; @class GTLRHangoutsChat_GoogleAppsCardV1CardHeader; +@class GTLRHangoutsChat_GoogleAppsCardV1Carousel; +@class GTLRHangoutsChat_GoogleAppsCardV1CarouselCard; @class GTLRHangoutsChat_GoogleAppsCardV1Chip; @class GTLRHangoutsChat_GoogleAppsCardV1ChipList; @class GTLRHangoutsChat_GoogleAppsCardV1CollapseControl; @@ -71,6 +73,7 @@ @class GTLRHangoutsChat_GoogleAppsCardV1ImageComponent; @class GTLRHangoutsChat_GoogleAppsCardV1ImageCropStyle; @class GTLRHangoutsChat_GoogleAppsCardV1MaterialIcon; +@class GTLRHangoutsChat_GoogleAppsCardV1NestedWidget; @class GTLRHangoutsChat_GoogleAppsCardV1OnClick; @class GTLRHangoutsChat_GoogleAppsCardV1OpenLink; @class GTLRHangoutsChat_GoogleAppsCardV1OverflowMenu; @@ -84,6 +87,7 @@ @class GTLRHangoutsChat_GoogleAppsCardV1SwitchControl; @class GTLRHangoutsChat_GoogleAppsCardV1TextInput; @class GTLRHangoutsChat_GoogleAppsCardV1TextParagraph; +@class GTLRHangoutsChat_GoogleAppsCardV1Validation; @class GTLRHangoutsChat_GoogleAppsCardV1Widget; @class GTLRHangoutsChat_GoogleAppsCardV1Widgets; @class GTLRHangoutsChat_Group; @@ -1236,6 +1240,46 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1TextInput_T */ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1TextInput_Type_SingleLine; +// ---------------------------------------------------------------------------- +// GTLRHangoutsChat_GoogleAppsCardV1Validation.inputType + +/** + * An email address. + * + * Value: "EMAIL" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Validation_InputType_Email; +/** + * A emoji selected from system-provided emoji picker. + * + * Value: "EMOJI_PICKER" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Validation_InputType_EmojiPicker; +/** + * A float value. + * + * Value: "FLOAT" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Validation_InputType_Float; +/** + * Unspecified type. Do not use. + * + * Value: "INPUT_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Validation_InputType_InputTypeUnspecified; +/** + * An integer value. + * + * Value: "INTEGER" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Validation_InputType_Integer; +/** + * Regular text that accepts all characters. + * + * Value: "TEXT" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Validation_InputType_Text; + // ---------------------------------------------------------------------------- // GTLRHangoutsChat_GoogleAppsCardV1Widget.horizontalAlignment @@ -2868,6 +2912,15 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @interface GTLRHangoutsChat_GoogleAppsCardV1Action : GTLRObject +/** + * Optional. If this is true, then all widgets are considered required by this + * action. [Google Workspace Add-ons and Chat + * apps](https://developers.google.com/workspace/extend): + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allWidgetsAreRequired; + /** * A custom function to invoke when the containing element is clicked or * otherwise activated. For example usage, see [Read form @@ -2941,6 +2994,14 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @property(nonatomic, strong, nullable) NSNumber *persistValues; +/** + * Optional. Fill this list with the names of widgets that this Action needs + * for a valid submission. If the widgets listed here don't have a value when + * this Action is invoked, the form submission is aborted. [Google Workspace + * Add-ons and Chat apps](https://developers.google.com/workspace/extend): + */ +@property(nonatomic, strong, nullable) NSArray *requiredWidgets; + @end @@ -3067,8 +3128,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** * Optional. The type of a button. If unset, button type defaults to * `OUTLINED`. If the `color` field is set, the button type is forced to - * `FILLED` and any value set for this field is ignored. [Google Chat - * apps](https://developers.google.com/workspace/chat): + * `FILLED` and any value set for this field is ignored. * * Likely values: * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1Button_Type_Borderless A button @@ -3122,7 +3182,10 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty * dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * * For Google Workspace Add-ons, see [Card-based * interfaces](https://developers.google.com/apps-script/add-ons/concepts/cards). - * **Example: Card message for a Google Chat app** ![Example contact + * Note: You can add up to 100 widgets per card. Any widgets beyond this limit + * are ignored. This limit applies to both card messages and dialogs in Google + * Chat apps, and to cards in Google Workspace Add-ons. **Example: Card message + * for a Google Chat app** ![Example contact * card](https://developers.google.com/workspace/chat/images/card_api_reference.png) * To create the sample card message in Google Chat, use the following JSON: * ``` { "cardsV2": [ { "cardId": "unique-card-id", "card": { "header": { @@ -3323,9 +3386,51 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** - * A text, icon, or text and icon chip that users can click. [Google Chat + * [Developer Preview](https://developers.google.com/workspace/preview): A + * carousel, also known as a slider, rotates and displays a list of widgets in + * a slideshow format, with buttons navigating to the previous or next widget. + * For example, this is a JSON representation of a carousel that contains three + * text paragraph widgets. ``` { "carouselCards": [ { "widgets": [ { + * "textParagraph": { "text": "First text paragraph in carousel", } } ] }, { + * "widgets": [ { "textParagraph": { "text": "Second text paragraph in + * carousel", } } ] }, { "widgets": [ { "textParagraph": { "text": "Third text + * paragraph in carousel", } } ] } ] } ``` [Google Chat * apps](https://developers.google.com/workspace/chat): */ +@interface GTLRHangoutsChat_GoogleAppsCardV1Carousel : GTLRObject + +/** A list of cards included in the carousel. */ +@property(nonatomic, strong, nullable) NSArray *carouselCards; + +@end + + +/** + * [Developer Preview](https://developers.google.com/workspace/preview): A card + * that can be displayed as a carousel item. [Google Chat + * apps](https://developers.google.com/workspace/chat): + */ +@interface GTLRHangoutsChat_GoogleAppsCardV1CarouselCard : GTLRObject + +/** + * A list of widgets displayed at the bottom of the carousel card. The widgets + * are displayed in the order that they are specified. + */ +@property(nonatomic, strong, nullable) NSArray *footerWidgets; + +/** + * A list of widgets displayed in the carousel card. The widgets are displayed + * in the order that they are specified. + */ +@property(nonatomic, strong, nullable) NSArray *widgets; + +@end + + +/** + * A text, icon, or text and icon chip that users can click. [Google Workspace + * Add-ons and Chat apps](https://developers.google.com/workspace/extend): + */ @interface GTLRHangoutsChat_GoogleAppsCardV1Chip : GTLRObject /** @@ -3372,8 +3477,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** * A list of chips layed out horizontally, which can either scroll horizontally - * or wrap to the next line. [Google Chat - * apps](https://developers.google.com/workspace/chat): + * or wrap to the next line. [Google Workspace Add-ons and Chat + * apps](https://developers.google.com/workspace/extend): */ @interface GTLRHangoutsChat_GoogleAppsCardV1ChipList : GTLRObject @@ -3399,8 +3504,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** - * Represent an expand and collapse control. [Google Chat - * apps](https://developers.google.com/workspace/chat): + * Represent an expand and collapse control. [Google Workspace Add-ons and Chat + * apps](https://developers.google.com/workspace/extend): */ @interface GTLRHangoutsChat_GoogleAppsCardV1CollapseControl : GTLRObject @@ -3540,8 +3645,11 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** - * Lets users input a date, a time, or both a date and a time. For an example - * in Google Chat apps, see [Let a user pick a date and + * Lets users input a date, a time, or both a date and a time. Supports form + * submission validation. When `Action.all_widgets_are_required` is set to + * `true` or this widget is specified in `Action.required_widgets`, the + * submission action is blocked unless a value is selected. For an example in + * Google Chat apps, see [Let a user pick a date and * time](https://developers.google.com/workspace/chat/design-interactive-card-dialog#let_a_user_pick_a_date_and_time). * Users can input text or use the picker to select dates and times. If users * input an invalid date or time, the picker shows an error that prompts users @@ -3989,6 +4097,26 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @end +/** + * [Developer Preview](https://developers.google.com/workspace/preview): A list + * of widgets that can be displayed in a containing layout, such as a + * `CarouselCard`. [Google Chat + * apps](https://developers.google.com/workspace/chat): + */ +@interface GTLRHangoutsChat_GoogleAppsCardV1NestedWidget : GTLRObject + +/** A button list widget. */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1ButtonList *buttonList; + +/** An image widget. */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1Image *image; + +/** A text paragraph widget. */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1TextParagraph *textParagraph; + +@end + + /** * Represents how to respond when users click an interactive element on a card, * such as a button. [Google Workspace Add-ons and Chat @@ -4017,10 +4145,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** If specified, this `onClick` triggers an open link action. */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1OpenLink *openLink; -/** - * If specified, this `onClick` opens an overflow menu. [Google Chat - * apps](https://developers.google.com/workspace/chat): - */ +/** If specified, this `onClick` opens an overflow menu. */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1OverflowMenu *overflowMenu; @end @@ -4072,7 +4197,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty * invoke. For example, showing non-primary actions in a card. You can use this * widget when actions don't fit in the available space. To use, specify this * widget in the `OnClick` action of widgets that support it. For example, in a - * `Button`. [Google Chat apps](https://developers.google.com/workspace/chat): + * `Button`. [Google Workspace Add-ons and Chat + * apps](https://developers.google.com/workspace/extend): * * @note This class supports NSFastEnumeration and indexed subscripting over * its "items" property. @@ -4091,8 +4217,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** - * An option that users can invoke in an overflow menu. [Google Chat - * apps](https://developers.google.com/workspace/chat): + * An option that users can invoke in an overflow menu. [Google Workspace + * Add-ons and Chat apps](https://developers.google.com/workspace/extend): */ @interface GTLRHangoutsChat_GoogleAppsCardV1OverflowMenuItem : GTLRObject @@ -4161,8 +4287,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** * Optional. Define the expand and collapse button of the section. This button * will be shown only if the section is collapsible. If this field isn't set, - * the default button is used. [Google Chat - * apps](https://developers.google.com/workspace/chat): + * the default button is used. */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1CollapseControl *collapseControl; @@ -4206,10 +4331,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** - * A widget that creates one or more UI items that users can select. For - * example, a dropdown menu or checkboxes. You can use this widget to collect - * data that can be predicted or enumerated. For an example in Google Chat - * apps, see [Add selectable UI + * A widget that creates one or more UI items that users can select. Supports + * form submission validation for `dropdown` and `multiselect` menus only. When + * `Action.all_widgets_are_required` is set to `true` or this widget is + * specified in `Action.required_widgets`, the submission action is blocked + * unless a value is selected. For example, a dropdown menu or checkboxes. You + * can use this widget to collect data that can be predicted or enumerated. For + * an example in Google Chat apps, see [Add selectable UI * elements](/workspace/chat/design-interactive-card-dialog#add_selectable_ui_elements). * Chat apps can process the value of items that users select or input. For * details about working with form inputs, see [Receive form @@ -4468,8 +4596,11 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** * A field in which users can enter text. Supports suggestions and on-change - * actions. For an example in Google Chat apps, see [Add a field in which a - * user can enter + * actions. Supports form submission validation. When + * `Action.all_widgets_are_required` is set to `true` or this widget is + * specified in `Action.required_widgets`, the submission action is blocked + * unless a value is entered. For an example in Google Chat apps, see [Add a + * field in which a user can enter * text](https://developers.google.com/workspace/chat/design-interactive-card-dialog#add_a_field_in_which_a_user_can_enter_text). * Chat apps receive and can process the value of entered text during form * input events. For details about working with form inputs, see [Receive form @@ -4560,6 +4691,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @property(nonatomic, copy, nullable) NSString *type; +/** + * Specify the input format validation necessary for this text field. [Google + * Workspace Add-ons and Chat + * apps](https://developers.google.com/workspace/extend): + */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1Validation *validation; + /** * The value entered by a user, returned as part of a form input event. For * details about working with form inputs, see [Receive form @@ -4590,8 +4728,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty * concealed behind a **show more** button. If the text is equal or shorter * than the specified maximum number of lines, a **show more** button isn't * displayed. The default value is 0, in which case all context is displayed. - * Negative values are ignored. [Google Chat - * apps](https://developers.google.com/workspace/chat): + * Negative values are ignored. * * Uses NSNumber of intValue. */ @@ -4603,6 +4740,46 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @end +/** + * Represents the necessary data for validating the widget it's attached to. + * [Google Workspace Add-ons and Chat + * apps](https://developers.google.com/workspace/extend): + */ +@interface GTLRHangoutsChat_GoogleAppsCardV1Validation : GTLRObject + +/** + * Specify the character limit for text input widgets. Note that this is only + * used for text input and is ignored for other widgets. [Google Workspace + * Add-ons and Chat apps](https://developers.google.com/workspace/extend): + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *characterLimit; + +/** + * Specify the type of the input widgets. [Google Workspace Add-ons and Chat + * apps](https://developers.google.com/workspace/extend): + * + * Likely values: + * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1Validation_InputType_Email An + * email address. (Value: "EMAIL") + * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1Validation_InputType_EmojiPicker + * A emoji selected from system-provided emoji picker. (Value: + * "EMOJI_PICKER") + * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1Validation_InputType_Float A + * float value. (Value: "FLOAT") + * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1Validation_InputType_InputTypeUnspecified + * Unspecified type. Do not use. (Value: "INPUT_TYPE_UNSPECIFIED") + * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1Validation_InputType_Integer An + * integer value. (Value: "INTEGER") + * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1Validation_InputType_Text + * Regular text that accepts all characters. (Value: "TEXT") + */ +@property(nonatomic, copy, nullable) NSString *inputType; + +@end + + /** * Each card is made up of widgets. A widget is a composite object that can * represent one of text, images, buttons, and other object types. @@ -4619,13 +4796,21 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1ButtonList *buttonList; +/** + * A carousel contains a collection of nested widgets. For example, this is a + * JSON representation of a carousel that contains two text paragraphs. ``` { + * "widgets": [ { "textParagraph": { "text": "First text paragraph in the + * carousel." } }, { "textParagraph": { "text": "Second text paragraph in the + * carousel." } } ] } ``` + */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1Carousel *carousel; + /** * A list of chips. For example, the following JSON creates two chips. The * first is a text chip and the second is an icon chip that opens a link: ``` * "chipList": { "chips": [ { "text": "Edit", "disabled": true, }, { "icon": { * "knownIcon": "INVITE", "altText": "check calendar" }, "onClick": { - * "openLink": { "url": "https://example.com/calendar" } } } ] } ``` [Google - * Chat apps](https://developers.google.com/workspace/chat): + * "openLink": { "url": "https://example.com/calendar" } } } ] } ``` */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1ChipList *chipList; @@ -4758,10 +4943,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** ButtonList widget. */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1ButtonList *buttonList; -/** - * ChipList widget. [Google Chat - * apps](https://developers.google.com/workspace/chat): - */ +/** ChipList widget. */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1ChipList *chipList; /** DateTimePicker widget. */ @@ -5976,7 +6158,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** * Optional. The Google Chat users or groups to invite to join the space. Omit * the calling user, as they are added automatically. The set currently allows - * up to 20 memberships (in addition to the caller). For human membership, the + * up to 49 memberships (in addition to the caller). For human membership, the * `Membership.member` field must contain a `user` with `name` populated * (format: `users/{user}`) and `type` set to `User.Type.HUMAN`. You can only * add human users when setting up a space (adding Chat apps is only supported @@ -6152,6 +6334,14 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @property(nonatomic, strong, nullable) NSNumber *importMode; +/** + * Output only. The time when the space will be automatically deleted by the + * system if it remains in import mode. Each space created in import mode must + * exit this mode before this expire time using `spaces.completeImport`. This + * field is only populated for spaces that were created with import mode. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *importModeExpireTime; + /** Output only. Timestamp of the last message in the space. */ @property(nonatomic, strong, nullable) GTLRDateTime *lastActiveTime; @@ -6176,7 +6366,14 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** * Optional. Space permission settings for existing spaces. Input for updating * exact space permission settings, where existing permission settings are - * replaced. Output lists current permission settings. + * replaced. Output lists current permission settings. Reading and updating + * permission settings supports: - In [Developer + * Preview](https://developers.google.com/workspace/preview), [App + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) + * with [administrator approval](https://support.google.com/a?p=chat-app-auth) + * with the `chat.app.spaces` scope. Only populated and settable when the Chat + * app created the space. - [User + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_PermissionSettings *permissionSettings; @@ -6184,7 +6381,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty * Optional. Input only. Predefined space permission settings, input only when * creating a space. If the field is not set, a collaboration space is created. * After you create the space, settings are populated in the - * `PermissionSettings` field. + * `PermissionSettings` field. Setting predefined permission settings supports: + * - In [Developer Preview](https://developers.google.com/workspace/preview), + * [App + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) + * with [administrator approval](https://support.google.com/a?p=chat-app-auth) + * with the `chat.app.spaces` or `chat.app.spaces.create` scopes. - [User + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) * * Likely values: * @arg @c kGTLRHangoutsChat_Space_PredefinedPermissionSettings_AnnouncementSpace diff --git a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h index 1a9b55629..9853eabd5 100644 --- a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h +++ b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h @@ -209,13 +209,10 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa @end /** - * Creates a space with no members. Can be used to create a named space, or a - * group chat in `Import mode`. For an example, see [Create a - * space](https://developers.google.com/workspace/chat/create-spaces). If you - * receive the error message `ALREADY_EXISTS` when creating a space, try a - * different `displayName`. An existing space within the Google Workspace - * organization might already use this display name. Supports the following - * types of + * Creates a space. Can be used to create a named space, or a group chat in + * `Import mode`. For an example, see [Create a + * space](https://developers.google.com/workspace/chat/create-spaces). 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) @@ -224,7 +221,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) * When authenticating as an app, the `space.customer` field must be set in the - * request. + * request. Space membership upon creation depends on whether the space is + * created in `Import mode`: * **Import mode:** No members are created. * **All + * other modes:** The calling user is added as a member. This is: * The app + * itself when using app authentication. * The human user when using user + * authentication. If you receive the error message `ALREADY_EXISTS` when + * creating a space, try a different `displayName`. An existing space within + * the Google Workspace organization might already use this display name. * * Method: chat.spaces.create * @@ -249,13 +252,10 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa /** * Fetches a @c GTLRHangoutsChat_Space. * - * Creates a space with no members. Can be used to create a named space, or a - * group chat in `Import mode`. For an example, see [Create a - * space](https://developers.google.com/workspace/chat/create-spaces). If you - * receive the error message `ALREADY_EXISTS` when creating a space, try a - * different `displayName`. An existing space within the Google Workspace - * organization might already use this display name. Supports the following - * types of + * Creates a space. Can be used to create a named space, or a group chat in + * `Import mode`. For an example, see [Create a + * space](https://developers.google.com/workspace/chat/create-spaces). 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) @@ -264,7 +264,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) * When authenticating as an app, the `space.customer` field must be set in the - * request. + * request. Space membership upon creation depends on whether the space is + * created in `Import mode`: * **Import mode:** No members are created. * **All + * other modes:** The calling user is added as a member. This is: * The app + * itself when using app authentication. * The human user when using user + * authentication. If you receive the error message `ALREADY_EXISTS` when + * creating a space, try a different `displayName`. An existing space within + * the Google Workspace organization might already use this display name. * * @param object The @c GTLRHangoutsChat_Space to include in the query. * diff --git a/Sources/GeneratedServices/Localservices/Public/GoogleAPIClientForREST/GTLRLocalservicesObjects.h b/Sources/GeneratedServices/Localservices/Public/GoogleAPIClientForREST/GTLRLocalservicesObjects.h index b7806e7c6..5397a7f62 100644 --- a/Sources/GeneratedServices/Localservices/Public/GoogleAPIClientForREST/GTLRLocalservicesObjects.h +++ b/Sources/GeneratedServices/Localservices/Public/GoogleAPIClientForREST/GTLRLocalservicesObjects.h @@ -447,13 +447,13 @@ FOUNDATION_EXTERN NSString * const kGTLRLocalservices_GoogleAdsHomeservicesLocal @interface GTLRLocalservices_GoogleTypeTimeZone : GTLRObject /** - * IANA Time Zone Database time zone, e.g. "America/New_York". + * IANA Time Zone Database time zone. For example "America/New_York". * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @property(nonatomic, copy, nullable) NSString *identifier; -/** Optional. IANA Time Zone Database version number, e.g. "2019a". */ +/** Optional. IANA Time Zone Database version number. For example "2019a". */ @property(nonatomic, copy, nullable) NSString *version; @end diff --git a/Sources/GeneratedServices/Looker/GTLRLookerObjects.m b/Sources/GeneratedServices/Looker/GTLRLookerObjects.m index 3e4c6ac84..cd31e017c 100644 --- a/Sources/GeneratedServices/Looker/GTLRLookerObjects.m +++ b/Sources/GeneratedServices/Looker/GTLRLookerObjects.m @@ -39,6 +39,9 @@ // GTLRLooker_Instance.platformEdition NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreEmbedAnnual = @"LOOKER_CORE_EMBED_ANNUAL"; NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreEnterpriseAnnual = @"LOOKER_CORE_ENTERPRISE_ANNUAL"; +NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreNonprodEmbedAnnual = @"LOOKER_CORE_NONPROD_EMBED_ANNUAL"; +NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreNonprodEnterpriseAnnual = @"LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL"; +NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreNonprodStandardAnnual = @"LOOKER_CORE_NONPROD_STANDARD_ANNUAL"; NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreStandard = @"LOOKER_CORE_STANDARD"; NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreStandardAnnual = @"LOOKER_CORE_STANDARD_ANNUAL"; NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreTrial = @"LOOKER_CORE_TRIAL"; diff --git a/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h b/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h index 89052b33a..bd5bbb428 100644 --- a/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h +++ b/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h @@ -184,6 +184,24 @@ FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCo * Value: "LOOKER_CORE_ENTERPRISE_ANNUAL" */ FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreEnterpriseAnnual; +/** + * Nonprod Subscription Embed. + * + * Value: "LOOKER_CORE_NONPROD_EMBED_ANNUAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreNonprodEmbedAnnual; +/** + * Nonprod Subscription Enterprise. + * + * Value: "LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreNonprodEnterpriseAnnual; +/** + * Nonprod Subscription Standard. + * + * Value: "LOOKER_CORE_NONPROD_STANDARD_ANNUAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreNonprodStandardAnnual; /** * Standard. * @@ -919,6 +937,15 @@ FOUNDATION_EXTERN NSString * const kGTLRLooker_ServiceAttachment_ConnectionStatu * Subscription Embed. (Value: "LOOKER_CORE_EMBED_ANNUAL") * @arg @c kGTLRLooker_Instance_PlatformEdition_LookerCoreEnterpriseAnnual * Subscription Enterprise. (Value: "LOOKER_CORE_ENTERPRISE_ANNUAL") + * @arg @c kGTLRLooker_Instance_PlatformEdition_LookerCoreNonprodEmbedAnnual + * Nonprod Subscription Embed. (Value: + * "LOOKER_CORE_NONPROD_EMBED_ANNUAL") + * @arg @c kGTLRLooker_Instance_PlatformEdition_LookerCoreNonprodEnterpriseAnnual + * Nonprod Subscription Enterprise. (Value: + * "LOOKER_CORE_NONPROD_ENTERPRISE_ANNUAL") + * @arg @c kGTLRLooker_Instance_PlatformEdition_LookerCoreNonprodStandardAnnual + * Nonprod Subscription Standard. (Value: + * "LOOKER_CORE_NONPROD_STANDARD_ANNUAL") * @arg @c kGTLRLooker_Instance_PlatformEdition_LookerCoreStandard Standard. * (Value: "LOOKER_CORE_STANDARD") * @arg @c kGTLRLooker_Instance_PlatformEdition_LookerCoreStandardAnnual diff --git a/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerQuery.h b/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerQuery.h index 70691aa40..303d33fd4 100644 --- a/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerQuery.h +++ b/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerQuery.h @@ -656,7 +656,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: looker.projects.locations.operations.cancel @@ -679,7 +679,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRLooker_CancelOperationRequest to include in the diff --git a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h index b73bd07ff..565a08a1f 100644 --- a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h +++ b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h @@ -1975,8 +1975,8 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR /** * The regular hours of operation. Note that if a place is always open (24 * hours), the `close` field will not be set. Clients can rely on always open - * (24 hours) being represented as an `open` period containing day with value - * `0`, hour with value `0`, and minute with value `0`. + * (24 hours) being represented as an `open` period containing `day` with value + * `0`, `hour` with value `0`, and `minute` with value `0`. */ @property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleMapsPlacesV1PlaceOpeningHours *regularOpeningHours; diff --git a/Sources/GeneratedServices/MigrationCenterAPI/GTLRMigrationCenterAPIObjects.m b/Sources/GeneratedServices/MigrationCenterAPI/GTLRMigrationCenterAPIObjects.m index aa32b1a89..8e95134b0 100644 --- a/Sources/GeneratedServices/MigrationCenterAPI/GTLRMigrationCenterAPIObjects.m +++ b/Sources/GeneratedServices/MigrationCenterAPI/GTLRMigrationCenterAPIObjects.m @@ -1795,8 +1795,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRMigrationCenterAPI_MachineArchitectureDetails -@dynamic bios, cpuArchitecture, cpuName, cpuSocketCount, cpuThreadCount, - firmwareType, hyperthreading, vendor; +@dynamic bios, cpuArchitecture, cpuManufacturer, cpuName, cpuSocketCount, + cpuThreadCount, firmwareType, hyperthreading, vendor; @end diff --git a/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIObjects.h b/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIObjects.h index 550bcc3d2..9b7f63840 100644 --- a/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIObjects.h +++ b/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIObjects.h @@ -4070,6 +4070,9 @@ FOUNDATION_EXTERN NSString * const kGTLRMigrationCenterAPI_VmwarePlatformDetails /** CPU architecture, e.g., "x64-based PC", "x86_64", "i686" etc. */ @property(nonatomic, copy, nullable) NSString *cpuArchitecture; +/** Optional. CPU manufacturer, e.g., "Intel", "AMD". */ +@property(nonatomic, copy, nullable) NSString *cpuManufacturer; + /** CPU name, e.g., "Intel Xeon E5-2690", "AMD EPYC 7571" etc. */ @property(nonatomic, copy, nullable) NSString *cpuName; diff --git a/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIQuery.h b/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIQuery.h index bf4ae39f6..1a9569689 100644 --- a/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIQuery.h +++ b/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIQuery.h @@ -1570,7 +1570,7 @@ FOUNDATION_EXTERN NSString * const kGTLRMigrationCenterAPIViewReportViewUnspecif * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: migrationcenter.projects.locations.operations.cancel @@ -1593,7 +1593,7 @@ FOUNDATION_EXTERN NSString * const kGTLRMigrationCenterAPIViewReportViewUnspecif * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRMigrationCenterAPI_CancelOperationRequest to diff --git a/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesObjects.m b/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesObjects.m index 8d06f9ca4..491029054 100644 --- a/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesObjects.m +++ b/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesObjects.m @@ -82,21 +82,6 @@ NSString * const kGTLRNetAppFiles_MountOption_Protocol_ProtocolsUnspecified = @"PROTOCOLS_UNSPECIFIED"; NSString * const kGTLRNetAppFiles_MountOption_Protocol_Smb = @"SMB"; -// GTLRNetAppFiles_QuotaRule.state -NSString * const kGTLRNetAppFiles_QuotaRule_State_Creating = @"CREATING"; -NSString * const kGTLRNetAppFiles_QuotaRule_State_Deleting = @"DELETING"; -NSString * const kGTLRNetAppFiles_QuotaRule_State_Error = @"ERROR"; -NSString * const kGTLRNetAppFiles_QuotaRule_State_Ready = @"READY"; -NSString * const kGTLRNetAppFiles_QuotaRule_State_StateUnspecified = @"STATE_UNSPECIFIED"; -NSString * const kGTLRNetAppFiles_QuotaRule_State_Updating = @"UPDATING"; - -// GTLRNetAppFiles_QuotaRule.type -NSString * const kGTLRNetAppFiles_QuotaRule_Type_DefaultGroupQuota = @"DEFAULT_GROUP_QUOTA"; -NSString * const kGTLRNetAppFiles_QuotaRule_Type_DefaultUserQuota = @"DEFAULT_USER_QUOTA"; -NSString * const kGTLRNetAppFiles_QuotaRule_Type_IndividualGroupQuota = @"INDIVIDUAL_GROUP_QUOTA"; -NSString * const kGTLRNetAppFiles_QuotaRule_Type_IndividualUserQuota = @"INDIVIDUAL_USER_QUOTA"; -NSString * const kGTLRNetAppFiles_QuotaRule_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; - // GTLRNetAppFiles_Replication.hybridReplicationType NSString * const kGTLRNetAppFiles_Replication_HybridReplicationType_ContinuousReplication = @"CONTINUOUS_REPLICATION"; NSString * const kGTLRNetAppFiles_Replication_HybridReplicationType_HybridReplicationTypeUnspecified = @"HYBRID_REPLICATION_TYPE_UNSPECIFIED"; @@ -174,6 +159,10 @@ NSString * const kGTLRNetAppFiles_TieringPolicy_TierAction_Paused = @"PAUSED"; NSString * const kGTLRNetAppFiles_TieringPolicy_TierAction_TierActionUnspecified = @"TIER_ACTION_UNSPECIFIED"; +// GTLRNetAppFiles_ValidateDirectoryServiceRequest.directoryServiceType +NSString * const kGTLRNetAppFiles_ValidateDirectoryServiceRequest_DirectoryServiceType_ActiveDirectory = @"ACTIVE_DIRECTORY"; +NSString * const kGTLRNetAppFiles_ValidateDirectoryServiceRequest_DirectoryServiceType_DirectoryServiceTypeUnspecified = @"DIRECTORY_SERVICE_TYPE_UNSPECIFIED"; + // GTLRNetAppFiles_Volume.encryptionType NSString * const kGTLRNetAppFiles_Volume_EncryptionType_CloudKms = @"CLOUD_KMS"; NSString * const kGTLRNetAppFiles_Volume_EncryptionType_EncryptionTypeUnspecified = @"ENCRYPTION_TYPE_UNSPECIFIED"; @@ -274,7 +263,8 @@ + (Class)classForAdditionalProperties { @implementation GTLRNetAppFiles_Backup @dynamic backupType, chainStorageBytes, createTime, descriptionProperty, labels, - name, sourceSnapshot, sourceVolume, state, volumeUsageBytes; + name, satisfiesPzi, satisfiesPzs, sourceSnapshot, sourceVolume, state, + volumeUsageBytes; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -399,7 +389,7 @@ @implementation GTLRNetAppFiles_DailySchedule // @implementation GTLRNetAppFiles_DestinationVolumeParameters -@dynamic descriptionProperty, shareName, storagePool, volumeId; +@dynamic descriptionProperty, shareName, storagePool, tieringPolicy, volumeId; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -708,29 +698,6 @@ + (NSString *)collectionItemsKey { @end -// ---------------------------------------------------------------------------- -// -// GTLRNetAppFiles_ListQuotaRulesResponse -// - -@implementation GTLRNetAppFiles_ListQuotaRulesResponse -@dynamic nextPageToken, quotaRules, unreachable; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"quotaRules" : [GTLRNetAppFiles_QuotaRule class], - @"unreachable" : [NSString class] - }; - return map; -} - -+ (NSString *)collectionItemsKey { - return @"quotaRules"; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRNetAppFiles_ListReplicationsResponse @@ -953,36 +920,6 @@ @implementation GTLRNetAppFiles_OperationMetadata @end -// ---------------------------------------------------------------------------- -// -// GTLRNetAppFiles_QuotaRule -// - -@implementation GTLRNetAppFiles_QuotaRule -@dynamic createTime, descriptionProperty, diskLimitMib, labels, name, state, - stateDetails, target, type; - -+ (NSDictionary *)propertyToJSONKeyMap { - return @{ @"descriptionProperty" : @"description" }; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRNetAppFiles_QuotaRule_Labels -// - -@implementation GTLRNetAppFiles_QuotaRule_Labels - -+ (Class)classForAdditionalProperties { - return [NSString class]; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRNetAppFiles_Replication @@ -1157,8 +1094,8 @@ @implementation GTLRNetAppFiles_StoragePool @dynamic activeDirectory, allowAutoTiering, capacityGib, createTime, descriptionProperty, encryptionType, globalAccessAllowed, kmsConfig, labels, ldapEnabled, name, network, psaRange, replicaZone, - serviceLevel, state, stateDetails, volumeCapacityGib, volumeCount, - zoneProperty; + satisfiesPzi, satisfiesPzs, serviceLevel, state, stateDetails, + volumeCapacityGib, volumeCount, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -1225,6 +1162,16 @@ @implementation GTLRNetAppFiles_TransferStats @end +// ---------------------------------------------------------------------------- +// +// GTLRNetAppFiles_ValidateDirectoryServiceRequest +// + +@implementation GTLRNetAppFiles_ValidateDirectoryServiceRequest +@dynamic directoryServiceType; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetAppFiles_VerifyKmsConfigRequest diff --git a/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesQuery.m b/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesQuery.m index 0608a783d..c58f79c81 100644 --- a/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesQuery.m +++ b/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesQuery.m @@ -887,6 +887,33 @@ + (instancetype)queryWithObject:(GTLRNetAppFiles_SwitchActiveReplicaZoneRequest @end +@implementation GTLRNetAppFilesQuery_ProjectsLocationsStoragePoolsValidateDirectoryService + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRNetAppFiles_ValidateDirectoryServiceRequest *)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}:validateDirectoryService"; + GTLRNetAppFilesQuery_ProjectsLocationsStoragePoolsValidateDirectoryService *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRNetAppFiles_Operation class]; + query.loggingName = @"netapp.projects.locations.storagePools.validateDirectoryService"; + return query; +} + +@end + @implementation GTLRNetAppFilesQuery_ProjectsLocationsVolumesCreate @dynamic parent, volumeId; @@ -998,117 +1025,6 @@ + (instancetype)queryWithObject:(GTLRNetAppFiles_Volume *)object @end -@implementation GTLRNetAppFilesQuery_ProjectsLocationsVolumesQuotaRulesCreate - -@dynamic parent, quotaRuleId; - -+ (instancetype)queryWithObject:(GTLRNetAppFiles_QuotaRule *)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}/quotaRules"; - GTLRNetAppFilesQuery_ProjectsLocationsVolumesQuotaRulesCreate *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.parent = parent; - query.expectedObjectClass = [GTLRNetAppFiles_Operation class]; - query.loggingName = @"netapp.projects.locations.volumes.quotaRules.create"; - return query; -} - -@end - -@implementation GTLRNetAppFilesQuery_ProjectsLocationsVolumesQuotaRulesDelete - -@dynamic name; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}"; - GTLRNetAppFilesQuery_ProjectsLocationsVolumesQuotaRulesDelete *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"DELETE" - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRNetAppFiles_Operation class]; - query.loggingName = @"netapp.projects.locations.volumes.quotaRules.delete"; - return query; -} - -@end - -@implementation GTLRNetAppFilesQuery_ProjectsLocationsVolumesQuotaRulesGet - -@dynamic name; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}"; - GTLRNetAppFilesQuery_ProjectsLocationsVolumesQuotaRulesGet *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRNetAppFiles_QuotaRule class]; - query.loggingName = @"netapp.projects.locations.volumes.quotaRules.get"; - return query; -} - -@end - -@implementation GTLRNetAppFilesQuery_ProjectsLocationsVolumesQuotaRulesList - -@dynamic filter, orderBy, pageSize, pageToken, parent; - -+ (instancetype)queryWithParent:(NSString *)parent { - NSArray *pathParams = @[ @"parent" ]; - NSString *pathURITemplate = @"v1/{+parent}/quotaRules"; - GTLRNetAppFilesQuery_ProjectsLocationsVolumesQuotaRulesList *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.parent = parent; - query.expectedObjectClass = [GTLRNetAppFiles_ListQuotaRulesResponse class]; - query.loggingName = @"netapp.projects.locations.volumes.quotaRules.list"; - return query; -} - -@end - -@implementation GTLRNetAppFilesQuery_ProjectsLocationsVolumesQuotaRulesPatch - -@dynamic name, updateMask; - -+ (instancetype)queryWithObject:(GTLRNetAppFiles_QuotaRule *)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}"; - GTLRNetAppFilesQuery_ProjectsLocationsVolumesQuotaRulesPatch *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"PATCH" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.name = name; - query.expectedObjectClass = [GTLRNetAppFiles_Operation class]; - query.loggingName = @"netapp.projects.locations.volumes.quotaRules.patch"; - return query; -} - -@end - @implementation GTLRNetAppFilesQuery_ProjectsLocationsVolumesReplicationsCreate @dynamic parent, replicationId; diff --git a/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h b/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h index 3467a4a83..32c751e28 100644 --- a/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h +++ b/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h @@ -42,8 +42,6 @@ @class GTLRNetAppFiles_Operation; @class GTLRNetAppFiles_Operation_Metadata; @class GTLRNetAppFiles_Operation_Response; -@class GTLRNetAppFiles_QuotaRule; -@class GTLRNetAppFiles_QuotaRule_Labels; @class GTLRNetAppFiles_Replication; @class GTLRNetAppFiles_Replication_Labels; @class GTLRNetAppFiles_RestoreParameters; @@ -415,80 +413,6 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_MountOption_Protocol_Protoco */ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_MountOption_Protocol_Smb; -// ---------------------------------------------------------------------------- -// GTLRNetAppFiles_QuotaRule.state - -/** - * Quota rule is creating - * - * Value: "CREATING" - */ -FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_QuotaRule_State_Creating; -/** - * Quota rule is deleting - * - * Value: "DELETING" - */ -FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_QuotaRule_State_Deleting; -/** - * Quota rule is in error state. - * - * Value: "ERROR" - */ -FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_QuotaRule_State_Error; -/** - * Quota rule is ready - * - * Value: "READY" - */ -FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_QuotaRule_State_Ready; -/** - * Unspecified state for quota rule - * - * Value: "STATE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_QuotaRule_State_StateUnspecified; -/** - * Quota rule is updating - * - * Value: "UPDATING" - */ -FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_QuotaRule_State_Updating; - -// ---------------------------------------------------------------------------- -// GTLRNetAppFiles_QuotaRule.type - -/** - * Default group quota rule - * - * Value: "DEFAULT_GROUP_QUOTA" - */ -FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_QuotaRule_Type_DefaultGroupQuota; -/** - * Default user quota rule - * - * Value: "DEFAULT_USER_QUOTA" - */ -FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_QuotaRule_Type_DefaultUserQuota; -/** - * Individual group quota rule - * - * Value: "INDIVIDUAL_GROUP_QUOTA" - */ -FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_QuotaRule_Type_IndividualGroupQuota; -/** - * Individual user quota rule - * - * Value: "INDIVIDUAL_USER_QUOTA" - */ -FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_QuotaRule_Type_IndividualUserQuota; -/** - * Unspecified type for quota rule - * - * Value: "TYPE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_QuotaRule_Type_TypeUnspecified; - // ---------------------------------------------------------------------------- // GTLRNetAppFiles_Replication.hybridReplicationType @@ -865,6 +789,22 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_TieringPolicy_TierAction_Pau */ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_TieringPolicy_TierAction_TierActionUnspecified; +// ---------------------------------------------------------------------------- +// GTLRNetAppFiles_ValidateDirectoryServiceRequest.directoryServiceType + +/** + * Active directory policy attached to the storage pool. + * + * Value: "ACTIVE_DIRECTORY" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_ValidateDirectoryServiceRequest_DirectoryServiceType_ActiveDirectory; +/** + * Directory service type is not specified. + * + * Value: "DIRECTORY_SERVICE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_ValidateDirectoryServiceRequest_DirectoryServiceType_DirectoryServiceTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRNetAppFiles_Volume.encryptionType @@ -1309,6 +1249,20 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Output only. Reserved for future use + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzi; + +/** + * Output only. Reserved for future use + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzs; + /** * If specified, backup will be created from the given snapshot. If not * specified, there will be a new snapshot taken to initiate the backup @@ -1623,6 +1577,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; /** Required. Existing destination StoragePool name. */ @property(nonatomic, copy, nullable) NSString *storagePool; +/** Optional. Tiering policy for the volume. */ +@property(nonatomic, strong, nullable) GTLRNetAppFiles_TieringPolicy *tieringPolicy; + /** * Desired destination volume resource id. If not specified, source volume's * resource id will be used. This value must start with a lowercase letter @@ -2082,33 +2039,6 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; @end -/** - * ListQuotaRulesResponse is the response to a ListQuotaRulesRequest. - * - * @note This class supports NSFastEnumeration and indexed subscripting over - * its "quotaRules" property. If returned as the result of a query, it - * should support automatic pagination (when @c shouldFetchNextPages is - * enabled). - */ -@interface GTLRNetAppFiles_ListQuotaRulesResponse : GTLRCollectionObject - -/** A token identifying a page of results the server should return. */ -@property(nonatomic, copy, nullable) NSString *nextPageToken; - -/** - * List of quota rules - * - * @note This property is used to support NSFastEnumeration and indexed - * subscripting on this class. - */ -@property(nonatomic, strong, nullable) NSArray *quotaRules; - -/** Locations that could not be reached. */ -@property(nonatomic, strong, nullable) NSArray *unreachable; - -@end - - /** * ListReplicationsResponse is the result of ListReplicationsRequest. * @@ -2485,98 +2415,6 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; @end -/** - * QuotaRule specifies the maximum disk space a user or group can use within a - * volume. They can be used for creating default and individual quota rules. - */ -@interface GTLRNetAppFiles_QuotaRule : GTLRObject - -/** Output only. Create time of the quota rule */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; - -/** - * Optional. Description of the quota rule - * - * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. - */ -@property(nonatomic, copy, nullable) NSString *descriptionProperty; - -/** - * Required. The maximum allowed disk space in MiB. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *diskLimitMib; - -/** Optional. Labels of the quota rule */ -@property(nonatomic, strong, nullable) GTLRNetAppFiles_QuotaRule_Labels *labels; - -/** - * Identifier. The resource name of the active directory. Format: - * `projects/{project_number}/locations/{location_id}/quotaRules/{quota_rule_id}`. - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Output only. State of the quota rule - * - * Likely values: - * @arg @c kGTLRNetAppFiles_QuotaRule_State_Creating Quota rule is creating - * (Value: "CREATING") - * @arg @c kGTLRNetAppFiles_QuotaRule_State_Deleting Quota rule is deleting - * (Value: "DELETING") - * @arg @c kGTLRNetAppFiles_QuotaRule_State_Error Quota rule is in error - * state. (Value: "ERROR") - * @arg @c kGTLRNetAppFiles_QuotaRule_State_Ready Quota rule is ready (Value: - * "READY") - * @arg @c kGTLRNetAppFiles_QuotaRule_State_StateUnspecified Unspecified - * state for quota rule (Value: "STATE_UNSPECIFIED") - * @arg @c kGTLRNetAppFiles_QuotaRule_State_Updating Quota rule is updating - * (Value: "UPDATING") - */ -@property(nonatomic, copy, nullable) NSString *state; - -/** Output only. State details of the quota rule */ -@property(nonatomic, copy, nullable) NSString *stateDetails; - -/** - * Optional. The quota rule applies to the specified user or group, identified - * by a Unix UID/GID, Windows SID, or null for default. - */ -@property(nonatomic, copy, nullable) NSString *target; - -/** - * Required. The type of quota rule. - * - * Likely values: - * @arg @c kGTLRNetAppFiles_QuotaRule_Type_DefaultGroupQuota Default group - * quota rule (Value: "DEFAULT_GROUP_QUOTA") - * @arg @c kGTLRNetAppFiles_QuotaRule_Type_DefaultUserQuota Default user - * quota rule (Value: "DEFAULT_USER_QUOTA") - * @arg @c kGTLRNetAppFiles_QuotaRule_Type_IndividualGroupQuota Individual - * group quota rule (Value: "INDIVIDUAL_GROUP_QUOTA") - * @arg @c kGTLRNetAppFiles_QuotaRule_Type_IndividualUserQuota Individual - * user quota rule (Value: "INDIVIDUAL_USER_QUOTA") - * @arg @c kGTLRNetAppFiles_QuotaRule_Type_TypeUnspecified Unspecified type - * for quota rule (Value: "TYPE_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *type; - -@end - - -/** - * Optional. Labels of the quota rule - * - * @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 GTLRNetAppFiles_QuotaRule_Labels : GTLRObject -@end - - /** * Replication is a nested resource under Volume, that describes a cross-region * replication relationship between 2 volumes in different regions. @@ -3150,6 +2988,20 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; /** Optional. Specifies the replica zone for regional storagePool. */ @property(nonatomic, copy, nullable) NSString *replicaZone; +/** + * Output only. Reserved for future use + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzi; + +/** + * Output only. Reserved for future use + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzs; + /** * Required. Service level of the storage pool * @@ -3320,6 +3172,28 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; @end +/** + * ValidateDirectoryServiceRequest validates the directory service policy + * attached to the storage pool. + */ +@interface GTLRNetAppFiles_ValidateDirectoryServiceRequest : GTLRObject + +/** + * Type of directory service policy attached to the storage pool. + * + * Likely values: + * @arg @c kGTLRNetAppFiles_ValidateDirectoryServiceRequest_DirectoryServiceType_ActiveDirectory + * Active directory policy attached to the storage pool. (Value: + * "ACTIVE_DIRECTORY") + * @arg @c kGTLRNetAppFiles_ValidateDirectoryServiceRequest_DirectoryServiceType_DirectoryServiceTypeUnspecified + * Directory service type is not specified. (Value: + * "DIRECTORY_SERVICE_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *directoryServiceType; + +@end + + /** * VerifyKmsConfigRequest specifies the KMS config to be validated. */ diff --git a/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesQuery.h b/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesQuery.h index 7d4ca20f1..35ddc34aa 100644 --- a/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesQuery.h +++ b/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesQuery.h @@ -1130,7 +1130,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: netapp.projects.locations.operations.cancel @@ -1153,7 +1153,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRNetAppFiles_CancelOperationRequest to include in @@ -1476,6 +1476,37 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * ValidateDirectoryService does a connectivity check for a directory service + * policy attached to the storage pool. + * + * Method: netapp.projects.locations.storagePools.validateDirectoryService + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetAppFilesCloudPlatform + */ +@interface GTLRNetAppFilesQuery_ProjectsLocationsStoragePoolsValidateDirectoryService : GTLRNetAppFilesQuery + +/** Required. Name of the storage pool */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRNetAppFiles_Operation. + * + * ValidateDirectoryService does a connectivity check for a directory service + * policy attached to the storage pool. + * + * @param object The @c GTLRNetAppFiles_ValidateDirectoryServiceRequest to + * include in the query. + * @param name Required. Name of the storage pool + * + * @return GTLRNetAppFilesQuery_ProjectsLocationsStoragePoolsValidateDirectoryService + */ ++ (instancetype)queryWithObject:(GTLRNetAppFiles_ValidateDirectoryServiceRequest *)object + name:(NSString *)name; + +@end + /** * Creates a new Volume in a given project and location. * @@ -1655,184 +1686,6 @@ NS_ASSUME_NONNULL_BEGIN @end -/** - * Creates a new quota rule. - * - * Method: netapp.projects.locations.volumes.quotaRules.create - * - * Authorization scope(s): - * @c kGTLRAuthScopeNetAppFilesCloudPlatform - */ -@interface GTLRNetAppFilesQuery_ProjectsLocationsVolumesQuotaRulesCreate : GTLRNetAppFilesQuery - -/** Required. Parent value for CreateQuotaRuleRequest */ -@property(nonatomic, copy, nullable) NSString *parent; - -/** - * Required. ID of the quota rule to create. Must be unique within the parent - * resource. Must contain only letters, numbers, underscore and hyphen, with - * the first character a letter or underscore, the last a letter or underscore - * or a number, and a 63 character maximum. - */ -@property(nonatomic, copy, nullable) NSString *quotaRuleId; - -/** - * Fetches a @c GTLRNetAppFiles_Operation. - * - * Creates a new quota rule. - * - * @param object The @c GTLRNetAppFiles_QuotaRule to include in the query. - * @param parent Required. Parent value for CreateQuotaRuleRequest - * - * @return GTLRNetAppFilesQuery_ProjectsLocationsVolumesQuotaRulesCreate - */ -+ (instancetype)queryWithObject:(GTLRNetAppFiles_QuotaRule *)object - parent:(NSString *)parent; - -@end - -/** - * Deletes a quota rule. - * - * Method: netapp.projects.locations.volumes.quotaRules.delete - * - * Authorization scope(s): - * @c kGTLRAuthScopeNetAppFilesCloudPlatform - */ -@interface GTLRNetAppFilesQuery_ProjectsLocationsVolumesQuotaRulesDelete : GTLRNetAppFilesQuery - -/** Required. Name of the quota rule. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Fetches a @c GTLRNetAppFiles_Operation. - * - * Deletes a quota rule. - * - * @param name Required. Name of the quota rule. - * - * @return GTLRNetAppFilesQuery_ProjectsLocationsVolumesQuotaRulesDelete - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - -/** - * Returns details of the specified quota rule. - * - * Method: netapp.projects.locations.volumes.quotaRules.get - * - * Authorization scope(s): - * @c kGTLRAuthScopeNetAppFilesCloudPlatform - */ -@interface GTLRNetAppFilesQuery_ProjectsLocationsVolumesQuotaRulesGet : GTLRNetAppFilesQuery - -/** Required. Name of the quota rule */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Fetches a @c GTLRNetAppFiles_QuotaRule. - * - * Returns details of the specified quota rule. - * - * @param name Required. Name of the quota rule - * - * @return GTLRNetAppFilesQuery_ProjectsLocationsVolumesQuotaRulesGet - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - -/** - * Returns list of all quota rules in a location. - * - * Method: netapp.projects.locations.volumes.quotaRules.list - * - * Authorization scope(s): - * @c kGTLRAuthScopeNetAppFilesCloudPlatform - */ -@interface GTLRNetAppFilesQuery_ProjectsLocationsVolumesQuotaRulesList : GTLRNetAppFilesQuery - -/** 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, the 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 ListQuotaRulesRequest */ -@property(nonatomic, copy, nullable) NSString *parent; - -/** - * Fetches a @c GTLRNetAppFiles_ListQuotaRulesResponse. - * - * Returns list of all quota rules in a location. - * - * @param parent Required. Parent value for ListQuotaRulesRequest - * - * @return GTLRNetAppFilesQuery_ProjectsLocationsVolumesQuotaRulesList - * - * @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 quota rule. - * - * Method: netapp.projects.locations.volumes.quotaRules.patch - * - * Authorization scope(s): - * @c kGTLRAuthScopeNetAppFilesCloudPlatform - */ -@interface GTLRNetAppFilesQuery_ProjectsLocationsVolumesQuotaRulesPatch : GTLRNetAppFilesQuery - -/** - * Identifier. The resource name of the active directory. Format: - * `projects/{project_number}/locations/{location_id}/quotaRules/{quota_rule_id}`. - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Optional. Field mask is used to specify the fields to be overwritten in the - * Quota Rule resource by the update. The fields specified in the update_mask - * are relative to the resource, not the full request. A field will be - * overwritten if it is in the mask. If the user does not provide a mask then - * all fields will be overwritten. - * - * String format is a comma-separated list of fields. - */ -@property(nonatomic, copy, nullable) NSString *updateMask; - -/** - * Fetches a @c GTLRNetAppFiles_Operation. - * - * Updates a quota rule. - * - * @param object The @c GTLRNetAppFiles_QuotaRule to include in the query. - * @param name Identifier. The resource name of the active directory. Format: - * `projects/{project_number}/locations/{location_id}/quotaRules/{quota_rule_id}`. - * - * @return GTLRNetAppFilesQuery_ProjectsLocationsVolumesQuotaRulesPatch - */ -+ (instancetype)queryWithObject:(GTLRNetAppFiles_QuotaRule *)object - name:(NSString *)name; - -@end - /** * Create a new replication for a volume. * diff --git a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m index b25586558..d7f1d7e39 100644 --- a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m +++ b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m @@ -340,6 +340,31 @@ NSString * const kGTLRNetworkManagement_Step_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRNetworkManagement_Step_State_ViewerPermissionMissing = @"VIEWER_PERMISSION_MISSING"; +// GTLRNetworkManagement_VpcFlowLogsConfig.aggregationInterval +NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_AggregationInterval_AggregationIntervalUnspecified = @"AGGREGATION_INTERVAL_UNSPECIFIED"; +NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_AggregationInterval_Interval10Min = @"INTERVAL_10_MIN"; +NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_AggregationInterval_Interval15Min = @"INTERVAL_15_MIN"; +NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_AggregationInterval_Interval1Min = @"INTERVAL_1_MIN"; +NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_AggregationInterval_Interval30Sec = @"INTERVAL_30_SEC"; +NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_AggregationInterval_Interval5Min = @"INTERVAL_5_MIN"; +NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_AggregationInterval_Interval5Sec = @"INTERVAL_5_SEC"; + +// GTLRNetworkManagement_VpcFlowLogsConfig.metadata +NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_Metadata_CustomMetadata = @"CUSTOM_METADATA"; +NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_Metadata_ExcludeAllMetadata = @"EXCLUDE_ALL_METADATA"; +NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_Metadata_IncludeAllMetadata = @"INCLUDE_ALL_METADATA"; +NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_Metadata_MetadataUnspecified = @"METADATA_UNSPECIFIED"; + +// GTLRNetworkManagement_VpcFlowLogsConfig.state +NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_State_Disabled = @"DISABLED"; +NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_State_Enabled = @"ENABLED"; +NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRNetworkManagement_VpcFlowLogsConfig.targetResourceState +NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_TargetResourceState_TargetResourceDoesNotExist = @"TARGET_RESOURCE_DOES_NOT_EXIST"; +NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_TargetResourceState_TargetResourceExists = @"TARGET_RESOURCE_EXISTS"; +NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_TargetResourceState_TargetResourceStateUnspecified = @"TARGET_RESOURCE_STATE_UNSPECIFIED"; + // GTLRNetworkManagement_VpnTunnelInfo.routingType NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingType_Dynamic = @"DYNAMIC"; NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingType_PolicyBased = @"POLICY_BASED"; @@ -505,7 +530,8 @@ @implementation GTLRNetworkManagement_CloudSQLInstanceInfo @implementation GTLRNetworkManagement_ConnectivityTest @dynamic bypassFirewallChecks, createTime, descriptionProperty, destination, displayName, labels, name, probingDetails, protocol, - reachabilityDetails, relatedProjects, source, updateTime; + reachabilityDetails, relatedProjects, returnReachabilityDetails, + roundTrip, source, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -789,6 +815,29 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_ListVpcFlowLogsConfigsResponse +// + +@implementation GTLRNetworkManagement_ListVpcFlowLogsConfigsResponse +@dynamic nextPageToken, unreachable, vpcFlowLogsConfigs; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"unreachable" : [NSString class], + @"vpcFlowLogsConfigs" : [GTLRNetworkManagement_VpcFlowLogsConfig class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"vpcFlowLogsConfigs"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkManagement_LoadBalancerBackend @@ -1051,9 +1100,11 @@ @implementation GTLRNetworkManagement_RerunConnectivityTestRequest @implementation GTLRNetworkManagement_RouteInfo @dynamic advertisedRouteNextHopUri, advertisedRouteSourceRouterUri, destIpRange, - destPortRanges, displayName, instanceTags, nccHubUri, nccSpokeUri, - networkUri, nextHop, nextHopType, priority, protocols, region, - routeScope, routeType, srcIpRange, srcPortRanges, uri; + destPortRanges, displayName, instanceTags, nccHubRouteUri, nccHubUri, + nccSpokeUri, networkUri, nextHop, nextHopNetworkUri, nextHopType, + nextHopUri, originatingRouteDisplayName, originatingRouteUri, priority, + protocols, region, routeScope, routeType, srcIpRange, srcPortRanges, + uri; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1214,6 +1265,44 @@ @implementation GTLRNetworkManagement_VpcConnectorInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_VpcFlowLogsConfig +// + +@implementation GTLRNetworkManagement_VpcFlowLogsConfig +@dynamic aggregationInterval, createTime, descriptionProperty, filterExpr, + flowSampling, interconnectAttachment, labels, metadata, metadataFields, + name, state, targetResourceState, updateTime, vpnTunnel; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"metadataFields" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_VpcFlowLogsConfig_Labels +// + +@implementation GTLRNetworkManagement_VpcFlowLogsConfig_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkManagement_VpnGatewayInfo diff --git a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementQuery.m b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementQuery.m index 77cc0442e..d14cafb19 100644 --- a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementQuery.m +++ b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementQuery.m @@ -353,3 +353,114 @@ + (instancetype)queryWithName:(NSString *)name { } @end + +@implementation GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsCreate + +@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_ProjectsLocationsVpcFlowLogsConfigsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkManagement_Operation class]; + query.loggingName = @"networkmanagement.projects.locations.vpcFlowLogsConfigs.create"; + return query; +} + +@end + +@implementation GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkManagement_Operation class]; + query.loggingName = @"networkmanagement.projects.locations.vpcFlowLogsConfigs.delete"; + return query; +} + +@end + +@implementation GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkManagement_VpcFlowLogsConfig class]; + query.loggingName = @"networkmanagement.projects.locations.vpcFlowLogsConfigs.get"; + return query; +} + +@end + +@implementation GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/vpcFlowLogsConfigs"; + GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkManagement_ListVpcFlowLogsConfigsResponse class]; + query.loggingName = @"networkmanagement.projects.locations.vpcFlowLogsConfigs.list"; + return query; +} + +@end + +@implementation GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsPatch + +@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_ProjectsLocationsVpcFlowLogsConfigsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRNetworkManagement_Operation class]; + query.loggingName = @"networkmanagement.projects.locations.vpcFlowLogsConfigs.patch"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h index 42e37b094..605ea5a29 100644 --- a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h +++ b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h @@ -67,6 +67,8 @@ @class GTLRNetworkManagement_StorageBucketInfo; @class GTLRNetworkManagement_Trace; @class GTLRNetworkManagement_VpcConnectorInfo; +@class GTLRNetworkManagement_VpcFlowLogsConfig; +@class GTLRNetworkManagement_VpcFlowLogsConfig_Labels; @class GTLRNetworkManagement_VpnGatewayInfo; @class GTLRNetworkManagement_VpnTunnelInfo; @@ -1651,8 +1653,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_ReachabilityDetails_Re // GTLRNetworkManagement_RouteInfo.nextHopType /** - * Next hop is blackhole; that is, the next hop either does not exist or is not - * running. + * Next hop is blackhole; that is, the next hop either does not exist or is + * unusable. * * Value: "NEXT_HOP_BLACKHOLE" */ @@ -1688,7 +1690,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_RouteInfo_NextHopType_ */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_RouteInfo_NextHopType_NextHopIp; /** - * Next hop is an NCC hub. + * Next hop is an NCC hub. This scenario only happens when the user doesn't + * have permissions to the project where the next hop resource is located. * * Value: "NEXT_HOP_NCC_HUB" */ @@ -1700,7 +1703,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_RouteInfo_NextHopType_ */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_RouteInfo_NextHopType_NextHopNetwork; /** - * Next hop is a peering VPC. + * Next hop is a peering VPC. This scenario only happens when the user doesn't + * have permissions to the project where the next hop resource is located. * * Value: "NEXT_HOP_PEERING" */ @@ -1773,7 +1777,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_RouteInfo_RouteType_Ad */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_RouteInfo_RouteType_Dynamic; /** - * A dynamic route received from peering network. + * A dynamic route received from peering network or NCC Hub. * * Value: "PEERING_DYNAMIC" */ @@ -1785,7 +1789,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_RouteInfo_RouteType_Pe */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_RouteInfo_RouteType_PeeringStatic; /** - * A subnet route received from peering network. + * A subnet route received from peering network or NCC Hub. * * Value: "PEERING_SUBNET" */ @@ -2044,6 +2048,124 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_StateUnspec */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_ViewerPermissionMissing; +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_VpcFlowLogsConfig.aggregationInterval + +/** + * If not specified, will default to INTERVAL_5_SEC. + * + * Value: "AGGREGATION_INTERVAL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_AggregationInterval_AggregationIntervalUnspecified; +/** + * Aggregate logs in 10m intervals. + * + * Value: "INTERVAL_10_MIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_AggregationInterval_Interval10Min; +/** + * Aggregate logs in 15m intervals. + * + * Value: "INTERVAL_15_MIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_AggregationInterval_Interval15Min; +/** + * Aggregate logs in 1m intervals. + * + * Value: "INTERVAL_1_MIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_AggregationInterval_Interval1Min; +/** + * Aggregate logs in 30s intervals. + * + * Value: "INTERVAL_30_SEC" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_AggregationInterval_Interval30Sec; +/** + * Aggregate logs in 5m intervals. + * + * Value: "INTERVAL_5_MIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_AggregationInterval_Interval5Min; +/** + * Aggregate logs in 5s intervals. + * + * Value: "INTERVAL_5_SEC" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_AggregationInterval_Interval5Sec; + +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_VpcFlowLogsConfig.metadata + +/** + * Include only custom fields (specified in metadata_fields). + * + * Value: "CUSTOM_METADATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_Metadata_CustomMetadata; +/** + * Exclude all metadata fields. + * + * Value: "EXCLUDE_ALL_METADATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_Metadata_ExcludeAllMetadata; +/** + * Include all metadata fields. + * + * Value: "INCLUDE_ALL_METADATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_Metadata_IncludeAllMetadata; +/** + * If not specified, will default to INCLUDE_ALL_METADATA. + * + * Value: "METADATA_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_Metadata_MetadataUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_VpcFlowLogsConfig.state + +/** + * When DISABLED, this configuration will not generate logs. + * + * Value: "DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_State_Disabled; +/** + * When ENABLED, this configuration will generate logs. + * + * Value: "ENABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_State_Enabled; +/** + * If not specified, will default to ENABLED. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_VpcFlowLogsConfig.targetResourceState + +/** + * Indicates that the target resource does not exist. + * + * Value: "TARGET_RESOURCE_DOES_NOT_EXIST" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_TargetResourceState_TargetResourceDoesNotExist; +/** + * Indicates that the target resource exists. + * + * Value: "TARGET_RESOURCE_EXISTS" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_TargetResourceState_TargetResourceExists; +/** + * Unspecified target resource state. + * + * Value: "TARGET_RESOURCE_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpcFlowLogsConfig_TargetResourceState_TargetResourceStateUnspecified; + // ---------------------------------------------------------------------------- // GTLRNetworkManagement_VpnTunnelInfo.routingType @@ -2589,6 +2711,21 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT */ @property(nonatomic, strong, nullable) NSArray *relatedProjects; +/** + * Output only. The reachability details of this test from the latest run for + * the return path. The details are updated when creating a new test, updating + * an existing test, or triggering a one-time rerun of an existing test. + */ +@property(nonatomic, strong, nullable) GTLRNetworkManagement_ReachabilityDetails *returnReachabilityDetails; + +/** + * Whether run analysis for the return path from destination to source. Default + * value is false. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *roundTrip; + /** * Required. Source specification of the Connectivity Test. You can use a * combination of source IP address, virtual machine (VM) instance, or Compute @@ -3739,6 +3876,35 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT @end +/** + * Response for the `ListVpcFlowLogsConfigs` 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_ListVpcFlowLogsConfigsResponse : 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 + + /** * For display only. Metadata associated with a specific load balancer backend. */ @@ -4570,15 +4736,16 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT @interface GTLRNetworkManagement_RouteInfo : GTLRObject /** - * For advertised routes, the URI of their next hop, i.e. the URI of the hybrid + * For ADVERTISED routes, the URI of their next hop, i.e. the URI of the hybrid * endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the * advertised prefix is advertised through, or URI of the source peered - * network. + * network. Deprecated in favor of the next_hop_uri field, not used in new + * tests. */ -@property(nonatomic, copy, nullable) NSString *advertisedRouteNextHopUri; +@property(nonatomic, copy, nullable) NSString *advertisedRouteNextHopUri GTLR_DEPRECATED; /** - * For advertised dynamic routes, the URI of the Cloud Router that advertised + * For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised * the corresponding IP prefix. */ @property(nonatomic, copy, nullable) NSString *advertisedRouteSourceRouterUri; @@ -4586,7 +4753,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT /** Destination IP range of the route. */ @property(nonatomic, copy, nullable) NSString *destIpRange; -/** Destination port ranges of the route. Policy based routes only. */ +/** Destination port ranges of the route. POLICY_BASED routes only. */ @property(nonatomic, strong, nullable) NSArray *destPortRanges; /** Name of a route. */ @@ -4595,17 +4762,36 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT /** Instance tags of the route. */ @property(nonatomic, strong, nullable) NSArray *instanceTags; -/** URI of a NCC Hub. NCC_HUB routes only. */ +/** + * For PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC + * Hub, the URI of the corresponding route in NCC Hub's routing table. + */ +@property(nonatomic, copy, nullable) NSString *nccHubRouteUri; + +/** + * URI of the NCC Hub the route is advertised by. PEERING_SUBNET and + * PEERING_DYNAMIC routes that are advertised by NCC Hub only. + */ @property(nonatomic, copy, nullable) NSString *nccHubUri; -/** URI of a NCC Spoke. NCC_HUB routes only. */ +/** + * URI of the destination NCC Spoke. PEERING_SUBNET and PEERING_DYNAMIC routes + * that are advertised by NCC Hub only. + */ @property(nonatomic, copy, nullable) NSString *nccSpokeUri; -/** URI of a Compute Engine network. NETWORK routes only. */ +/** URI of a VPC network where route is located. */ @property(nonatomic, copy, nullable) NSString *networkUri; -/** Next hop of the route. */ -@property(nonatomic, copy, nullable) NSString *nextHop; +/** + * String type of the next hop of the route (for example, "VPN tunnel"). + * Deprecated in favor of the next_hop_type and next_hop_uri fields, not used + * in new tests. + */ +@property(nonatomic, copy, nullable) NSString *nextHop GTLR_DEPRECATED; + +/** URI of a VPC network where the next hop resource is located. */ +@property(nonatomic, copy, nullable) NSString *nextHopNetworkUri; /** * Type of next hop. @@ -4613,7 +4799,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * Likely values: * @arg @c kGTLRNetworkManagement_RouteInfo_NextHopType_NextHopBlackhole Next * hop is blackhole; that is, the next hop either does not exist or is - * not running. (Value: "NEXT_HOP_BLACKHOLE") + * unusable. (Value: "NEXT_HOP_BLACKHOLE") * @arg @c kGTLRNetworkManagement_RouteInfo_NextHopType_NextHopIlb Next hop * is the forwarding rule of an Internal Load Balancer. (Value: * "NEXT_HOP_ILB") @@ -4626,11 +4812,15 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * @arg @c kGTLRNetworkManagement_RouteInfo_NextHopType_NextHopIp Next hop is * an IP address. (Value: "NEXT_HOP_IP") * @arg @c kGTLRNetworkManagement_RouteInfo_NextHopType_NextHopNccHub Next - * hop is an NCC hub. (Value: "NEXT_HOP_NCC_HUB") + * hop is an NCC hub. This scenario only happens when the user doesn't + * have permissions to the project where the next hop resource is + * located. (Value: "NEXT_HOP_NCC_HUB") * @arg @c kGTLRNetworkManagement_RouteInfo_NextHopType_NextHopNetwork Next * hop is a VPC network gateway. (Value: "NEXT_HOP_NETWORK") * @arg @c kGTLRNetworkManagement_RouteInfo_NextHopType_NextHopPeering Next - * hop is a peering VPC. (Value: "NEXT_HOP_PEERING") + * hop is a peering VPC. This scenario only happens when the user doesn't + * have permissions to the project where the next hop resource is + * located. (Value: "NEXT_HOP_PEERING") * @arg @c kGTLRNetworkManagement_RouteInfo_NextHopType_NextHopRouterAppliance * Next hop is a [router appliance * instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview). @@ -4648,6 +4838,21 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT */ @property(nonatomic, copy, nullable) NSString *nextHopType; +/** URI of the next hop resource. */ +@property(nonatomic, copy, nullable) NSString *nextHopUri; + +/** + * For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of + * the originating SUBNET/STATIC/DYNAMIC route. + */ +@property(nonatomic, copy, nullable) NSString *originatingRouteDisplayName; + +/** + * For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating + * SUBNET/STATIC route. + */ +@property(nonatomic, copy, nullable) NSString *originatingRouteUri; + /** * Priority of the route. * @@ -4655,14 +4860,19 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT */ @property(nonatomic, strong, nullable) NSNumber *priority; -/** Protocols of the route. Policy based routes only. */ +/** Protocols of the route. POLICY_BASED routes only. */ @property(nonatomic, strong, nullable) NSArray *protocols; -/** Region of the route (if applicable). */ +/** + * Region of the route. DYNAMIC, PEERING_DYNAMIC, POLICY_BASED and ADVERTISED + * routes only. If set for POLICY_BASED route, this is a region of VLAN + * attachments for Cloud Interconnect the route applies to. + */ @property(nonatomic, copy, nullable) NSString *region; /** - * Indicates where route is applicable. + * Indicates where route is applicable. Deprecated, routes with NCC_HUB scope + * are not included in the trace in new tests. * * Likely values: * @arg @c kGTLRNetworkManagement_RouteInfo_RouteScope_NccHub Route is @@ -4673,7 +4883,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * @arg @c kGTLRNetworkManagement_RouteInfo_RouteScope_RouteScopeUnspecified * Unspecified scope. Default value. (Value: "ROUTE_SCOPE_UNSPECIFIED") */ -@property(nonatomic, copy, nullable) NSString *routeScope; +@property(nonatomic, copy, nullable) NSString *routeScope GTLR_DEPRECATED; /** * Type of route. @@ -4686,12 +4896,13 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * @arg @c kGTLRNetworkManagement_RouteInfo_RouteType_Dynamic Dynamic route * exchanged between BGP peers. (Value: "DYNAMIC") * @arg @c kGTLRNetworkManagement_RouteInfo_RouteType_PeeringDynamic A - * dynamic route received from peering network. (Value: + * dynamic route received from peering network or NCC Hub. (Value: * "PEERING_DYNAMIC") * @arg @c kGTLRNetworkManagement_RouteInfo_RouteType_PeeringStatic A static * route received from peering network. (Value: "PEERING_STATIC") * @arg @c kGTLRNetworkManagement_RouteInfo_RouteType_PeeringSubnet A subnet - * route received from peering network. (Value: "PEERING_SUBNET") + * route received from peering network or NCC Hub. (Value: + * "PEERING_SUBNET") * @arg @c kGTLRNetworkManagement_RouteInfo_RouteType_PolicyBased Policy * based route. (Value: "POLICY_BASED") * @arg @c kGTLRNetworkManagement_RouteInfo_RouteType_RouteTypeUnspecified @@ -4704,13 +4915,16 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT */ @property(nonatomic, copy, nullable) NSString *routeType; -/** Source IP address range of the route. Policy based routes only. */ +/** Source IP address range of the route. POLICY_BASED routes only. */ @property(nonatomic, copy, nullable) NSString *srcIpRange; -/** Source port ranges of the route. Policy based routes only. */ +/** Source port ranges of the route. POLICY_BASED routes only. */ @property(nonatomic, strong, nullable) NSArray *srcPortRanges; -/** URI of a route (if applicable). */ +/** + * URI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network) + * and POLICY_BASED routes only. + */ @property(nonatomic, copy, nullable) NSString *uri; @end @@ -5124,6 +5338,156 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT @end +/** + * A configuration to generate VPC Flow Logs. + */ +@interface GTLRNetworkManagement_VpcFlowLogsConfig : GTLRObject + +/** + * Optional. The aggregation interval for the logs. Default value is + * INTERVAL_5_SEC. + * + * Likely values: + * @arg @c kGTLRNetworkManagement_VpcFlowLogsConfig_AggregationInterval_AggregationIntervalUnspecified + * If not specified, will default to INTERVAL_5_SEC. (Value: + * "AGGREGATION_INTERVAL_UNSPECIFIED") + * @arg @c kGTLRNetworkManagement_VpcFlowLogsConfig_AggregationInterval_Interval10Min + * Aggregate logs in 10m intervals. (Value: "INTERVAL_10_MIN") + * @arg @c kGTLRNetworkManagement_VpcFlowLogsConfig_AggregationInterval_Interval15Min + * Aggregate logs in 15m intervals. (Value: "INTERVAL_15_MIN") + * @arg @c kGTLRNetworkManagement_VpcFlowLogsConfig_AggregationInterval_Interval1Min + * Aggregate logs in 1m intervals. (Value: "INTERVAL_1_MIN") + * @arg @c kGTLRNetworkManagement_VpcFlowLogsConfig_AggregationInterval_Interval30Sec + * Aggregate logs in 30s intervals. (Value: "INTERVAL_30_SEC") + * @arg @c kGTLRNetworkManagement_VpcFlowLogsConfig_AggregationInterval_Interval5Min + * Aggregate logs in 5m intervals. (Value: "INTERVAL_5_MIN") + * @arg @c kGTLRNetworkManagement_VpcFlowLogsConfig_AggregationInterval_Interval5Sec + * Aggregate logs in 5s intervals. (Value: "INTERVAL_5_SEC") + */ +@property(nonatomic, copy, nullable) NSString *aggregationInterval; + +/** Output only. The time the config was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. The user-supplied description of the VPC Flow Logs configuration. + * Maximum of 512 characters. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Optional. Export filter used to define which VPC Flow Logs should be logged. + */ +@property(nonatomic, copy, nullable) NSString *filterExpr; + +/** + * Optional. 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; + +/** Optional. Resource labels to represent user-provided metadata. */ +@property(nonatomic, strong, nullable) GTLRNetworkManagement_VpcFlowLogsConfig_Labels *labels; + +/** + * Optional. 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_VpcFlowLogsConfig_Metadata_CustomMetadata + * Include only custom fields (specified in metadata_fields). (Value: + * "CUSTOM_METADATA") + * @arg @c kGTLRNetworkManagement_VpcFlowLogsConfig_Metadata_ExcludeAllMetadata + * Exclude all metadata fields. (Value: "EXCLUDE_ALL_METADATA") + * @arg @c kGTLRNetworkManagement_VpcFlowLogsConfig_Metadata_IncludeAllMetadata + * Include all metadata fields. (Value: "INCLUDE_ALL_METADATA") + * @arg @c kGTLRNetworkManagement_VpcFlowLogsConfig_Metadata_MetadataUnspecified + * If not specified, will default to INCLUDE_ALL_METADATA. (Value: + * "METADATA_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *metadata; + +/** + * Optional. 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; + +/** + * Identifier. Unique name of the configuration using the form: + * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The state of the VPC Flow Log configuration. Default value is + * ENABLED. When creating a new configuration, it must be enabled. + * + * Likely values: + * @arg @c kGTLRNetworkManagement_VpcFlowLogsConfig_State_Disabled When + * DISABLED, this configuration will not generate logs. (Value: + * "DISABLED") + * @arg @c kGTLRNetworkManagement_VpcFlowLogsConfig_State_Enabled When + * ENABLED, this configuration will generate logs. (Value: "ENABLED") + * @arg @c kGTLRNetworkManagement_VpcFlowLogsConfig_State_StateUnspecified If + * not specified, will default to ENABLED. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Output only. A diagnostic bit - describes the state of the configured target + * resource for diagnostic purposes. + * + * Likely values: + * @arg @c kGTLRNetworkManagement_VpcFlowLogsConfig_TargetResourceState_TargetResourceDoesNotExist + * Indicates that the target resource does not exist. (Value: + * "TARGET_RESOURCE_DOES_NOT_EXIST") + * @arg @c kGTLRNetworkManagement_VpcFlowLogsConfig_TargetResourceState_TargetResourceExists + * Indicates that the target resource exists. (Value: + * "TARGET_RESOURCE_EXISTS") + * @arg @c kGTLRNetworkManagement_VpcFlowLogsConfig_TargetResourceState_TargetResourceStateUnspecified + * Unspecified target resource state. (Value: + * "TARGET_RESOURCE_STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *targetResourceState; + +/** Output only. The time the config was updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +/** + * Traffic will be logged from the VPN Tunnel. Format: + * projects/{project_id}/regions/{region}/vpnTunnels/{name} + */ +@property(nonatomic, copy, nullable) NSString *vpnTunnel; + +@end + + +/** + * Optional. Resource 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 GTLRNetworkManagement_VpcFlowLogsConfig_Labels : GTLRObject +@end + + /** * For display only. Metadata associated with a Compute Engine VPN gateway. */ diff --git a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementQuery.h b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementQuery.h index f0d63ed2b..9e6b44a55 100644 --- a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementQuery.h +++ b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementQuery.h @@ -485,7 +485,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: networkmanagement.projects.locations.global.operations.cancel @@ -508,7 +508,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRNetworkManagement_CancelOperationRequest to include @@ -674,6 +674,220 @@ 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.projects.locations.vpcFlowLogsConfigs.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsCreate : GTLRNetworkManagementQuery + +/** + * Required. The parent resource of the VPC Flow Logs configuration to create: + * `projects/{project_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 VPC Flow Logs + * configuration to create: `projects/{project_id}/locations/global` + * + * @return GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsCreate + */ ++ (instancetype)queryWithObject:(GTLRNetworkManagement_VpcFlowLogsConfig *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a specific `VpcFlowLogsConfig`. + * + * Method: networkmanagement.projects.locations.vpcFlowLogsConfigs.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsDelete : GTLRNetworkManagementQuery + +/** + * Required. `VpcFlowLogsConfig` resource name using the form: + * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRNetworkManagement_Operation. + * + * Deletes a specific `VpcFlowLogsConfig`. + * + * @param name Required. `VpcFlowLogsConfig` resource name using the form: + * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}` + * + * @return GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets the details of a specific `VpcFlowLogsConfig`. + * + * Method: networkmanagement.projects.locations.vpcFlowLogsConfigs.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsGet : GTLRNetworkManagementQuery + +/** + * Required. `VpcFlowLogsConfig` resource name using the form: + * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRNetworkManagement_VpcFlowLogsConfig. + * + * Gets the details of a specific `VpcFlowLogsConfig`. + * + * @param name Required. `VpcFlowLogsConfig` resource name using the form: + * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}` + * + * @return GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists all `VpcFlowLogsConfigs` in a given project. + * + * Method: networkmanagement.projects.locations.vpcFlowLogsConfigs.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsList : 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: + * `projects/{project_id}/locations/global` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRNetworkManagement_ListVpcFlowLogsConfigsResponse. + * + * Lists all `VpcFlowLogsConfigs` in a given project. + * + * @param parent Required. The parent resource of the VpcFlowLogsConfig: + * `projects/{project_id}/locations/global` + * + * @return GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsList + * + * @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.projects.locations.vpcFlowLogsConfigs.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsPatch : GTLRNetworkManagementQuery + +/** + * Identifier. Unique name of the configuration using the form: + * `projects/{project_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. + * + * 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 using the form: + * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + * + * @return GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsPatch + */ ++ (instancetype)queryWithObject:(GTLRNetworkManagement_VpcFlowLogsConfig *)object + name:(NSString *)name; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m b/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m index b2d81fc2f..740d6aee9 100644 --- a/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m +++ b/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m @@ -70,6 +70,7 @@ NSString * const kGTLRNetworkSecurity_MTLSPolicy_ClientValidationMode_RejectInvalid = @"REJECT_INVALID"; // GTLRNetworkSecurity_SecurityProfile.type +NSString * const kGTLRNetworkSecurity_SecurityProfile_Type_CustomIntercept = @"CUSTOM_INTERCEPT"; NSString * const kGTLRNetworkSecurity_SecurityProfile_Type_CustomMirroring = @"CUSTOM_MIRRORING"; NSString * const kGTLRNetworkSecurity_SecurityProfile_Type_ProfileTypeUnspecified = @"PROFILE_TYPE_UNSPECIFIED"; NSString * const kGTLRNetworkSecurity_SecurityProfile_Type_ThreatPrevention = @"THREAT_PREVENTION"; @@ -522,6 +523,16 @@ @implementation GTLRNetworkSecurity_CloneAddressGroupItemsRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkSecurity_CustomInterceptProfile +// + +@implementation GTLRNetworkSecurity_CustomInterceptProfile +@dynamic interceptEndpointGroup; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkSecurity_CustomMirroringProfile @@ -1351,8 +1362,9 @@ @implementation GTLRNetworkSecurity_Rule // @implementation GTLRNetworkSecurity_SecurityProfile -@dynamic createTime, customMirroringProfile, descriptionProperty, ETag, labels, - name, threatPreventionProfile, type, updateTime; +@dynamic createTime, customInterceptProfile, customMirroringProfile, + descriptionProperty, ETag, labels, name, threatPreventionProfile, type, + updateTime; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -1385,8 +1397,9 @@ + (Class)classForAdditionalProperties { // @implementation GTLRNetworkSecurity_SecurityProfileGroup -@dynamic createTime, customMirroringProfile, descriptionProperty, ETag, labels, - name, threatPreventionProfile, updateTime; +@dynamic createTime, customInterceptProfile, customMirroringProfile, + descriptionProperty, ETag, labels, name, threatPreventionProfile, + updateTime; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h index 5ab223d61..1167a7a0a 100644 --- a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h +++ b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h @@ -35,6 +35,7 @@ @class GTLRNetworkSecurity_CertificateProviderInstance; @class GTLRNetworkSecurity_ClientTlsPolicy; @class GTLRNetworkSecurity_ClientTlsPolicy_Labels; +@class GTLRNetworkSecurity_CustomInterceptProfile; @class GTLRNetworkSecurity_CustomMirroringProfile; @class GTLRNetworkSecurity_Destination; @class GTLRNetworkSecurity_Expr; @@ -370,6 +371,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_MTLSPolicy_ClientValidat // ---------------------------------------------------------------------------- // GTLRNetworkSecurity_SecurityProfile.type +/** + * Profile type for TPPI. + * + * Value: "CUSTOM_INTERCEPT" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_SecurityProfile_Type_CustomIntercept; /** * Profile type for packet mirroring v2 * @@ -907,10 +914,10 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF */ @interface GTLRNetworkSecurity_AuthzPolicyAuthzRule : GTLRObject -/** Optional. Describes properties of one or more sources of a request. */ +/** Optional. Describes properties of a source of a request. */ @property(nonatomic, strong, nullable) GTLRNetworkSecurity_AuthzPolicyAuthzRuleFrom *from; -/** Optional. Describes properties of one or more targets of a request. */ +/** Optional. Describes properties of a target of a request. */ @property(nonatomic, strong, nullable) GTLRNetworkSecurity_AuthzPolicyAuthzRuleTo *to; /** @@ -937,9 +944,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF /** * Optional. Describes the properties of a request's sources. At least one of - * sources or notSources must be specified. Limited to 5 sources. A match - * occurs when ANY source (in sources or notSources) matches the request. - * Within a single source, the match follows AND semantics across fields and OR + * sources or notSources must be specified. Limited to 1 source. A match occurs + * when ANY source (in sources or notSources) matches the request. Within a + * single source, the match follows AND semantics across fields and OR * semantics within a single field, i.e. a match occurs when ANY principal * matches AND ANY ipBlocks match. */ @@ -1085,8 +1092,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF /** * Optional. Describes properties of one or more targets of a request. At least - * one of operations or notOperations must be specified. Limited to 5 - * operations. A match occurs when ANY operation (in operations or + * one of operations or notOperations must be specified. Limited to 1 + * operation. A match occurs when ANY operation (in operations or * notOperations) matches. Within an operation, the match follows AND semantics * across fields and OR semantics within a field, i.e. a match occurs when ANY * path matches AND ANY header matches and ANY method matches. @@ -1350,6 +1357,21 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF @end +/** + * CustomInterceptProfile defines the Packet Intercept Endpoint Group used to + * intercept traffic to a third-party firewall in a Firewall rule. + */ +@interface GTLRNetworkSecurity_CustomInterceptProfile : GTLRObject + +/** + * Required. The InterceptEndpointGroup to which traffic associated with the SP + * should be mirrored. + */ +@property(nonatomic, copy, nullable) NSString *interceptEndpointGroup; + +@end + + /** * CustomMirroringProfile defines an action for mirroring traffic to a * collector's EndpointGroup @@ -2859,13 +2881,16 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF /** * SecurityProfile is a resource that defines the behavior for one of many - * ProfileTypes. Next ID: 12 + * ProfileTypes. */ @interface GTLRNetworkSecurity_SecurityProfile : GTLRObject /** Output only. Resource creation timestamp. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** The custom TPPI configuration for the SecurityProfile. */ +@property(nonatomic, strong, nullable) GTLRNetworkSecurity_CustomInterceptProfile *customInterceptProfile; + /** The custom Packet Mirroring v2 configuration for the SecurityProfile. */ @property(nonatomic, strong, nullable) GTLRNetworkSecurity_CustomMirroringProfile *customMirroringProfile; @@ -2901,6 +2926,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF * configures. * * Likely values: + * @arg @c kGTLRNetworkSecurity_SecurityProfile_Type_CustomIntercept Profile + * type for TPPI. (Value: "CUSTOM_INTERCEPT") * @arg @c kGTLRNetworkSecurity_SecurityProfile_Type_CustomMirroring Profile * type for packet mirroring v2 (Value: "CUSTOM_MIRRORING") * @arg @c kGTLRNetworkSecurity_SecurityProfile_Type_ProfileTypeUnspecified @@ -2930,13 +2957,19 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF /** * SecurityProfileGroup is a resource that defines the behavior for various - * ProfileTypes. Next ID: 11 + * ProfileTypes. */ @interface GTLRNetworkSecurity_SecurityProfileGroup : GTLRObject /** Output only. Resource creation timestamp. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * Optional. Reference to a SecurityProfile with the CustomIntercept + * configuration. + */ +@property(nonatomic, copy, nullable) NSString *customInterceptProfile; + /** * Optional. Reference to a SecurityProfile with the CustomMirroring * configuration. diff --git a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityQuery.h b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityQuery.h index e91b86dae..392c051e0 100644 --- a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityQuery.h +++ b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityQuery.h @@ -641,7 +641,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: networksecurity.organizations.locations.operations.cancel @@ -664,7 +664,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRNetworkSecurity_CancelOperationRequest to include @@ -3428,7 +3428,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: networksecurity.projects.locations.operations.cancel @@ -3451,7 +3451,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRNetworkSecurity_CancelOperationRequest to include diff --git a/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h b/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h index fc5d53c73..5705016b1 100644 --- a/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h +++ b/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h @@ -3585,7 +3585,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_WasmPluginLogConfig_MinL /** - * The configuration for Platform Telemetry logging for Eventarc Avdvanced + * The configuration for Platform Telemetry logging for Eventarc Advanced * resources. */ @interface GTLRNetworkServices_LoggingConfig : GTLRObject diff --git a/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesQuery.h b/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesQuery.h index 58d4c4e87..98b3f8251 100644 --- a/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesQuery.h +++ b/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesQuery.h @@ -2339,7 +2339,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServicesViewWasmPluginViewUnspeci * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: networkservices.projects.locations.operations.cancel @@ -2362,7 +2362,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServicesViewWasmPluginViewUnspeci * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRNetworkServices_CancelOperationRequest to include diff --git a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h index e4d9a1e1c..de09ef152 100644 --- a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h +++ b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h @@ -736,7 +736,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_PscConnection_State_ */ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_PscPropagationStatus_Code_CodeUnspecified; /** - * The PSC connection propagation failed because the + * The Private Service Connect connection propagation failed because the * `PSC_PROPAGATED_CONNECTIONS_PER_VPC_NETWORK` quota in the consumer VPC * network has been exceeded. * @@ -744,23 +744,24 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_PscPropagationStatus */ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_PscPropagationStatus_Code_ErrorConsumerQuotaExceeded; /** - * The PSC connection propagation failed because the NAT IP subnet space has - * been exhausted. It is equivalent to the `Needs attention` status of the PSC - * connection. See + * The Private Service Connect connection propagation failed because the NAT IP + * subnet space has been exhausted. It is equivalent to the `Needs attention` + * status of the Private Service Connect connection. See * https://cloud.google.com/vpc/docs/about-accessing-vpc-hosted-services-endpoints#connection-statuses. * * Value: "ERROR_PRODUCER_NAT_IP_SPACE_EXHAUSTED" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_PscPropagationStatus_Code_ErrorProducerNatIpSpaceExhausted; /** - * The PSC connection propagation failed because the VPC network or the project - * of the target spoke has exceeded the connection limit set by the producer. + * The Private Service Connect connection propagation failed because the VPC + * network or the project of the target spoke has exceeded the connection limit + * set by the producer. * * Value: "ERROR_PRODUCER_PROPAGATED_CONNECTION_LIMIT_EXCEEDED" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_PscPropagationStatus_Code_ErrorProducerPropagatedConnectionLimitExceeded; /** - * PSC connection propagation failed because the + * The Private Service Connect connection propagation failed because the * `PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK` quota in the * producer VPC network has been exceeded. * @@ -768,13 +769,14 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_PscPropagationStatus */ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_PscPropagationStatus_Code_ErrorProducerQuotaExceeded; /** - * PSC connection is propagating. This is a transient state. + * The Private Service Connect connection is propagating. This is a transient + * state. * * Value: "PROPAGATING" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_PscPropagationStatus_Code_Propagating; /** - * The propagated PSC connection is ready. + * The propagated Private Service Connect connection is ready. * * Value: "READY" */ @@ -1427,9 +1429,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @interface GTLRNetworkconnectivity_AutoAccept : GTLRObject /** - * A list of project ids or project numbers for which you want to enable - * auto-accept. The auto-accept setting is applied to spokes being created or - * updated in these projects. + * Optional. A list of project ids or project numbers for which you want to + * enable auto-accept. The auto-accept setting is applied to spokes being + * created or updated in these projects. */ @property(nonatomic, strong, nullable) NSArray *autoAcceptProjects; @@ -2019,13 +2021,13 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @property(nonatomic, copy, nullable) NSString *domain; /** - * Additional structured details about this error. Keys must match /a-z+/ but - * should ideally be lowerCamelCase. Also they must be limited to 64 characters - * in length. When identifying the current value of an exceeded limit, the - * units should be contained in the key, not the value. For example, rather - * than {"instanceLimit": "100/request"}, should be returned as, - * {"instanceLimitPerRequest": "100"}, if the client exceeds the number of - * instances that can be created in a single (batch) request. + * Additional structured details about this error. Keys must match a regular + * expression of `a-z+` but should ideally be lowerCamelCase. Also, they must + * be limited to 64 characters in length. When identifying the current value of + * an exceeded limit, the units should be contained in the key, not the value. + * For example, rather than `{"instanceLimit": "100/request"}`, should be + * returned as, `{"instanceLimitPerRequest": "100"}`, if the client exceeds the + * number of instances that can be created in a single (batch) request. */ @property(nonatomic, strong, nullable) GTLRNetworkconnectivity_GoogleRpcErrorInfo_Metadata *metadata; @@ -2041,13 +2043,13 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** - * Additional structured details about this error. Keys must match /a-z+/ but - * should ideally be lowerCamelCase. Also they must be limited to 64 characters - * in length. When identifying the current value of an exceeded limit, the - * units should be contained in the key, not the value. For example, rather - * than {"instanceLimit": "100/request"}, should be returned as, - * {"instanceLimitPerRequest": "100"}, if the client exceeds the number of - * instances that can be created in a single (batch) request. + * Additional structured details about this error. Keys must match a regular + * expression of `a-z+` but should ideally be lowerCamelCase. Also, they must + * be limited to 64 characters in length. When identifying the current value of + * an exceeded limit, the units should be contained in the key, not the value. + * For example, rather than `{"instanceLimit": "100/request"}`, should be + * returned as, `{"instanceLimitPerRequest": "100"}`, if the client exceeds the + * number of instances that can be created in a single (batch) request. * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list @@ -2209,7 +2211,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * An optional description of the hub. + * Optional. An optional description of the hub. * * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. */ @@ -2350,22 +2352,27 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** - * The hub status entry. + * A hub status entry represents the status of a set of propagated Private + * Service Connect connections grouped by certain fields. */ @interface GTLRNetworkconnectivity_HubStatusEntry : GTLRObject /** - * The number of status. If group_by is not set in the request, the default is - * 1. + * The number of propagated Private Service Connect connections with this + * status. If the `group_by` field was not set in the request message, the + * value of this field is 1. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *count; -/** The same group_by field from the request. */ +/** + * The fields that this entry is grouped by. This has the same value as the + * `group_by` field in the request message. + */ @property(nonatomic, copy, nullable) NSString *groupBy; -/** The PSC propagation status. */ +/** The Private Service Connect propagation status. */ @property(nonatomic, strong, nullable) GTLRNetworkconnectivity_PscPropagationStatus *pscPropagationStatus; @end @@ -2387,9 +2394,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** * The internal range resource for IPAM operations within a VPC network. Used - * to represent a private address range along with behavioral characterstics of - * that range (its usage and peering behavior). Networking resources can link - * to this range if they are created as belonging to it. + * to represent a private address range along with behavioral characteristics + * of that range (its usage and peering behavior). Networking resources can + * link to this range if they are created as belonging to it. */ @interface GTLRNetworkconnectivity_InternalRange : GTLRObject @@ -2860,7 +2867,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** - * Response for PolicyBasedRouting.ListPolicyBasedRoutes method. + * Response for PolicyBasedRoutingService.ListPolicyBasedRoutes method. * * @note This class supports NSFastEnumeration and indexed subscripting over * its "policyBasedRoutes" property. If returned as the result of a @@ -3325,8 +3332,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** * Output only. Identifies whether the user has requested cancellation of the * operation. Operations that have been cancelled successfully have - * Operation.error value with a google.rpc.Status.code of 1, corresponding to - * `Code.CANCELLED`. + * google.longrunning.Operation.error value with a google.rpc.Status.code of 1, + * corresponding to `Code.CANCELLED`. * * Uses NSNumber of boolValue. */ @@ -3754,7 +3761,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** - * The PSC propagation status in a hub. + * The status of one or more propagated Private Service Connect connections in + * a hub. */ @interface GTLRNetworkconnectivity_PscPropagationStatus : GTLRObject @@ -3765,34 +3773,38 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin * @arg @c kGTLRNetworkconnectivity_PscPropagationStatus_Code_CodeUnspecified * The code is unspecified. (Value: "CODE_UNSPECIFIED") * @arg @c kGTLRNetworkconnectivity_PscPropagationStatus_Code_ErrorConsumerQuotaExceeded - * The PSC connection propagation failed because the + * The Private Service Connect connection propagation failed because the * `PSC_PROPAGATED_CONNECTIONS_PER_VPC_NETWORK` quota in the consumer VPC * network has been exceeded. (Value: "ERROR_CONSUMER_QUOTA_EXCEEDED") * @arg @c kGTLRNetworkconnectivity_PscPropagationStatus_Code_ErrorProducerNatIpSpaceExhausted - * The PSC connection propagation failed because the NAT IP subnet space - * has been exhausted. It is equivalent to the `Needs attention` status - * of the PSC connection. See + * The Private Service Connect connection propagation failed because the + * NAT IP subnet space has been exhausted. It is equivalent to the `Needs + * attention` status of the Private Service Connect connection. See * https://cloud.google.com/vpc/docs/about-accessing-vpc-hosted-services-endpoints#connection-statuses. * (Value: "ERROR_PRODUCER_NAT_IP_SPACE_EXHAUSTED") * @arg @c kGTLRNetworkconnectivity_PscPropagationStatus_Code_ErrorProducerPropagatedConnectionLimitExceeded - * The PSC connection propagation failed because the VPC network or the - * project of the target spoke has exceeded the connection limit set by - * the producer. (Value: + * The Private Service Connect connection propagation failed because the + * VPC network or the project of the target spoke has exceeded the + * connection limit set by the producer. (Value: * "ERROR_PRODUCER_PROPAGATED_CONNECTION_LIMIT_EXCEEDED") * @arg @c kGTLRNetworkconnectivity_PscPropagationStatus_Code_ErrorProducerQuotaExceeded - * PSC connection propagation failed because the + * The Private Service Connect connection propagation failed because the * `PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK` quota in the * producer VPC network has been exceeded. (Value: * "ERROR_PRODUCER_QUOTA_EXCEEDED") - * @arg @c kGTLRNetworkconnectivity_PscPropagationStatus_Code_Propagating PSC - * connection is propagating. This is a transient state. (Value: - * "PROPAGATING") + * @arg @c kGTLRNetworkconnectivity_PscPropagationStatus_Code_Propagating The + * Private Service Connect connection is propagating. This is a transient + * state. (Value: "PROPAGATING") * @arg @c kGTLRNetworkconnectivity_PscPropagationStatus_Code_Ready The - * propagated PSC connection is ready. (Value: "READY") + * propagated Private Service Connect connection is ready. (Value: + * "READY") */ @property(nonatomic, copy, nullable) NSString *code; -/** The human-readable summary of the PSC connection propagation status. */ +/** + * The human-readable summary of the Private Service Connect connection + * propagation status. + */ @property(nonatomic, copy, nullable) NSString *message; /** The name of the forwarding rule exported to the hub. */ @@ -3866,7 +3878,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin * Optional. The IP Address of the Regional Endpoint. When no address is * provided, an IP from the subnetwork is allocated. Use one of the following * formats: * IPv4 address as in `10.0.0.1` * Address resource URI as in - * `projects/{project}/regions/{region}/addresses/{address_name}` + * `projects/{project}/regions/{region}/addresses/{address_name}` for an IPv4 + * or IPv6 address. */ @property(nonatomic, copy, nullable) NSString *address; @@ -4367,7 +4380,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** * The token provided by the consumer. This token authenticates that the - * consumer can create a connecton within the specified project and network. + * consumer can create a connection within the specified project and network. */ @property(nonatomic, copy, nullable) NSString *token; @@ -4578,7 +4591,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * An optional description of the spoke. + * Optional. An optional description of the spoke. * * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. */ @@ -4597,19 +4610,21 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin */ @property(nonatomic, strong, nullable) GTLRNetworkconnectivity_Spoke_Labels *labels; -/** VLAN attachments that are associated with the spoke. */ +/** Optional. VLAN attachments that are associated with the spoke. */ @property(nonatomic, strong, nullable) GTLRNetworkconnectivity_LinkedInterconnectAttachments *linkedInterconnectAttachments; /** Optional. The linked producer VPC that is associated with the spoke. */ @property(nonatomic, strong, nullable) GTLRNetworkconnectivity_LinkedProducerVpcNetwork *linkedProducerVpcNetwork; -/** Router appliance instances that are associated with the spoke. */ +/** + * Optional. Router appliance instances that are associated with the spoke. + */ @property(nonatomic, strong, nullable) GTLRNetworkconnectivity_LinkedRouterApplianceInstances *linkedRouterApplianceInstances; /** Optional. VPC network that is associated with the spoke. */ @property(nonatomic, strong, nullable) GTLRNetworkconnectivity_LinkedVpcNetwork *linkedVpcNetwork; -/** VPN tunnels that are associated with the spoke. */ +/** Optional. VPN tunnels that are associated with the spoke. */ @property(nonatomic, strong, nullable) GTLRNetworkconnectivity_LinkedVpnTunnels *linkedVpnTunnels; /** diff --git a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h index 9da174b51..692509e36 100644 --- a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h +++ b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h @@ -718,8 +718,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @end /** - * Query PSC propagation status the status of a Network Connectivity Center - * hub. + * Query the Private Service Connect propagation status of a Network + * Connectivity Center hub. * * Method: networkconnectivity.projects.locations.global.hubs.queryStatus * @@ -731,20 +731,22 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif /** * Optional. An expression that filters the list of results. The filter can be * used to filter the results by the following fields: * - * psc_propagation_status.source_spoke * psc_propagation_status.source_group * - * psc_propagation_status.source_forwarding_rule * - * psc_propagation_status.target_spoke * psc_propagation_status.target_group * - * psc_propagation_status.code * psc_propagation_status.message + * `psc_propagation_status.source_spoke` * + * `psc_propagation_status.source_group` * + * `psc_propagation_status.source_forwarding_rule` * + * `psc_propagation_status.target_spoke` * + * `psc_propagation_status.target_group` * `psc_propagation_status.code` * + * `psc_propagation_status.message` */ @property(nonatomic, copy, nullable) NSString *filter; /** - * Optional. A field that counts are grouped by. A comma-separated list of any - * of these fields: * psc_propagation_status.source_spoke * - * psc_propagation_status.source_group * - * psc_propagation_status.source_forwarding_rule * - * psc_propagation_status.target_spoke * psc_propagation_status.target_group * - * psc_propagation_status.code + * Optional. Aggregate the results by the specified fields. A comma-separated + * list of any of these fields: * `psc_propagation_status.source_spoke` * + * `psc_propagation_status.source_group` * + * `psc_propagation_status.source_forwarding_rule` * + * `psc_propagation_status.target_spoke` * + * `psc_propagation_status.target_group` * `psc_propagation_status.code` */ @property(nonatomic, copy, nullable) NSString *groupBy; @@ -752,13 +754,15 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @property(nonatomic, copy, nullable) NSString *name; /** - * Optional. Sort the results in the ascending order by specific fields - * returned in the response. A comma-separated list of any of these fields: * - * psc_propagation_status.source_spoke * psc_propagation_status.source_group * - * psc_propagation_status.source_forwarding_rule * - * psc_propagation_status.target_spoke * psc_propagation_status.target_group * - * psc_propagation_status.code If `group_by` is set, the value of the - * `order_by` field must be the same as or a subset of the `group_by` field. + * Optional. Sort the results in ascending order by the specified fields. A + * comma-separated list of any of these fields: * + * `psc_propagation_status.source_spoke` * + * `psc_propagation_status.source_group` * + * `psc_propagation_status.source_forwarding_rule` * + * `psc_propagation_status.target_spoke` * + * `psc_propagation_status.target_group` * `psc_propagation_status.code` If + * `group_by` is set, the value of the `order_by` field must be the same as or + * a subset of the `group_by` field. */ @property(nonatomic, copy, nullable) NSString *orderBy; @@ -771,8 +775,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif /** * Fetches a @c GTLRNetworkconnectivity_QueryHubStatusResponse. * - * Query PSC propagation status the status of a Network Connectivity Center - * hub. + * Query the Private Service Connect propagation status of a Network + * Connectivity Center hub. * * @param name Required. The name of the hub. * @@ -1608,7 +1612,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: networkconnectivity.projects.locations.operations.cancel @@ -1631,7 +1635,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c diff --git a/Sources/GeneratedServices/OSConfig/Public/GoogleAPIClientForREST/GTLROSConfigObjects.h b/Sources/GeneratedServices/OSConfig/Public/GoogleAPIClientForREST/GTLROSConfigObjects.h index c7d4b978f..6b87fe560 100644 --- a/Sources/GeneratedServices/OSConfig/Public/GoogleAPIClientForREST/GTLROSConfigObjects.h +++ b/Sources/GeneratedServices/OSConfig/Public/GoogleAPIClientForREST/GTLROSConfigObjects.h @@ -4365,13 +4365,13 @@ FOUNDATION_EXTERN NSString * const kGTLROSConfig_WindowsUpdateSettings_Classific @interface GTLROSConfig_TimeZone : GTLRObject /** - * IANA Time Zone Database time zone, e.g. "America/New_York". + * IANA Time Zone Database time zone. For example "America/New_York". * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @property(nonatomic, copy, nullable) NSString *identifier; -/** Optional. IANA Time Zone Database version number, e.g. "2019a". */ +/** Optional. IANA Time Zone Database version number. For example "2019a". */ @property(nonatomic, copy, nullable) NSString *version; @end diff --git a/Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/GTLROnDemandScanningQuery.h b/Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/GTLROnDemandScanningQuery.h index 7ff96224a..ac5734eb4 100644 --- a/Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/GTLROnDemandScanningQuery.h +++ b/Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/GTLROnDemandScanningQuery.h @@ -41,7 +41,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: ondemandscanning.projects.locations.operations.cancel @@ -64,7 +64,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * 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. diff --git a/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseObjects.m b/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseObjects.m index 0f4692624..d2c536af4 100644 --- a/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseObjects.m +++ b/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseObjects.m @@ -257,6 +257,7 @@ // GTLROracleDatabase_Entitlement.state NSString * const kGTLROracleDatabase_Entitlement_State_AccountNotActive = @"ACCOUNT_NOT_ACTIVE"; NSString * const kGTLROracleDatabase_Entitlement_State_AccountNotLinked = @"ACCOUNT_NOT_LINKED"; +NSString * const kGTLROracleDatabase_Entitlement_State_AccountSuspended = @"ACCOUNT_SUSPENDED"; NSString * const kGTLROracleDatabase_Entitlement_State_Active = @"ACTIVE"; NSString * const kGTLROracleDatabase_Entitlement_State_StateUnspecified = @"STATE_UNSPECIFIED"; diff --git a/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseObjects.h b/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseObjects.h index 6d23b504b..831356a12 100644 --- a/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseObjects.h +++ b/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseObjects.h @@ -1282,6 +1282,12 @@ FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_Entitlement_State_Account * Value: "ACCOUNT_NOT_LINKED" */ FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_Entitlement_State_AccountNotLinked; +/** + * Account is suspended. + * + * Value: "ACCOUNT_SUSPENDED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_Entitlement_State_AccountSuspended; /** * Entitlement and Account are active. * @@ -3196,7 +3202,7 @@ FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_ScheduledOperationDetails */ @property(nonatomic, strong, nullable) NSNumber *storageSizeGb; -/** Output only. Operating system version of the image. */ +/** Optional. Operating system version of the image. */ @property(nonatomic, copy, nullable) NSString *systemVersion; /** @@ -3681,6 +3687,8 @@ FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_ScheduledOperationDetails * linked but not active. (Value: "ACCOUNT_NOT_ACTIVE") * @arg @c kGTLROracleDatabase_Entitlement_State_AccountNotLinked Account not * linked. (Value: "ACCOUNT_NOT_LINKED") + * @arg @c kGTLROracleDatabase_Entitlement_State_AccountSuspended Account is + * suspended. (Value: "ACCOUNT_SUSPENDED") * @arg @c kGTLROracleDatabase_Entitlement_State_Active Entitlement and * Account are active. (Value: "ACTIVE") * @arg @c kGTLROracleDatabase_Entitlement_State_StateUnspecified Default @@ -4511,13 +4519,13 @@ FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_ScheduledOperationDetails @interface GTLROracleDatabase_TimeZone : GTLRObject /** - * IANA Time Zone Database time zone, e.g. "America/New_York". + * IANA Time Zone Database time zone. For example "America/New_York". * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @property(nonatomic, copy, nullable) NSString *identifier; -/** Optional. IANA Time Zone Database version number, e.g. "2019a". */ +/** Optional. IANA Time Zone Database version number. For example "2019a". */ @property(nonatomic, copy, nullable) NSString *version; @end diff --git a/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseQuery.h b/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseQuery.h index 4f7b0d962..70c8345ff 100644 --- a/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseQuery.h +++ b/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseQuery.h @@ -1109,7 +1109,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: oracledatabase.projects.locations.operations.cancel @@ -1132,7 +1132,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLROracleDatabase_CancelOperationRequest to include in diff --git a/Sources/GeneratedServices/OrgPolicyAPI/GTLROrgPolicyAPIObjects.m b/Sources/GeneratedServices/OrgPolicyAPI/GTLROrgPolicyAPIObjects.m index 28035946f..9847c5db7 100644 --- a/Sources/GeneratedServices/OrgPolicyAPI/GTLROrgPolicyAPIObjects.m +++ b/Sources/GeneratedServices/OrgPolicyAPI/GTLROrgPolicyAPIObjects.m @@ -74,7 +74,7 @@ @implementation GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2AlternatePolicySpec @implementation GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2Constraint @dynamic booleanConstraint, constraintDefault, descriptionProperty, displayName, - listConstraint, name, supportsDryRun; + listConstraint, name, supportsDryRun, supportsSimulation; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -294,7 +294,21 @@ @implementation GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2PolicySpec // @implementation GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2PolicySpecPolicyRule -@dynamic allowAll, condition, denyAll, enforce, values; +@dynamic allowAll, condition, denyAll, enforce, parameters, values; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2PolicySpecPolicyRule_Parameters +// + +@implementation GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2PolicySpecPolicyRule_Parameters + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + @end diff --git a/Sources/GeneratedServices/OrgPolicyAPI/Public/GoogleAPIClientForREST/GTLROrgPolicyAPIObjects.h b/Sources/GeneratedServices/OrgPolicyAPI/Public/GoogleAPIClientForREST/GTLROrgPolicyAPIObjects.h index 016d7b801..dfae8aea1 100644 --- a/Sources/GeneratedServices/OrgPolicyAPI/Public/GoogleAPIClientForREST/GTLROrgPolicyAPIObjects.h +++ b/Sources/GeneratedServices/OrgPolicyAPI/Public/GoogleAPIClientForREST/GTLROrgPolicyAPIObjects.h @@ -27,6 +27,7 @@ @class GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2Policy; @class GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2PolicySpec; @class GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2PolicySpecPolicyRule; +@class GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2PolicySpecPolicyRule_Parameters; @class GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues; @class GTLROrgPolicyAPI_GoogleTypeExpr; @@ -328,6 +329,13 @@ FOUNDATION_EXTERN NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2Custo */ @property(nonatomic, strong, nullable) NSNumber *supportsDryRun; +/** + * Shows if simulation is supported for this constraint or not. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *supportsSimulation; + @end @@ -803,6 +811,14 @@ FOUNDATION_EXTERN NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2Custo */ @property(nonatomic, strong, nullable) NSNumber *enforce; +/** + * Optional. Required for GMCs if parameters defined in constraints. Pass + * 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 } + */ +@property(nonatomic, strong, nullable) GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2PolicySpecPolicyRule_Parameters *parameters; + /** * List of values to be used for this policy rule. This field can be set only * in policies for list constraints. @@ -812,6 +828,21 @@ FOUNDATION_EXTERN NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2Custo @end +/** + * Optional. Required for GMCs if parameters defined in constraints. Pass + * 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 } + * + * @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 GTLROrgPolicyAPI_GoogleCloudOrgpolicyV2PolicySpecPolicyRule_Parameters : GTLRObject +@end + + /** * A message that holds specific allowed and denied values. This message can * define specific values and subtrees of the Resource Manager resource diff --git a/Sources/GeneratedServices/Parallelstore/GTLRParallelstoreObjects.m b/Sources/GeneratedServices/Parallelstore/GTLRParallelstoreObjects.m index af840e359..d6fd0305a 100644 --- a/Sources/GeneratedServices/Parallelstore/GTLRParallelstoreObjects.m +++ b/Sources/GeneratedServices/Parallelstore/GTLRParallelstoreObjects.m @@ -4,7 +4,7 @@ // API: // Parallelstore API (parallelstore/v1) // Documentation: -// https://cloud.google.com/ +// https://cloud.google.com/parallelstore #import diff --git a/Sources/GeneratedServices/Parallelstore/GTLRParallelstoreQuery.m b/Sources/GeneratedServices/Parallelstore/GTLRParallelstoreQuery.m index 18a356a24..88b52cab4 100644 --- a/Sources/GeneratedServices/Parallelstore/GTLRParallelstoreQuery.m +++ b/Sources/GeneratedServices/Parallelstore/GTLRParallelstoreQuery.m @@ -4,7 +4,7 @@ // API: // Parallelstore API (parallelstore/v1) // Documentation: -// https://cloud.google.com/ +// https://cloud.google.com/parallelstore #import diff --git a/Sources/GeneratedServices/Parallelstore/GTLRParallelstoreService.m b/Sources/GeneratedServices/Parallelstore/GTLRParallelstoreService.m index 73637de6c..6e4fe42f7 100644 --- a/Sources/GeneratedServices/Parallelstore/GTLRParallelstoreService.m +++ b/Sources/GeneratedServices/Parallelstore/GTLRParallelstoreService.m @@ -4,7 +4,7 @@ // API: // Parallelstore API (parallelstore/v1) // Documentation: -// https://cloud.google.com/ +// https://cloud.google.com/parallelstore #import diff --git a/Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/GTLRParallelstore.h b/Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/GTLRParallelstore.h index 0bda18d73..4bf2d159f 100644 --- a/Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/GTLRParallelstore.h +++ b/Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/GTLRParallelstore.h @@ -4,7 +4,7 @@ // API: // Parallelstore API (parallelstore/v1) // Documentation: -// https://cloud.google.com/ +// https://cloud.google.com/parallelstore #import "GTLRParallelstoreObjects.h" #import "GTLRParallelstoreQuery.h" diff --git a/Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/GTLRParallelstoreObjects.h b/Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/GTLRParallelstoreObjects.h index fb287fab0..142488ecd 100644 --- a/Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/GTLRParallelstoreObjects.h +++ b/Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/GTLRParallelstoreObjects.h @@ -4,7 +4,7 @@ // API: // Parallelstore API (parallelstore/v1) // Documentation: -// https://cloud.google.com/ +// https://cloud.google.com/parallelstore #import diff --git a/Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/GTLRParallelstoreQuery.h b/Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/GTLRParallelstoreQuery.h index 9f4788426..c3f9ae286 100644 --- a/Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/GTLRParallelstoreQuery.h +++ b/Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/GTLRParallelstoreQuery.h @@ -4,7 +4,7 @@ // API: // Parallelstore API (parallelstore/v1) // Documentation: -// https://cloud.google.com/ +// https://cloud.google.com/parallelstore #import diff --git a/Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/GTLRParallelstoreService.h b/Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/GTLRParallelstoreService.h index 1549d1b90..0c4495f94 100644 --- a/Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/GTLRParallelstoreService.h +++ b/Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/GTLRParallelstoreService.h @@ -4,7 +4,7 @@ // API: // Parallelstore API (parallelstore/v1) // Documentation: -// https://cloud.google.com/ +// https://cloud.google.com/parallelstore #import diff --git a/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionObjects.m b/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionObjects.m index 94b01e41d..2d472296e 100644 --- a/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionObjects.m +++ b/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionObjects.m @@ -515,9 +515,9 @@ @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubs @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription @dynamic cancellationDetails, createTime, cycleEndTime, endUserEntitled, - freeTrialEndTime, lineItems, name, partnerUserToken, processingState, - products, promotions, promotionSpecs, purchaseTime, redirectUri, - renewalTime, serviceLocation, state, updateTime, + freeTrialEndTime, lineItems, migrationDetails, name, partnerUserToken, + processingState, products, promotions, promotionSpecs, purchaseTime, + redirectUri, renewalTime, serviceLocation, state, updateTime, upgradeDowngradeDetails; + (NSDictionary *)arrayPropertyToClassMap { @@ -588,6 +588,16 @@ @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubs @end +// ---------------------------------------------------------------------------- +// +// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails +// + +@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails +@dynamic migratedSubscriptionId; +@end + + // ---------------------------------------------------------------------------- // // GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec diff --git a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h index 48e16306d..e204e289c 100644 --- a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h +++ b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h @@ -35,6 +35,7 @@ @class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem; @class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails; @class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails; +@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails; @class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec; @class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails; @class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UserSession; @@ -1399,6 +1400,12 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** Required. The line items of the subscription. */ @property(nonatomic, strong, nullable) NSArray *lineItems; +/** + * Output only. Describes the details of the migrated subscription. Only + * populated if this subscription is migrated from another system. + */ +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails *migrationDetails; + /** * Identifier. Resource name of the subscription. It will have the format of * "partners/{partner_id}/subscriptions/{subscription_id}". This is available @@ -1723,6 +1730,17 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund @end +/** + * Describes the details of the migrated subscription. + */ +@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails : GTLRObject + +/** Output only. The migrated subscription id in the legacy system. */ +@property(nonatomic, copy, nullable) NSString *migratedSubscriptionId; + +@end + + /** * Describes the spec for one promotion. */ diff --git a/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m b/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m index b21406a7f..f414e598c 100644 --- a/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m +++ b/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m @@ -70,6 +70,13 @@ NSString * const kGTLRPlayIntegrity_DeviceIntegrity_DeviceRecognitionVerdict_MeetsVirtualIntegrity = @"MEETS_VIRTUAL_INTEGRITY"; NSString * const kGTLRPlayIntegrity_DeviceIntegrity_DeviceRecognitionVerdict_Unknown = @"UNKNOWN"; +// GTLRPlayIntegrity_DeviceIntegrity.legacyDeviceRecognitionVerdict +NSString * const kGTLRPlayIntegrity_DeviceIntegrity_LegacyDeviceRecognitionVerdict_MeetsBasicIntegrity = @"MEETS_BASIC_INTEGRITY"; +NSString * const kGTLRPlayIntegrity_DeviceIntegrity_LegacyDeviceRecognitionVerdict_MeetsDeviceIntegrity = @"MEETS_DEVICE_INTEGRITY"; +NSString * const kGTLRPlayIntegrity_DeviceIntegrity_LegacyDeviceRecognitionVerdict_MeetsStrongIntegrity = @"MEETS_STRONG_INTEGRITY"; +NSString * const kGTLRPlayIntegrity_DeviceIntegrity_LegacyDeviceRecognitionVerdict_MeetsVirtualIntegrity = @"MEETS_VIRTUAL_INTEGRITY"; +NSString * const kGTLRPlayIntegrity_DeviceIntegrity_LegacyDeviceRecognitionVerdict_Unknown = @"UNKNOWN"; + // GTLRPlayIntegrity_EnvironmentDetails.playProtectVerdict NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_HighRisk = @"HIGH_RISK"; NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_MediumRisk = @"MEDIUM_RISK"; @@ -181,11 +188,12 @@ @implementation GTLRPlayIntegrity_DeviceAttributes @implementation GTLRPlayIntegrity_DeviceIntegrity @dynamic deviceAttributes, deviceRecall, deviceRecognitionVerdict, - recentDeviceActivity; + legacyDeviceRecognitionVerdict, recentDeviceActivity; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"deviceRecognitionVerdict" : [NSString class] + @"deviceRecognitionVerdict" : [NSString class], + @"legacyDeviceRecognitionVerdict" : [NSString class] }; return map; } diff --git a/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h b/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h index 272a1ca8e..c7f2bd809 100644 --- a/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h +++ b/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h @@ -341,6 +341,44 @@ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_DeviceIntegrity_DeviceReco */ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_DeviceIntegrity_DeviceRecognitionVerdict_Unknown; +// ---------------------------------------------------------------------------- +// GTLRPlayIntegrity_DeviceIntegrity.legacyDeviceRecognitionVerdict + +/** + * App is running on a device that passes basic system integrity checks, but + * may not meet Android platform compatibility requirements and may not be + * approved to run Google Play services. + * + * Value: "MEETS_BASIC_INTEGRITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_DeviceIntegrity_LegacyDeviceRecognitionVerdict_MeetsBasicIntegrity; +/** + * App is running on GMS Android device with Google Play services. + * + * Value: "MEETS_DEVICE_INTEGRITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_DeviceIntegrity_LegacyDeviceRecognitionVerdict_MeetsDeviceIntegrity; +/** + * App is running on GMS Android device with Google Play services and has a + * strong guarantee of system integrity such as a hardware-backed keystore. + * + * Value: "MEETS_STRONG_INTEGRITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_DeviceIntegrity_LegacyDeviceRecognitionVerdict_MeetsStrongIntegrity; +/** + * App is running on an Android emulator with Google Play services which meets + * core Android compatibility requirements. + * + * Value: "MEETS_VIRTUAL_INTEGRITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_DeviceIntegrity_LegacyDeviceRecognitionVerdict_MeetsVirtualIntegrity; +/** + * Play does not have sufficient information to evaluate device integrity + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_DeviceIntegrity_LegacyDeviceRecognitionVerdict_Unknown; + // ---------------------------------------------------------------------------- // GTLRPlayIntegrity_EnvironmentDetails.playProtectVerdict @@ -669,6 +707,14 @@ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_RecentDeviceActivity_Devic /** Details about the integrity of the device the app is running on. */ @property(nonatomic, strong, nullable) NSArray *deviceRecognitionVerdict; +/** + * Contains legacy details about the integrity of the device the app is running + * on. Only for devices with Android version T or higher and only for apps + * opted in to the new verdicts. Only available during the transition period to + * the new verdicts system and will be removed afterwards. + */ +@property(nonatomic, strong, nullable) NSArray *legacyDeviceRecognitionVerdict; + /** Details about the device activity of the device the app is running on. */ @property(nonatomic, strong, nullable) GTLRPlayIntegrity_RecentDeviceActivity *recentDeviceActivity; diff --git a/Sources/GeneratedServices/Playdeveloperreporting/Public/GoogleAPIClientForREST/GTLRPlaydeveloperreportingQuery.h b/Sources/GeneratedServices/Playdeveloperreporting/Public/GoogleAPIClientForREST/GTLRPlaydeveloperreportingQuery.h index 67b7aa667..e447345a2 100644 --- a/Sources/GeneratedServices/Playdeveloperreporting/Public/GoogleAPIClientForREST/GTLRPlaydeveloperreportingQuery.h +++ b/Sources/GeneratedServices/Playdeveloperreporting/Public/GoogleAPIClientForREST/GTLRPlaydeveloperreportingQuery.h @@ -373,7 +373,7 @@ NS_ASSUME_NONNULL_BEGIN * `deviceBrand = "Google". * `deviceType`: Matches error issues that occurred * in the requested device types. Example: `deviceType = "PHONE"`. * * `errorIssueType`: Matches error issues of the requested types only. Valid - * candidates: `CRASH`, `ANR`. Example: `errorIssueType = CRASH OR + * candidates: `CRASH`, `ANR`, `NON_FATAL`. Example: `errorIssueType = CRASH OR * errorIssueType = ANR`. * `appProcessState`: Matches error issues on the * process state of an app, indicating whether an app runs in the foreground * (user-visible) or background. Valid candidates: `FOREGROUND`, `BACKGROUND`. @@ -578,7 +578,7 @@ NS_ASSUME_NONNULL_BEGIN * `deviceBrand = "Google". * `deviceType`: Matches error reports that occurred * in the requested device types. Example: `deviceType = "PHONE"`. * * `errorIssueType`: Matches error reports of the requested types only. Valid - * candidates: `CRASH`, `ANR`. Example: `errorIssueType = CRASH OR + * candidates: `CRASH`, `ANR`, `NON_FATAL`. Example: `errorIssueType = CRASH OR * errorIssueType = ANR`. * `errorIssueId`: Matches error reports belonging to * the requested error issue ids only. Example: `errorIssueId = 1234 OR * errorIssueId = 4567`. * `errorReportId`: Matches error reports with the diff --git a/Sources/GeneratedServices/Pubsub/GTLRPubsubObjects.m b/Sources/GeneratedServices/Pubsub/GTLRPubsubObjects.m index 96caca86d..e9def84de 100644 --- a/Sources/GeneratedServices/Pubsub/GTLRPubsubObjects.m +++ b/Sources/GeneratedServices/Pubsub/GTLRPubsubObjects.m @@ -22,6 +22,24 @@ NSString * const kGTLRPubsub_AwsKinesis_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRPubsub_AwsKinesis_State_StreamNotFound = @"STREAM_NOT_FOUND"; +// GTLRPubsub_AwsMsk.state +NSString * const kGTLRPubsub_AwsMsk_State_Active = @"ACTIVE"; +NSString * const kGTLRPubsub_AwsMsk_State_ClusterNotFound = @"CLUSTER_NOT_FOUND"; +NSString * const kGTLRPubsub_AwsMsk_State_MskPermissionDenied = @"MSK_PERMISSION_DENIED"; +NSString * const kGTLRPubsub_AwsMsk_State_PublishPermissionDenied = @"PUBLISH_PERMISSION_DENIED"; +NSString * const kGTLRPubsub_AwsMsk_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRPubsub_AwsMsk_State_TopicNotFound = @"TOPIC_NOT_FOUND"; + +// GTLRPubsub_AzureEventHubs.state +NSString * const kGTLRPubsub_AzureEventHubs_State_Active = @"ACTIVE"; +NSString * const kGTLRPubsub_AzureEventHubs_State_EventHubNotFound = @"EVENT_HUB_NOT_FOUND"; +NSString * const kGTLRPubsub_AzureEventHubs_State_EventHubsPermissionDenied = @"EVENT_HUBS_PERMISSION_DENIED"; +NSString * const kGTLRPubsub_AzureEventHubs_State_NamespaceNotFound = @"NAMESPACE_NOT_FOUND"; +NSString * const kGTLRPubsub_AzureEventHubs_State_PublishPermissionDenied = @"PUBLISH_PERMISSION_DENIED"; +NSString * const kGTLRPubsub_AzureEventHubs_State_ResourceGroupNotFound = @"RESOURCE_GROUP_NOT_FOUND"; +NSString * const kGTLRPubsub_AzureEventHubs_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRPubsub_AzureEventHubs_State_SubscriptionNotFound = @"SUBSCRIPTION_NOT_FOUND"; + // GTLRPubsub_BigQueryConfig.state NSString * const kGTLRPubsub_BigQueryConfig_State_Active = @"ACTIVE"; NSString * const kGTLRPubsub_BigQueryConfig_State_InTransitLocationRestriction = @"IN_TRANSIT_LOCATION_RESTRICTION"; @@ -46,6 +64,15 @@ NSString * const kGTLRPubsub_CloudStorageConfig_State_SchemaMismatch = @"SCHEMA_MISMATCH"; NSString * const kGTLRPubsub_CloudStorageConfig_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRPubsub_ConfluentCloud.state +NSString * const kGTLRPubsub_ConfluentCloud_State_Active = @"ACTIVE"; +NSString * const kGTLRPubsub_ConfluentCloud_State_ClusterNotFound = @"CLUSTER_NOT_FOUND"; +NSString * const kGTLRPubsub_ConfluentCloud_State_ConfluentCloudPermissionDenied = @"CONFLUENT_CLOUD_PERMISSION_DENIED"; +NSString * const kGTLRPubsub_ConfluentCloud_State_PublishPermissionDenied = @"PUBLISH_PERMISSION_DENIED"; +NSString * const kGTLRPubsub_ConfluentCloud_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRPubsub_ConfluentCloud_State_TopicNotFound = @"TOPIC_NOT_FOUND"; +NSString * const kGTLRPubsub_ConfluentCloud_State_UnreachableBootstrapServer = @"UNREACHABLE_BOOTSTRAP_SERVER"; + // GTLRPubsub_PlatformLogsSettings.severity NSString * const kGTLRPubsub_PlatformLogsSettings_Severity_Debug = @"DEBUG"; NSString * const kGTLRPubsub_PlatformLogsSettings_Severity_Disabled = @"DISABLED"; @@ -136,6 +163,32 @@ @implementation GTLRPubsub_AwsKinesis @end +// ---------------------------------------------------------------------------- +// +// GTLRPubsub_AwsMsk +// + +@implementation GTLRPubsub_AwsMsk +@dynamic awsRoleArn, clusterArn, gcpServiceAccount, state, topic; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPubsub_AzureEventHubs +// + +@implementation GTLRPubsub_AzureEventHubs +@dynamic clientId, eventHub, gcpServiceAccount, namespaceProperty, + resourceGroup, state, subscriptionId, tenantId; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"namespaceProperty" : @"namespace" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRPubsub_BigQueryConfig @@ -198,6 +251,17 @@ @implementation GTLRPubsub_CommitSchemaRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRPubsub_ConfluentCloud +// + +@implementation GTLRPubsub_ConfluentCloud +@dynamic bootstrapServer, clusterId, gcpServiceAccount, identityPoolId, state, + topic; +@end + + // ---------------------------------------------------------------------------- // // GTLRPubsub_CreateSnapshotRequest @@ -281,7 +345,8 @@ @implementation GTLRPubsub_Expr // @implementation GTLRPubsub_IngestionDataSourceSettings -@dynamic awsKinesis, cloudStorage, platformLogsSettings; +@dynamic awsKinesis, awsMsk, azureEventHubs, cloudStorage, confluentCloud, + platformLogsSettings; @end diff --git a/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubObjects.h b/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubObjects.h index 556650164..2471ce9fb 100644 --- a/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubObjects.h +++ b/Sources/GeneratedServices/Pubsub/Public/GoogleAPIClientForREST/GTLRPubsubObjects.h @@ -19,10 +19,13 @@ @class GTLRPubsub_AvroConfig; @class GTLRPubsub_AvroFormat; @class GTLRPubsub_AwsKinesis; +@class GTLRPubsub_AwsMsk; +@class GTLRPubsub_AzureEventHubs; @class GTLRPubsub_BigQueryConfig; @class GTLRPubsub_Binding; @class GTLRPubsub_CloudStorage; @class GTLRPubsub_CloudStorageConfig; +@class GTLRPubsub_ConfluentCloud; @class GTLRPubsub_CreateSnapshotRequest_Labels; @class GTLRPubsub_DeadLetterPolicy; @class GTLRPubsub_ExpirationPolicy; @@ -108,6 +111,100 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsub_AwsKinesis_State_StateUnspecified */ FOUNDATION_EXTERN NSString * const kGTLRPubsub_AwsKinesis_State_StreamNotFound; +// ---------------------------------------------------------------------------- +// GTLRPubsub_AwsMsk.state + +/** + * Ingestion is active. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_AwsMsk_State_Active; +/** + * The provided MSK cluster wasn't found. + * + * Value: "CLUSTER_NOT_FOUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_AwsMsk_State_ClusterNotFound; +/** + * Permission denied encountered while consuming data from Amazon MSK. + * + * Value: "MSK_PERMISSION_DENIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_AwsMsk_State_MskPermissionDenied; +/** + * Permission denied encountered while publishing to the topic. + * + * Value: "PUBLISH_PERMISSION_DENIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_AwsMsk_State_PublishPermissionDenied; +/** + * Default value. This value is unused. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_AwsMsk_State_StateUnspecified; +/** + * The provided topic wasn't found. + * + * Value: "TOPIC_NOT_FOUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_AwsMsk_State_TopicNotFound; + +// ---------------------------------------------------------------------------- +// GTLRPubsub_AzureEventHubs.state + +/** + * Ingestion is active. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_AzureEventHubs_State_Active; +/** + * The provided Event Hub couldn't be found. + * + * Value: "EVENT_HUB_NOT_FOUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_AzureEventHubs_State_EventHubNotFound; +/** + * Permission denied encountered while consuming data from Event Hubs. This can + * happen when `client_id`, or `tenant_id` are invalid. Or the right + * permissions haven't been granted. + * + * Value: "EVENT_HUBS_PERMISSION_DENIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_AzureEventHubs_State_EventHubsPermissionDenied; +/** + * The provided Event Hubs namespace couldn't be found. + * + * Value: "NAMESPACE_NOT_FOUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_AzureEventHubs_State_NamespaceNotFound; +/** + * Permission denied encountered while publishing to the topic. + * + * Value: "PUBLISH_PERMISSION_DENIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_AzureEventHubs_State_PublishPermissionDenied; +/** + * The provided Event Hubs resource group couldn't be found. + * + * Value: "RESOURCE_GROUP_NOT_FOUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_AzureEventHubs_State_ResourceGroupNotFound; +/** + * Default value. This value is unused. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_AzureEventHubs_State_StateUnspecified; +/** + * The provided Event Hubs subscription couldn't be found. + * + * Value: "SUBSCRIPTION_NOT_FOUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_AzureEventHubs_State_SubscriptionNotFound; + // ---------------------------------------------------------------------------- // GTLRPubsub_BigQueryConfig.state @@ -244,6 +341,52 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsub_CloudStorageConfig_State_SchemaMi */ FOUNDATION_EXTERN NSString * const kGTLRPubsub_CloudStorageConfig_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRPubsub_ConfluentCloud.state + +/** + * Ingestion is active. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_ConfluentCloud_State_Active; +/** + * The provided cluster wasn't found. + * + * Value: "CLUSTER_NOT_FOUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_ConfluentCloud_State_ClusterNotFound; +/** + * Permission denied encountered while consuming data from Confluent Cloud. + * + * Value: "CONFLUENT_CLOUD_PERMISSION_DENIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_ConfluentCloud_State_ConfluentCloudPermissionDenied; +/** + * Permission denied encountered while publishing to the topic. + * + * Value: "PUBLISH_PERMISSION_DENIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_ConfluentCloud_State_PublishPermissionDenied; +/** + * Default value. This value is unused. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_ConfluentCloud_State_StateUnspecified; +/** + * The provided topic wasn't found. + * + * Value: "TOPIC_NOT_FOUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_ConfluentCloud_State_TopicNotFound; +/** + * The provided bootstrap server address is unreachable. + * + * Value: "UNREACHABLE_BOOTSTRAP_SERVER" + */ +FOUNDATION_EXTERN NSString * const kGTLRPubsub_ConfluentCloud_State_UnreachableBootstrapServer; + // ---------------------------------------------------------------------------- // GTLRPubsub_PlatformLogsSettings.severity @@ -415,8 +558,8 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsub_ValidateMessageRequest_Encoding_J /** - * Information about an associated Analytics Hub subscription - * (https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). + * Information about an associated [Analytics Hub + * subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). */ @interface GTLRPubsub_AnalyticsHubSubscriptionInfo : GTLRObject @@ -536,6 +679,135 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsub_ValidateMessageRequest_Encoding_J @end +/** + * Ingestion settings for Amazon MSK. + */ +@interface GTLRPubsub_AwsMsk : GTLRObject + +/** + * Required. AWS role ARN to be used for Federated Identity authentication with + * Amazon MSK. Check the Pub/Sub docs for how to set up this role and the + * required permissions that need to be attached to it. + */ +@property(nonatomic, copy, nullable) NSString *awsRoleArn; + +/** + * Required. The Amazon Resource Name (ARN) that uniquely identifies the + * cluster. + */ +@property(nonatomic, copy, nullable) NSString *clusterArn; + +/** + * Required. The GCP service account to be used for Federated Identity + * authentication with Amazon MSK (via a `AssumeRoleWithWebIdentity` call for + * the provided role). The `aws_role_arn` must be set up with + * `accounts.google.com:sub` equals to this service account number. + */ +@property(nonatomic, copy, nullable) NSString *gcpServiceAccount; + +/** + * Output only. An output-only field that indicates the state of the Amazon MSK + * ingestion source. + * + * Likely values: + * @arg @c kGTLRPubsub_AwsMsk_State_Active Ingestion is active. (Value: + * "ACTIVE") + * @arg @c kGTLRPubsub_AwsMsk_State_ClusterNotFound The provided MSK cluster + * wasn't found. (Value: "CLUSTER_NOT_FOUND") + * @arg @c kGTLRPubsub_AwsMsk_State_MskPermissionDenied Permission denied + * encountered while consuming data from Amazon MSK. (Value: + * "MSK_PERMISSION_DENIED") + * @arg @c kGTLRPubsub_AwsMsk_State_PublishPermissionDenied Permission denied + * encountered while publishing to the topic. (Value: + * "PUBLISH_PERMISSION_DENIED") + * @arg @c kGTLRPubsub_AwsMsk_State_StateUnspecified Default value. This + * value is unused. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRPubsub_AwsMsk_State_TopicNotFound The provided topic wasn't + * found. (Value: "TOPIC_NOT_FOUND") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Required. The name of the topic in the Amazon MSK cluster that Pub/Sub will + * import from. + */ +@property(nonatomic, copy, nullable) NSString *topic; + +@end + + +/** + * Ingestion settings for Azure Event Hubs. + */ +@interface GTLRPubsub_AzureEventHubs : GTLRObject + +/** + * Optional. The client id of the Azure application that is being used to + * authenticate Pub/Sub. + */ +@property(nonatomic, copy, nullable) NSString *clientId; + +/** Optional. The name of the Event Hub. */ +@property(nonatomic, copy, nullable) NSString *eventHub; + +/** + * Optional. The GCP service account to be used for Federated Identity + * authentication. + */ +@property(nonatomic, copy, nullable) NSString *gcpServiceAccount; + +/** + * Optional. The name of the Event Hubs namespace. + * + * Remapped to 'namespaceProperty' to avoid language reserved word 'namespace'. + */ +@property(nonatomic, copy, nullable) NSString *namespaceProperty; + +/** Optional. Name of the resource group within the azure subscription. */ +@property(nonatomic, copy, nullable) NSString *resourceGroup; + +/** + * Output only. An output-only field that indicates the state of the Event Hubs + * ingestion source. + * + * Likely values: + * @arg @c kGTLRPubsub_AzureEventHubs_State_Active Ingestion is active. + * (Value: "ACTIVE") + * @arg @c kGTLRPubsub_AzureEventHubs_State_EventHubNotFound The provided + * Event Hub couldn't be found. (Value: "EVENT_HUB_NOT_FOUND") + * @arg @c kGTLRPubsub_AzureEventHubs_State_EventHubsPermissionDenied + * Permission denied encountered while consuming data from Event Hubs. + * This can happen when `client_id`, or `tenant_id` are invalid. Or the + * right permissions haven't been granted. (Value: + * "EVENT_HUBS_PERMISSION_DENIED") + * @arg @c kGTLRPubsub_AzureEventHubs_State_NamespaceNotFound The provided + * Event Hubs namespace couldn't be found. (Value: "NAMESPACE_NOT_FOUND") + * @arg @c kGTLRPubsub_AzureEventHubs_State_PublishPermissionDenied + * Permission denied encountered while publishing to the topic. (Value: + * "PUBLISH_PERMISSION_DENIED") + * @arg @c kGTLRPubsub_AzureEventHubs_State_ResourceGroupNotFound The + * provided Event Hubs resource group couldn't be found. (Value: + * "RESOURCE_GROUP_NOT_FOUND") + * @arg @c kGTLRPubsub_AzureEventHubs_State_StateUnspecified Default value. + * This value is unused. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRPubsub_AzureEventHubs_State_SubscriptionNotFound The provided + * Event Hubs subscription couldn't be found. (Value: + * "SUBSCRIPTION_NOT_FOUND") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Optional. The Azure subscription id. */ +@property(nonatomic, copy, nullable) NSString *subscriptionId; + +/** + * Optional. The tenant id of the Azure application that is being used to + * authenticate Pub/Sub. + */ +@property(nonatomic, copy, nullable) NSString *tenantId; + +@end + + /** * Configuration for a BigQuery subscription. */ @@ -903,6 +1175,64 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsub_ValidateMessageRequest_Encoding_J @end +/** + * Ingestion settings for Confluent Cloud. + */ +@interface GTLRPubsub_ConfluentCloud : GTLRObject + +/** Required. The address of the bootstrap server. The format is url:port. */ +@property(nonatomic, copy, nullable) NSString *bootstrapServer; + +/** Required. The id of the cluster. */ +@property(nonatomic, copy, nullable) NSString *clusterId; + +/** + * Required. The GCP service account to be used for Federated Identity + * authentication with `identity_pool_id`. + */ +@property(nonatomic, copy, nullable) NSString *gcpServiceAccount; + +/** + * Required. The id of the identity pool to be used for Federated Identity + * authentication with Confluent Cloud. See + * https://docs.confluent.io/cloud/current/security/authenticate/workload-identities/identity-providers/oauth/identity-pools.html#add-oauth-identity-pools. + */ +@property(nonatomic, copy, nullable) NSString *identityPoolId; + +/** + * Output only. An output-only field that indicates the state of the Confluent + * Cloud ingestion source. + * + * Likely values: + * @arg @c kGTLRPubsub_ConfluentCloud_State_Active Ingestion is active. + * (Value: "ACTIVE") + * @arg @c kGTLRPubsub_ConfluentCloud_State_ClusterNotFound The provided + * cluster wasn't found. (Value: "CLUSTER_NOT_FOUND") + * @arg @c kGTLRPubsub_ConfluentCloud_State_ConfluentCloudPermissionDenied + * Permission denied encountered while consuming data from Confluent + * Cloud. (Value: "CONFLUENT_CLOUD_PERMISSION_DENIED") + * @arg @c kGTLRPubsub_ConfluentCloud_State_PublishPermissionDenied + * Permission denied encountered while publishing to the topic. (Value: + * "PUBLISH_PERMISSION_DENIED") + * @arg @c kGTLRPubsub_ConfluentCloud_State_StateUnspecified Default value. + * This value is unused. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRPubsub_ConfluentCloud_State_TopicNotFound The provided topic + * wasn't found. (Value: "TOPIC_NOT_FOUND") + * @arg @c kGTLRPubsub_ConfluentCloud_State_UnreachableBootstrapServer The + * provided bootstrap server address is unreachable. (Value: + * "UNREACHABLE_BOOTSTRAP_SERVER") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Required. The name of the topic in the Confluent Cloud cluster that Pub/Sub + * will import from. + */ +@property(nonatomic, copy, nullable) NSString *topic; + +@end + + /** * Request for the `CreateSnapshot` method. */ @@ -1071,9 +1401,18 @@ FOUNDATION_EXTERN NSString * const kGTLRPubsub_ValidateMessageRequest_Encoding_J /** Optional. Amazon Kinesis Data Streams. */ @property(nonatomic, strong, nullable) GTLRPubsub_AwsKinesis *awsKinesis; +/** Optional. Amazon MSK. */ +@property(nonatomic, strong, nullable) GTLRPubsub_AwsMsk *awsMsk; + +/** Optional. Azure Event Hubs. */ +@property(nonatomic, strong, nullable) GTLRPubsub_AzureEventHubs *azureEventHubs; + /** Optional. Cloud Storage. */ @property(nonatomic, strong, nullable) GTLRPubsub_CloudStorage *cloudStorage; +/** Optional. Confluent Cloud. */ +@property(nonatomic, strong, nullable) GTLRPubsub_ConfluentCloud *confluentCloud; + /** * Optional. Platform Logs settings. If unset, no Platform Logs will be * generated. diff --git a/Sources/GeneratedServices/RapidMigrationAssessment/Public/GoogleAPIClientForREST/GTLRRapidMigrationAssessmentQuery.h b/Sources/GeneratedServices/RapidMigrationAssessment/Public/GoogleAPIClientForREST/GTLRRapidMigrationAssessmentQuery.h index 1681642fc..3dee02ae1 100644 --- a/Sources/GeneratedServices/RapidMigrationAssessment/Public/GoogleAPIClientForREST/GTLRRapidMigrationAssessmentQuery.h +++ b/Sources/GeneratedServices/RapidMigrationAssessment/Public/GoogleAPIClientForREST/GTLRRapidMigrationAssessmentQuery.h @@ -468,7 +468,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: rapidmigrationassessment.projects.locations.operations.cancel @@ -491,7 +491,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRRapidMigrationAssessment_CancelOperationRequest to diff --git a/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h b/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h index f547d845f..ecb3523f6 100644 --- a/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h +++ b/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h @@ -341,8 +341,8 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha // GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1Event.fraudPrevention /** - * Disable Fraud Prevention for this assessment, regardless of opt-in status or - * Google Cloud console settings. + * Disable Fraud Prevention for this assessment, regardless of Google Cloud + * console settings. * * Value: "DISABLED" */ @@ -355,10 +355,9 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha */ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1Event_FraudPrevention_Enabled; /** - * Default, unspecified setting. If opted in for automatic detection, - * `fraud_prevention_assessment` is returned based on the request. Otherwise, - * `fraud_prevention_assessment` is returned if `transaction_data` is present - * in the `Event` and Fraud Prevention is enabled in the Google Cloud console. + * Default, unspecified setting. `fraud_prevention_assessment` is returned if + * `transaction_data` is present in `Event` and Fraud Prevention is enabled in + * the Google Cloud console. * * Value: "FRAUD_PREVENTION_UNSPECIFIED" */ @@ -1281,17 +1280,15 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha * * Likely values: * @arg @c kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1Event_FraudPrevention_Disabled - * Disable Fraud Prevention for this assessment, regardless of opt-in - * status or Google Cloud console settings. (Value: "DISABLED") + * Disable Fraud Prevention for this assessment, regardless of Google + * Cloud console settings. (Value: "DISABLED") * @arg @c kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1Event_FraudPrevention_Enabled * Enable Fraud Prevention for this assessment, if Fraud Prevention is * enabled in the Google Cloud console. (Value: "ENABLED") * @arg @c kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1Event_FraudPrevention_FraudPreventionUnspecified - * Default, unspecified setting. If opted in for automatic detection, - * `fraud_prevention_assessment` is returned based on the request. - * Otherwise, `fraud_prevention_assessment` is returned if - * `transaction_data` is present in the `Event` and Fraud Prevention is - * enabled in the Google Cloud console. (Value: + * Default, unspecified setting. `fraud_prevention_assessment` is + * returned if `transaction_data` is present in `Event` and Fraud + * Prevention is enabled in the Google Cloud console. (Value: * "FRAUD_PREVENTION_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *fraudPrevention; diff --git a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m index 632d707a1..bd776adb8 100644 --- a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m +++ b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m @@ -283,6 +283,7 @@ // GTLRSQLAdmin_IpConfiguration.serverCaMode NSString * const kGTLRSQLAdmin_IpConfiguration_ServerCaMode_CaModeUnspecified = @"CA_MODE_UNSPECIFIED"; +NSString * const kGTLRSQLAdmin_IpConfiguration_ServerCaMode_CustomerManagedCasCa = @"CUSTOMER_MANAGED_CAS_CA"; NSString * const kGTLRSQLAdmin_IpConfiguration_ServerCaMode_GoogleManagedCasCa = @"GOOGLE_MANAGED_CAS_CA"; NSString * const kGTLRSQLAdmin_IpConfiguration_ServerCaMode_GoogleManagedInternalCa = @"GOOGLE_MANAGED_INTERNAL_CA"; @@ -506,6 +507,13 @@ NSString * const kGTLRSQLAdmin_SqlOutOfDiskReport_SqlOutOfDiskState_SoftShutdown = @"SOFT_SHUTDOWN"; NSString * const kGTLRSQLAdmin_SqlOutOfDiskReport_SqlOutOfDiskState_SqlOutOfDiskStateUnspecified = @"SQL_OUT_OF_DISK_STATE_UNSPECIFIED"; +// GTLRSQLAdmin_SqlSubOperationType.maintenanceType +NSString * const kGTLRSQLAdmin_SqlSubOperationType_MaintenanceType_InstanceMaintenance = @"INSTANCE_MAINTENANCE"; +NSString * const kGTLRSQLAdmin_SqlSubOperationType_MaintenanceType_InstanceSelfServiceMaintenance = @"INSTANCE_SELF_SERVICE_MAINTENANCE"; +NSString * const kGTLRSQLAdmin_SqlSubOperationType_MaintenanceType_ReplicaIncludedMaintenance = @"REPLICA_INCLUDED_MAINTENANCE"; +NSString * const kGTLRSQLAdmin_SqlSubOperationType_MaintenanceType_ReplicaIncludedSelfServiceMaintenance = @"REPLICA_INCLUDED_SELF_SERVICE_MAINTENANCE"; +NSString * const kGTLRSQLAdmin_SqlSubOperationType_MaintenanceType_SqlMaintenanceTypeUnspecified = @"SQL_MAINTENANCE_TYPE_UNSPECIFIED"; + // GTLRSQLAdmin_User.dualPasswordType NSString * const kGTLRSQLAdmin_User_DualPasswordType_DualPassword = @"DUAL_PASSWORD"; NSString * const kGTLRSQLAdmin_User_DualPasswordType_DualPasswordTypeUnspecified = @"DUAL_PASSWORD_TYPE_UNSPECIFIED"; @@ -734,11 +742,12 @@ + (BOOL)isKindValidForClassRegistry { // @implementation GTLRSQLAdmin_ConnectSettings -@dynamic backendType, databaseVersion, dnsName, ipAddresses, kind, pscEnabled, - region, serverCaCert, serverCaMode; +@dynamic backendType, customSubjectAlternativeNames, databaseVersion, dnsName, + ipAddresses, kind, pscEnabled, region, serverCaCert, serverCaMode; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"customSubjectAlternativeNames" : [NSString class], @"ipAddresses" : [GTLRSQLAdmin_IpMapping class] }; return map; @@ -802,8 +811,8 @@ @implementation GTLRSQLAdmin_DatabaseInstance satisfiesPzs, scheduledMaintenance, secondaryGceZone, selfLink, serverCaCert, serviceAccountEmailAddress, settings, sqlNetworkArchitecture, state, suspensionReason, - switchTransactionLogsToCloudStorageEnabled, upgradableDatabaseVersions, - writeEndpoint; + switchTransactionLogsToCloudStorageEnabled, tags, + upgradableDatabaseVersions, writeEndpoint; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; @@ -839,6 +848,20 @@ @implementation GTLRSQLAdmin_DatabaseInstance_FailoverReplica @end +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_DatabaseInstance_Tags +// + +@implementation GTLRSQLAdmin_DatabaseInstance_Tags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSQLAdmin_DatabasesListResponse @@ -1498,13 +1521,14 @@ @implementation GTLRSQLAdmin_InstancesTruncateLogRequest // @implementation GTLRSQLAdmin_IpConfiguration -@dynamic allocatedIpRange, authorizedNetworks, +@dynamic allocatedIpRange, authorizedNetworks, customSubjectAlternativeNames, enablePrivatePathForGoogleCloudServices, ipv4Enabled, privateNetwork, - pscConfig, requireSsl, serverCaMode, sslMode; + pscConfig, requireSsl, serverCaMode, serverCaPool, sslMode; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"authorizedNetworks" : [GTLRSQLAdmin_AclEntry class] + @"authorizedNetworks" : [GTLRSQLAdmin_AclEntry class], + @"customSubjectAlternativeNames" : [NSString class] }; return map; } @@ -1630,7 +1654,8 @@ + (BOOL)isKindValidForClassRegistry { @implementation GTLRSQLAdmin_Operation @dynamic acquireSsrsLeaseContext, apiWarning, backupContext, endTime, error, exportContext, importContext, insertTime, kind, name, operationType, - selfLink, startTime, status, targetId, targetLink, targetProject, user; + selfLink, startTime, status, subOperationType, targetId, targetLink, + targetProject, user; + (BOOL)isKindValidForClassRegistry { // This class has a "kind" property that doesn't appear to be usable to @@ -2152,6 +2177,16 @@ @implementation GTLRSQLAdmin_SqlServerUserDetails @end +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_SqlSubOperationType +// + +@implementation GTLRSQLAdmin_SqlSubOperationType +@dynamic maintenanceType; +@end + + // ---------------------------------------------------------------------------- // // GTLRSQLAdmin_SslCert diff --git a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h index ddf4aa99a..0f78427db 100644 --- a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h +++ b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h @@ -30,6 +30,7 @@ @class GTLRSQLAdmin_DatabaseFlags; @class GTLRSQLAdmin_DatabaseInstance; @class GTLRSQLAdmin_DatabaseInstance_FailoverReplica; +@class GTLRSQLAdmin_DatabaseInstance_Tags; @class GTLRSQLAdmin_DataCacheConfig; @class GTLRSQLAdmin_DemoteContext; @class GTLRSQLAdmin_DemoteMasterConfiguration; @@ -86,6 +87,7 @@ @class GTLRSQLAdmin_SqlServerAuditConfig; @class GTLRSQLAdmin_SqlServerDatabaseDetails; @class GTLRSQLAdmin_SqlServerUserDetails; +@class GTLRSQLAdmin_SqlSubOperationType; @class GTLRSQLAdmin_SslCert; @class GTLRSQLAdmin_SslCertDetail; @class GTLRSQLAdmin_SyncFlags; @@ -1554,6 +1556,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ImportContext_BakImportOptions_ * Value: "CA_MODE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_IpConfiguration_ServerCaMode_CaModeUnspecified; +/** + * Customer-managed CA hosted on Google Cloud's Certificate Authority Service + * (CAS). + * + * Value: "CUSTOMER_MANAGED_CAS_CA" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_IpConfiguration_ServerCaMode_CustomerManagedCasCa; /** * Google-managed regional CA part of root CA hierarchy hosted on Google * Cloud's Certificate Authority Service (CAS). @@ -2742,6 +2751,46 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlOutOfDiskReport_SqlOutOfDisk */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlOutOfDiskReport_SqlOutOfDiskState_SqlOutOfDiskStateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRSQLAdmin_SqlSubOperationType.maintenanceType + +/** + * Indicates that a standalone instance is undergoing maintenance. The instance + * can be either a primary instance or a replica. + * + * Value: "INSTANCE_MAINTENANCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlSubOperationType_MaintenanceType_InstanceMaintenance; +/** + * Indicates that the standalone instance is undergoing maintenance, initiated + * by self-service. The instance can be either a primary instance or a replica. + * + * Value: "INSTANCE_SELF_SERVICE_MAINTENANCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlSubOperationType_MaintenanceType_InstanceSelfServiceMaintenance; +/** + * Indicates that the primary instance and all of its replicas, including + * cascading replicas, are undergoing maintenance. Maintenance is performed on + * groups of replicas first, followed by the primary instance. + * + * Value: "REPLICA_INCLUDED_MAINTENANCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlSubOperationType_MaintenanceType_ReplicaIncludedMaintenance; +/** + * Indicates that the primary instance and all of its replicas are undergoing + * maintenance, initiated by self-service. Maintenance is performed on groups + * of replicas first, followed by the primary instance. + * + * Value: "REPLICA_INCLUDED_SELF_SERVICE_MAINTENANCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlSubOperationType_MaintenanceType_ReplicaIncludedSelfServiceMaintenance; +/** + * Maintenance type is unspecified. + * + * Value: "SQL_MAINTENANCE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlSubOperationType_MaintenanceType_SqlMaintenanceTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRSQLAdmin_User.dualPasswordType @@ -3383,6 +3432,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; */ @property(nonatomic, copy, nullable) NSString *backendType; +/** Custom subject alternative names for the server certificate. */ +@property(nonatomic, strong, nullable) NSArray *customSubjectAlternativeNames; + /** * The database engine type and version. The `databaseVersion` field cannot be * changed after instance creation. MySQL instances: `MYSQL_8_0`, `MYSQL_5_7` @@ -3931,8 +3983,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; /** * Optional. A primary instance and disaster recovery (DR) replica pair. A DR * replica is a cross-region replica that you designate for failover in the - * event that the primary instance experiences regional failure. Only - * applicable to MySQL. + * event that the primary instance experiences regional failure. Applicable to + * MySQL and PostgreSQL. */ @property(nonatomic, strong, nullable) GTLRSQLAdmin_ReplicationCluster *replicationCluster; @@ -4036,6 +4088,16 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; */ @property(nonatomic, strong, nullable) NSNumber *switchTransactionLogsToCloudStorageEnabled; +/** + * Optional. Input only. Immutable. Tag keys and tag values that are bound to + * this instance. You must represent each item in the map as: `"" : ""`. For + * example, a single resource can have the following tags: ``` + * "123/environment": "production", "123/costCenter": "marketing", ``` For more + * information on tag creation and management, see + * https://cloud.google.com/resource-manager/docs/tags/tags-overview. + */ +@property(nonatomic, strong, nullable) GTLRSQLAdmin_DatabaseInstance_Tags *tags; + /** Output only. All database versions that are available for upgrade. */ @property(nonatomic, strong, nullable) NSArray *upgradableDatabaseVersions; @@ -4071,6 +4133,23 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @end +/** + * Optional. Input only. Immutable. Tag keys and tag values that are bound to + * this instance. You must represent each item in the map as: `"" : ""`. For + * example, a single resource can have the following tags: ``` + * "123/environment": "production", "123/costCenter": "marketing", ``` For more + * information on tag creation and management, see + * https://cloud.google.com/resource-manager/docs/tags/tags-overview. + * + * @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 GTLRSQLAdmin_DatabaseInstance_Tags : GTLRObject +@end + + /** * Database list response. * @@ -5308,6 +5387,11 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; */ @property(nonatomic, strong, nullable) NSArray *authorizedNetworks; +/** + * Optional. Custom Subject Alternative Name(SAN)s for a Cloud SQL instance. + */ +@property(nonatomic, strong, nullable) NSArray *customSubjectAlternativeNames; + /** * Controls connectivity to private IP instances from Google services, such as * BigQuery. @@ -5354,6 +5438,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * @arg @c kGTLRSQLAdmin_IpConfiguration_ServerCaMode_CaModeUnspecified CA * mode is unspecified. It is effectively the same as * `GOOGLE_MANAGED_INTERNAL_CA`. (Value: "CA_MODE_UNSPECIFIED") + * @arg @c kGTLRSQLAdmin_IpConfiguration_ServerCaMode_CustomerManagedCasCa + * Customer-managed CA hosted on Google Cloud's Certificate Authority + * Service (CAS). (Value: "CUSTOMER_MANAGED_CAS_CA") * @arg @c kGTLRSQLAdmin_IpConfiguration_ServerCaMode_GoogleManagedCasCa * Google-managed regional CA part of root CA hierarchy hosted on Google * Cloud's Certificate Authority Service (CAS). (Value: @@ -5364,6 +5451,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; */ @property(nonatomic, copy, nullable) NSString *serverCaMode; +/** + * Optional. The resource name of the server CA pool for an instance with + * `CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`. Format: + * projects//locations//caPools/ + */ +@property(nonatomic, copy, nullable) NSString *serverCaPool; + /** * Specify how SSL/TLS is enforced in database connections. If you must use the * `require_ssl` flag for backward compatibility, then only the following value @@ -5889,9 +5983,10 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; */ @property(nonatomic, copy, nullable) NSString *status; -/** Name of the database instance related to this operation. */ -@property(nonatomic, copy, nullable) NSString *targetId; +/** Optional. The sub operation based on the operation type. */ +@property(nonatomic, strong, nullable) GTLRSQLAdmin_SqlSubOperationType *subOperationType; +@property(nonatomic, copy, nullable) NSString *targetId; @property(nonatomic, copy, nullable) NSString *targetLink; /** The project ID of the target instance related to this operation. */ @@ -5945,8 +6040,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; /** * Output only. Identifies whether the user has requested cancellation of the * operation. Operations that have been cancelled successfully have - * Operation.error value with a google.rpc.Status.code of 1, corresponding to - * `Code.CANCELLED`. + * google.longrunning.Operation.error value with a google.rpc.Status.code of + * `1`, corresponding to `Code.CANCELLED`. * * Uses NSNumber of boolValue. */ @@ -6203,7 +6298,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; /** * A primary instance and disaster recovery (DR) replica pair. A DR replica is * a cross-region replica that you designate for failover in the event that the - * primary instance experiences regional failure. Only applicable to MySQL. + * primary instance experiences regional failure. Applicable to MySQL and + * PostgreSQL. */ @interface GTLRSQLAdmin_ReplicationCluster : GTLRObject @@ -6226,13 +6322,14 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @property(nonatomic, copy, nullable) NSString *failoverDrReplicaName; /** - * Output only. If set, it indicates this instance has a private service access - * (PSA) dns endpoint that is pointing to the primary instance of the cluster. - * If this instance is the primary, the dns should be pointing to this - * instance. After Switchover or Replica failover, this DNS endpoint points to - * the promoted instance. This is a read-only field, returned to the user as - * information. This field can exist even if a standalone instance does not yet - * have a replica, or had a DR replica that was deleted. + * Output only. If set, this field indicates this instance has a private + * service access (PSA) DNS endpoint that is pointing to the primary instance + * of the cluster. If this instance is the primary, then the DNS endpoint + * points to this instance. After a switchover or replica failover operation, + * this DNS endpoint points to the promoted instance. This is a read-only + * field, returned to the user as information. This field can exist even if a + * standalone instance doesn't have a DR replica yet or the DR replica is + * deleted. */ @property(nonatomic, copy, nullable) NSString *psaWriteEndpoint; @@ -7211,6 +7308,42 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @end +/** + * The sub operation type based on the operation type. + */ +@interface GTLRSQLAdmin_SqlSubOperationType : GTLRObject + +/** + * The type of maintenance to be performed on the instance. + * + * Likely values: + * @arg @c kGTLRSQLAdmin_SqlSubOperationType_MaintenanceType_InstanceMaintenance + * Indicates that a standalone instance is undergoing maintenance. The + * instance can be either a primary instance or a replica. (Value: + * "INSTANCE_MAINTENANCE") + * @arg @c kGTLRSQLAdmin_SqlSubOperationType_MaintenanceType_InstanceSelfServiceMaintenance + * Indicates that the standalone instance is undergoing maintenance, + * initiated by self-service. The instance can be either a primary + * instance or a replica. (Value: "INSTANCE_SELF_SERVICE_MAINTENANCE") + * @arg @c kGTLRSQLAdmin_SqlSubOperationType_MaintenanceType_ReplicaIncludedMaintenance + * Indicates that the primary instance and all of its replicas, including + * cascading replicas, are undergoing maintenance. Maintenance is + * performed on groups of replicas first, followed by the primary + * instance. (Value: "REPLICA_INCLUDED_MAINTENANCE") + * @arg @c kGTLRSQLAdmin_SqlSubOperationType_MaintenanceType_ReplicaIncludedSelfServiceMaintenance + * Indicates that the primary instance and all of its replicas are + * undergoing maintenance, initiated by self-service. Maintenance is + * performed on groups of replicas first, followed by the primary + * instance. (Value: "REPLICA_INCLUDED_SELF_SERVICE_MAINTENANCE") + * @arg @c kGTLRSQLAdmin_SqlSubOperationType_MaintenanceType_SqlMaintenanceTypeUnspecified + * Maintenance type is unspecified. (Value: + * "SQL_MAINTENANCE_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *maintenanceType; + +@end + + /** * SslCerts Resource */ diff --git a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminQuery.h b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminQuery.h index f646bdbef..db8c236e8 100644 --- a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminQuery.h +++ b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminQuery.h @@ -1196,12 +1196,11 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRSQLAdminQuery_InstancesPromoteReplica : GTLRSQLAdminQuery /** - * Set to true to invoke a replica failover to the designated DR replica. As - * part of replica failover, the promote operation attempts to add the original - * primary instance as a replica of the promoted DR replica when the original - * primary instance comes back online. If set to false or not specified, then - * the original primary instance becomes an independent Cloud SQL primary - * instance. Only applicable to MySQL. + * Set to true to invoke a replica failover to the DR replica. As part of + * replica failover, the promote operation attempts to add the original primary + * instance as a replica of the promoted DR replica when the original primary + * instance comes back online. If set to false or not specified, then the + * original primary instance becomes an independent Cloud SQL primary instance. */ @property(nonatomic, assign) BOOL failover; @@ -1553,8 +1552,7 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Switches over from the primary instance to the designated DR replica - * instance. + * Switches over from the primary instance to the DR replica instance. * * Method: sql.instances.switchover * @@ -1565,9 +1563,9 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRSQLAdminQuery_InstancesSwitchover : GTLRSQLAdminQuery /** - * Optional. (MySQL only) Cloud SQL instance operations timeout, which is a sum - * of all database operations. Default value is 10 minutes and can be modified - * to a maximum value of 24 hours. + * Optional. (MySQL and PostgreSQL only) Cloud SQL instance operations timeout, + * which is a sum of all database operations. Default value is 10 minutes and + * can be modified to a maximum value of 24 hours. */ @property(nonatomic, strong, nullable) GTLRDuration *dbTimeout; @@ -1580,8 +1578,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRSQLAdmin_Operation. * - * Switches over from the primary instance to the designated DR replica - * instance. + * Switches over from the primary instance to the DR replica instance. * * @param project ID of the project that contains the replica. * @param instance Cloud SQL read replica instance name. diff --git a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m index d368e9a9d..89a7edb1d 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m +++ b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m @@ -134,6 +134,10 @@ NSString * const kGTLRSecurityCommandCenter_DataFlowEvent_Operation_OperationUnspecified = @"OPERATION_UNSPECIFIED"; NSString * const kGTLRSecurityCommandCenter_DataFlowEvent_Operation_Read = @"READ"; +// GTLRSecurityCommandCenter_DataRetentionDeletionEvent.eventType +NSString * const kGTLRSecurityCommandCenter_DataRetentionDeletionEvent_EventType_EventTypeMaxTtlExceeded = @"EVENT_TYPE_MAX_TTL_EXCEEDED"; +NSString * const kGTLRSecurityCommandCenter_DataRetentionDeletionEvent_EventType_EventTypeUnspecified = @"EVENT_TYPE_UNSPECIFIED"; + // GTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule.cloudProvider NSString * const kGTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule_CloudProvider_AmazonWebServices = @"AMAZON_WEB_SERVICES"; NSString * const kGTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule_CloudProvider_CloudProviderUnspecified = @"CLOUD_PROVIDER_UNSPECIFIED"; @@ -375,6 +379,10 @@ NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataFlowEvent_Operation_OperationUnspecified = @"OPERATION_UNSPECIFIED"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataFlowEvent_Operation_Read = @"READ"; +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataRetentionDeletionEvent.eventType +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataRetentionDeletionEvent_EventType_EventTypeMaxTtlExceeded = @"EVENT_TYPE_MAX_TTL_EXCEEDED"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataRetentionDeletionEvent_EventType_EventTypeUnspecified = @"EVENT_TYPE_UNSPECIFIED"; + // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Finding.findingClass NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Finding_FindingClass_FindingClassUnspecified = @"FINDING_CLASS_UNSPECIFIED"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Finding_FindingClass_Misconfiguration = @"MISCONFIGURATION"; @@ -413,6 +421,44 @@ NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IamBinding_Action_Add = @"ADD"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IamBinding_Action_Remove = @"REMOVE"; +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue.issueType +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_IssueType_Chokepoint = @"CHOKEPOINT"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_IssueType_Insight = @"INSIGHT"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_IssueType_IssueTypeUnspecified = @"ISSUE_TYPE_UNSPECIFIED"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_IssueType_ToxicCombination = @"TOXIC_COMBINATION"; + +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue.severity +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_Severity_Critical = @"CRITICAL"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_Severity_High = @"HIGH"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_Severity_Low = @"LOW"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_Severity_Medium = @"MEDIUM"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_Severity_SeverityUnspecified = @"SEVERITY_UNSPECIFIED"; + +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue.state +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_State_Active = @"ACTIVE"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_State_Inactive = @"INACTIVE"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain.domainCategory +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_Ai = @"AI"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_Code = @"CODE"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_Container = @"CONTAINER"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_Data = @"DATA"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_DomainCategoryUnspecified = @"DOMAIN_CATEGORY_UNSPECIFIED"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_IdentityAndAccess = @"IDENTITY_AND_ACCESS"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_Vulnerability = @"VULNERABILITY"; + +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueMute.muteState +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueMute_MuteState_Muted = @"MUTED"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueMute_MuteState_MuteStateUnspecified = @"MUTE_STATE_UNSPECIFIED"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueMute_MuteState_NotMuted = @"NOT_MUTED"; + +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResource.cloudProvider +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResource_CloudProvider_AmazonWebServices = @"AMAZON_WEB_SERVICES"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResource_CloudProvider_CloudProviderUnspecified = @"CLOUD_PROVIDER_UNSPECIFIED"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResource_CloudProvider_GoogleCloud = @"GOOGLE_CLOUD"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResource_CloudProvider_MicrosoftAzure = @"MICROSOFT_AZURE"; + // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack.additionalTactics NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTactics_Collection = @"COLLECTION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTactics_CommandAndControl = @"COMMAND_AND_CONTROL"; @@ -1020,7 +1066,7 @@ @implementation GTLRSecurityCommandCenter_AssetDiscoveryConfig // @implementation GTLRSecurityCommandCenter_Attack -@dynamic classification, volumeBps, volumePps; +@dynamic classification, volumeBps, volumeBpsLong, volumePps, volumePpsLong; @end @@ -1619,6 +1665,16 @@ @implementation GTLRSecurityCommandCenter_DataFlowEvent @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_DataRetentionDeletionEvent +// + +@implementation GTLRSecurityCommandCenter_DataRetentionDeletionEvent +@dynamic dataObjectCount, eventDetectionTime, eventType, maxRetentionAllowed; +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_Detection @@ -1810,13 +1866,14 @@ @implementation GTLRSecurityCommandCenter_Finding canonicalName, category, cloudArmor, cloudDlpDataProfile, cloudDlpInspection, compliances, connections, contacts, containers, createTime, dataAccessEvents, database, dataFlowEvents, - descriptionProperty, disk, eventTime, exfiltration, externalSystems, - externalUri, files, findingClass, groupMemberships, iamBindings, - indicator, kernelRootkit, kubernetes, loadBalancers, logEntries, - mitreAttack, moduleName, mute, muteInfo, muteInitiator, muteUpdateTime, - name, nextSteps, notebook, orgPolicies, parent, parentDisplayName, - processes, resourceName, securityMarks, securityPosture, severity, - sourceProperties, state, toxicCombination, vulnerability; + dataRetentionDeletionEvents, descriptionProperty, disk, eventTime, + exfiltration, externalSystems, externalUri, files, findingClass, + groupMemberships, iamBindings, indicator, kernelRootkit, kubernetes, + loadBalancers, logEntries, mitreAttack, moduleName, mute, muteInfo, + muteInitiator, muteUpdateTime, name, nextSteps, notebook, orgPolicies, + parent, parentDisplayName, processes, resourceName, securityMarks, + securityPosture, severity, sourceProperties, state, toxicCombination, + vulnerability; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -1829,6 +1886,7 @@ @implementation GTLRSecurityCommandCenter_Finding @"containers" : [GTLRSecurityCommandCenter_Container class], @"dataAccessEvents" : [GTLRSecurityCommandCenter_DataAccessEvent class], @"dataFlowEvents" : [GTLRSecurityCommandCenter_DataFlowEvent class], + @"dataRetentionDeletionEvents" : [GTLRSecurityCommandCenter_DataRetentionDeletionEvent class], @"files" : [GTLRSecurityCommandCenter_File class], @"groupMemberships" : [GTLRSecurityCommandCenter_GroupMembership class], @"iamBindings" : [GTLRSecurityCommandCenter_IamBinding class], @@ -2357,7 +2415,7 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Application // @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Attack -@dynamic classification, volumeBps, volumePps; +@dynamic classification, volumeBps, volumeBpsLong, volumePps, volumePpsLong; @end @@ -2767,6 +2825,16 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataFlowEve @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataRetentionDeletionEvent +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataRetentionDeletionEvent +@dynamic dataObjectCount, eventDetectionTime, eventType, maxRetentionAllowed; +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Detection @@ -2894,13 +2962,14 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Finding canonicalName, category, cloudArmor, cloudDlpDataProfile, cloudDlpInspection, compliances, connections, contacts, containers, createTime, dataAccessEvents, database, dataFlowEvents, - descriptionProperty, disk, eventTime, exfiltration, externalSystems, - externalUri, files, findingClass, groupMemberships, iamBindings, - indicator, kernelRootkit, kubernetes, loadBalancers, logEntries, - mitreAttack, moduleName, mute, muteInfo, muteInitiator, muteUpdateTime, - name, nextSteps, notebook, orgPolicies, parent, parentDisplayName, - processes, resourceName, securityMarks, securityPosture, severity, - sourceProperties, state, toxicCombination, vulnerability; + dataRetentionDeletionEvents, descriptionProperty, disk, eventTime, + exfiltration, externalSystems, externalUri, files, findingClass, + groupMemberships, iamBindings, indicator, kernelRootkit, kubernetes, + loadBalancers, logEntries, mitreAttack, moduleName, mute, muteInfo, + muteInitiator, muteUpdateTime, name, nextSteps, notebook, orgPolicies, + parent, parentDisplayName, processes, resourceName, securityMarks, + securityPosture, severity, sourceProperties, state, toxicCombination, + vulnerability; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -2913,6 +2982,7 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Finding @"containers" : [GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Container class], @"dataAccessEvents" : [GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataAccessEvent class], @"dataFlowEvents" : [GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataFlowEvent class], + @"dataRetentionDeletionEvents" : [GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataRetentionDeletionEvent class], @"files" : [GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2File class], @"groupMemberships" : [GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2GroupMembership class], @"iamBindings" : [GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IamBinding class], @@ -3030,6 +3100,194 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Indicator @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue +@dynamic createTime, descriptionProperty, detection, domains, exposureScore, + issueType, lastObservationTime, mute, name, primaryResource, + relatedFindings, remediations, secondaryResources, securityContexts, + severity, state, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"domains" : [GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain class], + @"relatedFindings" : [GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueFinding class], + @"remediations" : [NSString class], + @"secondaryResources" : [GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResource class], + @"securityContexts" : [GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueSecurityContext class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain +@dynamic domainCategory; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueFinding +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueFinding +@dynamic cve, name, securityBulletin; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueFindingCve +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueFindingCve +@dynamic name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin +@dynamic name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueMute +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueMute +@dynamic muteInitiator, muteReason, muteState, muteUpdateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResource +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResource +@dynamic awsMetadata, azureMetadata, cloudProvider, displayName, + googleCloudMetadata, name, type; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceAwsMetadata +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceAwsMetadata +@dynamic account; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount +@dynamic identifier, name; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceAzureMetadata +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceAzureMetadata +@dynamic subscription; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription +@dynamic displayName, identifier; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata +@dynamic projectId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueSecurityContext +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueSecurityContext +@dynamic aggregatedCount, context; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount +@dynamic key, value; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueSecurityContextContext +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueSecurityContextContext +@dynamic type, values; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"values" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2KernelRootkit diff --git a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterQuery.m b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterQuery.m index 1a705c3e8..5be4b9d60 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterQuery.m +++ b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterQuery.m @@ -1211,6 +1211,25 @@ + (instancetype)queryWithObject:(GTLRSecurityCommandCenter_SecurityMarks *)objec @end +@implementation GTLRSecurityCommandCenterQuery_OrganizationsAttackPathsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/attackPaths"; + GTLRSecurityCommandCenterQuery_OrganizationsAttackPathsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityCommandCenter_ListAttackPathsResponse class]; + query.loggingName = @"securitycenter.organizations.attackPaths.list"; + return query; +} + +@end + @implementation GTLRSecurityCommandCenterQuery_OrganizationsBigQueryExportsCreate @dynamic bigQueryExportId, parent; diff --git a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h index 8df0b5465..6a6256bd9 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h +++ b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h @@ -59,6 +59,7 @@ @class GTLRSecurityCommandCenter_DataAccessEvent; @class GTLRSecurityCommandCenter_Database; @class GTLRSecurityCommandCenter_DataFlowEvent; +@class GTLRSecurityCommandCenter_DataRetentionDeletionEvent; @class GTLRSecurityCommandCenter_Detection; @class GTLRSecurityCommandCenter_Disk; @class GTLRSecurityCommandCenter_DiskPath; @@ -132,6 +133,7 @@ @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataAccessEvent; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Database; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataFlowEvent; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataRetentionDeletionEvent; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Detection; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Disk; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DiskPath; @@ -150,6 +152,20 @@ @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2GroupMembership; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IamBinding; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Indicator; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueFinding; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueFindingCve; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueMute; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResource; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceAwsMetadata; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceAzureMetadata; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueSecurityContext; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueSecurityContextContext; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2KernelRootkit; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Kubernetes; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Label; @@ -850,6 +866,22 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_DataFlowEvent_Oper */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_DataFlowEvent_Operation_Read; +// ---------------------------------------------------------------------------- +// GTLRSecurityCommandCenter_DataRetentionDeletionEvent.eventType + +/** + * The maximum retention time has been exceeded. + * + * Value: "EVENT_TYPE_MAX_TTL_EXCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_DataRetentionDeletionEvent_EventType_EventTypeMaxTtlExceeded; +/** + * Unspecified event type. + * + * Value: "EVENT_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_DataRetentionDeletionEvent_EventType_EventTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule.cloudProvider @@ -2057,6 +2089,22 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataFlowEvent_Operation_Read; +// ---------------------------------------------------------------------------- +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataRetentionDeletionEvent.eventType + +/** + * The maximum retention time has been exceeded. + * + * Value: "EVENT_TYPE_MAX_TTL_EXCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataRetentionDeletionEvent_EventType_EventTypeMaxTtlExceeded; +/** + * Unspecified event type. + * + * Value: "EVENT_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataRetentionDeletionEvent_EventType_EventTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Finding.findingClass @@ -2271,6 +2319,186 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IamBinding_Action_Remove; +// ---------------------------------------------------------------------------- +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue.issueType + +/** + * Chokepoint issue type. + * + * Value: "CHOKEPOINT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_IssueType_Chokepoint; +/** + * Insight issue type. + * + * Value: "INSIGHT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_IssueType_Insight; +/** + * Unspecified issue type. + * + * Value: "ISSUE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_IssueType_IssueTypeUnspecified; +/** + * Toxic combination issue type. + * + * Value: "TOXIC_COMBINATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_IssueType_ToxicCombination; + +// ---------------------------------------------------------------------------- +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue.severity + +/** + * Critical severity. + * + * Value: "CRITICAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_Severity_Critical; +/** + * High severity. + * + * Value: "HIGH" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_Severity_High; +/** + * Low severity. + * + * Value: "LOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_Severity_Low; +/** + * Medium severity. + * + * Value: "MEDIUM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_Severity_Medium; +/** + * Unspecified severity. + * + * Value: "SEVERITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_Severity_SeverityUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue.state + +/** + * Active state. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_State_Active; +/** + * Inactive state. + * + * Value: "INACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_State_Inactive; +/** + * Unspecified state. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain.domainCategory + +/** + * Issues in the AI domain. + * + * Value: "AI" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_Ai; +/** + * Issues in the code domain. + * + * Value: "CODE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_Code; +/** + * Issues in the container domain. + * + * Value: "CONTAINER" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_Container; +/** + * Issues in the data domain. + * + * Value: "DATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_Data; +/** + * Unspecified domain category. + * + * Value: "DOMAIN_CATEGORY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_DomainCategoryUnspecified; +/** + * Issues in the identity and access domain. + * + * Value: "IDENTITY_AND_ACCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_IdentityAndAccess; +/** + * Issues in the vulnerability domain. + * + * Value: "VULNERABILITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_Vulnerability; + +// ---------------------------------------------------------------------------- +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueMute.muteState + +/** + * Muted. + * + * Value: "MUTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueMute_MuteState_Muted; +/** + * Unspecified mute state. + * + * Value: "MUTE_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueMute_MuteState_MuteStateUnspecified; +/** + * Not muted. + * + * Value: "NOT_MUTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueMute_MuteState_NotMuted; + +// ---------------------------------------------------------------------------- +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResource.cloudProvider + +/** + * Amazon Web Services. + * + * Value: "AMAZON_WEB_SERVICES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResource_CloudProvider_AmazonWebServices; +/** + * Unspecified cloud provider. + * + * Value: "CLOUD_PROVIDER_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResource_CloudProvider_CloudProviderUnspecified; +/** + * Google Cloud. + * + * Value: "GOOGLE_CLOUD" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResource_CloudProvider_GoogleCloud; +/** + * Microsoft Azure. + * + * Value: "MICROSOFT_AZURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResource_CloudProvider_MicrosoftAzure; + // ---------------------------------------------------------------------------- // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack.additionalTactics @@ -5325,19 +5553,35 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps /** Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'. */ @property(nonatomic, copy, nullable) NSString *classification; +/** + * Total BPS (bytes per second) volume of attack. Deprecated - refer to + * volume_bps_long instead. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *volumeBps GTLR_DEPRECATED; + /** * Total BPS (bytes per second) volume of attack. * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *volumeBpsLong; + +/** + * Total PPS (packets per second) volume of attack. Deprecated - refer to + * volume_pps_long instead. + * * Uses NSNumber of intValue. */ -@property(nonatomic, strong, nullable) NSNumber *volumeBps; +@property(nonatomic, strong, nullable) NSNumber *volumePps GTLR_DEPRECATED; /** * Total PPS (packets per second) volume of attack. * - * Uses NSNumber of intValue. + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSNumber *volumePps; +@property(nonatomic, strong, nullable) NSNumber *volumePpsLong; @end @@ -6786,6 +7030,57 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @end +/** + * Details about data retention deletion violations, in which the data is + * non-compliant based on their retention or deletion time, as defined in the + * applicable data security policy. The Data Retention Deletion (DRD) control + * is a control of the DSPM (Data Security Posture Management) suite that + * enables organizations to manage data retention and deletion policies in + * compliance with regulations, such as GDPR and CRPA. DRD supports two primary + * policy types: maximum storage length (max TTL) and minimum storage length + * (min TTL). Both are aimed at helping organizations meet regulatory and data + * management commitments. + */ +@interface GTLRSecurityCommandCenter_DataRetentionDeletionEvent : GTLRObject + +/** + * Number of objects that violated the policy for this resource. If the number + * is less than 1,000, then the value of this field is the exact number. If the + * number of objects that violated the policy is greater than or equal to + * 1,000, then the value of this field is 1000. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *dataObjectCount; + +/** Timestamp indicating when the event was detected. */ +@property(nonatomic, strong, nullable) GTLRDateTime *eventDetectionTime; + +/** + * Type of the DRD event. + * + * Likely values: + * @arg @c kGTLRSecurityCommandCenter_DataRetentionDeletionEvent_EventType_EventTypeMaxTtlExceeded + * The maximum retention time has been exceeded. (Value: + * "EVENT_TYPE_MAX_TTL_EXCEEDED") + * @arg @c kGTLRSecurityCommandCenter_DataRetentionDeletionEvent_EventType_EventTypeUnspecified + * Unspecified event type. (Value: "EVENT_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *eventType; + +/** + * Maximum duration of retention allowed from the DRD control. This comes from + * the DRD control where users set a max TTL for their data. For example, + * suppose that a user set the max TTL for a Cloud Storage bucket to 90 days. + * However, an object in that bucket is 100 days old. In this case, a + * DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, + * and the max_retention_allowed is 90 days. + */ +@property(nonatomic, strong, nullable) GTLRDuration *maxRetentionAllowed; + +@end + + /** * Memory hash detection contributing to the binary family match. */ @@ -7307,6 +7602,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps /** Data flow events associated with the finding. */ @property(nonatomic, strong, nullable) NSArray *dataFlowEvents; +/** Data retention deletion events associated with the finding. */ +@property(nonatomic, strong, nullable) NSArray *dataRetentionDeletionEvents; + /** * Contains more details about the finding. * @@ -9046,19 +9344,35 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps /** Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'. */ @property(nonatomic, copy, nullable) NSString *classification; +/** + * Total BPS (bytes per second) volume of attack. Deprecated - refer to + * volume_bps_long instead. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *volumeBps GTLR_DEPRECATED; + /** * Total BPS (bytes per second) volume of attack. * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *volumeBpsLong; + +/** + * Total PPS (packets per second) volume of attack. Deprecated - refer to + * volume_pps_long instead. + * * Uses NSNumber of intValue. */ -@property(nonatomic, strong, nullable) NSNumber *volumeBps; +@property(nonatomic, strong, nullable) NSNumber *volumePps GTLR_DEPRECATED; /** * Total PPS (packets per second) volume of attack. * - * Uses NSNumber of intValue. + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSNumber *volumePps; +@property(nonatomic, strong, nullable) NSNumber *volumePpsLong; @end @@ -10161,6 +10475,57 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @end +/** + * Details about data retention deletion violations, in which the data is + * non-compliant based on their retention or deletion time, as defined in the + * applicable data security policy. The Data Retention Deletion (DRD) control + * is a control of the DSPM (Data Security Posture Management) suite that + * enables organizations to manage data retention and deletion policies in + * compliance with regulations, such as GDPR and CRPA. DRD supports two primary + * policy types: maximum storage length (max TTL) and minimum storage length + * (min TTL). Both are aimed at helping organizations meet regulatory and data + * management commitments. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataRetentionDeletionEvent : GTLRObject + +/** + * Number of objects that violated the policy for this resource. If the number + * is less than 1,000, then the value of this field is the exact number. If the + * number of objects that violated the policy is greater than or equal to + * 1,000, then the value of this field is 1000. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *dataObjectCount; + +/** Timestamp indicating when the event was detected. */ +@property(nonatomic, strong, nullable) GTLRDateTime *eventDetectionTime; + +/** + * Type of the DRD event. + * + * Likely values: + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataRetentionDeletionEvent_EventType_EventTypeMaxTtlExceeded + * The maximum retention time has been exceeded. (Value: + * "EVENT_TYPE_MAX_TTL_EXCEEDED") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataRetentionDeletionEvent_EventType_EventTypeUnspecified + * Unspecified event type. (Value: "EVENT_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *eventType; + +/** + * Maximum duration of retention allowed from the DRD control. This comes from + * the DRD control where users set a max TTL for their data. For example, + * suppose that a user set the max TTL for a Cloud Storage bucket to 90 days. + * However, an object in that bucket is 100 days old. In this case, a + * DataRetentionDeletionEvent will be generated for that Cloud Storage bucket, + * and the max_retention_allowed is 90 days. + */ +@property(nonatomic, strong, nullable) GTLRDuration *maxRetentionAllowed; + +@end + + /** * Memory hash detection contributing to the binary family match. */ @@ -10512,6 +10877,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps /** Data flow events associated with the finding. */ @property(nonatomic, strong, nullable) NSArray *dataFlowEvents; +/** Data retention deletion events associated with the finding. */ +@property(nonatomic, strong, nullable) NSArray *dataRetentionDeletionEvents; + /** * Contains more details about the finding. * @@ -10978,6 +11346,384 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @end +/** + * Security Command Center Issue. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue : GTLRObject + +/** Output only. The time the issue was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * The description of the issue in Markdown format. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** The finding category or rule name that generated the issue. */ +@property(nonatomic, copy, nullable) NSString *detection; + +/** The domains of the issue. */ +@property(nonatomic, strong, nullable) NSArray *domains; + +/** + * The exposure score of the issue. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *exposureScore; + +/** + * The type of the issue. + * + * Likely values: + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_IssueType_Chokepoint + * Chokepoint issue type. (Value: "CHOKEPOINT") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_IssueType_Insight + * Insight issue type. (Value: "INSIGHT") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_IssueType_IssueTypeUnspecified + * Unspecified issue type. (Value: "ISSUE_TYPE_UNSPECIFIED") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_IssueType_ToxicCombination + * Toxic combination issue type. (Value: "TOXIC_COMBINATION") + */ +@property(nonatomic, copy, nullable) NSString *issueType; + +/** The time the issue was last observed. */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastObservationTime; + +/** The mute information of the issue. */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueMute *mute; + +/** + * Identifier. The name of the issue. Format: + * organizations/{organization}/locations/{location}/issues/{issue} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The primary resource associated with the issue. */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResource *primaryResource; + +/** The findings related to the issue. */ +@property(nonatomic, strong, nullable) NSArray *relatedFindings; + +/** Approaches to remediate the issue in Markdown format. */ +@property(nonatomic, strong, nullable) NSArray *remediations; + +/** Additional resources associated with the issue. */ +@property(nonatomic, strong, nullable) NSArray *secondaryResources; + +/** The security context of the issue. */ +@property(nonatomic, strong, nullable) NSArray *securityContexts; + +/** + * The severity of the issue. + * + * Likely values: + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_Severity_Critical + * Critical severity. (Value: "CRITICAL") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_Severity_High + * High severity. (Value: "HIGH") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_Severity_Low + * Low severity. (Value: "LOW") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_Severity_Medium + * Medium severity. (Value: "MEDIUM") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_Severity_SeverityUnspecified + * Unspecified severity. (Value: "SEVERITY_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *severity; + +/** + * Output only. The state of the issue. + * + * Likely values: + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_State_Active + * Active state. (Value: "ACTIVE") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_State_Inactive + * Inactive state. (Value: "INACTIVE") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Issue_State_StateUnspecified + * Unspecified state. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. The time the issue was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * The domains of an issue. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain : GTLRObject + +/** + * The domain category of the issue. + * + * Likely values: + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_Ai + * Issues in the AI domain. (Value: "AI") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_Code + * Issues in the code domain. (Value: "CODE") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_Container + * Issues in the container domain. (Value: "CONTAINER") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_Data + * Issues in the data domain. (Value: "DATA") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_DomainCategoryUnspecified + * Unspecified domain category. (Value: "DOMAIN_CATEGORY_UNSPECIFIED") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_IdentityAndAccess + * Issues in the identity and access domain. (Value: + * "IDENTITY_AND_ACCESS") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_Vulnerability + * Issues in the vulnerability domain. (Value: "VULNERABILITY") + */ +@property(nonatomic, copy, nullable) NSString *domainCategory; + +@end + + +/** + * Finding related to an issue. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueFinding : GTLRObject + +/** The CVE of the finding. */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueFindingCve *cve; + +/** The name of the finding. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The security bulletin of the finding. */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin *securityBulletin; + +@end + + +/** + * The CVE of the finding. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueFindingCve : GTLRObject + +/** The CVE name. */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * The security bulletin of the finding. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin : GTLRObject + +/** The security bulletin name. */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * The mute information of the issue. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueMute : GTLRObject + +/** + * The email address of the user who last changed the mute state of the issue. + */ +@property(nonatomic, copy, nullable) NSString *muteInitiator; + +/** The user-provided reason for muting the issue. */ +@property(nonatomic, copy, nullable) NSString *muteReason; + +/** + * Output only. The mute state of the issue. + * + * Likely values: + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueMute_MuteState_Muted + * Muted. (Value: "MUTED") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueMute_MuteState_MuteStateUnspecified + * Unspecified mute state. (Value: "MUTE_STATE_UNSPECIFIED") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueMute_MuteState_NotMuted + * Not muted. (Value: "NOT_MUTED") + */ +@property(nonatomic, copy, nullable) NSString *muteState; + +/** The time the issue was muted. */ +@property(nonatomic, strong, nullable) GTLRDateTime *muteUpdateTime; + +@end + + +/** + * A resource associated with the an issue. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResource : GTLRObject + +/** + * The AWS metadata of the resource associated with the issue. Only populated + * for AWS resources. + */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceAwsMetadata *awsMetadata; + +/** + * The Azure metadata of the resource associated with the issue. Only populated + * for Azure resources. + */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceAzureMetadata *azureMetadata; + +/** + * The cloud provider of the resource associated with the issue. + * + * Likely values: + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResource_CloudProvider_AmazonWebServices + * Amazon Web Services. (Value: "AMAZON_WEB_SERVICES") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResource_CloudProvider_CloudProviderUnspecified + * Unspecified cloud provider. (Value: "CLOUD_PROVIDER_UNSPECIFIED") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResource_CloudProvider_GoogleCloud + * Google Cloud. (Value: "GOOGLE_CLOUD") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResource_CloudProvider_MicrosoftAzure + * Microsoft Azure. (Value: "MICROSOFT_AZURE") + */ +@property(nonatomic, copy, nullable) NSString *cloudProvider; + +/** + * The resource-type specific display name of the resource associated with the + * issue. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * The Google Cloud metadata of the resource associated with the issue. Only + * populated for Google Cloud resources. + */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata *googleCloudMetadata; + +/** The full resource name of the resource associated with the issue. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The type of the resource associated with the issue. */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * The AWS metadata of a resource associated with an issue. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceAwsMetadata : GTLRObject + +/** The AWS account of the resource associated with the issue. */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount *account; + +@end + + +/** + * The AWS account of the resource associated with the issue. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount : GTLRObject + +/** + * The AWS account ID of the resource associated with the issue. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** The AWS account name of the resource associated with the issue. */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * The Azure metadata of a resource associated with an issue. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceAzureMetadata : GTLRObject + +/** The Azure subscription of the resource associated with the issue. */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription *subscription; + +@end + + +/** + * The Azure subscription of the resource associated with the issue. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription : GTLRObject + +/** + * The Azure subscription display name of the resource associated with the + * issue. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * The Azure subscription ID of the resource associated with the issue. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +@end + + +/** + * Google Cloud metadata of a resource associated with an issue. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata : GTLRObject + +/** The project ID that the resource associated with the issue belongs to. */ +@property(nonatomic, copy, nullable) NSString *projectId; + +@end + + +/** + * Security context associated with an issue. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueSecurityContext : GTLRObject + +/** The aggregated count of the security context. */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount *aggregatedCount; + +/** The context of the security context. */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueSecurityContextContext *context; + +@end + + +/** + * Aggregated count of a security context. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount : GTLRObject + +/** Aggregation key. */ +@property(nonatomic, copy, nullable) NSString *key; + +/** + * Aggregation value. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *value; + +@end + + +/** + * Context of a security context. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueSecurityContextContext : GTLRObject + +/** Context type. */ +@property(nonatomic, copy, nullable) NSString *type; + +/** Context values. */ +@property(nonatomic, strong, nullable) NSArray *values; + +@end + + /** * Kernel mode rootkit signatures. */ diff --git a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterQuery.h b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterQuery.h index 9e6cdcb14..9815d49e2 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterQuery.h +++ b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterQuery.h @@ -2728,6 +2728,67 @@ GTLR_DEPRECATED @end +/** + * Lists the attack paths for a set of simulation results or valued resources + * and filter. + * + * Method: securitycenter.organizations.attackPaths.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityCommandCenterCloudPlatform + */ +@interface GTLRSecurityCommandCenterQuery_OrganizationsAttackPathsList : GTLRSecurityCommandCenterQuery + +/** + * The filter expression that filters the attack path in the response. + * Supported fields: * `valued_resources` supports = + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * The maximum number of results to return in a single response. Default is 10, + * minimum is 1, maximum is 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * The value returned by the last `ListAttackPathsResponse`; indicates that + * this is a continuation of a prior `ListAttackPaths` call, and that the + * system should return the next page of data. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Name of parent to list attack paths. Valid formats: + * `organizations/{organization}`, + * `organizations/{organization}/simulations/{simulation}` + * `organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}` + * `organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecurityCommandCenter_ListAttackPathsResponse. + * + * Lists the attack paths for a set of simulation results or valued resources + * and filter. + * + * @param parent Required. Name of parent to list attack paths. Valid formats: + * `organizations/{organization}`, + * `organizations/{organization}/simulations/{simulation}` + * `organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}` + * `organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}` + * + * @return GTLRSecurityCommandCenterQuery_OrganizationsAttackPathsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + /** * Creates a BigQuery export. * @@ -4038,7 +4099,7 @@ GTLR_DEPRECATED * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: securitycenter.organizations.operations.cancel @@ -4061,7 +4122,7 @@ GTLR_DEPRECATED * 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 + * 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. diff --git a/Sources/GeneratedServices/SecurityPosture/GTLRSecurityPostureObjects.m b/Sources/GeneratedServices/SecurityPosture/GTLRSecurityPostureObjects.m new file mode 100644 index 000000000..345c20615 --- /dev/null +++ b/Sources/GeneratedServices/SecurityPosture/GTLRSecurityPostureObjects.m @@ -0,0 +1,904 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Security Posture API (securityposture/v1) +// Description: +// Defines, assesses, and monitors the overall status of your security in +// Google Cloud. You can use security postures to evaluate your current cloud +// security against defined benchmarks and help maintain the level of security +// that your organization requires. +// Documentation: +// https://cloud.google.com/security-command-center + +#import + +// ---------------------------------------------------------------------------- +// Constants + +// GTLRSecurityPosture_CustomConfig.severity +NSString * const kGTLRSecurityPosture_CustomConfig_Severity_Critical = @"CRITICAL"; +NSString * const kGTLRSecurityPosture_CustomConfig_Severity_High = @"HIGH"; +NSString * const kGTLRSecurityPosture_CustomConfig_Severity_Low = @"LOW"; +NSString * const kGTLRSecurityPosture_CustomConfig_Severity_Medium = @"MEDIUM"; +NSString * const kGTLRSecurityPosture_CustomConfig_Severity_SeverityUnspecified = @"SEVERITY_UNSPECIFIED"; + +// GTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint.actionType +NSString * const kGTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint_ActionType_ActionTypeUnspecified = @"ACTION_TYPE_UNSPECIFIED"; +NSString * const kGTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint_ActionType_Allow = @"ALLOW"; +NSString * const kGTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint_ActionType_Deny = @"DENY"; + +// GTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint.methodTypes +NSString * const kGTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint_MethodTypes_Create = @"CREATE"; +NSString * const kGTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint_MethodTypes_Delete = @"DELETE"; +NSString * const kGTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint_MethodTypes_MethodTypeUnspecified = @"METHOD_TYPE_UNSPECIFIED"; +NSString * const kGTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint_MethodTypes_Update = @"UPDATE"; + +// GTLRSecurityPosture_PolicyDetails.constraintType +NSString * const kGTLRSecurityPosture_PolicyDetails_ConstraintType_ConstraintTypeUnspecified = @"CONSTRAINT_TYPE_UNSPECIFIED"; +NSString * const kGTLRSecurityPosture_PolicyDetails_ConstraintType_OrgPolicy = @"ORG_POLICY"; +NSString * const kGTLRSecurityPosture_PolicyDetails_ConstraintType_OrgPolicyCustom = @"ORG_POLICY_CUSTOM"; +NSString * const kGTLRSecurityPosture_PolicyDetails_ConstraintType_RegoPolicy = @"REGO_POLICY"; +NSString * const kGTLRSecurityPosture_PolicyDetails_ConstraintType_SecurityHealthAnalyticsCustomModule = @"SECURITY_HEALTH_ANALYTICS_CUSTOM_MODULE"; +NSString * const kGTLRSecurityPosture_PolicyDetails_ConstraintType_SecurityHealthAnalyticsModule = @"SECURITY_HEALTH_ANALYTICS_MODULE"; + +// GTLRSecurityPosture_Posture.categories +NSString * const kGTLRSecurityPosture_Posture_Categories_Ai = @"AI"; +NSString * const kGTLRSecurityPosture_Posture_Categories_Aws = @"AWS"; +NSString * const kGTLRSecurityPosture_Posture_Categories_Azure = @"AZURE"; +NSString * const kGTLRSecurityPosture_Posture_Categories_CategoryUnspecified = @"CATEGORY_UNSPECIFIED"; +NSString * const kGTLRSecurityPosture_Posture_Categories_Gcp = @"GCP"; + +// GTLRSecurityPosture_Posture.state +NSString * const kGTLRSecurityPosture_Posture_State_Active = @"ACTIVE"; +NSString * const kGTLRSecurityPosture_Posture_State_Deprecated = @"DEPRECATED"; +NSString * const kGTLRSecurityPosture_Posture_State_Draft = @"DRAFT"; +NSString * const kGTLRSecurityPosture_Posture_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRSecurityPosture_PostureDeployment.categories +NSString * const kGTLRSecurityPosture_PostureDeployment_Categories_Ai = @"AI"; +NSString * const kGTLRSecurityPosture_PostureDeployment_Categories_Aws = @"AWS"; +NSString * const kGTLRSecurityPosture_PostureDeployment_Categories_Azure = @"AZURE"; +NSString * const kGTLRSecurityPosture_PostureDeployment_Categories_CategoryUnspecified = @"CATEGORY_UNSPECIFIED"; +NSString * const kGTLRSecurityPosture_PostureDeployment_Categories_Gcp = @"GCP"; + +// GTLRSecurityPosture_PostureDeployment.state +NSString * const kGTLRSecurityPosture_PostureDeployment_State_Active = @"ACTIVE"; +NSString * const kGTLRSecurityPosture_PostureDeployment_State_CreateFailed = @"CREATE_FAILED"; +NSString * const kGTLRSecurityPosture_PostureDeployment_State_Creating = @"CREATING"; +NSString * const kGTLRSecurityPosture_PostureDeployment_State_DeleteFailed = @"DELETE_FAILED"; +NSString * const kGTLRSecurityPosture_PostureDeployment_State_Deleting = @"DELETING"; +NSString * const kGTLRSecurityPosture_PostureDeployment_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRSecurityPosture_PostureDeployment_State_UpdateFailed = @"UPDATE_FAILED"; +NSString * const kGTLRSecurityPosture_PostureDeployment_State_Updating = @"UPDATING"; + +// GTLRSecurityPosture_PostureTemplate.categories +NSString * const kGTLRSecurityPosture_PostureTemplate_Categories_Ai = @"AI"; +NSString * const kGTLRSecurityPosture_PostureTemplate_Categories_Aws = @"AWS"; +NSString * const kGTLRSecurityPosture_PostureTemplate_Categories_Azure = @"AZURE"; +NSString * const kGTLRSecurityPosture_PostureTemplate_Categories_CategoryUnspecified = @"CATEGORY_UNSPECIFIED"; +NSString * const kGTLRSecurityPosture_PostureTemplate_Categories_Gcp = @"GCP"; + +// GTLRSecurityPosture_PostureTemplate.state +NSString * const kGTLRSecurityPosture_PostureTemplate_State_Active = @"ACTIVE"; +NSString * const kGTLRSecurityPosture_PostureTemplate_State_Deprecated = @"DEPRECATED"; +NSString * const kGTLRSecurityPosture_PostureTemplate_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRSecurityPosture_SecurityHealthAnalyticsCustomModule.moduleEnablementState +NSString * const kGTLRSecurityPosture_SecurityHealthAnalyticsCustomModule_ModuleEnablementState_Disabled = @"DISABLED"; +NSString * const kGTLRSecurityPosture_SecurityHealthAnalyticsCustomModule_ModuleEnablementState_Enabled = @"ENABLED"; +NSString * const kGTLRSecurityPosture_SecurityHealthAnalyticsCustomModule_ModuleEnablementState_EnablementStateUnspecified = @"ENABLEMENT_STATE_UNSPECIFIED"; + +// GTLRSecurityPosture_SecurityHealthAnalyticsModule.moduleEnablementState +NSString * const kGTLRSecurityPosture_SecurityHealthAnalyticsModule_ModuleEnablementState_Disabled = @"DISABLED"; +NSString * const kGTLRSecurityPosture_SecurityHealthAnalyticsModule_ModuleEnablementState_Enabled = @"ENABLED"; +NSString * const kGTLRSecurityPosture_SecurityHealthAnalyticsModule_ModuleEnablementState_EnablementStateUnspecified = @"ENABLEMENT_STATE_UNSPECIFIED"; + +// GTLRSecurityPosture_Violation.severity +NSString * const kGTLRSecurityPosture_Violation_Severity_Critical = @"CRITICAL"; +NSString * const kGTLRSecurityPosture_Violation_Severity_High = @"HIGH"; +NSString * const kGTLRSecurityPosture_Violation_Severity_Low = @"LOW"; +NSString * const kGTLRSecurityPosture_Violation_Severity_Medium = @"MEDIUM"; +NSString * const kGTLRSecurityPosture_Violation_Severity_SeverityUnspecified = @"SEVERITY_UNSPECIFIED"; + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_AssetDetails +// + +@implementation GTLRSecurityPosture_AssetDetails +@dynamic asset, assetType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_CancelOperationRequest +// + +@implementation GTLRSecurityPosture_CancelOperationRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_ComplianceStandard +// + +@implementation GTLRSecurityPosture_ComplianceStandard +@dynamic control, standard; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_Constraint +// + +@implementation GTLRSecurityPosture_Constraint +@dynamic orgPolicyConstraint, orgPolicyConstraintCustom, + securityHealthAnalyticsCustomModule, securityHealthAnalyticsModule; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_CreateIaCValidationReportRequest +// + +@implementation GTLRSecurityPosture_CreateIaCValidationReportRequest +@dynamic iac; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_CustomConfig +// + +@implementation GTLRSecurityPosture_CustomConfig +@dynamic customOutput, descriptionProperty, predicate, recommendation, + resourceSelector, severity; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_CustomOutputSpec +// + +@implementation GTLRSecurityPosture_CustomOutputSpec +@dynamic properties; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"properties" : [GTLRSecurityPosture_Property class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_Empty +// + +@implementation GTLRSecurityPosture_Empty +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_Expr +// + +@implementation GTLRSecurityPosture_Expr +@dynamic descriptionProperty, expression, location, title; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_ExtractPostureRequest +// + +@implementation GTLRSecurityPosture_ExtractPostureRequest +@dynamic postureId, workload; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint +// + +@implementation GTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint +@dynamic actionType, condition, descriptionProperty, displayName, methodTypes, + name, resourceTypes, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"methodTypes" : [NSString class], + @"resourceTypes" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_GoogleCloudSecuritypostureV1PolicyRule +// + +@implementation GTLRSecurityPosture_GoogleCloudSecuritypostureV1PolicyRule +@dynamic allowAll, condition, denyAll, enforce, parameters, resourceTypes, + values; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_GoogleCloudSecuritypostureV1PolicyRule_Parameters +// + +@implementation GTLRSecurityPosture_GoogleCloudSecuritypostureV1PolicyRule_Parameters + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_GoogleCloudSecuritypostureV1PolicyRuleStringValues +// + +@implementation GTLRSecurityPosture_GoogleCloudSecuritypostureV1PolicyRuleStringValues +@dynamic allowedValues, deniedValues; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"allowedValues" : [NSString class], + @"deniedValues" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_IaC +// + +@implementation GTLRSecurityPosture_IaC +@dynamic tfPlan; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_IaCValidationReport +// + +@implementation GTLRSecurityPosture_IaCValidationReport +@dynamic note, violations; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"violations" : [GTLRSecurityPosture_Violation class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_ListLocationsResponse +// + +@implementation GTLRSecurityPosture_ListLocationsResponse +@dynamic locations, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"locations" : [GTLRSecurityPosture_Location class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"locations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_ListOperationsResponse +// + +@implementation GTLRSecurityPosture_ListOperationsResponse +@dynamic nextPageToken, operations; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"operations" : [GTLRSecurityPosture_Operation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"operations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_ListPostureDeploymentsResponse +// + +@implementation GTLRSecurityPosture_ListPostureDeploymentsResponse +@dynamic nextPageToken, postureDeployments, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"postureDeployments" : [GTLRSecurityPosture_PostureDeployment class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"postureDeployments"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_ListPostureRevisionsResponse +// + +@implementation GTLRSecurityPosture_ListPostureRevisionsResponse +@dynamic nextPageToken, revisions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"revisions" : [GTLRSecurityPosture_Posture class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"revisions"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_ListPosturesResponse +// + +@implementation GTLRSecurityPosture_ListPosturesResponse +@dynamic nextPageToken, postures, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"postures" : [GTLRSecurityPosture_Posture class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"postures"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_ListPostureTemplatesResponse +// + +@implementation GTLRSecurityPosture_ListPostureTemplatesResponse +@dynamic nextPageToken, postureTemplates; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"postureTemplates" : [GTLRSecurityPosture_PostureTemplate class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"postureTemplates"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_ListReportsResponse +// + +@implementation GTLRSecurityPosture_ListReportsResponse +@dynamic nextPageToken, reports, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"reports" : [GTLRSecurityPosture_Report class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"reports"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_Location +// + +@implementation GTLRSecurityPosture_Location +@dynamic displayName, labels, locationId, metadata, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_Location_Labels +// + +@implementation GTLRSecurityPosture_Location_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_Location_Metadata +// + +@implementation GTLRSecurityPosture_Location_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_Operation +// + +@implementation GTLRSecurityPosture_Operation +@dynamic done, error, metadata, name, response; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_Operation_Metadata +// + +@implementation GTLRSecurityPosture_Operation_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_Operation_Response +// + +@implementation GTLRSecurityPosture_Operation_Response + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_OperationMetadata +// + +@implementation GTLRSecurityPosture_OperationMetadata +@dynamic apiVersion, createTime, endTime, errorMessage, requestedCancellation, + statusMessage, target, verb; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_OrgPolicyConstraint +// + +@implementation GTLRSecurityPosture_OrgPolicyConstraint +@dynamic cannedConstraintId, policyRules; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"policyRules" : [GTLRSecurityPosture_GoogleCloudSecuritypostureV1PolicyRule class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_OrgPolicyConstraintCustom +// + +@implementation GTLRSecurityPosture_OrgPolicyConstraintCustom +@dynamic customConstraint, policyRules; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"policyRules" : [GTLRSecurityPosture_GoogleCloudSecuritypostureV1PolicyRule class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_Policy +// + +@implementation GTLRSecurityPosture_Policy +@dynamic complianceStandards, constraint, descriptionProperty, policyId; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"complianceStandards" : [GTLRSecurityPosture_ComplianceStandard class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_PolicyDetails +// + +@implementation GTLRSecurityPosture_PolicyDetails +@dynamic complianceStandards, constraint, constraintType, descriptionProperty; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"complianceStandards" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_PolicySet +// + +@implementation GTLRSecurityPosture_PolicySet +@dynamic descriptionProperty, policies, policySetId; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"policies" : [GTLRSecurityPosture_Policy class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_Posture +// + +@implementation GTLRSecurityPosture_Posture +@dynamic annotations, categories, createTime, descriptionProperty, ETag, name, + policySets, reconciling, revisionId, state, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"descriptionProperty" : @"description", + @"ETag" : @"etag" + }; + return map; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"categories" : [NSString class], + @"policySets" : [GTLRSecurityPosture_PolicySet class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_Posture_Annotations +// + +@implementation GTLRSecurityPosture_Posture_Annotations + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_PostureDeployment +// + +@implementation GTLRSecurityPosture_PostureDeployment +@dynamic annotations, categories, createTime, descriptionProperty, + desiredPostureId, desiredPostureRevisionId, ETag, failureMessage, name, + postureId, postureRevisionId, reconciling, state, targetResource, + updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"descriptionProperty" : @"description", + @"ETag" : @"etag" + }; + return map; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"categories" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_PostureDeployment_Annotations +// + +@implementation GTLRSecurityPosture_PostureDeployment_Annotations + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_PostureDetails +// + +@implementation GTLRSecurityPosture_PostureDetails +@dynamic policySet, posture, postureDeployment, postureDeploymentTargetResource, + postureRevisionId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_PostureTemplate +// + +@implementation GTLRSecurityPosture_PostureTemplate +@dynamic categories, descriptionProperty, name, policySets, revisionId, state; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"categories" : [NSString class], + @"policySets" : [GTLRSecurityPosture_PolicySet class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_Property +// + +@implementation GTLRSecurityPosture_Property +@dynamic name, valueExpression; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_Report +// + +@implementation GTLRSecurityPosture_Report +@dynamic createTime, iacValidationReport, name, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_ResourceSelector +// + +@implementation GTLRSecurityPosture_ResourceSelector +@dynamic resourceTypes; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resourceTypes" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_ResourceTypes +// + +@implementation GTLRSecurityPosture_ResourceTypes +@dynamic included; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"included" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_SecurityHealthAnalyticsCustomModule +// + +@implementation GTLRSecurityPosture_SecurityHealthAnalyticsCustomModule +@dynamic config, displayName, identifier, moduleEnablementState; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_SecurityHealthAnalyticsModule +// + +@implementation GTLRSecurityPosture_SecurityHealthAnalyticsModule +@dynamic moduleEnablementState, moduleName; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_Status +// + +@implementation GTLRSecurityPosture_Status +@dynamic code, details, message; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"details" : [GTLRSecurityPosture_Status_Details_Item class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_Status_Details_Item +// + +@implementation GTLRSecurityPosture_Status_Details_Item + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityPosture_Violation +// + +@implementation GTLRSecurityPosture_Violation +@dynamic assetId, nextSteps, policyId, severity, violatedAsset, violatedPolicy, + violatedPosture; +@end diff --git a/Sources/GeneratedServices/SecurityPosture/GTLRSecurityPostureQuery.m b/Sources/GeneratedServices/SecurityPosture/GTLRSecurityPostureQuery.m new file mode 100644 index 000000000..e774662d8 --- /dev/null +++ b/Sources/GeneratedServices/SecurityPosture/GTLRSecurityPostureQuery.m @@ -0,0 +1,521 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Security Posture API (securityposture/v1) +// Description: +// Defines, assesses, and monitors the overall status of your security in +// Google Cloud. You can use security postures to evaluate your current cloud +// security against defined benchmarks and help maintain the level of security +// that your organization requires. +// Documentation: +// https://cloud.google.com/security-command-center + +#import + +@implementation GTLRSecurityPostureQuery + +@dynamic fields; + +@end + +@implementation GTLRSecurityPostureQuery_OrganizationsLocationsOperationsCancel + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRSecurityPosture_CancelOperationRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:cancel"; + GTLRSecurityPostureQuery_OrganizationsLocationsOperationsCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecurityPosture_Empty class]; + query.loggingName = @"securityposture.organizations.locations.operations.cancel"; + return query; +} + +@end + +@implementation GTLRSecurityPostureQuery_OrganizationsLocationsOperationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecurityPostureQuery_OrganizationsLocationsOperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecurityPosture_Empty class]; + query.loggingName = @"securityposture.organizations.locations.operations.delete"; + return query; +} + +@end + +@implementation GTLRSecurityPostureQuery_OrganizationsLocationsOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecurityPostureQuery_OrganizationsLocationsOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecurityPosture_Operation class]; + query.loggingName = @"securityposture.organizations.locations.operations.get"; + return query; +} + +@end + +@implementation GTLRSecurityPostureQuery_OrganizationsLocationsOperationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/operations"; + GTLRSecurityPostureQuery_OrganizationsLocationsOperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecurityPosture_ListOperationsResponse class]; + query.loggingName = @"securityposture.organizations.locations.operations.list"; + return query; +} + +@end + +@implementation GTLRSecurityPostureQuery_OrganizationsLocationsPostureDeploymentsCreate + +@dynamic parent, postureDeploymentId; + ++ (instancetype)queryWithObject:(GTLRSecurityPosture_PostureDeployment *)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}/postureDeployments"; + GTLRSecurityPostureQuery_OrganizationsLocationsPostureDeploymentsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityPosture_Operation class]; + query.loggingName = @"securityposture.organizations.locations.postureDeployments.create"; + return query; +} + +@end + +@implementation GTLRSecurityPostureQuery_OrganizationsLocationsPostureDeploymentsDelete + +@dynamic ETag, name; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecurityPostureQuery_OrganizationsLocationsPostureDeploymentsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecurityPosture_Operation class]; + query.loggingName = @"securityposture.organizations.locations.postureDeployments.delete"; + return query; +} + +@end + +@implementation GTLRSecurityPostureQuery_OrganizationsLocationsPostureDeploymentsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecurityPostureQuery_OrganizationsLocationsPostureDeploymentsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecurityPosture_PostureDeployment class]; + query.loggingName = @"securityposture.organizations.locations.postureDeployments.get"; + return query; +} + +@end + +@implementation GTLRSecurityPostureQuery_OrganizationsLocationsPostureDeploymentsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/postureDeployments"; + GTLRSecurityPostureQuery_OrganizationsLocationsPostureDeploymentsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityPosture_ListPostureDeploymentsResponse class]; + query.loggingName = @"securityposture.organizations.locations.postureDeployments.list"; + return query; +} + +@end + +@implementation GTLRSecurityPostureQuery_OrganizationsLocationsPostureDeploymentsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRSecurityPosture_PostureDeployment *)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}"; + GTLRSecurityPostureQuery_OrganizationsLocationsPostureDeploymentsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecurityPosture_Operation class]; + query.loggingName = @"securityposture.organizations.locations.postureDeployments.patch"; + return query; +} + +@end + +@implementation GTLRSecurityPostureQuery_OrganizationsLocationsPosturesCreate + +@dynamic parent, postureId; + ++ (instancetype)queryWithObject:(GTLRSecurityPosture_Posture *)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}/postures"; + GTLRSecurityPostureQuery_OrganizationsLocationsPosturesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityPosture_Operation class]; + query.loggingName = @"securityposture.organizations.locations.postures.create"; + return query; +} + +@end + +@implementation GTLRSecurityPostureQuery_OrganizationsLocationsPosturesDelete + +@dynamic ETag, name; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecurityPostureQuery_OrganizationsLocationsPosturesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecurityPosture_Operation class]; + query.loggingName = @"securityposture.organizations.locations.postures.delete"; + return query; +} + +@end + +@implementation GTLRSecurityPostureQuery_OrganizationsLocationsPosturesExtract + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRSecurityPosture_ExtractPostureRequest *)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}/postures:extract"; + GTLRSecurityPostureQuery_OrganizationsLocationsPosturesExtract *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityPosture_Operation class]; + query.loggingName = @"securityposture.organizations.locations.postures.extract"; + return query; +} + +@end + +@implementation GTLRSecurityPostureQuery_OrganizationsLocationsPosturesGet + +@dynamic name, revisionId; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecurityPostureQuery_OrganizationsLocationsPosturesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecurityPosture_Posture class]; + query.loggingName = @"securityposture.organizations.locations.postures.get"; + return query; +} + +@end + +@implementation GTLRSecurityPostureQuery_OrganizationsLocationsPosturesList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/postures"; + GTLRSecurityPostureQuery_OrganizationsLocationsPosturesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityPosture_ListPosturesResponse class]; + query.loggingName = @"securityposture.organizations.locations.postures.list"; + return query; +} + +@end + +@implementation GTLRSecurityPostureQuery_OrganizationsLocationsPosturesListRevisions + +@dynamic name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:listRevisions"; + GTLRSecurityPostureQuery_OrganizationsLocationsPosturesListRevisions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecurityPosture_ListPostureRevisionsResponse class]; + query.loggingName = @"securityposture.organizations.locations.postures.listRevisions"; + return query; +} + +@end + +@implementation GTLRSecurityPostureQuery_OrganizationsLocationsPosturesPatch + +@dynamic name, revisionId, updateMask; + ++ (instancetype)queryWithObject:(GTLRSecurityPosture_Posture *)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}"; + GTLRSecurityPostureQuery_OrganizationsLocationsPosturesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecurityPosture_Operation class]; + query.loggingName = @"securityposture.organizations.locations.postures.patch"; + return query; +} + +@end + +@implementation GTLRSecurityPostureQuery_OrganizationsLocationsPostureTemplatesGet + +@dynamic name, revisionId; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecurityPostureQuery_OrganizationsLocationsPostureTemplatesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecurityPosture_PostureTemplate class]; + query.loggingName = @"securityposture.organizations.locations.postureTemplates.get"; + return query; +} + +@end + +@implementation GTLRSecurityPostureQuery_OrganizationsLocationsPostureTemplatesList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/postureTemplates"; + GTLRSecurityPostureQuery_OrganizationsLocationsPostureTemplatesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityPosture_ListPostureTemplatesResponse class]; + query.loggingName = @"securityposture.organizations.locations.postureTemplates.list"; + return query; +} + +@end + +@implementation GTLRSecurityPostureQuery_OrganizationsLocationsReportsCreateIaCValidationReport + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRSecurityPosture_CreateIaCValidationReportRequest *)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}/reports:createIaCValidationReport"; + GTLRSecurityPostureQuery_OrganizationsLocationsReportsCreateIaCValidationReport *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityPosture_Operation class]; + query.loggingName = @"securityposture.organizations.locations.reports.createIaCValidationReport"; + return query; +} + +@end + +@implementation GTLRSecurityPostureQuery_OrganizationsLocationsReportsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecurityPostureQuery_OrganizationsLocationsReportsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecurityPosture_Report class]; + query.loggingName = @"securityposture.organizations.locations.reports.get"; + return query; +} + +@end + +@implementation GTLRSecurityPostureQuery_OrganizationsLocationsReportsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/reports"; + GTLRSecurityPostureQuery_OrganizationsLocationsReportsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecurityPosture_ListReportsResponse class]; + query.loggingName = @"securityposture.organizations.locations.reports.list"; + return query; +} + +@end + +@implementation GTLRSecurityPostureQuery_ProjectsLocationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecurityPostureQuery_ProjectsLocationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecurityPosture_Location class]; + query.loggingName = @"securityposture.projects.locations.get"; + return query; +} + +@end + +@implementation GTLRSecurityPostureQuery_ProjectsLocationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/locations"; + GTLRSecurityPostureQuery_ProjectsLocationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecurityPosture_ListLocationsResponse class]; + query.loggingName = @"securityposture.projects.locations.list"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/SecurityPosture/GTLRSecurityPostureService.m b/Sources/GeneratedServices/SecurityPosture/GTLRSecurityPostureService.m new file mode 100644 index 000000000..a74a60d0e --- /dev/null +++ b/Sources/GeneratedServices/SecurityPosture/GTLRSecurityPostureService.m @@ -0,0 +1,38 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Security Posture API (securityposture/v1) +// Description: +// Defines, assesses, and monitors the overall status of your security in +// Google Cloud. You can use security postures to evaluate your current cloud +// security against defined benchmarks and help maintain the level of security +// that your organization requires. +// Documentation: +// https://cloud.google.com/security-command-center + +#import + +// ---------------------------------------------------------------------------- +// Authorization scope + +NSString * const kGTLRAuthScopeSecurityPostureCloudPlatform = @"https://www.googleapis.com/auth/cloud-platform"; + +// ---------------------------------------------------------------------------- +// GTLRSecurityPostureService +// + +@implementation GTLRSecurityPostureService + +- (instancetype)init { + self = [super init]; + if (self) { + // From discovery. + self.rootURLString = @"https://securityposture.googleapis.com/"; + self.batchPath = @"batch"; + self.prettyPrintQueryParameterNames = @[ @"prettyPrint" ]; + } + return self; +} + +@end diff --git a/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPosture.h b/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPosture.h new file mode 100644 index 000000000..ba55d9680 --- /dev/null +++ b/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPosture.h @@ -0,0 +1,16 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Security Posture API (securityposture/v1) +// Description: +// Defines, assesses, and monitors the overall status of your security in +// Google Cloud. You can use security postures to evaluate your current cloud +// security against defined benchmarks and help maintain the level of security +// that your organization requires. +// Documentation: +// https://cloud.google.com/security-command-center + +#import "GTLRSecurityPostureObjects.h" +#import "GTLRSecurityPostureQuery.h" +#import "GTLRSecurityPostureService.h" diff --git a/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureObjects.h b/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureObjects.h new file mode 100644 index 000000000..50233684d --- /dev/null +++ b/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureObjects.h @@ -0,0 +1,1987 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Security Posture API (securityposture/v1) +// Description: +// Defines, assesses, and monitors the overall status of your security in +// Google Cloud. You can use security postures to evaluate your current cloud +// security against defined benchmarks and help maintain the level of security +// that your organization requires. +// Documentation: +// https://cloud.google.com/security-command-center + +#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 GTLRSecurityPosture_AssetDetails; +@class GTLRSecurityPosture_ComplianceStandard; +@class GTLRSecurityPosture_Constraint; +@class GTLRSecurityPosture_CustomConfig; +@class GTLRSecurityPosture_CustomOutputSpec; +@class GTLRSecurityPosture_Expr; +@class GTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint; +@class GTLRSecurityPosture_GoogleCloudSecuritypostureV1PolicyRule; +@class GTLRSecurityPosture_GoogleCloudSecuritypostureV1PolicyRule_Parameters; +@class GTLRSecurityPosture_GoogleCloudSecuritypostureV1PolicyRuleStringValues; +@class GTLRSecurityPosture_IaC; +@class GTLRSecurityPosture_IaCValidationReport; +@class GTLRSecurityPosture_Location; +@class GTLRSecurityPosture_Location_Labels; +@class GTLRSecurityPosture_Location_Metadata; +@class GTLRSecurityPosture_Operation; +@class GTLRSecurityPosture_Operation_Metadata; +@class GTLRSecurityPosture_Operation_Response; +@class GTLRSecurityPosture_OrgPolicyConstraint; +@class GTLRSecurityPosture_OrgPolicyConstraintCustom; +@class GTLRSecurityPosture_Policy; +@class GTLRSecurityPosture_PolicyDetails; +@class GTLRSecurityPosture_PolicySet; +@class GTLRSecurityPosture_Posture; +@class GTLRSecurityPosture_Posture_Annotations; +@class GTLRSecurityPosture_PostureDeployment; +@class GTLRSecurityPosture_PostureDeployment_Annotations; +@class GTLRSecurityPosture_PostureDetails; +@class GTLRSecurityPosture_PostureTemplate; +@class GTLRSecurityPosture_Property; +@class GTLRSecurityPosture_Report; +@class GTLRSecurityPosture_ResourceSelector; +@class GTLRSecurityPosture_ResourceTypes; +@class GTLRSecurityPosture_SecurityHealthAnalyticsCustomModule; +@class GTLRSecurityPosture_SecurityHealthAnalyticsModule; +@class GTLRSecurityPosture_Status; +@class GTLRSecurityPosture_Status_Details_Item; +@class GTLRSecurityPosture_Violation; + +// Generated comments include content from the discovery document; avoid them +// causing warnings since clang's checks are some what arbitrary. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" + +NS_ASSUME_NONNULL_BEGIN + +// ---------------------------------------------------------------------------- +// Constants - For some of the classes' properties below. + +// ---------------------------------------------------------------------------- +// GTLRSecurityPosture_CustomConfig.severity + +/** + * Critical severity. + * + * Value: "CRITICAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_CustomConfig_Severity_Critical; +/** + * High severity. + * + * Value: "HIGH" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_CustomConfig_Severity_High; +/** + * Low severity. + * + * Value: "LOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_CustomConfig_Severity_Low; +/** + * Medium severity. + * + * Value: "MEDIUM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_CustomConfig_Severity_Medium; +/** + * Default value. This value is unused. + * + * Value: "SEVERITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_CustomConfig_Severity_SeverityUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint.actionType + +/** + * Default value. This value is unused. + * + * Value: "ACTION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint_ActionType_ActionTypeUnspecified; +/** + * Allow the action. + * + * Value: "ALLOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint_ActionType_Allow; +/** + * Deny the action. + * + * Value: "DENY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint_ActionType_Deny; + +// ---------------------------------------------------------------------------- +// GTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint.methodTypes + +/** + * Constraint applied when creating the resource. + * + * Value: "CREATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint_MethodTypes_Create; +/** + * Not supported. Constraint applied when deleting the resource. + * + * Value: "DELETE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint_MethodTypes_Delete; +/** + * Default value. This value is unused. + * + * Value: "METHOD_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint_MethodTypes_MethodTypeUnspecified; +/** + * Constraint applied when updating the resource. + * + * Value: "UPDATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint_MethodTypes_Update; + +// ---------------------------------------------------------------------------- +// GTLRSecurityPosture_PolicyDetails.constraintType + +/** + * Default value. This value is unused. + * + * Value: "CONSTRAINT_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PolicyDetails_ConstraintType_ConstraintTypeUnspecified; +/** + * A predefined organization policy constraint. + * + * Value: "ORG_POLICY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PolicyDetails_ConstraintType_OrgPolicy; +/** + * A custom organization policy constraint. + * + * Value: "ORG_POLICY_CUSTOM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PolicyDetails_ConstraintType_OrgPolicyCustom; +/** + * A custom rego policy constraint. + * + * Value: "REGO_POLICY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PolicyDetails_ConstraintType_RegoPolicy; +/** + * A custom module for Security Health Analytics. + * + * Value: "SECURITY_HEALTH_ANALYTICS_CUSTOM_MODULE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PolicyDetails_ConstraintType_SecurityHealthAnalyticsCustomModule; +/** + * A built-in detector for Security Health Analytics. + * + * Value: "SECURITY_HEALTH_ANALYTICS_MODULE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PolicyDetails_ConstraintType_SecurityHealthAnalyticsModule; + +// ---------------------------------------------------------------------------- +// GTLRSecurityPosture_Posture.categories + +/** + * Artificial intelligence (AI). + * + * Value: "AI" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_Posture_Categories_Ai; +/** + * Amazon Web Services (AWS) policies. + * + * Value: "AWS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_Posture_Categories_Aws; +/** + * Microsoft Azure policies. + * + * Value: "AZURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_Posture_Categories_Azure; +/** + * Default value. This value is unused. + * + * Value: "CATEGORY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_Posture_Categories_CategoryUnspecified; +/** + * Google Cloud policies. + * + * Value: "GCP" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_Posture_Categories_Gcp; + +// ---------------------------------------------------------------------------- +// GTLRSecurityPosture_Posture.state + +/** + * The posture is complete and ready to deploy. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_Posture_State_Active; +/** + * The posture is deprecated and can no longer be deployed. + * + * Value: "DEPRECATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_Posture_State_Deprecated; +/** + * The posture is a draft and is not ready to deploy. + * + * Value: "DRAFT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_Posture_State_Draft; +/** + * Default value. This value is unused. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_Posture_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRSecurityPosture_PostureDeployment.categories + +/** + * Artificial intelligence (AI). + * + * Value: "AI" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PostureDeployment_Categories_Ai; +/** + * Amazon Web Services (AWS) policies. + * + * Value: "AWS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PostureDeployment_Categories_Aws; +/** + * Microsoft Azure policies. + * + * Value: "AZURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PostureDeployment_Categories_Azure; +/** + * Default value. This value is unused. + * + * Value: "CATEGORY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PostureDeployment_Categories_CategoryUnspecified; +/** + * Google Cloud policies. + * + * Value: "GCP" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PostureDeployment_Categories_Gcp; + +// ---------------------------------------------------------------------------- +// GTLRSecurityPosture_PostureDeployment.state + +/** + * The posture deployment is active and in use. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PostureDeployment_State_Active; +/** + * The posture deployment could not be created. + * + * Value: "CREATE_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PostureDeployment_State_CreateFailed; +/** + * The posture deployment is being created. + * + * Value: "CREATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PostureDeployment_State_Creating; +/** + * The posture deployment could not be deleted. + * + * Value: "DELETE_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PostureDeployment_State_DeleteFailed; +/** + * The posture deployment is being deleted. + * + * Value: "DELETING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PostureDeployment_State_Deleting; +/** + * Default value. This value is unused. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PostureDeployment_State_StateUnspecified; +/** + * The posture deployment could not be updated. + * + * Value: "UPDATE_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PostureDeployment_State_UpdateFailed; +/** + * The posture deployment is being updated. + * + * Value: "UPDATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PostureDeployment_State_Updating; + +// ---------------------------------------------------------------------------- +// GTLRSecurityPosture_PostureTemplate.categories + +/** + * Artificial intelligence (AI). + * + * Value: "AI" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PostureTemplate_Categories_Ai; +/** + * Amazon Web Services (AWS) policies. + * + * Value: "AWS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PostureTemplate_Categories_Aws; +/** + * Microsoft Azure policies. + * + * Value: "AZURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PostureTemplate_Categories_Azure; +/** + * Default value. This value is unused. + * + * Value: "CATEGORY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PostureTemplate_Categories_CategoryUnspecified; +/** + * Google Cloud policies. + * + * Value: "GCP" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PostureTemplate_Categories_Gcp; + +// ---------------------------------------------------------------------------- +// GTLRSecurityPosture_PostureTemplate.state + +/** + * The posture template follows the latest controls and standards. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PostureTemplate_State_Active; +/** + * The posture template uses outdated controls and standards. We recommend that + * you use a newer revision of the posture template. + * + * Value: "DEPRECATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PostureTemplate_State_Deprecated; +/** + * Default value. This value is unused. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_PostureTemplate_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRSecurityPosture_SecurityHealthAnalyticsCustomModule.moduleEnablementState + +/** + * The detector or custom module is disabled. + * + * Value: "DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_SecurityHealthAnalyticsCustomModule_ModuleEnablementState_Disabled; +/** + * The detector or custom module is enabled. + * + * Value: "ENABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_SecurityHealthAnalyticsCustomModule_ModuleEnablementState_Enabled; +/** + * Default value. This value is unused. + * + * Value: "ENABLEMENT_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_SecurityHealthAnalyticsCustomModule_ModuleEnablementState_EnablementStateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRSecurityPosture_SecurityHealthAnalyticsModule.moduleEnablementState + +/** + * The detector or custom module is disabled. + * + * Value: "DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_SecurityHealthAnalyticsModule_ModuleEnablementState_Disabled; +/** + * The detector or custom module is enabled. + * + * Value: "ENABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_SecurityHealthAnalyticsModule_ModuleEnablementState_Enabled; +/** + * Default value. This value is unused. + * + * Value: "ENABLEMENT_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_SecurityHealthAnalyticsModule_ModuleEnablementState_EnablementStateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRSecurityPosture_Violation.severity + +/** + * Critical severity. + * + * Value: "CRITICAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_Violation_Severity_Critical; +/** + * High severity. + * + * Value: "HIGH" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_Violation_Severity_High; +/** + * Low severity. + * + * Value: "LOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_Violation_Severity_Low; +/** + * Medium severity. + * + * Value: "MEDIUM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_Violation_Severity_Medium; +/** + * Default value. This value is unused. + * + * Value: "SEVERITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_Violation_Severity_SeverityUnspecified; + +/** + * Details of a Cloud Asset Inventory asset that caused a violation. + */ +@interface GTLRSecurityPosture_AssetDetails : GTLRObject + +/** + * Information about the Cloud Asset Inventory asset that violated a policy. + * The format of this information can change at any time without prior notice. + * Your application must not depend on this information in any way. + */ +@property(nonatomic, copy, nullable) NSString *asset; + +/** + * The type of Cloud Asset Inventory asset. For a list of asset types, see + * [Supported asset + * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types). + */ +@property(nonatomic, copy, nullable) NSString *assetType; + +@end + + +/** + * The request message for Operations.CancelOperation. + */ +@interface GTLRSecurityPosture_CancelOperationRequest : GTLRObject +@end + + +/** + * Information about a compliance standard that the policy helps enforce. + */ +@interface GTLRSecurityPosture_ComplianceStandard : GTLRObject + +/** + * Optional. The control in the compliance standard that the policy helps + * enforce. For example, `AC-3`. + */ +@property(nonatomic, copy, nullable) NSString *control; + +/** + * Optional. The compliance standard that the policy helps enforce. For + * example, `NIST SP 800-53`. + */ +@property(nonatomic, copy, nullable) NSString *standard; + +@end + + +/** + * Metadata for a constraint in a Policy. + */ +@interface GTLRSecurityPosture_Constraint : GTLRObject + +/** Optional. A predefined organization policy constraint. */ +@property(nonatomic, strong, nullable) GTLRSecurityPosture_OrgPolicyConstraint *orgPolicyConstraint; + +/** Optional. A custom organization policy constraint. */ +@property(nonatomic, strong, nullable) GTLRSecurityPosture_OrgPolicyConstraintCustom *orgPolicyConstraintCustom; + +/** Optional. A custom module for Security Health Analytics. */ +@property(nonatomic, strong, nullable) GTLRSecurityPosture_SecurityHealthAnalyticsCustomModule *securityHealthAnalyticsCustomModule; + +/** Optional. A built-in detector for Security Health Analytics. */ +@property(nonatomic, strong, nullable) GTLRSecurityPosture_SecurityHealthAnalyticsModule *securityHealthAnalyticsModule; + +@end + + +/** + * Request message for CreateIaCValidationReport. + */ +@interface GTLRSecurityPosture_CreateIaCValidationReportRequest : GTLRObject + +/** Required. The infrastructure-as-code (IaC) configuration to validate. */ +@property(nonatomic, strong, nullable) GTLRSecurityPosture_IaC *iac; + +@end + + +/** + * A custom module configuration for Security Health Analytics. Use + * `CustomConfig` to create custom detectors that generate custom findings for + * resources that you specify. + */ +@interface GTLRSecurityPosture_CustomConfig : GTLRObject + +/** + * Optional. Definitions of custom source properties to include in findings. + */ +@property(nonatomic, strong, nullable) GTLRSecurityPosture_CustomOutputSpec *customOutput; + +/** + * Optional. A description of the vulnerability or misconfiguration that the + * custom module detects. The description appears in each finding. Provide + * enough information to help an investigator understand the finding. The value + * must be enclosed in quotation marks. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Required. The Common Expression Language (CEL) expression to evaluate. When + * the expression evaluates to `true` for a resource, a finding is generated. + */ +@property(nonatomic, strong, nullable) GTLRSecurityPosture_Expr *predicate; + +/** + * Required. An explanation of the steps that security teams can take to + * resolve the detected issue. The explanation appears in each finding. + */ +@property(nonatomic, copy, nullable) NSString *recommendation; + +/** Required. The resource types that the custom module operates on. */ +@property(nonatomic, strong, nullable) GTLRSecurityPosture_ResourceSelector *resourceSelector; + +/** + * Required. The severity of findings generated by the custom module. + * + * Likely values: + * @arg @c kGTLRSecurityPosture_CustomConfig_Severity_Critical Critical + * severity. (Value: "CRITICAL") + * @arg @c kGTLRSecurityPosture_CustomConfig_Severity_High High severity. + * (Value: "HIGH") + * @arg @c kGTLRSecurityPosture_CustomConfig_Severity_Low Low severity. + * (Value: "LOW") + * @arg @c kGTLRSecurityPosture_CustomConfig_Severity_Medium Medium severity. + * (Value: "MEDIUM") + * @arg @c kGTLRSecurityPosture_CustomConfig_Severity_SeverityUnspecified + * Default value. This value is unused. (Value: "SEVERITY_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *severity; + +@end + + +/** + * Definitions of custom source properties that can appear in findings. + */ +@interface GTLRSecurityPosture_CustomOutputSpec : GTLRObject + +/** Optional. The custom source properties that can appear in findings. */ +@property(nonatomic, strong, nullable) NSArray *properties; + +@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 GTLRSecurityPosture_Empty : GTLRObject +@end + + +/** + * Represents a textual expression in the Common Expression Language (CEL) + * syntax. CEL is a C-like expression language. The syntax and semantics of CEL + * are documented at https://github.com/google/cel-spec. Example (Comparison): + * title: "Summary size limit" description: "Determines if a summary is less + * than 100 chars" expression: "document.summary.size() < 100" Example + * (Equality): title: "Requestor is owner" description: "Determines if + * requestor is the document owner" expression: "document.owner == + * request.auth.claims.email" Example (Logic): title: "Public documents" + * description: "Determine whether the document should be publicly visible" + * expression: "document.type != 'private' && document.type != 'internal'" + * Example (Data Manipulation): title: "Notification string" description: + * "Create a notification string with a timestamp." expression: "'New message + * received at ' + string(document.create_time)" The exact variables and + * functions that may be referenced within an expression are determined by the + * service that evaluates it. See the service documentation for additional + * information. + */ +@interface GTLRSecurityPosture_Expr : GTLRObject + +/** + * Optional. Description of the expression. This is a longer text which + * describes the expression, e.g. when hovered over it in a UI. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Textual representation of an expression in Common Expression Language + * syntax. + */ +@property(nonatomic, copy, nullable) NSString *expression; + +/** + * Optional. String indicating the location of the expression for error + * reporting, e.g. a file name and a position in the file. + */ +@property(nonatomic, copy, nullable) NSString *location; + +/** + * Optional. Title for the expression, i.e. a short string describing its + * purpose. This can be used e.g. in UIs which allow to enter the expression. + */ +@property(nonatomic, copy, nullable) NSString *title; + +@end + + +/** + * Request message for ExtractPosture. + */ +@interface GTLRSecurityPosture_ExtractPostureRequest : GTLRObject + +/** Required. An identifier for the posture. */ +@property(nonatomic, copy, nullable) NSString *postureId; + +/** + * Required. The organization, folder, or project from which policies are + * extracted. Must be within the organization defined in parent. Use one of the + * following formats: * `organization/{organization_number}` * + * `folder/{folder_number}` * `project/{project_number}` + */ +@property(nonatomic, copy, nullable) NSString *workload; + +@end + + +/** + * A custom, user-defined constraint. You can apply the constraint only to the + * resource types specified in the constraint, and only within the organization + * where the constraint is defined. _When you create a custom constraint, it is + * not enforced automatically._ You must use an organization policy to [enforce + * the + * constraint](https://cloud.google.com/resource-manager/help/organization-policy/constraints/enforce). + */ +@interface GTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint : GTLRObject + +/** + * Whether to allow or deny the action. + * + * Likely values: + * @arg @c kGTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint_ActionType_ActionTypeUnspecified + * Default value. This value is unused. (Value: + * "ACTION_TYPE_UNSPECIFIED") + * @arg @c kGTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint_ActionType_Allow + * Allow the action. (Value: "ALLOW") + * @arg @c kGTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint_ActionType_Deny + * Deny the action. (Value: "DENY") + */ +@property(nonatomic, copy, nullable) NSString *actionType; + +/** + * A Common Expression Language (CEL) condition expression that must evaluate + * to `true` for the constraint to be enforced. The maximum length is 1000 + * characters. For example: + + * `resource.instanceName.matches('(production|test)_(.+_)?[\\d]+')`: Evaluates + * to `true` if the resource's `instanceName` attribute contains the following: + * + The prefix `production` or `test` + An underscore (`_`) + Optional: One or + * more characters, followed by an underscore (`_`) + One or more digits + + * `resource.management.auto_upgrade == true`: Evaluates to `true` if the + * resource's `management.auto_upgrade` attribute is `true`. + */ +@property(nonatomic, copy, nullable) NSString *condition; + +/** + * A description of the constraint. The maximum length is 2000 characters. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * A display name for the constraint. The maximum length is 200 characters. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** The types of operations that the constraint applies to. */ +@property(nonatomic, strong, nullable) NSArray *methodTypes; + +/** + * Immutable. The name of the constraint, in the format + * `organizations/{organization_id}/customConstraints/custom.{custom_constraint_id}`. + * For example, + * `organizations/123456789012/customConstraints/custom.createOnlyE2TypeVms`. + * Must contain 1 to 62 characters, excluding the prefix + * `organizations/{organization_id}/customConstraints/custom.`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Immutable. The resource type that the constraint applies to, in the format + * `{canonical_service_name}/{resource_type_name}`. For example, + * `compute.googleapis.com/Instance`. + */ +@property(nonatomic, strong, nullable) NSArray *resourceTypes; + +/** + * Output only. The last time at which the constraint was updated or created. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * A rule that defines the allowed and denied values for an organization policy + * constraint. + */ +@interface GTLRSecurityPosture_GoogleCloudSecuritypostureV1PolicyRule : GTLRObject + +/** + * Whether to allow any value for a list constraint. Valid only for list + * constraints. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowAll; + +/** + * A condition that determines whether this rule is used to evaluate the + * policy. When set, the google.type.Expr.expression field must contain 1 to 10 + * subexpressions, joined by the `||` or `&&` operators. Each subexpression + * must use the `resource.matchTag()` or `resource.matchTagId()` Common + * Expression Language (CEL) function. The `resource.matchTag()` function takes + * the following arguments: * `key_name`: the namespaced name of the tag key, + * with the organization ID and a slash (`/`) as a prefix; for example, + * `123456789012/environment` * `value_name`: the short name of the tag value + * For example: `resource.matchTag('123456789012/environment, 'prod')` The + * `resource.matchTagId()` function takes the following arguments: * `key_id`: + * the permanent ID of the tag key; for example, `tagKeys/123456789012` * + * `value_id`: the permanent ID of the tag value; for example, + * `tagValues/567890123456` For example: + * `resource.matchTagId('tagKeys/123456789012', 'tagValues/567890123456')` + */ +@property(nonatomic, strong, nullable) GTLRSecurityPosture_Expr *condition; + +/** + * Whether to deny all values for a list constraint. Valid only for list + * constraints. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *denyAll; + +/** + * Whether to enforce the constraint. Valid only for boolean constraints. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enforce; + +/** + * Optional. Required for GMCs if parameters defined in constraints. Pass + * 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 } + */ +@property(nonatomic, strong, nullable) GTLRSecurityPosture_GoogleCloudSecuritypostureV1PolicyRule_Parameters *parameters; + +/** + * Optional. The resource types policy can support, only used for Google + * managed constraint and method type is GOVERN_TAGS. + */ +@property(nonatomic, strong, nullable) GTLRSecurityPosture_ResourceTypes *resourceTypes; + +/** + * The allowed and denied values for a list constraint. Valid only for list + * constraints. + */ +@property(nonatomic, strong, nullable) GTLRSecurityPosture_GoogleCloudSecuritypostureV1PolicyRuleStringValues *values; + +@end + + +/** + * Optional. Required for GMCs if parameters defined in constraints. Pass + * 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 } + * + * @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 GTLRSecurityPosture_GoogleCloudSecuritypostureV1PolicyRule_Parameters : GTLRObject +@end + + +/** + * The allowed and denied values for a list constraint. For all constraints, + * these fields can contain literal values. Optionally, you can add the `is:` + * prefix to these values. If the value contains a colon (`:`), then the `is:` + * prefix is required. Some constraints allow you to specify a portion of the + * resource hierarchy, known as a [_hierarchy + * subtree_](https://cloud.google.com/resource-manager/help/organization-policy/hierarchy-subtree), + * that the constraint applies to. To specify a hierarchy subtree, use the + * `under:` prefix, followed by a value with one of these formats: - + * `projects/{project_id}` (for example, `projects/tokyo-rain-123`) - + * `folders/{folder_id}` (for example, `folders/1234567890123`) - + * `organizations/{organization_id}` (for example, + * `organizations/123456789012`) A constraint's `supports_under` field + * indicates whether you can specify a hierarchy subtree. To learn which + * predefined constraints let you specify a hierarchy subtree, see the + * [constraints + * reference](https://cloud.google.com/resource-manager/help/organization-policy/constraints/reference). + */ +@interface GTLRSecurityPosture_GoogleCloudSecuritypostureV1PolicyRuleStringValues : GTLRObject + +/** The allowed values for the constraint. */ +@property(nonatomic, strong, nullable) NSArray *allowedValues; + +/** The denied values for the constraint. */ +@property(nonatomic, strong, nullable) NSArray *deniedValues; + +@end + + +/** + * Details of an infrastructure-as-code (IaC) configuration. + */ +@interface GTLRSecurityPosture_IaC : GTLRObject + +/** + * Optional. A Terraform plan file, formatted as a stringified JSON object. To + * learn how to generate a Terraform plan file in JSON format, see [JSON output + * format](https://developer.hashicorp.com/terraform/internals/json-format) in + * the Terraform documentation. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *tfPlan; + +@end + + +/** + * Details of an infrastructure-as-code (IaC) validation report. + */ +@interface GTLRSecurityPosture_IaCValidationReport : GTLRObject + +/** Additional information about the report. */ +@property(nonatomic, copy, nullable) NSString *note; + +/** A list of every Violation found in the IaC configuration. */ +@property(nonatomic, strong, nullable) NSArray *violations; + +@end + + +/** + * The response message for Locations.ListLocations. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "locations" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecurityPosture_ListLocationsResponse : GTLRCollectionObject + +/** + * A list of locations that matches the specified filter in the request. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *locations; + +/** The standard List next-page token. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The response message for Operations.ListOperations. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "operations" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecurityPosture_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 + + +/** + * Response message for ListPostureDeployments. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "postureDeployments" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRSecurityPosture_ListPostureDeploymentsResponse : GTLRCollectionObject + +/** + * A pagination token. To retrieve the next page of results, call the method + * again with this token. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of PostureDeployment resources. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *postureDeployments; + +/** Locations that were temporarily unavailable and could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * Response message for ListPostureRevisions. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "revisions" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecurityPosture_ListPostureRevisionsResponse : GTLRCollectionObject + +/** + * A pagination token. To retrieve the next page of results, call the method + * again with this token. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of revisions for the Posture. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *revisions; + +@end + + +/** + * Response message for ListPostures. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "postures" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecurityPosture_ListPosturesResponse : GTLRCollectionObject + +/** + * A pagination token. To retrieve the next page of results, call the method + * again with this token. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of Posture resources. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *postures; + +/** Locations that were temporarily unavailable and could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * Response message for ListPostureTemplates. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "postureTemplates" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRSecurityPosture_ListPostureTemplatesResponse : GTLRCollectionObject + +/** + * A pagination token. To retrieve the next page of results, call the method + * again with this token. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of PostureTemplate resources. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *postureTemplates; + +@end + + +/** + * Response message for ListReports. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "reports" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecurityPosture_ListReportsResponse : GTLRCollectionObject + +/** + * A pagination token. To retrieve the next page of results, call the method + * again with this token. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of Report resources. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *reports; + +/** Locations that were temporarily unavailable and could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * A resource that represents a Google Cloud location. + */ +@interface GTLRSecurityPosture_Location : GTLRObject + +/** + * The friendly name for this location, typically a nearby city name. For + * example, "Tokyo". + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Cross-service attributes for the location. For example + * {"cloud.googleapis.com/region": "us-east1"} + */ +@property(nonatomic, strong, nullable) GTLRSecurityPosture_Location_Labels *labels; + +/** The canonical id for this location. For example: `"us-east1"`. */ +@property(nonatomic, copy, nullable) NSString *locationId; + +/** + * Service-specific metadata. For example the available capacity at the given + * location. + */ +@property(nonatomic, strong, nullable) GTLRSecurityPosture_Location_Metadata *metadata; + +/** + * Resource name for the location, which may vary between implementations. For + * example: `"projects/example-project/locations/us-east1"` + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * Cross-service attributes for the location. For example + * {"cloud.googleapis.com/region": "us-east1"} + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRSecurityPosture_Location_Labels : GTLRObject +@end + + +/** + * Service-specific metadata. For example the available capacity at the given + * location. + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRSecurityPosture_Location_Metadata : GTLRObject +@end + + +/** + * This resource represents a long-running operation that is the result of a + * network API call. + */ +@interface GTLRSecurityPosture_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) GTLRSecurityPosture_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) GTLRSecurityPosture_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) GTLRSecurityPosture_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 GTLRSecurityPosture_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 GTLRSecurityPosture_Operation_Response : GTLRObject +@end + + +/** + * Metadata for an Operation. + */ +@interface GTLRSecurityPosture_OperationMetadata : GTLRObject + +/** Output only. The API version used to start the operation. */ +@property(nonatomic, copy, nullable) NSString *apiVersion; + +/** Output only. The time at which the operation was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. The time at which the operation finished running. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** + * Output only. An error message. Returned when a PostureDeployment enters a + * failure state like UPDATE_FAILED. + */ +@property(nonatomic, copy, nullable) NSString *errorMessage; + +/** + * Output only. Whether a request to cancel the operation has been received. + * For operations that have been cancelled successfully, the Operation.error + * field contains the error code CANCELLED. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requestedCancellation; + +/** Output only. The status of the operation, if any. */ +@property(nonatomic, copy, nullable) NSString *statusMessage; + +/** + * Output only. The server-defined resource path for the target of the + * operation. + */ +@property(nonatomic, copy, nullable) NSString *target; + +/** Output only. The name of the action executed by the operation. */ +@property(nonatomic, copy, nullable) NSString *verb; + +@end + + +/** + * A predefined organization policy constraint. + */ +@interface GTLRSecurityPosture_OrgPolicyConstraint : GTLRObject + +/** Required. A unique identifier for the constraint. */ +@property(nonatomic, copy, nullable) NSString *cannedConstraintId; + +/** Required. The rules enforced by the constraint. */ +@property(nonatomic, strong, nullable) NSArray *policyRules; + +@end + + +/** + * A custom organization policy constraint. + */ +@interface GTLRSecurityPosture_OrgPolicyConstraintCustom : GTLRObject + +/** Required. Metadata for the constraint. */ +@property(nonatomic, strong, nullable) GTLRSecurityPosture_GoogleCloudSecuritypostureV1CustomConstraint *customConstraint; + +/** Required. The rules enforced by the constraint. */ +@property(nonatomic, strong, nullable) NSArray *policyRules; + +@end + + +/** + * The details of a policy, including the constraints that it includes. + */ +@interface GTLRSecurityPosture_Policy : GTLRObject + +/** Optional. The compliance standards that the policy helps enforce. */ +@property(nonatomic, strong, nullable) NSArray *complianceStandards; + +/** Required. The constraints that the policy includes. */ +@property(nonatomic, strong, nullable) GTLRSecurityPosture_Constraint *constraint; + +/** + * Optional. A description of the policy. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Required. A user-specified identifier for the policy. In a PolicySet, each + * policy must have a unique identifier. + */ +@property(nonatomic, copy, nullable) NSString *policyId; + +@end + + +/** + * Details of a policy that was violated. + */ +@interface GTLRSecurityPosture_PolicyDetails : GTLRObject + +/** + * The compliance standards that the policy maps to. For example, `CIS-2.0 + * 1.15`. + */ +@property(nonatomic, strong, nullable) NSArray *complianceStandards; + +/** + * Information about the constraint that was violated. The format of this + * information can change at any time without prior notice. Your application + * must not depend on this information in any way. + */ +@property(nonatomic, copy, nullable) NSString *constraint; + +/** + * The type of constraint that was violated. + * + * Likely values: + * @arg @c kGTLRSecurityPosture_PolicyDetails_ConstraintType_ConstraintTypeUnspecified + * Default value. This value is unused. (Value: + * "CONSTRAINT_TYPE_UNSPECIFIED") + * @arg @c kGTLRSecurityPosture_PolicyDetails_ConstraintType_OrgPolicy A + * predefined organization policy constraint. (Value: "ORG_POLICY") + * @arg @c kGTLRSecurityPosture_PolicyDetails_ConstraintType_OrgPolicyCustom + * A custom organization policy constraint. (Value: "ORG_POLICY_CUSTOM") + * @arg @c kGTLRSecurityPosture_PolicyDetails_ConstraintType_RegoPolicy A + * custom rego policy constraint. (Value: "REGO_POLICY") + * @arg @c kGTLRSecurityPosture_PolicyDetails_ConstraintType_SecurityHealthAnalyticsCustomModule + * A custom module for Security Health Analytics. (Value: + * "SECURITY_HEALTH_ANALYTICS_CUSTOM_MODULE") + * @arg @c kGTLRSecurityPosture_PolicyDetails_ConstraintType_SecurityHealthAnalyticsModule + * A built-in detector for Security Health Analytics. (Value: + * "SECURITY_HEALTH_ANALYTICS_MODULE") + */ +@property(nonatomic, copy, nullable) NSString *constraintType; + +/** + * A description of the policy. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +@end + + +/** + * A group of one or more Policy resources. + */ +@interface GTLRSecurityPosture_PolicySet : GTLRObject + +/** + * Optional. A description of the policy set. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Required. The Policy resources in the policy set. Each policy must have a + * policy_id that's unique within the policy set. + */ +@property(nonatomic, strong, nullable) NSArray *policies; + +/** Required. An identifier for the policy set. */ +@property(nonatomic, copy, nullable) NSString *policySetId; + +@end + + +/** + * The details of a posture. + */ +@interface GTLRSecurityPosture_Posture : GTLRObject + +/** + * Optional. The user-specified annotations for the posture. For details about + * the values you can use in an annotation, see [AIP-148: Standard + * fields](https://google.aip.dev/148#annotations). + */ +@property(nonatomic, strong, nullable) GTLRSecurityPosture_Posture_Annotations *annotations; + +/** + * Output only. The categories that the posture belongs to, as determined by + * the Security Posture API. + */ +@property(nonatomic, strong, nullable) NSArray *categories; + +/** Output only. The time at which the posture was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. A description of the posture. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Optional. An opaque identifier for the current version of the posture at the + * specified `revision_id`. To prevent concurrent updates from overwriting each + * other, always provide the `etag` when you update a posture. You can also + * provide the `etag` when you delete a posture, to help ensure that you're + * deleting the intended version of the posture. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Required. Identifier. The name of the posture, in the format + * `organizations/{organization}/locations/global/postures/{posture_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Required. The PolicySet resources that the posture includes. */ +@property(nonatomic, strong, nullable) NSArray *policySets; + +/** + * Output only. Whether the posture is in the process of being updated. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *reconciling; + +/** + * Output only. Immutable. An opaque eight-character string that identifies the + * revision of the posture. A posture can have multiple revisions; when you + * deploy a posture, you deploy a specific revision of the posture. + */ +@property(nonatomic, copy, nullable) NSString *revisionId; + +/** + * Required. The state of the posture at the specified `revision_id`. + * + * Likely values: + * @arg @c kGTLRSecurityPosture_Posture_State_Active The posture is complete + * and ready to deploy. (Value: "ACTIVE") + * @arg @c kGTLRSecurityPosture_Posture_State_Deprecated The posture is + * deprecated and can no longer be deployed. (Value: "DEPRECATED") + * @arg @c kGTLRSecurityPosture_Posture_State_Draft The posture is a draft + * and is not ready to deploy. (Value: "DRAFT") + * @arg @c kGTLRSecurityPosture_Posture_State_StateUnspecified Default value. + * This value is unused. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. The time at which the posture was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. The user-specified annotations for the posture. For details about + * the values you can use in an annotation, see [AIP-148: Standard + * fields](https://google.aip.dev/148#annotations). + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRSecurityPosture_Posture_Annotations : GTLRObject +@end + + +/** + * Details for a Posture deployment on an organization, folder, or project. You + * can deploy at most one posture to each organization, folder, or project. The + * parent resource for a posture deployment is always the organization, even if + * the deployment applies to a folder or project. + */ +@interface GTLRSecurityPosture_PostureDeployment : GTLRObject + +/** + * Optional. The user-specified annotations for the posture deployment. For + * details about the values you can use in an annotation, see [AIP-148: + * Standard fields](https://google.aip.dev/148#annotations). + */ +@property(nonatomic, strong, nullable) GTLRSecurityPosture_PostureDeployment_Annotations *annotations; + +/** + * Output only. The categories that the posture deployment belongs to, as + * determined by the Security Posture API. + */ +@property(nonatomic, strong, nullable) NSArray *categories; + +/** Output only. The time at which the posture deployment was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. A description of the posture deployment. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Output only. The posture ID that was specified for the deployment. Present + * only if the posture deployment is in a failed state. + */ +@property(nonatomic, copy, nullable) NSString *desiredPostureId; + +/** + * Output only. The revision ID of the posture that was specified for the + * deployment. Present only if the deployment is in a failed state. + */ +@property(nonatomic, copy, nullable) NSString *desiredPostureRevisionId; + +/** + * Optional. An opaque identifier for the current version of the posture + * deployment. To prevent concurrent updates from overwriting each other, + * always provide the `etag` when you update a posture deployment. You can also + * provide the `etag` when you delete a posture deployment, to help ensure that + * you're deleting the intended posture deployment. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Output only. A description of why the posture deployment failed. Present + * only if the deployment is in a failed state. + */ +@property(nonatomic, copy, nullable) NSString *failureMessage; + +/** + * Required. Identifier. The name of the posture deployment, in the format + * `organizations/{organization}/locations/global/postureDeployments/{deployment_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. The posture used in the deployment, in the format + * `organizations/{organization}/locations/global/postures/{posture_id}`. + */ +@property(nonatomic, copy, nullable) NSString *postureId; + +/** Required. The revision ID of the posture used in the deployment. */ +@property(nonatomic, copy, nullable) NSString *postureRevisionId; + +/** + * Output only. Whether the posture deployment is in the process of being + * updated. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *reconciling; + +/** + * Output only. The state of the posture deployment. + * + * Likely values: + * @arg @c kGTLRSecurityPosture_PostureDeployment_State_Active The posture + * deployment is active and in use. (Value: "ACTIVE") + * @arg @c kGTLRSecurityPosture_PostureDeployment_State_CreateFailed The + * posture deployment could not be created. (Value: "CREATE_FAILED") + * @arg @c kGTLRSecurityPosture_PostureDeployment_State_Creating The posture + * deployment is being created. (Value: "CREATING") + * @arg @c kGTLRSecurityPosture_PostureDeployment_State_DeleteFailed The + * posture deployment could not be deleted. (Value: "DELETE_FAILED") + * @arg @c kGTLRSecurityPosture_PostureDeployment_State_Deleting The posture + * deployment is being deleted. (Value: "DELETING") + * @arg @c kGTLRSecurityPosture_PostureDeployment_State_StateUnspecified + * Default value. This value is unused. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRSecurityPosture_PostureDeployment_State_UpdateFailed The + * posture deployment could not be updated. (Value: "UPDATE_FAILED") + * @arg @c kGTLRSecurityPosture_PostureDeployment_State_Updating The posture + * deployment is being updated. (Value: "UPDATING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Required. The organization, folder, or project where the posture is + * deployed. Uses one of the following formats: * + * `organizations/{organization_number}` * `folders/{folder_number}` * + * `projects/{project_number}` + */ +@property(nonatomic, copy, nullable) NSString *targetResource; + +/** Output only. The time at which the posture deployment was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. The user-specified annotations for the posture deployment. For + * details about the values you can use in an annotation, see [AIP-148: + * Standard fields](https://google.aip.dev/148#annotations). + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRSecurityPosture_PostureDeployment_Annotations : GTLRObject +@end + + +/** + * Details of a posture deployment. + */ +@interface GTLRSecurityPosture_PostureDetails : GTLRObject + +/** The identifier for the PolicySet that the relevant policy belongs to. */ +@property(nonatomic, copy, nullable) NSString *policySet; + +/** + * The posture used in the deployment, in the format + * `organizations/{organization}/locations/global/postures/{posture_id}`. + */ +@property(nonatomic, copy, nullable) NSString *posture; + +/** + * The name of the posture deployment, in the format + * `organizations/{organization}/locations/global/postureDeployments/{deployment_id}`. + */ +@property(nonatomic, copy, nullable) NSString *postureDeployment; + +/** + * The organization, folder, or project where the posture is deployed. Uses one + * of the following formats: * `organizations/{organization_number}` * + * `folders/{folder_number}` * `projects/{project_number}` + */ +@property(nonatomic, copy, nullable) NSString *postureDeploymentTargetResource; + +/** The revision ID of the posture used in the deployment. */ +@property(nonatomic, copy, nullable) NSString *postureRevisionId; + +@end + + +/** + * The details of a posture template. + */ +@interface GTLRSecurityPosture_PostureTemplate : GTLRObject + +/** + * Output only. The categories that the posture template belongs to, as + * determined by the Security Posture API. + */ +@property(nonatomic, strong, nullable) NSArray *categories; + +/** + * Output only. A description of the posture template. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Output only. Identifier. The name of the posture template, in the format + * `organizations/{organization}/locations/global/postureTemplates/{posture_template}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The PolicySet resources that the posture template includes. + */ +@property(nonatomic, strong, nullable) NSArray *policySets; + +/** + * Output only. A string that identifies the revision of the posture template. + */ +@property(nonatomic, copy, nullable) NSString *revisionId; + +/** + * Output only. The state of the posture template at the specified + * `revision_id`. + * + * Likely values: + * @arg @c kGTLRSecurityPosture_PostureTemplate_State_Active The posture + * template follows the latest controls and standards. (Value: "ACTIVE") + * @arg @c kGTLRSecurityPosture_PostureTemplate_State_Deprecated The posture + * template uses outdated controls and standards. We recommend that you + * use a newer revision of the posture template. (Value: "DEPRECATED") + * @arg @c kGTLRSecurityPosture_PostureTemplate_State_StateUnspecified + * Default value. This value is unused. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + +/** + * A name-value pair used as a custom source property. + */ +@interface GTLRSecurityPosture_Property : GTLRObject + +/** Required. The name of the custom source property. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The CEL expression for the value of the custom source property. + * For resource properties, you can return the value of the property or a + * string enclosed in quotation marks. + */ +@property(nonatomic, strong, nullable) GTLRSecurityPosture_Expr *valueExpression; + +@end + + +/** + * Details of a report. + */ +@interface GTLRSecurityPosture_Report : GTLRObject + +/** Output only. The time at which the report was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. An infrastructure-as-code (IaC) validation report. */ +@property(nonatomic, strong, nullable) GTLRSecurityPosture_IaCValidationReport *iacValidationReport; + +/** + * Required. The name of the report, in the format + * `organizations/{organization}/locations/global/reports/{report_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. The time at which the report was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * A selector for the resource types to run the detector on. + */ +@interface GTLRSecurityPosture_ResourceSelector : GTLRObject + +/** + * Required. The resource types to run the detector on. Each custom module can + * specify up to 5 resource types. + */ +@property(nonatomic, strong, nullable) NSArray *resourceTypes; + +@end + + +/** + * Set multiple resource types for one policy, eg: resourceTypes: included: - + * compute.googleapis.com/Instance - compute.googleapis.com/Disk Constraint + * definition contains an empty resource type in order to support multiple + * resource types in the policy. Only support Google managed constriaint and + * method type is GOVERN_TAGS Refer go/multi-resource-support-force-tags-gmc to + * get more details. + */ +@interface GTLRSecurityPosture_ResourceTypes : GTLRObject + +/** + * Optional. The resource type we currently support. + * cloud/orgpolicy/customconstraintconfig/prod/resource_types.prototext + */ +@property(nonatomic, strong, nullable) NSArray *included; + +@end + + +/** + * A custom module for Security Health Analytics. + */ +@interface GTLRSecurityPosture_SecurityHealthAnalyticsCustomModule : GTLRObject + +/** Required. Configuration settings for the custom module. */ +@property(nonatomic, strong, nullable) GTLRSecurityPosture_CustomConfig *config; + +/** + * Optional. The display name of the custom module. This value is used as the + * finding category for all the asset violation findings that the custom module + * returns. The display name must contain between 1 and 128 alphanumeric + * characters or underscores, and it must start with a lowercase letter. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Output only. Immutable. The unique identifier for the custom module. + * Contains 1 to 20 digits. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Whether the custom module is enabled at a specified level of the resource + * hierarchy. + * + * Likely values: + * @arg @c kGTLRSecurityPosture_SecurityHealthAnalyticsCustomModule_ModuleEnablementState_Disabled + * The detector or custom module is disabled. (Value: "DISABLED") + * @arg @c kGTLRSecurityPosture_SecurityHealthAnalyticsCustomModule_ModuleEnablementState_Enabled + * The detector or custom module is enabled. (Value: "ENABLED") + * @arg @c kGTLRSecurityPosture_SecurityHealthAnalyticsCustomModule_ModuleEnablementState_EnablementStateUnspecified + * Default value. This value is unused. (Value: + * "ENABLEMENT_STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *moduleEnablementState; + +@end + + +/** + * A built-in detector for Security Health Analytics. + */ +@interface GTLRSecurityPosture_SecurityHealthAnalyticsModule : GTLRObject + +/** + * Whether the detector is enabled at a specified level of the resource + * hierarchy. + * + * Likely values: + * @arg @c kGTLRSecurityPosture_SecurityHealthAnalyticsModule_ModuleEnablementState_Disabled + * The detector or custom module is disabled. (Value: "DISABLED") + * @arg @c kGTLRSecurityPosture_SecurityHealthAnalyticsModule_ModuleEnablementState_Enabled + * The detector or custom module is enabled. (Value: "ENABLED") + * @arg @c kGTLRSecurityPosture_SecurityHealthAnalyticsModule_ModuleEnablementState_EnablementStateUnspecified + * Default value. This value is unused. (Value: + * "ENABLEMENT_STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *moduleEnablementState; + +/** + * Required. The name of the detector. For example, + * `BIGQUERY_TABLE_CMEK_DISABLED`. This field is also used as the finding + * category for all the asset violation findings that the detector returns. + */ +@property(nonatomic, copy, nullable) NSString *moduleName; + +@end + + +/** + * The `Status` type defines a logical error model that is suitable for + * different programming environments, including REST APIs and RPC APIs. It is + * used by [gRPC](https://github.com/grpc). Each `Status` message contains + * three pieces of data: error code, error message, and error details. You can + * find out more about this error model and how to work with it in the [API + * Design Guide](https://cloud.google.com/apis/design/errors). + */ +@interface GTLRSecurityPosture_Status : GTLRObject + +/** + * The status code, which should be an enum value of google.rpc.Code. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *code; + +/** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ +@property(nonatomic, strong, nullable) NSArray *details; + +/** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ +@property(nonatomic, copy, nullable) NSString *message; + +@end + + +/** + * GTLRSecurityPosture_Status_Details_Item + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRSecurityPosture_Status_Details_Item : GTLRObject +@end + + +/** + * Details of a violation. + */ +@interface GTLRSecurityPosture_Violation : GTLRObject + +/** + * The full resource name of the asset that caused the violation. For details + * about the format of the full resource name for each asset type, see + * [Resource name + * format](https://cloud.google.com/asset-inventory/docs/resource-name-format). + */ +@property(nonatomic, copy, nullable) NSString *assetId; + +/** A description of the steps that you can take to fix the violation. */ +@property(nonatomic, copy, nullable) NSString *nextSteps; + +/** The policy that was violated. */ +@property(nonatomic, copy, nullable) NSString *policyId; + +/** + * The severity of the violation. + * + * Likely values: + * @arg @c kGTLRSecurityPosture_Violation_Severity_Critical Critical + * severity. (Value: "CRITICAL") + * @arg @c kGTLRSecurityPosture_Violation_Severity_High High severity. + * (Value: "HIGH") + * @arg @c kGTLRSecurityPosture_Violation_Severity_Low Low severity. (Value: + * "LOW") + * @arg @c kGTLRSecurityPosture_Violation_Severity_Medium Medium severity. + * (Value: "MEDIUM") + * @arg @c kGTLRSecurityPosture_Violation_Severity_SeverityUnspecified + * Default value. This value is unused. (Value: "SEVERITY_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *severity; + +/** Details of the Cloud Asset Inventory asset that caused the violation. */ +@property(nonatomic, strong, nullable) GTLRSecurityPosture_AssetDetails *violatedAsset; + +/** Details of the policy that was violated. */ +@property(nonatomic, strong, nullable) GTLRSecurityPosture_PolicyDetails *violatedPolicy; + +/** + * Details for the posture that was violated. This field is present only if the + * violated policy belongs to a deployed posture. + */ +@property(nonatomic, strong, nullable) GTLRSecurityPosture_PostureDetails *violatedPosture; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureQuery.h b/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureQuery.h new file mode 100644 index 000000000..11af72aac --- /dev/null +++ b/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureQuery.h @@ -0,0 +1,1006 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Security Posture API (securityposture/v1) +// Description: +// Defines, assesses, and monitors the overall status of your security in +// Google Cloud. You can use security postures to evaluate your current cloud +// security against defined benchmarks and help maintain the level of security +// that your organization requires. +// Documentation: +// https://cloud.google.com/security-command-center + +#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 "GTLRSecurityPostureObjects.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 Security Posture query classes. + */ +@interface GTLRSecurityPostureQuery : GTLRQuery + +/** Selector specifying which fields to include in a partial response. */ +@property(nonatomic, copy, nullable) NSString *fields; + +@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: securityposture.organizations.locations.operations.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityPostureCloudPlatform + */ +@interface GTLRSecurityPostureQuery_OrganizationsLocationsOperationsCancel : GTLRSecurityPostureQuery + +/** The name of the operation resource to be cancelled. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecurityPosture_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 GTLRSecurityPosture_CancelOperationRequest to include + * in the query. + * @param name The name of the operation resource to be cancelled. + * + * @return GTLRSecurityPostureQuery_OrganizationsLocationsOperationsCancel + */ ++ (instancetype)queryWithObject:(GTLRSecurityPosture_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: securityposture.organizations.locations.operations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityPostureCloudPlatform + */ +@interface GTLRSecurityPostureQuery_OrganizationsLocationsOperationsDelete : GTLRSecurityPostureQuery + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecurityPosture_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 GTLRSecurityPostureQuery_OrganizationsLocationsOperationsDelete + */ ++ (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: securityposture.organizations.locations.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityPostureCloudPlatform + */ +@interface GTLRSecurityPostureQuery_OrganizationsLocationsOperationsGet : GTLRSecurityPostureQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecurityPosture_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 GTLRSecurityPostureQuery_OrganizationsLocationsOperationsGet + */ ++ (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: securityposture.organizations.locations.operations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityPostureCloudPlatform + */ +@interface GTLRSecurityPostureQuery_OrganizationsLocationsOperationsList : GTLRSecurityPostureQuery + +/** 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 GTLRSecurityPosture_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 GTLRSecurityPostureQuery_OrganizationsLocationsOperationsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Creates a new PostureDeployment in a given project and location. + * + * Method: securityposture.organizations.locations.postureDeployments.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityPostureCloudPlatform + */ +@interface GTLRSecurityPostureQuery_OrganizationsLocationsPostureDeploymentsCreate : GTLRSecurityPostureQuery + +/** + * Required. The parent resource name, in the format + * `organizations/{organization}/locations/global`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** Required. An identifier for the posture deployment. */ +@property(nonatomic, copy, nullable) NSString *postureDeploymentId; + +/** + * Fetches a @c GTLRSecurityPosture_Operation. + * + * Creates a new PostureDeployment in a given project and location. + * + * @param object The @c GTLRSecurityPosture_PostureDeployment to include in the + * query. + * @param parent Required. The parent resource name, in the format + * `organizations/{organization}/locations/global`. + * + * @return GTLRSecurityPostureQuery_OrganizationsLocationsPostureDeploymentsCreate + */ ++ (instancetype)queryWithObject:(GTLRSecurityPosture_PostureDeployment *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a PostureDeployment. + * + * Method: securityposture.organizations.locations.postureDeployments.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityPostureCloudPlatform + */ +@interface GTLRSecurityPostureQuery_OrganizationsLocationsPostureDeploymentsDelete : GTLRSecurityPostureQuery + +/** + * Optional. An opaque identifier for the current version of the posture + * deployment. If you provide this value, then it must match the existing + * value. If the values don't match, then the request fails with an ABORTED + * error. If you omit this value, then the posture deployment is deleted + * regardless of its current `etag` value. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Required. The name of the posture deployment, in the format + * `organizations/{organization}/locations/global/postureDeployments/{posture_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecurityPosture_Operation. + * + * Deletes a PostureDeployment. + * + * @param name Required. The name of the posture deployment, in the format + * `organizations/{organization}/locations/global/postureDeployments/{posture_id}`. + * + * @return GTLRSecurityPostureQuery_OrganizationsLocationsPostureDeploymentsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets details for a PostureDeployment. + * + * Method: securityposture.organizations.locations.postureDeployments.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityPostureCloudPlatform + */ +@interface GTLRSecurityPostureQuery_OrganizationsLocationsPostureDeploymentsGet : GTLRSecurityPostureQuery + +/** + * Required. The name of the PostureDeployment, in the format + * `organizations/{organization}/locations/global/postureDeployments/{posture_deployment_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecurityPosture_PostureDeployment. + * + * Gets details for a PostureDeployment. + * + * @param name Required. The name of the PostureDeployment, in the format + * `organizations/{organization}/locations/global/postureDeployments/{posture_deployment_id}`. + * + * @return GTLRSecurityPostureQuery_OrganizationsLocationsPostureDeploymentsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists every PostureDeployment in a project and location. + * + * Method: securityposture.organizations.locations.postureDeployments.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityPostureCloudPlatform + */ +@interface GTLRSecurityPostureQuery_OrganizationsLocationsPostureDeploymentsList : GTLRSecurityPostureQuery + +/** + * Optional. A filter to apply to the list of postures, in the format defined + * in [AIP-160: Filtering](https://google.aip.dev/160). + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The maximum number of posture deployments to return. The default + * value is `500`. If you exceed the maximum value of `1000`, then the service + * uses the maximum value. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A pagination token returned from a previous request to list + * posture deployments. Provide this token to retrieve the next page of + * results. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent resource name, in the format + * `organizations/{organization}/locations/global`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecurityPosture_ListPostureDeploymentsResponse. + * + * Lists every PostureDeployment in a project and location. + * + * @param parent Required. The parent resource name, in the format + * `organizations/{organization}/locations/global`. + * + * @return GTLRSecurityPostureQuery_OrganizationsLocationsPostureDeploymentsList + * + * @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 PostureDeployment. To prevent concurrent updates from + * overwriting each other, always follow the read-modify-write pattern when you + * update a posture deployment: 1. Call GetPostureDeployment to get the current + * version of the deployment. 2. Update the fields in the deployment as needed. + * 3. Call UpdatePostureDeployment to update the deployment. Ensure that your + * request includes the `etag` value from the GetPostureDeployment response. + * **Important:** If you omit the `etag` when you call UpdatePostureDeployment, + * then the updated deployment unconditionally overwrites the existing + * deployment. + * + * Method: securityposture.organizations.locations.postureDeployments.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityPostureCloudPlatform + */ +@interface GTLRSecurityPostureQuery_OrganizationsLocationsPostureDeploymentsPatch : GTLRSecurityPostureQuery + +/** + * Required. Identifier. The name of the posture deployment, in the format + * `organizations/{organization}/locations/global/postureDeployments/{deployment_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. The fields in the PostureDeployment to update. You can update only + * the following fields: * PostureDeployment.posture_id * + * PostureDeployment.posture_revision_id + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRSecurityPosture_Operation. + * + * Updates an existing PostureDeployment. To prevent concurrent updates from + * overwriting each other, always follow the read-modify-write pattern when you + * update a posture deployment: 1. Call GetPostureDeployment to get the current + * version of the deployment. 2. Update the fields in the deployment as needed. + * 3. Call UpdatePostureDeployment to update the deployment. Ensure that your + * request includes the `etag` value from the GetPostureDeployment response. + * **Important:** If you omit the `etag` when you call UpdatePostureDeployment, + * then the updated deployment unconditionally overwrites the existing + * deployment. + * + * @param object The @c GTLRSecurityPosture_PostureDeployment to include in the + * query. + * @param name Required. Identifier. The name of the posture deployment, in the + * format + * `organizations/{organization}/locations/global/postureDeployments/{deployment_id}`. + * + * @return GTLRSecurityPostureQuery_OrganizationsLocationsPostureDeploymentsPatch + */ ++ (instancetype)queryWithObject:(GTLRSecurityPosture_PostureDeployment *)object + name:(NSString *)name; + +@end + +/** + * Creates a new Posture. + * + * Method: securityposture.organizations.locations.postures.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityPostureCloudPlatform + */ +@interface GTLRSecurityPostureQuery_OrganizationsLocationsPosturesCreate : GTLRSecurityPostureQuery + +/** + * Required. The parent resource name, in the format + * `organizations/{organization}/locations/global`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** Required. An identifier for the posture. */ +@property(nonatomic, copy, nullable) NSString *postureId; + +/** + * Fetches a @c GTLRSecurityPosture_Operation. + * + * Creates a new Posture. + * + * @param object The @c GTLRSecurityPosture_Posture to include in the query. + * @param parent Required. The parent resource name, in the format + * `organizations/{organization}/locations/global`. + * + * @return GTLRSecurityPostureQuery_OrganizationsLocationsPosturesCreate + */ ++ (instancetype)queryWithObject:(GTLRSecurityPosture_Posture *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes all revisions of a Posture. You can only delete a posture if none of + * its revisions are deployed. + * + * Method: securityposture.organizations.locations.postures.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityPostureCloudPlatform + */ +@interface GTLRSecurityPostureQuery_OrganizationsLocationsPosturesDelete : GTLRSecurityPostureQuery + +/** + * Optional. An opaque identifier for the current version of the posture. If + * you provide this value, then it must match the existing value. If the values + * don't match, then the request fails with an ABORTED error. If you omit this + * value, then the posture is deleted regardless of its current `etag` value. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Required. The name of the Posture, in the format + * `organizations/{organization}/locations/global/postures/{posture_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecurityPosture_Operation. + * + * Deletes all revisions of a Posture. You can only delete a posture if none of + * its revisions are deployed. + * + * @param name Required. The name of the Posture, in the format + * `organizations/{organization}/locations/global/postures/{posture_id}`. + * + * @return GTLRSecurityPostureQuery_OrganizationsLocationsPosturesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Extracts existing policies from an organization, folder, or project, and + * applies them to another organization, folder, or project as a Posture. If + * the other organization, folder, or project already has a posture, then the + * result of the long-running operation is an ALREADY_EXISTS error. + * + * Method: securityposture.organizations.locations.postures.extract + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityPostureCloudPlatform + */ +@interface GTLRSecurityPostureQuery_OrganizationsLocationsPosturesExtract : GTLRSecurityPostureQuery + +/** + * Required. The parent resource name, in the format + * `organizations/{organization}/locations/global`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecurityPosture_Operation. + * + * Extracts existing policies from an organization, folder, or project, and + * applies them to another organization, folder, or project as a Posture. If + * the other organization, folder, or project already has a posture, then the + * result of the long-running operation is an ALREADY_EXISTS error. + * + * @param object The @c GTLRSecurityPosture_ExtractPostureRequest to include in + * the query. + * @param parent Required. The parent resource name, in the format + * `organizations/{organization}/locations/global`. + * + * @return GTLRSecurityPostureQuery_OrganizationsLocationsPosturesExtract + */ ++ (instancetype)queryWithObject:(GTLRSecurityPosture_ExtractPostureRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Gets a single revision of a Posture. + * + * Method: securityposture.organizations.locations.postures.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityPostureCloudPlatform + */ +@interface GTLRSecurityPostureQuery_OrganizationsLocationsPosturesGet : GTLRSecurityPostureQuery + +/** + * Required. The name of the Posture, in the format + * `organizations/{organization}/locations/global/postures/{posture_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The posture revision to retrieve. If not specified, the most + * recently updated revision is retrieved. + */ +@property(nonatomic, copy, nullable) NSString *revisionId; + +/** + * Fetches a @c GTLRSecurityPosture_Posture. + * + * Gets a single revision of a Posture. + * + * @param name Required. The name of the Posture, in the format + * `organizations/{organization}/locations/global/postures/{posture_id}`. + * + * @return GTLRSecurityPostureQuery_OrganizationsLocationsPosturesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists the most recent revisions of all Posture resources in a specified + * organization and location. + * + * Method: securityposture.organizations.locations.postures.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityPostureCloudPlatform + */ +@interface GTLRSecurityPostureQuery_OrganizationsLocationsPosturesList : GTLRSecurityPostureQuery + +/** + * Optional. A filter to apply to the list of postures, in the format defined + * in [AIP-160: Filtering](https://google.aip.dev/160). + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * The maximum number of postures to return. The default value is `500`. If you + * exceed the maximum value of `1000`, then the service uses the maximum value. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A pagination token returned from a previous request to list postures. + * Provide this token to retrieve the next page of results. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent resource name, in the format + * `organizations/{organization}/locations/global`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecurityPosture_ListPosturesResponse. + * + * Lists the most recent revisions of all Posture resources in a specified + * organization and location. + * + * @param parent Required. The parent resource name, in the format + * `organizations/{organization}/locations/global`. + * + * @return GTLRSecurityPostureQuery_OrganizationsLocationsPosturesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Lists all revisions of a single Posture. + * + * Method: securityposture.organizations.locations.postures.listRevisions + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityPostureCloudPlatform + */ +@interface GTLRSecurityPostureQuery_OrganizationsLocationsPosturesListRevisions : GTLRSecurityPostureQuery + +/** + * Required. The name of the Posture, in the format + * `organizations/{organization}/locations/global/postures/{posture_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The maximum number of posture revisions to return. The default + * value is `500`. If you exceed the maximum value of `1000`, then the service + * uses the maximum value. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A pagination token from a previous request to list posture + * revisions. Provide this token to retrieve the next page of results. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRSecurityPosture_ListPostureRevisionsResponse. + * + * Lists all revisions of a single Posture. + * + * @param name Required. The name of the Posture, in the format + * `organizations/{organization}/locations/global/postures/{posture_id}`. + * + * @return GTLRSecurityPostureQuery_OrganizationsLocationsPosturesListRevisions + * + * @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 + +/** + * Updates a revision of an existing Posture. If the posture revision that you + * update is currently deployed, then a new revision of the posture is created. + * To prevent concurrent updates from overwriting each other, always follow the + * read-modify-write pattern when you update a posture: 1. Call GetPosture to + * get the current version of the posture. 2. Update the fields in the posture + * as needed. 3. Call UpdatePosture to update the posture. Ensure that your + * request includes the `etag` value from the GetPosture response. + * **Important:** If you omit the `etag` when you call UpdatePosture, then the + * updated posture unconditionally overwrites the existing posture. + * + * Method: securityposture.organizations.locations.postures.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityPostureCloudPlatform + */ +@interface GTLRSecurityPostureQuery_OrganizationsLocationsPosturesPatch : GTLRSecurityPostureQuery + +/** + * Required. Identifier. The name of the posture, in the format + * `organizations/{organization}/locations/global/postures/{posture_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. The revision ID of the posture to update. If the posture revision + * that you update is currently deployed, then a new revision of the posture is + * created. + */ +@property(nonatomic, copy, nullable) NSString *revisionId; + +/** + * Required. The fields in the Posture to update. You can update only the + * following fields: * Posture.description * Posture.policy_sets * + * Posture.state + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRSecurityPosture_Operation. + * + * Updates a revision of an existing Posture. If the posture revision that you + * update is currently deployed, then a new revision of the posture is created. + * To prevent concurrent updates from overwriting each other, always follow the + * read-modify-write pattern when you update a posture: 1. Call GetPosture to + * get the current version of the posture. 2. Update the fields in the posture + * as needed. 3. Call UpdatePosture to update the posture. Ensure that your + * request includes the `etag` value from the GetPosture response. + * **Important:** If you omit the `etag` when you call UpdatePosture, then the + * updated posture unconditionally overwrites the existing posture. + * + * @param object The @c GTLRSecurityPosture_Posture to include in the query. + * @param name Required. Identifier. The name of the posture, in the format + * `organizations/{organization}/locations/global/postures/{posture_id}`. + * + * @return GTLRSecurityPostureQuery_OrganizationsLocationsPosturesPatch + */ ++ (instancetype)queryWithObject:(GTLRSecurityPosture_Posture *)object + name:(NSString *)name; + +@end + +/** + * Gets a single revision of a PostureTemplate. + * + * Method: securityposture.organizations.locations.postureTemplates.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityPostureCloudPlatform + */ +@interface GTLRSecurityPostureQuery_OrganizationsLocationsPostureTemplatesGet : GTLRSecurityPostureQuery + +/** + * Required. The name of the PostureTemplate, in the format + * `organizations/{organization}/locations/global/postureTemplates/{posture_template}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The posture template revision to retrieve. If not specified, the + * most recently updated revision is retrieved. + */ +@property(nonatomic, copy, nullable) NSString *revisionId; + +/** + * Fetches a @c GTLRSecurityPosture_PostureTemplate. + * + * Gets a single revision of a PostureTemplate. + * + * @param name Required. The name of the PostureTemplate, in the format + * `organizations/{organization}/locations/global/postureTemplates/{posture_template}`. + * + * @return GTLRSecurityPostureQuery_OrganizationsLocationsPostureTemplatesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists every PostureTemplate in a given organization and location. + * + * Method: securityposture.organizations.locations.postureTemplates.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityPostureCloudPlatform + */ +@interface GTLRSecurityPostureQuery_OrganizationsLocationsPostureTemplatesList : GTLRSecurityPostureQuery + +/** + * Optional. A filter to apply to the list of postures, in the format defined + * in [AIP-160: Filtering](https://google.aip.dev/160). + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The maximum number of posture templates to return. The default + * value is `500`. If you exceed the maximum value of `1000`, then the service + * uses the maximum value. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A pagination token returned from a previous request to list + * posture templates. Provide this token to retrieve the next page of results. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent resource name, in the format + * `organizations/{organization}/locations/global`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecurityPosture_ListPostureTemplatesResponse. + * + * Lists every PostureTemplate in a given organization and location. + * + * @param parent Required. The parent resource name, in the format + * `organizations/{organization}/locations/global`. + * + * @return GTLRSecurityPostureQuery_OrganizationsLocationsPostureTemplatesList + * + * @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 + +/** + * Validates a specified infrastructure-as-code (IaC) configuration, and + * creates a Report with the validation results. Only Terraform configurations + * are supported. Only modified assets are validated. + * + * Method: securityposture.organizations.locations.reports.createIaCValidationReport + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityPostureCloudPlatform + */ +@interface GTLRSecurityPostureQuery_OrganizationsLocationsReportsCreateIaCValidationReport : GTLRSecurityPostureQuery + +/** + * Required. The parent resource name, in the format + * `organizations/{organization}/locations/global`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecurityPosture_Operation. + * + * Validates a specified infrastructure-as-code (IaC) configuration, and + * creates a Report with the validation results. Only Terraform configurations + * are supported. Only modified assets are validated. + * + * @param object The @c GTLRSecurityPosture_CreateIaCValidationReportRequest to + * include in the query. + * @param parent Required. The parent resource name, in the format + * `organizations/{organization}/locations/global`. + * + * @return GTLRSecurityPostureQuery_OrganizationsLocationsReportsCreateIaCValidationReport + */ ++ (instancetype)queryWithObject:(GTLRSecurityPosture_CreateIaCValidationReportRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Gets details for a Report. + * + * Method: securityposture.organizations.locations.reports.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityPostureCloudPlatform + */ +@interface GTLRSecurityPostureQuery_OrganizationsLocationsReportsGet : GTLRSecurityPostureQuery + +/** + * Required. The name of the report, in the format + * `organizations/{organization}/locations/global/reports/{report_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecurityPosture_Report. + * + * Gets details for a Report. + * + * @param name Required. The name of the report, in the format + * `organizations/{organization}/locations/global/reports/{report_id}`. + * + * @return GTLRSecurityPostureQuery_OrganizationsLocationsReportsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists every Report in a given organization and location. + * + * Method: securityposture.organizations.locations.reports.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityPostureCloudPlatform + */ +@interface GTLRSecurityPostureQuery_OrganizationsLocationsReportsList : GTLRSecurityPostureQuery + +/** + * Optional. A filter to apply to the list of reports, in the format defined in + * [AIP-160: Filtering](https://google.aip.dev/160). + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The maximum number of reports to return. The default value is + * `500`. If you exceed the maximum value of `1000`, then the service uses the + * maximum value. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A pagination token returned from a previous request to list + * reports. Provide this token to retrieve the next page of results. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent resource name, in the format + * `organizations/{organization}/locations/global`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecurityPosture_ListReportsResponse. + * + * Lists every Report in a given organization and location. + * + * @param parent Required. The parent resource name, in the format + * `organizations/{organization}/locations/global`. + * + * @return GTLRSecurityPostureQuery_OrganizationsLocationsReportsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Gets information about a location. + * + * Method: securityposture.projects.locations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityPostureCloudPlatform + */ +@interface GTLRSecurityPostureQuery_ProjectsLocationsGet : GTLRSecurityPostureQuery + +/** Resource name for the location. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecurityPosture_Location. + * + * Gets information about a location. + * + * @param name Resource name for the location. + * + * @return GTLRSecurityPostureQuery_ProjectsLocationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists information about the supported locations for this service. + * + * Method: securityposture.projects.locations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecurityPostureCloudPlatform + */ +@interface GTLRSecurityPostureQuery_ProjectsLocationsList : GTLRSecurityPostureQuery + +/** + * A filter to narrow down results to a preferred subset. The filtering + * language accepts strings like `"displayName=tokyo"`, and is documented in + * more detail in [AIP-160](https://google.aip.dev/160). + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** The resource that owns the locations collection, if applicable. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The maximum number of results to return. If not set, the service selects a + * default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token received from the `next_page_token` field in the response. Send + * that page token to receive the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRSecurityPosture_ListLocationsResponse. + * + * Lists information about the supported locations for this service. + * + * @param name The resource that owns the locations collection, if applicable. + * + * @return GTLRSecurityPostureQuery_ProjectsLocationsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureService.h b/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureService.h new file mode 100644 index 000000000..e4ceb9d94 --- /dev/null +++ b/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureService.h @@ -0,0 +1,79 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Security Posture API (securityposture/v1) +// Description: +// Defines, assesses, and monitors the overall status of your security in +// Google Cloud. You can use security postures to evaluate your current cloud +// security against defined benchmarks and help maintain the level of security +// that your organization requires. +// Documentation: +// https://cloud.google.com/security-command-center + +#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 kGTLRAuthScopeSecurityPostureCloudPlatform; + +// ---------------------------------------------------------------------------- +// GTLRSecurityPostureService +// + +/** + * Service for executing Security Posture API queries. + * + * Defines, assesses, and monitors the overall status of your security in + * Google Cloud. You can use security postures to evaluate your current cloud + * security against defined benchmarks and help maintain the level of security + * that your organization requires. + */ +@interface GTLRSecurityPostureService : GTLRService + +// No new methods + +// Clients should create a standard query with any of the class methods in +// GTLRSecurityPostureQuery.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/ServiceConsumerManagement/GTLRServiceConsumerManagementObjects.m b/Sources/GeneratedServices/ServiceConsumerManagement/GTLRServiceConsumerManagementObjects.m index fc584e740..f54e1772a 100644 --- a/Sources/GeneratedServices/ServiceConsumerManagement/GTLRServiceConsumerManagementObjects.m +++ b/Sources/GeneratedServices/ServiceConsumerManagement/GTLRServiceConsumerManagementObjects.m @@ -549,8 +549,8 @@ @implementation GTLRServiceConsumerManagement_DeleteTenantProjectRequest // @implementation GTLRServiceConsumerManagement_Documentation -@dynamic documentationRootUrl, overview, pages, rules, sectionOverrides, - serviceRootUrl, summary; +@dynamic additionalIamInfo, documentationRootUrl, overview, pages, rules, + sectionOverrides, serviceRootUrl, summary; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/ServiceConsumerManagement/Public/GoogleAPIClientForREST/GTLRServiceConsumerManagementObjects.h b/Sources/GeneratedServices/ServiceConsumerManagement/Public/GoogleAPIClientForREST/GTLRServiceConsumerManagementObjects.h index 0ccdabd17..1448969e8 100644 --- a/Sources/GeneratedServices/ServiceConsumerManagement/Public/GoogleAPIClientForREST/GTLRServiceConsumerManagementObjects.h +++ b/Sources/GeneratedServices/ServiceConsumerManagement/Public/GoogleAPIClientForREST/GTLRServiceConsumerManagementObjects.h @@ -1799,6 +1799,12 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_V1GenerateDefa */ @interface GTLRServiceConsumerManagement_Documentation : GTLRObject +/** + * Optional information about the IAM configuration. This is typically used to + * link to documentation about a product's IAM roles and permissions. + */ +@property(nonatomic, copy, nullable) NSString *additionalIamInfo; + /** The URL to the root of documentation. */ @property(nonatomic, copy, nullable) NSString *documentationRootUrl; diff --git a/Sources/GeneratedServices/ServiceControl/GTLRServiceControlObjects.m b/Sources/GeneratedServices/ServiceControl/GTLRServiceControlObjects.m index 677d6b647..b64142705 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, credentialId, presenter, principal; +@dynamic accessLevels, audiences, claims, presenter, principal; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -289,7 +289,21 @@ @implementation GTLRServiceControl_CheckRequest // @implementation GTLRServiceControl_CheckResponse -@dynamic headers, status; +@dynamic dynamicMetadata, headers, status; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRServiceControl_CheckResponse_DynamicMetadata +// + +@implementation GTLRServiceControl_CheckResponse_DynamicMetadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + @end diff --git a/Sources/GeneratedServices/ServiceControl/Public/GoogleAPIClientForREST/GTLRServiceControlObjects.h b/Sources/GeneratedServices/ServiceControl/Public/GoogleAPIClientForREST/GTLRServiceControlObjects.h index 51c8f11e0..5add2625b 100644 --- a/Sources/GeneratedServices/ServiceControl/Public/GoogleAPIClientForREST/GTLRServiceControlObjects.h +++ b/Sources/GeneratedServices/ServiceControl/Public/GoogleAPIClientForREST/GTLRServiceControlObjects.h @@ -28,6 +28,7 @@ @class GTLRServiceControl_AuthenticationInfo; @class GTLRServiceControl_AuthenticationInfo_ThirdPartyPrincipal; @class GTLRServiceControl_AuthorizationInfo; +@class GTLRServiceControl_CheckResponse_DynamicMetadata; @class GTLRServiceControl_CheckResponse_Headers; @class GTLRServiceControl_FirstPartyPrincipal; @class GTLRServiceControl_FirstPartyPrincipal_ServiceMetadata; @@ -583,14 +584,6 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRServiceControl_Auth_Claims *claims; -/** - * Identifies the client credential id used for authentication. credential_id - * is in the format of AUTH_METHOD:IDENTIFIER, e.g. "serviceaccount:XXXXX, - * apikey:XXXXX" where the format of the IDENTIFIER can vary for different - * AUTH_METHODs. - */ -@property(nonatomic, copy, nullable) NSString *credentialId; - /** * The authorized presenter of the credential. Reflects the optional Authorized * Presenter (`azp`) claim within a JWT or the OAuth client id. For example, a @@ -786,6 +779,13 @@ GTLR_DEPRECATED */ @interface GTLRServiceControl_CheckResponse : GTLRObject +/** + * Optional response metadata that will be emitted as dynamic metadata to be + * consumed by the caller of ServiceController. For compatibility with the + * ext_authz interface. + */ +@property(nonatomic, strong, nullable) GTLRServiceControl_CheckResponse_DynamicMetadata *dynamicMetadata; + /** Returns a set of request contexts generated from the `CheckRequest`. */ @property(nonatomic, strong, nullable) GTLRServiceControl_CheckResponse_Headers *headers; @@ -799,6 +799,20 @@ GTLR_DEPRECATED @end +/** + * Optional response metadata that will be emitted as dynamic metadata to be + * consumed by the caller of ServiceController. For compatibility with the + * ext_authz interface. + * + * @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_CheckResponse_DynamicMetadata : GTLRObject +@end + + /** * Returns a set of request contexts generated from the `CheckRequest`. * @@ -1633,7 +1647,7 @@ GTLR_DEPRECATED /** * The referer URL of the request, as defined in [HTTP/1.1 Header Field - * Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). + * Definitions](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). */ @property(nonatomic, copy, nullable) NSString *referer; diff --git a/Sources/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.m b/Sources/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.m index af6ef7e46..2b95c428f 100644 --- a/Sources/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.m +++ b/Sources/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.m @@ -681,8 +681,8 @@ + (BOOL)isKindValidForClassRegistry { // @implementation GTLRServiceManagement_Documentation -@dynamic documentationRootUrl, overview, pages, rules, sectionOverrides, - serviceRootUrl, summary; +@dynamic additionalIamInfo, documentationRootUrl, overview, pages, rules, + sectionOverrides, serviceRootUrl, summary; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -982,7 +982,21 @@ @implementation GTLRServiceManagement_GetPolicyOptions // @implementation GTLRServiceManagement_GoSettings -@dynamic common; +@dynamic common, renamedServices; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRServiceManagement_GoSettings_RenamedServices +// + +@implementation GTLRServiceManagement_GoSettings_RenamedServices + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + @end diff --git a/Sources/GeneratedServices/ServiceManagement/Public/GoogleAPIClientForREST/GTLRServiceManagementObjects.h b/Sources/GeneratedServices/ServiceManagement/Public/GoogleAPIClientForREST/GTLRServiceManagementObjects.h index 17501aad2..7a7fceab9 100644 --- a/Sources/GeneratedServices/ServiceManagement/Public/GoogleAPIClientForREST/GTLRServiceManagementObjects.h +++ b/Sources/GeneratedServices/ServiceManagement/Public/GoogleAPIClientForREST/GTLRServiceManagementObjects.h @@ -61,6 +61,7 @@ @class GTLRServiceManagement_GenerateConfigReportRequest_OldConfig; @class GTLRServiceManagement_GetPolicyOptions; @class GTLRServiceManagement_GoSettings; +@class GTLRServiceManagement_GoSettings_RenamedServices; @class GTLRServiceManagement_Http; @class GTLRServiceManagement_HttpRule; @class GTLRServiceManagement_JavaSettings; @@ -2181,6 +2182,12 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceManagement_Type_Syntax_SyntaxProt */ @interface GTLRServiceManagement_Documentation : GTLRObject +/** + * Optional information about the IAM configuration. This is typically used to + * link to documentation about a product's IAM roles and permissions. + */ +@property(nonatomic, copy, nullable) NSString *additionalIamInfo; + /** The URL to the root of documentation. */ @property(nonatomic, copy, nullable) NSString *documentationRootUrl; @@ -2823,6 +2830,29 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceManagement_Type_Syntax_SyntaxProt /** Some settings. */ @property(nonatomic, strong, nullable) GTLRServiceManagement_CommonLanguageSettings *common; +/** + * Map of service names to renamed services. Keys are the package relative + * service names and values are the name to be used for the service client and + * call options. publishing: go_settings: renamed_services: Publisher: + * TopicAdmin + */ +@property(nonatomic, strong, nullable) GTLRServiceManagement_GoSettings_RenamedServices *renamedServices; + +@end + + +/** + * Map of service names to renamed services. Keys are the package relative + * service names and values are the name to be used for the service client and + * call options. publishing: go_settings: renamed_services: Publisher: + * TopicAdmin + * + * @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 GTLRServiceManagement_GoSettings_RenamedServices : GTLRObject @end diff --git a/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m b/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m index b7ff108ba..1815f91db 100644 --- a/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m +++ b/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m @@ -768,8 +768,8 @@ @implementation GTLRServiceNetworking_DnsZonePair // @implementation GTLRServiceNetworking_Documentation -@dynamic documentationRootUrl, overview, pages, rules, sectionOverrides, - serviceRootUrl, summary; +@dynamic additionalIamInfo, documentationRootUrl, overview, pages, rules, + sectionOverrides, serviceRootUrl, summary; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h b/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h index 7b1d9a30d..da880012c 100644 --- a/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h +++ b/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h @@ -2308,6 +2308,12 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig */ @interface GTLRServiceNetworking_Documentation : GTLRObject +/** + * Optional information about the IAM configuration. This is typically used to + * link to documentation about a product's IAM roles and permissions. + */ +@property(nonatomic, copy, nullable) NSString *additionalIamInfo; + /** The URL to the root of documentation. */ @property(nonatomic, copy, nullable) NSString *documentationRootUrl; diff --git a/Sources/GeneratedServices/ServiceUsage/GTLRServiceUsageObjects.m b/Sources/GeneratedServices/ServiceUsage/GTLRServiceUsageObjects.m index 07d40d34b..172c6d0d2 100644 --- a/Sources/GeneratedServices/ServiceUsage/GTLRServiceUsageObjects.m +++ b/Sources/GeneratedServices/ServiceUsage/GTLRServiceUsageObjects.m @@ -17,6 +17,7 @@ // GTLRServiceUsage_Analysis.analysisType NSString * const kGTLRServiceUsage_Analysis_AnalysisType_AnalysisTypeDependency = @"ANALYSIS_TYPE_DEPENDENCY"; +NSString * const kGTLRServiceUsage_Analysis_AnalysisType_AnalysisTypeResourceExistence = @"ANALYSIS_TYPE_RESOURCE_EXISTENCE"; NSString * const kGTLRServiceUsage_Analysis_AnalysisType_AnalysisTypeResourceUsage = @"ANALYSIS_TYPE_RESOURCE_USAGE"; NSString * const kGTLRServiceUsage_Analysis_AnalysisType_AnalysisTypeUnspecified = @"ANALYSIS_TYPE_UNSPECIFIED"; @@ -113,6 +114,7 @@ // GTLRServiceUsage_Impact.impactType NSString * const kGTLRServiceUsage_Impact_ImpactType_DependencyMissingDependencies = @"DEPENDENCY_MISSING_DEPENDENCIES"; NSString * const kGTLRServiceUsage_Impact_ImpactType_ImpactTypeUnspecified = @"IMPACT_TYPE_UNSPECIFIED"; +NSString * const kGTLRServiceUsage_Impact_ImpactType_ResourceExistenceProject = @"RESOURCE_EXISTENCE_PROJECT"; // GTLRServiceUsage_LabelDescriptor.valueType NSString * const kGTLRServiceUsage_LabelDescriptor_ValueType_Bool = @"BOOL"; @@ -790,8 +792,8 @@ @implementation GTLRServiceUsage_DisableServiceResponse // @implementation GTLRServiceUsage_Documentation -@dynamic documentationRootUrl, overview, pages, rules, sectionOverrides, - serviceRootUrl, summary; +@dynamic additionalIamInfo, documentationRootUrl, overview, pages, rules, + sectionOverrides, serviceRootUrl, summary; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1412,7 +1414,7 @@ @implementation GTLRServiceUsage_HttpRule // @implementation GTLRServiceUsage_Impact -@dynamic detail, impactType; +@dynamic detail, impactType, parent; @end diff --git a/Sources/GeneratedServices/ServiceUsage/Public/GoogleAPIClientForREST/GTLRServiceUsageObjects.h b/Sources/GeneratedServices/ServiceUsage/Public/GoogleAPIClientForREST/GTLRServiceUsageObjects.h index c48c7579e..f8231cefe 100644 --- a/Sources/GeneratedServices/ServiceUsage/Public/GoogleAPIClientForREST/GTLRServiceUsageObjects.h +++ b/Sources/GeneratedServices/ServiceUsage/Public/GoogleAPIClientForREST/GTLRServiceUsageObjects.h @@ -137,6 +137,12 @@ NS_ASSUME_NONNULL_BEGIN * Value: "ANALYSIS_TYPE_DEPENDENCY" */ FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_Analysis_AnalysisType_AnalysisTypeDependency; +/** + * The analysis of service resource existence. + * + * Value: "ANALYSIS_TYPE_RESOURCE_EXISTENCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_Analysis_AnalysisType_AnalysisTypeResourceExistence; /** * The analysis of service resource usage. * @@ -639,11 +645,18 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_Impact_ImpactType_Dependenc /** * Reserved Blocks (Block n contains codes from 100n to 100(n+1) -1 Block 0 - * Special/Admin codes Block 1 - Impact Type of ANALYSIS_TYPE_DEPENDENCY Block - * 2 - Impact Type of ANALYSIS_TYPE_RESOURCE_USAGE ... + * 2 - Impact Type of ANALYSIS_TYPE_RESOURCE_USAGE Block 3 - Impact Type of + * ANALYSIS_TYPE_RESOURCE_EXISTENCE ... * * Value: "IMPACT_TYPE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_Impact_ImpactType_ImpactTypeUnspecified; +/** + * Block 3 - Impact Type of ANALYSIS_TYPE_RESOURCE_EXISTENCE + * + * Value: "RESOURCE_EXISTENCE_PROJECT" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_Impact_ImpactType_ResourceExistenceProject; // ---------------------------------------------------------------------------- // GTLRServiceUsage_LabelDescriptor.valueType @@ -1200,6 +1213,9 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_Type_Syntax_SyntaxProto3; * Likely values: * @arg @c kGTLRServiceUsage_Analysis_AnalysisType_AnalysisTypeDependency The * analysis of service dependencies. (Value: "ANALYSIS_TYPE_DEPENDENCY") + * @arg @c kGTLRServiceUsage_Analysis_AnalysisType_AnalysisTypeResourceExistence + * The analysis of service resource existence. (Value: + * "ANALYSIS_TYPE_RESOURCE_EXISTENCE") * @arg @c kGTLRServiceUsage_Analysis_AnalysisType_AnalysisTypeResourceUsage * The analysis of service resource usage. (Value: * "ANALYSIS_TYPE_RESOURCE_USAGE") @@ -2178,6 +2194,12 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_Type_Syntax_SyntaxProto3; */ @interface GTLRServiceUsage_Documentation : GTLRObject +/** + * Optional information about the IAM configuration. This is typically used to + * link to documentation about a product's IAM roles and permissions. + */ +@property(nonatomic, copy, nullable) NSString *additionalIamInfo; + /** The URL to the root of documentation. */ @property(nonatomic, copy, nullable) NSString *documentationRootUrl; @@ -3625,11 +3647,29 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_Type_Syntax_SyntaxProto3; * @arg @c kGTLRServiceUsage_Impact_ImpactType_ImpactTypeUnspecified Reserved * Blocks (Block n contains codes from 100n to 100(n+1) -1 Block 0 - * Special/Admin codes Block 1 - Impact Type of ANALYSIS_TYPE_DEPENDENCY - * Block 2 - Impact Type of ANALYSIS_TYPE_RESOURCE_USAGE ... (Value: + * Block 2 - Impact Type of ANALYSIS_TYPE_RESOURCE_USAGE Block 3 - Impact + * Type of ANALYSIS_TYPE_RESOURCE_EXISTENCE ... (Value: * "IMPACT_TYPE_UNSPECIFIED") + * @arg @c kGTLRServiceUsage_Impact_ImpactType_ResourceExistenceProject Block + * 3 - Impact Type of ANALYSIS_TYPE_RESOURCE_EXISTENCE (Value: + * "RESOURCE_EXISTENCE_PROJECT") */ @property(nonatomic, copy, nullable) NSString *impactType; +/** + * The parent resource that the analysis is based on and the service name that + * the analysis is for. Example: + * `projects/100/services/compute.googleapis.com`, + * folders/101/services/compute.googleapis.com` and + * `organizations/102/services/compute.googleapis.com`. Usually, the parent + * resource here is same as the parent resource of the analyzed policy. + * However, for some analysis types, the parent can be different. For example, + * for resource existence analysis, if the parent resource of the analyzed + * policy is a folder or an organization, the parent resource here can still be + * the project that contains the resources. + */ +@property(nonatomic, copy, nullable) NSString *parent; + @end diff --git a/Sources/GeneratedServices/Sheets/GTLRSheetsObjects.m b/Sources/GeneratedServices/Sheets/GTLRSheetsObjects.m index 1908d7afe..9301e0cc4 100644 --- a/Sources/GeneratedServices/Sheets/GTLRSheetsObjects.m +++ b/Sources/GeneratedServices/Sheets/GTLRSheetsObjects.m @@ -3207,7 +3207,7 @@ @implementation GTLRSheets_SetBasicFilterRequest // @implementation GTLRSheets_SetDataValidationRequest -@dynamic range, rule; +@dynamic filteredRowsIncluded, range, rule; @end diff --git a/Sources/GeneratedServices/Sheets/Public/GoogleAPIClientForREST/GTLRSheetsObjects.h b/Sources/GeneratedServices/Sheets/Public/GoogleAPIClientForREST/GTLRSheetsObjects.h index 55e389d00..ec6b4771a 100644 --- a/Sources/GeneratedServices/Sheets/Public/GoogleAPIClientForREST/GTLRSheetsObjects.h +++ b/Sources/GeneratedServices/Sheets/Public/GoogleAPIClientForREST/GTLRSheetsObjects.h @@ -10415,6 +10415,14 @@ GTLR_DEPRECATED */ @interface GTLRSheets_SetDataValidationRequest : GTLRObject +/** + * Optional. If true, the data validation rule will be applied to the filtered + * rows as well. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *filteredRowsIncluded; + /** The range the data validation rule should apply to. */ @property(nonatomic, strong, nullable) GTLRSheets_GridRange *range; diff --git a/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m b/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m index c94ae2fd3..ad1e445c5 100644 --- a/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m +++ b/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m @@ -197,6 +197,11 @@ NSString * const kGTLRShoppingContent_ProductIssueImpact_Severity_SeverityUnspecified = @"SEVERITY_UNSPECIFIED"; NSString * const kGTLRShoppingContent_ProductIssueImpact_Severity_Warning = @"WARNING"; +// GTLRShoppingContent_ProductSustainabilityIncentive.type +NSString * const kGTLRShoppingContent_ProductSustainabilityIncentive_Type_EvPriceDiscount = @"EV_PRICE_DISCOUNT"; +NSString * const kGTLRShoppingContent_ProductSustainabilityIncentive_Type_EvTaxCredit = @"EV_TAX_CREDIT"; +NSString * const kGTLRShoppingContent_ProductSustainabilityIncentive_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; + // GTLRShoppingContent_ProductView.aggregatedDestinationStatus NSString * const kGTLRShoppingContent_ProductView_AggregatedDestinationStatus_AggregatedStatusUnspecified = @"AGGREGATED_STATUS_UNSPECIFIED"; NSString * const kGTLRShoppingContent_ProductView_AggregatedDestinationStatus_Eligible = @"ELIGIBLE"; @@ -3663,8 +3668,9 @@ @implementation GTLRShoppingContent_Product shippingLength, shippingWeight, shippingWidth, shoppingAdsExcludedCountries, sizes, sizeSystem, sizeType, source, structuredDescription, structuredTitle, subscriptionCost, - targetCountry, taxCategory, taxes, title, transitTimeLabel, - unitPricingBaseMeasure, unitPricingMeasure, virtualModelLink; + sustainabilityIncentives, targetCountry, taxCategory, taxes, title, + transitTimeLabel, unitPricingBaseMeasure, unitPricingMeasure, + virtualModelLink; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -3694,6 +3700,7 @@ @implementation GTLRShoppingContent_Product @"shipping" : [GTLRShoppingContent_ProductShipping class], @"shoppingAdsExcludedCountries" : [NSString class], @"sizes" : [NSString class], + @"sustainabilityIncentives" : [GTLRShoppingContent_ProductSustainabilityIncentive class], @"taxes" : [GTLRShoppingContent_ProductTax class] }; return map; @@ -4178,6 +4185,16 @@ @implementation GTLRShoppingContent_ProductSubscriptionCost @end +// ---------------------------------------------------------------------------- +// +// GTLRShoppingContent_ProductSustainabilityIncentive +// + +@implementation GTLRShoppingContent_ProductSustainabilityIncentive +@dynamic amount, percentage, type; +@end + + // ---------------------------------------------------------------------------- // // GTLRShoppingContent_ProductTax diff --git a/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentObjects.h b/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentObjects.h index 393e0d780..f98f9ce3b 100644 --- a/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentObjects.h +++ b/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentObjects.h @@ -183,6 +183,7 @@ @class GTLRShoppingContent_ProductStructuredDescription; @class GTLRShoppingContent_ProductStructuredTitle; @class GTLRShoppingContent_ProductSubscriptionCost; +@class GTLRShoppingContent_ProductSustainabilityIncentive; @class GTLRShoppingContent_ProductTax; @class GTLRShoppingContent_ProductUnitPricingBaseMeasure; @class GTLRShoppingContent_ProductUnitPricingMeasure; @@ -1182,6 +1183,32 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_ProductIssueImpact_Sever */ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_ProductIssueImpact_Severity_Warning; +// ---------------------------------------------------------------------------- +// GTLRShoppingContent_ProductSustainabilityIncentive.type + +/** + * A subsidy program, often called an environmental bonus, provides a purchase + * grant for electric vehicles and, in some countries, plug-in hybrids. The + * grant amount may be a fixed sum or a percentage of the sale price. + * + * Value: "EV_PRICE_DISCOUNT" + */ +FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_ProductSustainabilityIncentive_Type_EvPriceDiscount; +/** + * Program offering tax liability reductions for electric vehicles and, in some + * countries, plug-in hybrids. These reductions can be based on a specific + * amount or a percentage of the sale price. + * + * Value: "EV_TAX_CREDIT" + */ +FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_ProductSustainabilityIncentive_Type_EvTaxCredit; +/** + * Unspecified or unknown sustainability incentive type. + * + * Value: "TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_ProductSustainabilityIncentive_Type_TypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRShoppingContent_ProductView.aggregatedDestinationStatus @@ -9715,6 +9742,9 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest */ @property(nonatomic, strong, nullable) GTLRShoppingContent_ProductSubscriptionCost *subscriptionCost; +/** Optional. The list of sustainability incentive programs. */ +@property(nonatomic, strong, nullable) NSArray *sustainabilityIncentives; + /** Required. The CLDR territory code for the item's country of sale. */ @property(nonatomic, copy, nullable) NSString *targetCountry; @@ -10703,6 +10733,45 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest @end +/** + * Information regarding sustainability related incentive programs such as + * rebates or tax relief. + */ +@interface GTLRShoppingContent_ProductSustainabilityIncentive : GTLRObject + +/** Optional. The fixed amount of the incentive. */ +@property(nonatomic, strong, nullable) GTLRShoppingContent_Price *amount; + +/** + * Optional. The percentage of the sale price that the incentive is applied to. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *percentage; + +/** + * Required. Sustainability incentive program. + * + * Likely values: + * @arg @c kGTLRShoppingContent_ProductSustainabilityIncentive_Type_EvPriceDiscount + * A subsidy program, often called an environmental bonus, provides a + * purchase grant for electric vehicles and, in some countries, plug-in + * hybrids. The grant amount may be a fixed sum or a percentage of the + * sale price. (Value: "EV_PRICE_DISCOUNT") + * @arg @c kGTLRShoppingContent_ProductSustainabilityIncentive_Type_EvTaxCredit + * Program offering tax liability reductions for electric vehicles and, + * in some countries, plug-in hybrids. These reductions can be based on a + * specific amount or a percentage of the sale price. (Value: + * "EV_TAX_CREDIT") + * @arg @c kGTLRShoppingContent_ProductSustainabilityIncentive_Type_TypeUnspecified + * Unspecified or unknown sustainability incentive type. (Value: + * "TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + /** * GTLRShoppingContent_ProductTax */ diff --git a/Sources/GeneratedServices/Solar/Public/GoogleAPIClientForREST/GTLRSolarObjects.h b/Sources/GeneratedServices/Solar/Public/GoogleAPIClientForREST/GTLRSolarObjects.h index 3190b0b6d..030c71521 100644 --- a/Sources/GeneratedServices/Solar/Public/GoogleAPIClientForREST/GTLRSolarObjects.h +++ b/Sources/GeneratedServices/Solar/Public/GoogleAPIClientForREST/GTLRSolarObjects.h @@ -187,7 +187,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSolar_Panel_Orientation_SolarPanelOrient */ @property(nonatomic, copy, nullable) NSString *imageryQuality; -/** The resource name for the building, of the format `building/`. */ +/** + * The resource name for the building, of the format `buildings/{place_id}`. + */ @property(nonatomic, copy, nullable) NSString *name; /** Postal code (e.g., US zip code) this building is contained by. */ diff --git a/Sources/GeneratedServices/Storage/GTLRStorageQuery.m b/Sources/GeneratedServices/Storage/GTLRStorageQuery.m index 3e92ca814..11542299e 100644 --- a/Sources/GeneratedServices/Storage/GTLRStorageQuery.m +++ b/Sources/GeneratedServices/Storage/GTLRStorageQuery.m @@ -1639,6 +1639,35 @@ + (instancetype)queryWithBucket:(NSString *)bucket { @end +@implementation GTLRStorageQuery_ObjectsMove + +@dynamic bucket, destinationObject, ifGenerationMatch, ifGenerationNotMatch, + ifMetagenerationMatch, ifMetagenerationNotMatch, + ifSourceGenerationMatch, ifSourceGenerationNotMatch, + ifSourceMetagenerationMatch, ifSourceMetagenerationNotMatch, + sourceObject, userProject; + ++ (instancetype)queryWithBucket:(NSString *)bucket + sourceObject:(NSString *)sourceObject + destinationObject:(NSString *)destinationObject { + NSArray *pathParams = @[ + @"bucket", @"destinationObject", @"sourceObject" + ]; + NSString *pathURITemplate = @"b/{bucket}/o/{sourceObject}/moveTo/o/{destinationObject}"; + GTLRStorageQuery_ObjectsMove *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bucket = bucket; + query.sourceObject = sourceObject; + query.destinationObject = destinationObject; + query.expectedObjectClass = [GTLRStorage_Object class]; + query.loggingName = @"storage.objects.move"; + return query; +} + +@end + @implementation GTLRStorageQuery_ObjectsPatch @dynamic bucket, generation, ifGenerationMatch, ifGenerationNotMatch, diff --git a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageQuery.h b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageQuery.h index 5f680aa5f..3e754572c 100644 --- a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageQuery.h +++ b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageQuery.h @@ -3599,6 +3599,130 @@ FOUNDATION_EXTERN NSString * const kGTLRStorageProjectionNoAcl; @end +/** + * Moves the source object to the destination object in the same bucket. + * + * Method: storage.objects.move + * + * Authorization scope(s): + * @c kGTLRAuthScopeStorageCloudPlatform + * @c kGTLRAuthScopeStorageDevstorageFullControl + * @c kGTLRAuthScopeStorageDevstorageReadWrite + */ +@interface GTLRStorageQuery_ObjectsMove : GTLRStorageQuery + +/** Name of the bucket in which the object resides. */ +@property(nonatomic, copy, nullable) NSString *bucket; + +/** + * Name of the destination object. For information about how to URL encode + * object names to be path safe, see [Encoding URI Path + * Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding). + */ +@property(nonatomic, copy, nullable) NSString *destinationObject; + +/** + * Makes the operation conditional on whether the destination object's current + * generation matches the given value. Setting to 0 makes the operation succeed + * only if there are no live versions of the object. `ifGenerationMatch` and + * `ifGenerationNotMatch` conditions are mutually exclusive: it's an error for + * both of them to be set in the request. + */ +@property(nonatomic, assign) long long ifGenerationMatch; + +/** + * Makes the operation conditional on whether the destination object's current + * generation does not match the given value. If no live object exists, the + * precondition fails. Setting to 0 makes the operation succeed only if there + * is a live version of the object.`ifGenerationMatch` and + * `ifGenerationNotMatch` conditions are mutually exclusive: it's an error for + * both of them to be set in the request. + */ +@property(nonatomic, assign) long long ifGenerationNotMatch; + +/** + * Makes the operation conditional on whether the destination object's current + * metageneration matches the given value. `ifMetagenerationMatch` and + * `ifMetagenerationNotMatch` conditions are mutually exclusive: it's an error + * for both of them to be set in the request. + */ +@property(nonatomic, assign) long long ifMetagenerationMatch; + +/** + * Makes the operation conditional on whether the destination object's current + * metageneration does not match the given value. `ifMetagenerationMatch` and + * `ifMetagenerationNotMatch` conditions are mutually exclusive: it's an error + * for both of them to be set in the request. + */ +@property(nonatomic, assign) long long ifMetagenerationNotMatch; + +/** + * Makes the operation conditional on whether the source object's current + * generation matches the given value. `ifSourceGenerationMatch` and + * `ifSourceGenerationNotMatch` conditions are mutually exclusive: it's an + * error for both of them to be set in the request. + */ +@property(nonatomic, assign) long long ifSourceGenerationMatch; + +/** + * Makes the operation conditional on whether the source object's current + * generation does not match the given value. `ifSourceGenerationMatch` and + * `ifSourceGenerationNotMatch` conditions are mutually exclusive: it's an + * error for both of them to be set in the request. + */ +@property(nonatomic, assign) long long ifSourceGenerationNotMatch; + +/** + * Makes the operation conditional on whether the source object's current + * metageneration matches the given value. `ifSourceMetagenerationMatch` and + * `ifSourceMetagenerationNotMatch` conditions are mutually exclusive: it's an + * error for both of them to be set in the request. + */ +@property(nonatomic, assign) long long ifSourceMetagenerationMatch; + +/** + * Makes the operation conditional on whether the source object's current + * metageneration does not match the given value. `ifSourceMetagenerationMatch` + * and `ifSourceMetagenerationNotMatch` conditions are mutually exclusive: it's + * an error for both of them to be set in the request. + */ +@property(nonatomic, assign) long long ifSourceMetagenerationNotMatch; + +/** + * Name of the source object. For information about how to URL encode object + * names to be path safe, see [Encoding URI Path + * Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding). + */ +@property(nonatomic, copy, nullable) NSString *sourceObject; + +/** + * The project to be billed for this request. Required for Requester Pays + * buckets. + */ +@property(nonatomic, copy, nullable) NSString *userProject; + +/** + * Fetches a @c GTLRStorage_Object. + * + * Moves the source object to the destination object in the same bucket. + * + * @param bucket Name of the bucket in which the object resides. + * @param sourceObject Name of the source object. For information about how to + * URL encode object names to be path safe, see [Encoding URI Path + * Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding). + * @param destinationObject Name of the destination object. For information + * about how to URL encode object names to be path safe, see [Encoding URI + * Path + * Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding). + * + * @return GTLRStorageQuery_ObjectsMove + */ ++ (instancetype)queryWithBucket:(NSString *)bucket + sourceObject:(NSString *)sourceObject + destinationObject:(NSString *)destinationObject; + +@end + /** * Patches an object's metadata. * diff --git a/Sources/GeneratedServices/TPU/GTLRTPUObjects.m b/Sources/GeneratedServices/TPU/GTLRTPUObjects.m index d40f1c3da..295172001 100644 --- a/Sources/GeneratedServices/TPU/GTLRTPUObjects.m +++ b/Sources/GeneratedServices/TPU/GTLRTPUObjects.m @@ -20,6 +20,7 @@ NSString * const kGTLRTPU_AcceleratorConfig_Type_V4 = @"V4"; NSString * const kGTLRTPU_AcceleratorConfig_Type_V5litePod = @"V5LITE_POD"; NSString * const kGTLRTPU_AcceleratorConfig_Type_V5p = @"V5P"; +NSString * const kGTLRTPU_AcceleratorConfig_Type_V6e = @"V6E"; // GTLRTPU_AttachedDisk.mode NSString * const kGTLRTPU_AttachedDisk_Mode_DiskModeUnspecified = @"DISK_MODE_UNSPECIFIED"; diff --git a/Sources/GeneratedServices/TPU/Public/GoogleAPIClientForREST/GTLRTPUObjects.h b/Sources/GeneratedServices/TPU/Public/GoogleAPIClientForREST/GTLRTPUObjects.h index 721e3a000..263e745df 100644 --- a/Sources/GeneratedServices/TPU/Public/GoogleAPIClientForREST/GTLRTPUObjects.h +++ b/Sources/GeneratedServices/TPU/Public/GoogleAPIClientForREST/GTLRTPUObjects.h @@ -107,6 +107,12 @@ FOUNDATION_EXTERN NSString * const kGTLRTPU_AcceleratorConfig_Type_V5litePod; * Value: "V5P" */ FOUNDATION_EXTERN NSString * const kGTLRTPU_AcceleratorConfig_Type_V5p; +/** + * TPU v6e + * + * Value: "V6E" + */ +FOUNDATION_EXTERN NSString * const kGTLRTPU_AcceleratorConfig_Type_V6e; // ---------------------------------------------------------------------------- // GTLRTPU_AttachedDisk.mode @@ -472,6 +478,7 @@ FOUNDATION_EXTERN NSString * const kGTLRTPU_Symptom_SymptomType_SymptomTypeUnspe * @arg @c kGTLRTPU_AcceleratorConfig_Type_V5litePod TPU v5lite pod. (Value: * "V5LITE_POD") * @arg @c kGTLRTPU_AcceleratorConfig_Type_V5p TPU v5p (Value: "V5P") + * @arg @c kGTLRTPU_AcceleratorConfig_Type_V6e TPU v6e (Value: "V6E") */ @property(nonatomic, copy, nullable) NSString *type; diff --git a/Sources/GeneratedServices/TPU/Public/GoogleAPIClientForREST/GTLRTPUQuery.h b/Sources/GeneratedServices/TPU/Public/GoogleAPIClientForREST/GTLRTPUQuery.h index 91e500813..b5c263a1d 100644 --- a/Sources/GeneratedServices/TPU/Public/GoogleAPIClientForREST/GTLRTPUQuery.h +++ b/Sources/GeneratedServices/TPU/Public/GoogleAPIClientForREST/GTLRTPUQuery.h @@ -457,7 +457,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: tpu.projects.locations.operations.cancel @@ -480,7 +480,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * 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. diff --git a/Sources/GeneratedServices/TagManager/GTLRTagManagerObjects.m b/Sources/GeneratedServices/TagManager/GTLRTagManagerObjects.m index 5dc76b729..038de7ec5 100644 --- a/Sources/GeneratedServices/TagManager/GTLRTagManagerObjects.m +++ b/Sources/GeneratedServices/TagManager/GTLRTagManagerObjects.m @@ -546,7 +546,8 @@ @implementation GTLRTagManager_FolderEntities // @implementation GTLRTagManager_GalleryReference -@dynamic host, isModified, owner, repository, signature, version; +@dynamic host, isModified, owner, repository, signature, templateDeveloperId, + version; @end diff --git a/Sources/GeneratedServices/TagManager/Public/GoogleAPIClientForREST/GTLRTagManagerObjects.h b/Sources/GeneratedServices/TagManager/Public/GoogleAPIClientForREST/GTLRTagManagerObjects.h index 8fc03cc65..6fbd0092c 100644 --- a/Sources/GeneratedServices/TagManager/Public/GoogleAPIClientForREST/GTLRTagManagerObjects.h +++ b/Sources/GeneratedServices/TagManager/Public/GoogleAPIClientForREST/GTLRTagManagerObjects.h @@ -1785,6 +1785,12 @@ FOUNDATION_EXTERN NSString * const kGTLRTagManager_VariableFormatValue_CaseConve */ @property(nonatomic, copy, nullable) NSString *signature; +/** + * The developer id of the community gallery template. This value is set + * whenever the template is created from the gallery. + */ +@property(nonatomic, copy, nullable) NSString *templateDeveloperId; + /** The version of the community gallery template. */ @property(nonatomic, copy, nullable) NSString *version; diff --git a/Sources/GeneratedServices/Tasks/Public/GoogleAPIClientForREST/GTLRTasksQuery.h b/Sources/GeneratedServices/Tasks/Public/GoogleAPIClientForREST/GTLRTasksQuery.h index 4cd9e5404..6b3b42ca5 100644 --- a/Sources/GeneratedServices/Tasks/Public/GoogleAPIClientForREST/GTLRTasksQuery.h +++ b/Sources/GeneratedServices/Tasks/Public/GoogleAPIClientForREST/GTLRTasksQuery.h @@ -484,14 +484,16 @@ NS_ASSUME_NONNULL_BEGIN /** * New parent task identifier. If the task is moved to the top level, this - * parameter is omitted. Assigned tasks can not be set as parent task (have + * parameter is omitted. The task set as parent must exist in the task list and + * can not be hidden. Assigned tasks can not be set as parent task (have * subtasks) or be moved under a parent task (become subtasks). Optional. */ @property(nonatomic, copy, nullable) NSString *parent; /** * New previous sibling task identifier. If the task is moved to the first - * position among its siblings, this parameter is omitted. Optional. + * position among its siblings, this parameter is omitted. The task set as + * previous must exist in the task list and can not be hidden. Optional. */ @property(nonatomic, copy, nullable) NSString *previous; diff --git a/Sources/GeneratedServices/Testing/Public/GoogleAPIClientForREST/GTLRTestingObjects.h b/Sources/GeneratedServices/Testing/Public/GoogleAPIClientForREST/GTLRTestingObjects.h index 5b2450ac4..b51e75351 100644 --- a/Sources/GeneratedServices/Testing/Public/GoogleAPIClientForREST/GTLRTestingObjects.h +++ b/Sources/GeneratedServices/Testing/Public/GoogleAPIClientForREST/GTLRTestingObjects.h @@ -2261,7 +2261,8 @@ FOUNDATION_EXTERN NSString * const kGTLRTesting_TestMatrix_State_Validating; /** * An optional Roboscript to customize the crawl. See * https://firebase.google.com/docs/test-lab/android/robo-scripts-reference for - * more information about Roboscripts. + * more information about Roboscripts. The maximum allowed file size of the + * roboscript is 10MiB. */ @property(nonatomic, strong, nullable) GTLRTesting_FileReference *roboScript; diff --git a/Sources/GeneratedServices/Texttospeech/GTLRTexttospeechObjects.m b/Sources/GeneratedServices/Texttospeech/GTLRTexttospeechObjects.m index 140418b72..80fc38440 100644 --- a/Sources/GeneratedServices/Texttospeech/GTLRTexttospeechObjects.m +++ b/Sources/GeneratedServices/Texttospeech/GTLRTexttospeechObjects.m @@ -21,6 +21,7 @@ NSString * const kGTLRTexttospeech_AudioConfig_AudioEncoding_Mp3 = @"MP3"; NSString * const kGTLRTexttospeech_AudioConfig_AudioEncoding_Mulaw = @"MULAW"; NSString * const kGTLRTexttospeech_AudioConfig_AudioEncoding_OggOpus = @"OGG_OPUS"; +NSString * const kGTLRTexttospeech_AudioConfig_AudioEncoding_Pcm = @"PCM"; // GTLRTexttospeech_CustomPronunciationParams.phoneticEncoding NSString * const kGTLRTexttospeech_CustomPronunciationParams_PhoneticEncoding_PhoneticEncodingIpa = @"PHONETIC_ENCODING_IPA"; diff --git a/Sources/GeneratedServices/Texttospeech/Public/GoogleAPIClientForREST/GTLRTexttospeechObjects.h b/Sources/GeneratedServices/Texttospeech/Public/GoogleAPIClientForREST/GTLRTexttospeechObjects.h index ec48e0b3c..511d7a03b 100644 --- a/Sources/GeneratedServices/Texttospeech/Public/GoogleAPIClientForREST/GTLRTexttospeechObjects.h +++ b/Sources/GeneratedServices/Texttospeech/Public/GoogleAPIClientForREST/GTLRTexttospeechObjects.h @@ -87,6 +87,14 @@ FOUNDATION_EXTERN NSString * const kGTLRTexttospeech_AudioConfig_AudioEncoding_M * Value: "OGG_OPUS" */ FOUNDATION_EXTERN NSString * const kGTLRTexttospeech_AudioConfig_AudioEncoding_OggOpus; +/** + * Uncompressed 16-bit signed little-endian samples (Linear PCM). Note that as + * opposed to LINEAR16, audio will not be wrapped in a WAV (or any other) + * header. + * + * Value: "PCM" + */ +FOUNDATION_EXTERN NSString * const kGTLRTexttospeech_AudioConfig_AudioEncoding_Pcm; // ---------------------------------------------------------------------------- // GTLRTexttospeech_CustomPronunciationParams.phoneticEncoding @@ -242,6 +250,10 @@ FOUNDATION_EXTERN NSString * const kGTLRTexttospeech_VoiceSelectionParams_SsmlGe * be played natively on Android, and in browsers (at least Chrome and * Firefox). The quality of the encoding is considerably higher than MP3 * while using approximately the same bitrate. (Value: "OGG_OPUS") + * @arg @c kGTLRTexttospeech_AudioConfig_AudioEncoding_Pcm Uncompressed + * 16-bit signed little-endian samples (Linear PCM). Note that as opposed + * to LINEAR16, audio will not be wrapped in a WAV (or any other) header. + * (Value: "PCM") */ @property(nonatomic, copy, nullable) NSString *audioEncoding; diff --git a/Sources/GeneratedServices/Translate/GTLRTranslateObjects.m b/Sources/GeneratedServices/Translate/GTLRTranslateObjects.m index f1a86c5e2..fc688d93d 100644 --- a/Sources/GeneratedServices/Translate/GTLRTranslateObjects.m +++ b/Sources/GeneratedServices/Translate/GTLRTranslateObjects.m @@ -507,7 +507,7 @@ @implementation GTLRTranslate_Glossary // @implementation GTLRTranslate_GlossaryConfig -@dynamic glossary, ignoreCase; +@dynamic contextualTranslationEnabled, glossary, ignoreCase; @end @@ -1128,7 +1128,7 @@ @implementation GTLRTranslate_SupportedLanguages // @implementation GTLRTranslate_TextGlossaryConfig -@dynamic glossary, ignoreCase; +@dynamic contextualTranslationEnabled, glossary, ignoreCase; @end diff --git a/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateObjects.h b/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateObjects.h index 769df77c9..b4319669d 100644 --- a/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateObjects.h +++ b/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateObjects.h @@ -1157,6 +1157,14 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLRTranslate_GlossaryConfig : GTLRObject +/** + * Optional. If set to true, the glossary will be used for contextual + * translation. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *contextualTranslationEnabled; + /** * Required. The `glossary` to be applied for this translation. The format * depends on the glossary: - User-provided custom glossary: @@ -2118,6 +2126,14 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLRTranslate_TextGlossaryConfig : GTLRObject +/** + * Optional. If set to true, the glossary will be used for contextual + * translation. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *contextualTranslationEnabled; + /** * Required. The `glossary` to be applied for this translation. The format * depends on the glossary: - User-provided custom glossary: diff --git a/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateQuery.h b/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateQuery.h index 0d166d0af..4f2581920 100644 --- a/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateQuery.h +++ b/Sources/GeneratedServices/Translate/Public/GoogleAPIClientForREST/GTLRTranslateQuery.h @@ -1625,7 +1625,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: translate.projects.locations.operations.cancel @@ -1649,7 +1649,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRTranslate_CancelOperationRequest to include in the diff --git a/Sources/GeneratedServices/Vault/Public/GoogleAPIClientForREST/GTLRVaultQuery.h b/Sources/GeneratedServices/Vault/Public/GoogleAPIClientForREST/GTLRVaultQuery.h index df7be78e2..69c41715f 100644 --- a/Sources/GeneratedServices/Vault/Public/GoogleAPIClientForREST/GTLRVaultQuery.h +++ b/Sources/GeneratedServices/Vault/Public/GoogleAPIClientForREST/GTLRVaultQuery.h @@ -1137,7 +1137,7 @@ FOUNDATION_EXTERN NSString * const kGTLRVaultViewViewUnspecified; * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: vault.operations.cancel @@ -1160,7 +1160,7 @@ FOUNDATION_EXTERN NSString * const kGTLRVaultViewViewUnspecified; * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRVault_CancelOperationRequest to include in the diff --git a/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h index 5caaa0628..9475a2bcc 100644 --- a/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h +++ b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h @@ -3236,7 +3236,7 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri /** * Information about how a class may be discovered and instantiated from within - * the Android Pay app. This is done by searching for a loyalty or gift card + * the Google Wallet app. This is done by searching for a loyalty or gift card * program and scanning or manually entering. */ @interface GTLRWalletobjects_DiscoverableProgram : GTLRObject diff --git a/Sources/GeneratedServices/Workflows/GTLRWorkflowsObjects.m b/Sources/GeneratedServices/Workflows/GTLRWorkflowsObjects.m index 83519359d..1d0ba411f 100644 --- a/Sources/GeneratedServices/Workflows/GTLRWorkflowsObjects.m +++ b/Sources/GeneratedServices/Workflows/GTLRWorkflowsObjects.m @@ -269,7 +269,7 @@ @implementation GTLRWorkflows_Workflow @dynamic allKmsKeys, allKmsKeysVersions, callLogLevel, createTime, cryptoKeyName, cryptoKeyVersion, descriptionProperty, executionHistoryLevel, labels, name, revisionCreateTime, revisionId, - serviceAccount, sourceContents, state, stateError, updateTime, + serviceAccount, sourceContents, state, stateError, tags, updateTime, userEnvVars; + (NSDictionary *)propertyToJSONKeyMap { @@ -301,6 +301,20 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRWorkflows_Workflow_Tags +// + +@implementation GTLRWorkflows_Workflow_Tags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRWorkflows_Workflow_UserEnvVars diff --git a/Sources/GeneratedServices/Workflows/Public/GoogleAPIClientForREST/GTLRWorkflowsObjects.h b/Sources/GeneratedServices/Workflows/Public/GoogleAPIClientForREST/GTLRWorkflowsObjects.h index 7f3ca7ca5..e7931dd38 100644 --- a/Sources/GeneratedServices/Workflows/Public/GoogleAPIClientForREST/GTLRWorkflowsObjects.h +++ b/Sources/GeneratedServices/Workflows/Public/GoogleAPIClientForREST/GTLRWorkflowsObjects.h @@ -26,6 +26,7 @@ @class GTLRWorkflows_Status_Details_Item; @class GTLRWorkflows_Workflow; @class GTLRWorkflows_Workflow_Labels; +@class GTLRWorkflows_Workflow_Tags; @class GTLRWorkflows_Workflow_UserEnvVars; // Generated comments include content from the discovery document; avoid them @@ -626,6 +627,9 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkflows_Workflow_State_Unavailable; */ @property(nonatomic, strong, nullable) GTLRWorkflows_StateError *stateError; +/** Optional. Input only. Immutable. Tags associated with this workflow. */ +@property(nonatomic, strong, nullable) GTLRWorkflows_Workflow_Tags *tags; + /** * Output only. The timestamp for when the workflow was last updated. This is a * workflow-wide field and is not tied to a specific revision. @@ -659,6 +663,18 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkflows_Workflow_State_Unavailable; @end +/** + * Optional. Input only. Immutable. Tags associated with this workflow. + * + * @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 GTLRWorkflows_Workflow_Tags : GTLRObject +@end + + /** * Optional. User-defined environment variables associated with this workflow * revision. This map has a maximum length of 20. Each string can take up to diff --git a/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m b/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m index 1ff20f516..db4aca246 100644 --- a/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m +++ b/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m @@ -15,6 +15,13 @@ // ---------------------------------------------------------------------------- // Constants +// GTLRWorkloadManager_Evaluation.evaluationType +NSString * const kGTLRWorkloadManager_Evaluation_EvaluationType_EvaluationTypeUnspecified = @"EVALUATION_TYPE_UNSPECIFIED"; +NSString * const kGTLRWorkloadManager_Evaluation_EvaluationType_Other = @"OTHER"; +NSString * const kGTLRWorkloadManager_Evaluation_EvaluationType_Sap = @"SAP"; +NSString * const kGTLRWorkloadManager_Evaluation_EvaluationType_SccIac = @"SCC_IAC"; +NSString * const kGTLRWorkloadManager_Evaluation_EvaluationType_SqlServer = @"SQL_SERVER"; + // GTLRWorkloadManager_Execution.runType NSString * const kGTLRWorkloadManager_Execution_RunType_OneTime = @"ONE_TIME"; NSString * const kGTLRWorkloadManager_Execution_RunType_Scheduled = @"SCHEDULED"; @@ -127,6 +134,12 @@ NSString * const kGTLRWorkloadManager_SqlserverValidationValidationDetail_Type_Os = @"OS"; NSString * const kGTLRWorkloadManager_SqlserverValidationValidationDetail_Type_SqlserverValidationTypeUnspecified = @"SQLSERVER_VALIDATION_TYPE_UNSPECIFIED"; +// GTLRWorkloadManager_TorsoValidation.workloadType +NSString * const kGTLRWorkloadManager_TorsoValidation_WorkloadType_Mysql = @"MYSQL"; +NSString * const kGTLRWorkloadManager_TorsoValidation_WorkloadType_Oracle = @"ORACLE"; +NSString * const kGTLRWorkloadManager_TorsoValidation_WorkloadType_Redis = @"REDIS"; +NSString * const kGTLRWorkloadManager_TorsoValidation_WorkloadType_WorkloadTypeUnspecified = @"WORKLOAD_TYPE_UNSPECIFIED"; + // ---------------------------------------------------------------------------- // // GTLRWorkloadManager_AgentCommand @@ -196,8 +209,8 @@ @implementation GTLRWorkloadManager_Empty @implementation GTLRWorkloadManager_Evaluation @dynamic bigQueryDestination, createTime, customRulesBucket, - descriptionProperty, labels, name, resourceFilter, resourceStatus, - ruleNames, ruleVersions, schedule, updateTime; + descriptionProperty, evaluationType, labels, name, resourceFilter, + resourceStatus, ruleNames, ruleVersions, schedule, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -235,7 +248,7 @@ + (Class)classForAdditionalProperties { @implementation GTLRWorkloadManager_Execution @dynamic endTime, evaluationId, externalDataSources, inventoryTime, labels, - name, notices, ruleResults, runType, startTime, state; + name, notices, resultSummary, ruleResults, runType, startTime, state; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -316,7 +329,8 @@ @implementation GTLRWorkloadManager_GceInstanceFilter // @implementation GTLRWorkloadManager_Insight -@dynamic instanceId, sapDiscovery, sapValidation, sentTime, sqlserverValidation; +@dynamic instanceId, sapDiscovery, sapValidation, sentTime, sqlserverValidation, + torsoValidation; @end @@ -987,6 +1001,40 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRWorkloadManager_Summary +// + +@implementation GTLRWorkloadManager_Summary +@dynamic failures, newFailures, newFixes; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWorkloadManager_TorsoValidation +// + +@implementation GTLRWorkloadManager_TorsoValidation +@dynamic agentVersion, instanceName, projectId, validationDetails, workloadType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWorkloadManager_TorsoValidation_ValidationDetails +// + +@implementation GTLRWorkloadManager_TorsoValidation_ValidationDetails + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRWorkloadManager_ViolationDetails diff --git a/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h b/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h index c06ccabdb..ef0860fa9 100644 --- a/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h +++ b/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h @@ -63,6 +63,9 @@ @class GTLRWorkloadManager_SqlserverValidationValidationDetail; @class GTLRWorkloadManager_Status; @class GTLRWorkloadManager_Status_Details_Item; +@class GTLRWorkloadManager_Summary; +@class GTLRWorkloadManager_TorsoValidation; +@class GTLRWorkloadManager_TorsoValidation_ValidationDetails; @class GTLRWorkloadManager_ViolationDetails; @class GTLRWorkloadManager_ViolationDetails_Observed; @@ -76,6 +79,40 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRWorkloadManager_Evaluation.evaluationType + +/** + * Not specified + * + * Value: "EVALUATION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Evaluation_EvaluationType_EvaluationTypeUnspecified; +/** + * Customized best practices + * + * Value: "OTHER" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Evaluation_EvaluationType_Other; +/** + * SAP best practices + * + * Value: "SAP" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Evaluation_EvaluationType_Sap; +/** + * SCC IaC (Infra as Code) best practices + * + * Value: "SCC_IAC" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Evaluation_EvaluationType_SccIac; +/** + * SQL best practices + * + * Value: "SQL_SERVER" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Evaluation_EvaluationType_SqlServer; + // ---------------------------------------------------------------------------- // GTLRWorkloadManager_Execution.runType @@ -646,6 +683,34 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_SqlserverValidationValid */ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_SqlserverValidationValidationDetail_Type_SqlserverValidationTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRWorkloadManager_TorsoValidation.workloadType + +/** + * MySQL workload. + * + * Value: "MYSQL" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_TorsoValidation_WorkloadType_Mysql; +/** + * Oracle workload. + * + * Value: "ORACLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_TorsoValidation_WorkloadType_Oracle; +/** + * Redis workload. + * + * Value: "REDIS" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_TorsoValidation_WorkloadType_Redis; +/** + * Unspecified workload type. + * + * Value: "WORKLOAD_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_TorsoValidation_WorkloadType_WorkloadTypeUnspecified; + /** * * An AgentCommand specifies a one-time executable program for the agent to * run. @@ -751,6 +816,23 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_SqlserverValidationValid */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; +/** + * Evaluation type + * + * Likely values: + * @arg @c kGTLRWorkloadManager_Evaluation_EvaluationType_EvaluationTypeUnspecified + * Not specified (Value: "EVALUATION_TYPE_UNSPECIFIED") + * @arg @c kGTLRWorkloadManager_Evaluation_EvaluationType_Other Customized + * best practices (Value: "OTHER") + * @arg @c kGTLRWorkloadManager_Evaluation_EvaluationType_Sap SAP best + * practices (Value: "SAP") + * @arg @c kGTLRWorkloadManager_Evaluation_EvaluationType_SccIac SCC IaC + * (Infra as Code) best practices (Value: "SCC_IAC") + * @arg @c kGTLRWorkloadManager_Evaluation_EvaluationType_SqlServer SQL best + * practices (Value: "SQL_SERVER") + */ +@property(nonatomic, copy, nullable) NSString *evaluationType; + /** Labels as key value pairs */ @property(nonatomic, strong, nullable) GTLRWorkloadManager_Evaluation_Labels *labels; @@ -826,6 +908,9 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_SqlserverValidationValid /** Output only. Additional information generated by the execution */ @property(nonatomic, strong, nullable) NSArray *notices; +/** Output only. [Output only] Result summary */ +@property(nonatomic, strong, nullable) GTLRWorkloadManager_Summary *resultSummary; + /** Output only. execution result summary per rule */ @property(nonatomic, strong, nullable) NSArray *ruleResults; @@ -990,6 +1075,9 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_SqlserverValidationValid /** The insights data for the sqlserver workload validation. */ @property(nonatomic, strong, nullable) GTLRWorkloadManager_SqlserverValidation *sqlserverValidation; +/** The insights data for workload validation of torso workloads. */ +@property(nonatomic, strong, nullable) GTLRWorkloadManager_TorsoValidation *torsoValidation; + @end @@ -2254,6 +2342,95 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_SqlserverValidationValid @end +/** + * Message for execution summary + */ +@interface GTLRWorkloadManager_Summary : GTLRObject + +/** + * Output only. Number of failures + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *failures; + +/** + * Output only. Number of new failures compared to the previous execution + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *newFailures NS_RETURNS_NOT_RETAINED; + +/** + * Output only. Number of new fixes compared to the previous execution + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *newFixes NS_RETURNS_NOT_RETAINED; + +@end + + +/** + * The schema of torso workload validation data. + */ +@interface GTLRWorkloadManager_TorsoValidation : GTLRObject + +/** + * Required. agent_version lists the version of the agent that collected this + * data. + */ +@property(nonatomic, copy, nullable) NSString *agentVersion; + +/** + * Required. instance_name lists the human readable name of the instance that + * the data comes from. + */ +@property(nonatomic, copy, nullable) NSString *instanceName; + +/** + * Required. project_id lists the human readable cloud project that the data + * comes from. + */ +@property(nonatomic, copy, nullable) NSString *projectId; + +/** + * Required. validation_details contains the pairs of validation data: field + * name & field value. + */ +@property(nonatomic, strong, nullable) GTLRWorkloadManager_TorsoValidation_ValidationDetails *validationDetails; + +/** + * Required. workload_type specifies the type of torso workload. + * + * Likely values: + * @arg @c kGTLRWorkloadManager_TorsoValidation_WorkloadType_Mysql MySQL + * workload. (Value: "MYSQL") + * @arg @c kGTLRWorkloadManager_TorsoValidation_WorkloadType_Oracle Oracle + * workload. (Value: "ORACLE") + * @arg @c kGTLRWorkloadManager_TorsoValidation_WorkloadType_Redis Redis + * workload. (Value: "REDIS") + * @arg @c kGTLRWorkloadManager_TorsoValidation_WorkloadType_WorkloadTypeUnspecified + * Unspecified workload type. (Value: "WORKLOAD_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *workloadType; + +@end + + +/** + * Required. validation_details contains the pairs of validation data: field + * name & field value. + * + * @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 GTLRWorkloadManager_TorsoValidation_ValidationDetails : GTLRObject +@end + + /** * Message describing the violation in an evaluation result. */ diff --git a/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerQuery.h b/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerQuery.h index 7cd1b484c..be67ef996 100644 --- a/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerQuery.h +++ b/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerQuery.h @@ -566,7 +566,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: workloadmanager.projects.locations.operations.cancel @@ -589,7 +589,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRWorkloadManager_CancelOperationRequest to include diff --git a/Sources/GeneratedServices/YouTube/GTLRYouTubeQuery.m b/Sources/GeneratedServices/YouTube/GTLRYouTubeQuery.m index cce06a153..16b780019 100644 --- a/Sources/GeneratedServices/YouTube/GTLRYouTubeQuery.m +++ b/Sources/GeneratedServices/YouTube/GTLRYouTubeQuery.m @@ -2452,30 +2452,6 @@ + (instancetype)queryWithChannelId:(NSString *)channelId { @end -@implementation GTLRYouTubeQuery_YoutubeV3LiveChatMessagesStream - -@dynamic hl, liveChatId, maxResults, pageToken, part, profileImageSize; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"part" : [NSString class] - }; - return map; -} - -+ (instancetype)query { - NSString *pathURITemplate = @"youtube/v3/liveChat/messages/stream"; - GTLRYouTubeQuery_YoutubeV3LiveChatMessagesStream *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:nil]; - query.expectedObjectClass = [GTLRYouTube_LiveChatMessageListResponse class]; - query.loggingName = @"youtube.youtube.v3.liveChat.messages.stream"; - return query; -} - -@end - @implementation GTLRYouTubeQuery_YoutubeV3UpdateCommentThreads @dynamic part; diff --git a/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeObjects.h b/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeObjects.h index dcda6a398..8a175a7eb 100644 --- a/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeObjects.h +++ b/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeObjects.h @@ -13349,7 +13349,7 @@ GTLR_DEPRECATED /** - * A single tag suggestion with it's relevance information. + * A single tag suggestion with its relevance information. */ @interface GTLRYouTube_VideoSuggestionsTagSuggestion : GTLRObject diff --git a/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeQuery.h b/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeQuery.h index 3fe3031a7..e4126c1e5 100644 --- a/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeQuery.h +++ b/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeQuery.h @@ -5747,73 +5747,6 @@ FOUNDATION_EXTERN NSString * const kGTLRYouTubeVideoTypeVideoTypeUnspecified; @end -/** - * Allows a user to load live chat through a server-streamed RPC. - * - * Method: youtube.youtube.v3.liveChat.messages.stream - * - * Authorization scope(s): - * @c kGTLRAuthScopeYouTube - * @c kGTLRAuthScopeYouTubeForceSsl - * @c kGTLRAuthScopeYouTubeReadonly - */ -@interface GTLRYouTubeQuery_YoutubeV3LiveChatMessagesStream : GTLRYouTubeQuery - -/** - * Specifies the localization language in which the system messages should be - * returned. - */ -@property(nonatomic, copy, nullable) NSString *hl; - -/** The id of the live chat for which comments should be returned. */ -@property(nonatomic, copy, nullable) NSString *liveChatId; - -/** - * The *maxResults* parameter specifies the maximum number of items that should - * be returned in the result set. Not used in the streaming RPC. - * - * @note If not set, the documented server-side default will be 500 (from the - * range 200..2000). - */ -@property(nonatomic, assign) NSUInteger maxResults; - -/** - * The *pageToken* parameter identifies a specific page in the result set that - * should be returned. In an API response, the nextPageToken property identify - * other pages that could be retrieved. - */ -@property(nonatomic, copy, nullable) NSString *pageToken; - -/** - * The *part* parameter specifies the liveChatComment resource parts that the - * API response will include. Supported values are id, snippet, and - * authorDetails. - */ -@property(nonatomic, strong, nullable) NSArray *part; - -/** - * Specifies the size of the profile image that should be returned for each - * user. - * - * @note The documented range is 16..720. - */ -@property(nonatomic, assign) NSUInteger profileImageSize; - -/** - * Fetches a @c GTLRYouTube_LiveChatMessageListResponse. - * - * Allows a user to load live chat through a server-streamed RPC. - * - * @return GTLRYouTubeQuery_YoutubeV3LiveChatMessagesStream - * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. - */ -+ (instancetype)query; - -@end - /** * Updates an existing resource. *